Weak passwords, unencrypted communication channels and suspicious files. Learn more about how to stay safe online.
Translation in german: Don’t Click Shit (German)
How to stay safe online
- Don’t click shit
- Use strong passwords
- Use multi-factor authentication
- Operating system and software
- Backup your data
- Use crypto
- Mobile security
- Physical security
- Stay safe!
Don’t click shit
What do you mean?
Don’t open, click or run suspicious files, links, and programs.
Rule of thumb: if you are not expecting it, it is suspicious.
Don’t open suspicious files, email attachments, or archived documents, if you do not completely trust the source they originate from. Send unwanted emails to spam folder before reading – files or links from people you don’t know should be treated as malicious by default.
Verify file origin by the means other than media used to receive it. For example, if you have received a Word document via email, contact the sender by an Instant Messenger or by phone and verify the reason for sending it.
The most risky file types are:
- Any executable files:
- MS Office documents, especially with macros:
- PDF documents:
- Vector graphics with embedded code:
- Archives of these files, especially password-protected.
Sometimes it’s hard to tell malicious files from legitimate ones under time pressure. Use Virustotal to verify any file by scanning it by more than 50 antiviruses at the same time. While it is much more efficient than scanning files offline, consider the fact that you need to disclose the file to a third party.
Don’t open suspicious URL links, especially those pointing to web-sites you
don’t normally visit. Always check web-site domain names before clicking
the links: attackers could mangle the domain name for it to look familiar:
gooogle.com etc. Use HTTPS and verify SSL certificate of the
web-site to ensure it is not cloned or spoofed.
Malicious URLs can be ‘masked’ by arbitrary text in HTML files, documents and emails. In web-browsers and email programs, hover the mouse cursor over the link (but don’t click) and wait for a while before the real URL pops up. Or right-click on the link and copy it to the text editor to see its actual address. Use VirusTotal to scan suspicious links the same way you scan files.
Malicious URLs can be encoded as QR codes or printed out, including in a form
of “shortened” URLs generated by services such as
ow.ly etc. Don’t enter those links into your browser or scan QR codes by your
smartphone unless you know exactly what you are doing.
You can “resolve” shortened URLs before opening them using these services:
These popular web-browser extensions automatically perform this resolution:
Be careful with pop-ups in your browser, applications and operating system. Always read pop-up messages and don’t “accept” anything in a hurry.
Pop-ups can be dangerous in many ways: some result in installing malicious SSL certificates that allow attackers to sniff your network traffic; some could install malicious software on your computer or redirect your browser to malicious web-sites that infect your computer with malware.
Do not insert flash drives, CD/DVD, external HDDs etc. into your computer unless you explicitly trust their origin. There are techniques of hacking into your computer before you open files on a flash drive and way before your antivirus scans them. If you found it outside or inside the office, if you received it by mail or delivery, if a stranger gives it to you asking to print out a document or just attach it to a PC – it is likely to be malicious. Only trust your own devices and proceed with caution when dealing with devices received from people you work with or otherwise collaborate.
Use strong passwords
What makes a password strong?
Strong passwords are generally long, complex and random. To ensure its entropy, please use a password manager to generate them. This reduces the possibility to guess your password.
How to create strong passphrase?
Use password recipes, built in to your password manager, to create strong unique passwords. The recipe is an algorithm used to create complex and unique passwords. Modern password managers (like Bitwarden, 1Pasword) are also capable of automatically checking if your passwords have been previously seen publicly in a data leak.
Keep passwords secret
No one should know your passphrase except you. Don’t tell it to anyone including your boss, your sysadmin or helpdesk, your wife, your parents, your kids etc. There is no legitimate reason for anyone to ask for your passphrase. Technically, even the system that you are using it for does not have your passphrase in its original form – instead it “hashes” it and stores its cryptographically protected copy.
Never write down your passwords on paper or in a clear text (unencrypted) file. Password-protected Excel is not encrypted. Password-protected archive is not properly encrypted. Only use trustworthy password managers if needed. The exception to this rule are of course 2FA recovery keys, which you should definitely print out and store in a secure physical place.
Change passwords only as much as necessary or if it is compromised.
Still want to use passwords?
Strong passwords are long, complex, and unique. This means they should be longer than 12 characters, contain different types of characters (letters, digits, special characters), and be different for every service, web-site or system you use. Passwords should not be based on simple words that could be found in dictionaries. Passwords shall not be cognitive, that means they have to be based on something else than data about the user or the system. Otherwise, information related to the user or the system could and will help an attacker guess the password.
Use password manager (password safe) software and follow these rules:
Generate strong random passwords of configurable length and complexity.
Make sure your master password is strong.
Use a password manager that encrypts password database before storing it in the cloud or synchronizing it between your devices via the network.
Backup your password database often.
Examples of good password managers are:
- 1Pasword https://1password.com
- Bitwarden https://bitwarden.com
- KeePass https://keepass.info
- KeePassXC https://keepassxc.org
- Password Safe https://pwsafe.org
Use multi-factor authentication
Enable multi-factor authentication
Most respected online services allow two-factor authentication. Enable it using a built-in software token (available on Facebook, Twitter, Google etc.) or an SMS one-time verification code.
URLs to multi-factor authentication settings of popular web-sites::
- Apple https://support.apple.com/en-us/HT204915
- Google https://myaccount.google.com/security/signinoptions/two-step-verification
- Facebook https://www.facebook.com/settings?tab=security§ion=approvals
- Twitter https://twitter.com/settings/security
- Dropbox https://www.dropbox.com/account/#security
Large collection of services that support two-factor authentication: https://twofactorauth.org
Google Authenticator, physical token, or mobile app verification techniques. Avoid SMS one-time passwords wherever possible.
Operating system and software
Do not run client software with administrator privileges. Always log into OS
interactively with the rights of the “regular” user and, if necessary, increase
the privileges with the program menu
Run As ... when it is required to
install or run legitimate programs. Never run, especially with administrator
rights, programs on
cmd scripts, etc.,
and any other “mobile” code.
WARNING: When you run programs with the rights of a local
administrator, you enable them to intercept the access credentials and current
sessions of other users who are currently working on your computer or have
recently visited it. In this way, the attacker can intercept the access
credentials of the corporate domain administrator and completely compromise
Active Directory the domain.
Don’t use pirated software. Don’t run or install software downloaded from untrusted sources. This includes torrents and other peer-to-peer networks. This especially includes keygen and cracking tools that require administrator privileges to run.
Morals or ethics have nothing to do with it: it is just totally insecure. First, trojaning the distribution and putting it online “for free” is a known way of hacking into systems and it happens much more often than we’d like. Second, pirated software can rarely be kept up to date with security patches that just don’t arrive to your system. Messing with “activations” and re-activations just isn’t worth it and the risks of not updating software are unacceptable.
Auto-Update in your Windows OS. For more details refer to the official FAQ.
Make sure your Windows Update is configured to check for updates for all Microsoft products, including MS Office.
Update third party software regularly or automatically. For that, use
(formerly Secunia) PSI or an equivalent tool that checks your third party
applications for updates and allows you to update them automatically.
AppStore auto-updates as recommended by Apple.
Turn on your
MS Office Auto-Update in macOS as recommended by Microsoft.
Use Homebrew to keep your third party apps up to date. You can easily find many tools you already use in Homebrew:
To install Homebrew, follow the official guide: https://brew.sh
Alternatively, to keep third-party apps up to date, use MacInformer or equivalent tool. ❗WARNING: although safer than not using any update mechanism, this kind of software may be invasive and not as secure as Homebrew. So no URL here.
Modern Linux distributions allow you to configure an auto-update with OS tools, or to manually update the software manually. For example, in
Ubuntu Linux, the software is updated using the command
For details about your Linux distribution, refer to the documentation.
macOS & Linux
On Linux or macOS don’t use antivirus. Seriously. Security software comes with security vulnerabilities, it is not more secure than any other piece of code. However, in order to be efficient, antivirus normally requires elevated privileges in the OS. This introduces new risks that outweigh the dangers of getting infected on relatively secure and less popular platforms. If you follow recommendations in this guide, you can install an AV that is not continuously monitoring your OS, and scan your system with it once in a while. Malwarebytes has one of those, BitDefender is a more thorogh option.
On Windows do use antivirus. But don’t forget that AV is very ineffective against modern online threats. You can imagine antivirus efficiency to vary from 15% to 30%, most of the time this is true.
Choosing antivirus is not easy: “independent” tests are biased toward the AV vendors who in the end of the day pay for these tests. There are, however, more or less objective reviews and testing results.
- AV-Test.org https://www.av-test.org/en/antivirus/home-windows
- NSS Labs reports, if you can find any nowadays.
Backup your data
Use a separate encrypted external hard drive with configured
backups. Attach it whenever you are doing some important work, it will backup
everything automatically. Recommended HDD size: at least twice as large as your
internal hard drive. Apple guide.
In Windows 10 backup & restore functionality is easy and can be configured in
Settings -> Update & Security -> Backup. Microsoft guide.
For Windows 8.1 and 7 follow Microsoft recommendations on system and data backups.
Select and use a third party backup software.
Linux users have many backup mechanisms at their disposal: from tar to rsync remotely to a file share. Less technically savvy users can choose from more user-friendly tools.
You can backup your data by putting it to a cloud drive such as
Google Drive etc. Don’t forget to encrypt data before uploading it though.
Check web-sites encryption
Always make sure that the web-site to which you are passing your sensitive data
is protected by HTTPS. That means it has
https:// before it in the address
bar and its certificate is validated by your browser, so it does not generate
Note that presence of HTTPS by itself should not increase your trust in the web-site: anyone can generate a valid certificate for his/her web-site. The web-site domain name should be verified because it can be easily spoofed and web-site cloned if you don’t pay attention.
And do not accept untrusted certificates either temporarily or permanently.
You can use
Full Disk Encryption feature of your OS to protect the data at
your laptop or PC from theft or loss. FDE is a free feature on Linux, macOS,
and Windows Pro.
File Vault. That’s it, you’re done. Apple guide.
LUKS or other means of Full Disk Encryption. Alternatively you can select
disk encryption options or encrypt just your home partition during OS
installation. This seems to be a reasonable guide for Arch,
but every popular distro has a similar how-to.
BitLocker. It’s fast, it’s native to Windows, and it’s easy to
configure and use. Microsoft guide.
In case your edition of Windows comes without BitLocker, use a third party
solution such as
VeraCrypt, a fork of TrueCrypt, which itself is not
You can encrypt external drives or individual files too.
Use trusted end-to-end encrypted communications for private/confidential data.
End-to-end encryption ensures that no one other than you and your recipient can
access the conversation. The means of encrypting email end-to-end are
S/MIME. End-to-end encrypted Instant Messengers are
Telegram have ‘secret chats’ that may be seen as more secure than
- GPGTools for Apple Mail and macOS: https://gpgtools.org/
- OpenPGP in Microsoft Outlook 2016/2013/2010/2007: https://www.encryptomatic.com/openpgp/
- S/MIME in Outlook Web App: https://support.office.com/en-us/article/Encrypt-messages-by-using-S-MIME-in-Outlook-Web-App-2e57e4bd-4cc2-4531-9a39-426e7c873e26
End-to-end encrypted IMs:
- Signal https://whispersystems.org
- WhatsApp (uses Signal protocol) https://www.whatsapp.com
- Viber https://www.viber.com
- Threema https://threema.ch
High anonymity IMs:
IM Apps Pro/Cons Review (most fav. IM Apps) https://www.comparitech.com/blog/information-security/best-encrypted-messaging-apps/ IM Apps Pro/Cons Overview https://www.securemessagingapps.com/
Encrypt cloud data
Encrypt your sensitive data before uploading it to the cloud. Remember: there
is no ‘cloud’, it’s just someone else’s computer.
Cryptomator are the tools that allows you to encrypt data offline before
putting it to your cloud drive. Use
Boxcryptor for one cloud drive for free.
Cryptomator is a free open source software.
To protect your traffic data and metadata from network sniffing, use Virtual Private Networks. You can choose from many VPN services providers, such as proXPN or PrivateTunnel. You can install and maintain your own VPN server as well. Always use corporate VPN when working with business data remotely.
Personal VPN services (recommended by Daniel Miessler):
- Mullvad https://www.mullvad.net/
- IVPN https://www.ivpn.net/
- AzireVPN https://www.azirevpn.com/
- OVPN.se https://www.ovpn.se/
- ProtonVPN https://protonvpn.com/
- WARP (18.104.22.168, by Cloudflare) https://22.214.171.124/
How to setup your own OpenVPN server on Digital Ocean: https://www.digitalocean.com/community/tutorials/openvpn-access-server-centos
Algo is a fully automated Ansible-based approach to deploying a personal IPSec VPN server in any major cloud: https://github.com/trailofbits/algo
Mobile network is as insecure as public WiFi access point. Use the same crypto tools while on your cellular data network. Don’t consider SMS or your voice calls private: use end-to-end encrypted voice calls and messages instead.
iOS. By all accounts,
Apple mobile security and the security of its
applications ecosystem is much more secure than one based on Android and
controlled by your carrier or an OEM manufacturer (Samsung, LG, Sony etc.)
root your phone. Use only authorized application repositories e.g.
Google Play and Apple AppStore. Don’t download or install “emergency security
updates” coming from sources other than software manufacturer.
Keep your stuff where you can see or control it. Your computer and gadgets require the same level of physical security you maintain for your credit cards and apartment/car keys. ❗Remember: if an attacker can get close to your PC without you noticing, most probably he will succeed in complete OS takeover with very little effort. Keeping user session locked can help, but there are modern attacks which it cannot protect you against.
So, don’t leave your equipment unattended, especially when it is running. Shutdown or hibernate every time you leave it event for a few minutes. Require password every time you turn it on.
Do sensitive and insensitive operations on different computers. If you allow your kids play online games on the same PC you use for online banking – you will be hacked. If you shop online from the PC in a computer club or internet cafe – you will be hacked. If you send business emails from the PC in the open area of your hotel – you will be hacked.
Use separate computers for business and financial operations and activities that demand privacy and confidentiality. Use a dedicated virtual or physical machine for the most critical operations.
In some authoritarian countries, you may be asked to provide a password to your encrypted information at the border and at the airport. When crossing the borders of such states, take advantage of the advice: ask the person you trust (preferably the lawyer) to change your password before leaving and give it to you only when you complete a trip. Repeat the procedure on the reverse path.
Thank you for taking care of your personal cyber-security. Share these tips with your friends, colleagues and close ones to make the world a bit safer.
These tips are contributed by multiple security professionals who have years of experience in building, assessing, and ethically hacking computer systems, applications and networks.
You can share these tips, use them commercially, and change them as you wish. It’s free. Links to the original and credits are welcome.
This article has been copied from the official repository of Don’t Click Shit. Thanks goes out to the original creators and various contributors.