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 are originating 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: exe, com, bat, ps1, swf, jar etc.
MS Office documents, especially with macros: doc/docx/docm, xls/xslx/xslm etc.
PDF documents: pdf.
Vector graphics with embedded code: svg.
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: facelook.com, gooogle.com etc. Use HTTPS and verify SSL certificate of the web-site to ensure it is not cloned or spoofed.
Malicious URLs can 'masked' by arbitrary text in HTML files, documents and emails. In web-browsers and email programs hover the mouse cursor over the link (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 tinyurl.com, bit.ly, 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:
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 open 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.
TODO: Browse the Web Securely
Use passphrases instead of passwords
What is passphrase?
Use passphrases instead of passwords to eliminate problems related to passwords' length and use of dictionary words. To create a passphrase, choose a phrase you won't forget easily: a line from a poem or a song lyrics, a proverb, a slogan etc. Then transform it to a single string by removing spaces and replacing letters to similar digits. Adding special characters and capitalizing random words in the phrase also makes it stronger.
How to create strong passphrase?
Use passphrase recipes to create strong unique passphrases. Recipe is an algorithm used to create different passphrases for different systems using a common basis. For example:
1. Choose a strong basis, say, the passphrase w3llD0nem8'.
2. Think about a way of linking the passphrase to the system. Simply adding server name in the end is easy:
Splitting the name in halves and adding in the beginning and end of the phrase is even cooler:
3. Don't forget to apply a mangling rule too, say, change the last letter of the server name to a letter if applicable, and always add exclamation mark.
Keep passphrases 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 passphrases 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.
Change passphrases regularly and at least once a year. Your corporate passphrases or the passphrases you use more often (e.g. multiple times a day) have to be changed at least once a moth or two. The rule of thumb is: the more frequently you use it, the more frequently it has to be changed.
Use a password manager software and follow these rules:
0. Generate strong random passwords of configurable length and complexity.
1. Make sure your master password is strong.
2. Use a password manager that encrypts password database before storing it in the cloud or synchronizing it between your devices via the network.
3. Backup your password database often.
Examples of good password managers are:
Password Safe https://pwsafe.org
Still want to use passwords?
Strong passwords are long, complex, and unique. This means they should be longer than 10 characters, contain different types of characters (letters, digits, special chars), 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 multi-factor authentication
Enable multi-factor authentication
Most respected online services allow multi-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 2-factor authentication https://support.apple.com/en-us/HT204915
Google 2-step verification https://myaccount.google.com/security/signinoptions/two-step-verification
Facebook Login Approvals https://www.facebook.com/settings?tab=security§ion=approvals
Twitter Login verification https://twitter.com/settings/security
Dropbox Two-step verification https://www.dropbox.com/account/#security
Prefer using Google Authenticator, physical token, or mobile app verification techniques. Avoid SMS one-time passwords wherever possible.
OS and software
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.
Turn on 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 Flexera (formerly Secunia) PSI or an equivalent tool that checks your third party applications for updates and allows you to update them automatically.
Turn on AppStore auto-updates as recommended by Apple: https://support.apple.com/kb/PH25371
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:
$ brew search vlc
$ brew search wireshark
$ brew search gpgtools
To install Homebrew
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 so secure as Homebrew. So no URL here.
Just do 'apt update && apt -y upgrade' or whatever mumbo-jumbo you like more once in a while...
On Linux or macOS don't use antivirus. 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. https://www.malwarebytes.com/business/
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.
NSS Labs reports, if you can find any nowadays.
Backup your data
Use a separate encrypted external hard drive with configured Time Machine 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: https://support.apple.com/en-us/HT201250
Follow MIcrosoft recommendations on system and data backups https://support.microsoft.com/en-us/help/17127/windows-back-up-restore
Select and use a third party backup software http://www.techradar.com/news/software/applications/best-free-backup-software-11-programs-we-recommend-1137924
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 http://www.nuxified.org/blog/easy-linux-backup-software-time-machine-functionality/
You can backup your data by putting it to a cloud drive such as Dropbox, iCloud Drive, Google Drive etc. Don't forget to encrypt data before uploading it though.
Check web-sites encryption
Always make sure that the web-site 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 security warnings.
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 neither temporarily, nor 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.
Use 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. https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system
Enable BitLocker. It's fast, it's native to Windows, and it's easy to configure and use. http://www.howtogeek.com/234826/how-to-enable-full-disk-encryption-on-windows-10/
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 recommended. https://veracrypt.codeplex.com
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 PGP or GPG, or S/MIME. End-to-end encrypted Instant Messengers are Signal, WhatsApp, iMessage, Viber, Threema. Facebook Messenger, Google Allo, and Telegram have 'secret chats' that may be seen as more secure than default mode.
GPGTools for Apple Mail and macOS https://gpgtools.org/
Send OpenPGP Encrypted E-Mails From Microsoft Outlook 2016/2013/2010/2007 https://www.encryptomatic.com/openpgp/
Encrypt messages by using 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
EFF secure instant messaging guide and scorecard https://www.eff.org/secure-messaging-scorecard
End-to-end encrypted IMs:
WhatsApp (uses Signal protocol) https://www.whatsapp.com
Viber (uses Signal protocol) https://www.viber.com
High anonymity IMs:
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.
Boxcryptor is a tool that allows you to encrypt data offline before putting it to your cloud drive. Use for one cloud drive is free of charge.
To protect your traffic data and metadata from network sniffing, use VPN. You can choose from many VPN services providers, such as proXPN or OpenVPN AS. You can install and maintain your own VPN server as well. Always use corporate VPN when working with business data remotely.
How to setup your own VPN server: https://www.digitalocean.com/community/tutorials/openvpn-access-server-centos
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.
Use 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.)
If Android, then Google. Only direct support by OS manufacturer can guarantee timely security updates. Any additional hops in the supply chain (OEM vendor, cellular carrier, enterprise IT etc.) decrease your security level. In some occasions updates just don't reach you after a year or two of using the device.
Don't root your phone. Use only authorised 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 staff 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.
If an attacker can get close to your PC without you noticing, most probably he will succeed in complete OS takeover wit very little effort. Keeping user session locked can help, but there are modern attacks that it cannot protect 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.
More Maps From User
Copy the code to embed this map into your article. The embeded map can even be zoomed in / out