Skip to content

Instantly share code, notes, and snippets.

@grugq
Last active December 29, 2023 20:09
Show Gist options
  • Save grugq/353b6fc9b094d5700c70 to your computer and use it in GitHub Desktop.
Save grugq/353b6fc9b094d5700c70 to your computer and use it in GitHub Desktop.

Simple Security Guidelines

Using an iDevice? (Best option)

  • Use an iPod or an iPad without a SIM card
  • Use an iPhone
  • Do not jailbreak
  • Always upgrade to new iOS versions
  • Use Brave browser

Need Secure chat?

  • Use Signal (iOS + Android)
  • Use Wire (iOS + Android)
  • Avoid desktop versions
    • Optional: use an iPad [Pro] with a smart keyboard
      • register Signal w/ a phone (burner, anonymous SIM, etc)
      • register Wire w/ an email address (ProtonMail is free)
  • Use Conversations w/ OMEMO (Android, unfortunately the only implementation of OMEMO for general use right now)
  • Use Coy.im on desktops
  • Do not use: Telegram, LINE, Kaokao, WeChat, Viber, Hangouts, etc.
  • WhatsApp, Facebook Messenger (Private chat), are acceptible (high security, high surveillance)

Using Android?

  • Do not root your device
  • Do not enable Developer Mode
  • Use a Nexus or Pixel (gets latest patches w/o carrier/vendor barrier)
    • Run the latest version, always
    • Optional: run CopperheadOS
  • Optional: use a flagship Samsung (or Nokia) purchased direct, not through a telco
    • These devices tend to get timely security updates
  • Don't have a Nexus or Pixel? Install LineageOS (official builds only)
    • Run the latest version, always
  • Use Brave browser

Using a ChromeBook?

  • Do not enable developer mode
  • Use Termux for a console environment

Using Windows?

  • Use 10 or 8.1, nothing earlier.
  • Use EMET

Using Office?

  • Do not enable macros. Ever.
  • Find and disable Flash

Using macOS?

  • Install patches and updates immediately
  • Enable the firewall
    • Disable "signed apps"
    • Enable "block inbound"
    • Optional: enable "stealth"
  • Install Objective-see tools
    • Do Not Disturb
    • BlockBlock
    • KnockKnock
    • RandsomWhere
    • Oversight

All:

  • Enable full disk encryption (FDE)
    • Use a special encrypted vault for sensitive files
      • VeraCrypt cross platform
      • CryFS (Linux, sorta macOS)
      • Encrypted disk image (macOS)
  • Require a password to unlock
  • Apply patches
  • Use backups. Secure your backups, they contain your secrets.

Use a password manager!

  • Use KeePass, free, cross platform, but clunky UI/UX
  • Use 1Password, not free, iOS/macOS, good UI/UX
  • Never use a cloud based password manager
  • Never enable integration between your browser and password manager

2FA

  • Enable two factor authentication whenever possible
    • OTPauth iOS/macOS only
    • Authy
    • FIDO (YubiKeys)
    • Duo
    • SMS (last resort, but better than nothing)

Web Browser

  • Use Chrome
  • Use Edge
  • Do not use Safari
  • Do not use IE
  • Do not use Firefox, yet (until they enable sandbox by default)

Use an ad blocker

  • Install uBlock Origin

  • Install HTTPS Everywhere

  • Install uBlock Origin Extra

  • Optional: Install Privacy Badger

  • Disable Flash (on Chrome you can still right click to play)

Use a VPN

  • (Self hosted option: algo) - Best
  • ProtonVPN offers free VPN service - Ok
  • CryptoStorm has a privacy preserving business model - OK
  • Use WireGuard, self hosted, still new but very promising - Good
  • Use Freedome (iOS, Android, macOS), not free, trivial to use - OK
Copy link

ghost commented Jun 27, 2018

EMET - Support for Windows ends on July 31. Any suggestions on a alternative?

@opfuchs
Copy link

opfuchs commented Jul 20, 2018

Fantastic resource. Some things I might add, though I may be mistaken:

  • A "using linux?" section. Granted this is probably not ideal for most end users, but there are some in e.g. science and industrial R&D who really need desktop Linux, and best practices would be useful here.
  • Use KeePassXC on Linux - KeePassX (original) is abandoned - or regular KeePass as recommended above (now available due to Mono).
  • Chromium is an easy option on most Linux distros, in addition to regular Chrome and Edge (for desktop).
  • Algo is amazing, but doesn't have the "hide in the crowd" effect of public/multi-user VPNs there. May want to discuss what one is trying to do.
  • Last I checked Freedome has a Windows desktop client, though this may have changed.
  • Glasswire on Win10.
  • (maybe) disable Powershell v2 and SMBv1 on Windows (in Turn Windows Features On and Off) depending on use case.

Thanks for the incredible resource!

@ondrj
Copy link

ondrj commented Dec 15, 2018

  • Set-up your OWN, SECURE mail servers (if possible)

Are you OK?

@ondrj
Copy link

ondrj commented Dec 15, 2018

This:
https://techsolidarity.org/resources/basic_security.htm
Basically there is no need to add anything.

@pchc2005
Copy link

I use bitwarden as my password manager, and it's quite good and secure.

@SuperSandro2000
Copy link

Don't root but install a custom ROM. How? You need to do the first to do the second.
Also Samsung custom ROMs do not allow FDE.
Recommending chrome over Firefox....

@grugq
Copy link
Author

grugq commented Aug 30, 2019 via email

@SuperSandro2000
Copy link

Then you have TWRP anyway and you are vurnabile then.
Samsung supports FDE only on official stock firmware. Knox gets completely disabled when you root or flash custom firmware.

@grugq
Copy link
Author

grugq commented Aug 30, 2019 via email

@grugq
Copy link
Author

grugq commented Aug 30, 2019 via email

@SuperSandro2000
Copy link

On Samsung you do.

@grugq
Copy link
Author

grugq commented Aug 30, 2019 via email

@privacytoolslist
Copy link

I'm 100% sure that Signal is not about privacy. It's the same as Telegram/Viber. Also guys, never use Brave. It's advertised everywhere only because of money and there affiliate program. My own fresh list of privacy tools available at https://privacytoolslist.com (only free tools, open source, and I try to give the choice of what tool to use. By this way not everyone will be affected if some tool will be compromised.

@PowerPress
Copy link

CopperheadOS developer has left that company and the most secure android ROM now is GrapheneOS by same developer. Seems to mainly support Google Pixels but massive security improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment