Skip to content

With the vote in the Senate today regarding Internet privacy, security might be on a lot of people's minds. What general security tips do you have for a computer running Arch?

It doesn't have to be specifically related to internet privacy. I'm new to Linux, and I was hoping to get an idea of what steps I should take to make my computer as secure as reasonably possible.

75 points59 comments
Open on Reddit
About this post
Posted
Archived
Score
75 · 100% up
Kind
Text
ID
614ujn

Author

2
posts
7
comments
0
media
View profile

62 comments

Reasonably is a mighty subjective thing. If you don't have any vulnerable services and use strong passwords then I'd say you're reasonably secure. If you worry about physical security and keep sensitive data on your machine then disk encryption might seem reasonable. If you are worried that the NSA is watching you right now then go download OpenBSD and move to an off-grid location.

27 points
unknown author4 hidden

Wondering, does that imply OpenBSD is more secure than Linux or that NSA care less about OpenBSD?

7 points

OpenBSD is more secure than Linux, generally. Very few security problems in the software they provide, if you look at their list.

2 points

Just using an encrypted overseas no logs VPN should be sufficient if you're primarily concerned about having your network traffic snooped on.

22 points

Stupid question maybe, but with a VPN an ISP will have exactly no logs of browsing history?

1 points

The ISP will know that you're connecting to a VPN, but actually determining the content of your traffic would be nearly impossible given strong encryption keys. It would just look like random garbage without decrypting it.

6 points

My general recommendations (not only regarding privacy). I'm aware that some of them cost more resources or some effort. It's up to you what your privacy and security is worth.

  • Keep your system uptodate
  • Encrypt all your drives
  • Use an offline password manager like KeePassXC and use 40+ len with the maximal available charset
  • If your Mainboard has an intrusion sensor, use it to automatically shutdown the computer if someone opens the case while your computer is running
  • Use a trusted VPN for ALL of your internet traffic
  • Use firejail to restrict every program that processes any kind of uncontrolled data (files, web traffic, messaging clients, browsers, ...)
  • If you have any services hosted, use separated VMs for those
  • Use usbguard to white list usb devices that can connect to your PC (BadUsb, Keylogger, ...)
  • Do not use any commercial "cloud" services - most can be hosted yourself (nextcloud, gitlab, ...)
  • Run your own hardware firewall - like IPFire or pfsense, including services like an IDS
  • Because of the security features use Chromium as browser (or firejail firefox)
  • Use an ad-blocker and some kind of java script blocker (NoScript/ScriptSafe)
  • Less is more, try to keep the number of services running on your machine as low as possible or separate them
  • (VM) If you have to execute a windows binary - upload it to virustotal.com or use a trusted AV for Windows
  • Create regular backups of your config/data
  • Use grsec kernel

That's all I got together in a few minutes. English is not my native language.

Regards,

16 points

What's the best way to encrypt drives with Linux?

RemindMe! 45 minutes

3 points

I will be messaging you on [2017-03-24 14:19:54 UTC](http://www.wolframalpha.com/input/?i=2017-03-24 14:19:54 UTC To Local Time) to remind you of this link.

[CLICK THIS LINK](http://np.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=[https://www.reddit.com/r/archlinux/comments/614ujn/with_the_vote_in_the_senate_today_regarding/dfcjuax]%0A%0ARemindMe! 45 minutes ) to send a PM to also be reminded and to reduce spam.

Parent commenter can [delete this message to hide from others.](http://np.reddit.com/message/compose/?to=RemindMeBot&subject=Delete Comment&message=Delete! dfcl0gn)


FAQs [Custom](http://np.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=[LINK INSIDE SQUARE BRACKETS else default to FAQs]%0A%0ANOTE: Don't forget to add the time options after the command.%0A%0ARemindMe!) [Your Reminders](http://np.reddit.com/message/compose/?to=RemindMeBot&subject=List Of Reminders&message=MyReminders!) Feedback Code Browser Extensions
0 points

Chromium has security concerns, but it's the best thing before having crappy browsing experience with JS

2 points

Chromium has security concerns, but it's the best thing before having crappy browsing experience with JS

First i want you to know that you are answering to the non-question this thread is about.

Now, Chromium Google is the one pushing Javascript to serve its best interests (another interesting topic), no wonder why Chromium is the best Javscript [interpreter](https://en.wikipedia.org/wiki/Interpreter_(computing%29), it was exclusively made for this very purpose.

In the future i hope you will take this into consideration before calling to "crappy browsing experience" crappy browsers, and "security concerns" spying concerns, thank you.

1 points
10 points

Yeah, I've been reading through it. I just figured I'd see if anybody had any tips that might not be listed there, or could specifically recommend some things as being more/less important or for example, a favorite disk-encryption method.

6 points

I was just reading that when lurking on /r/arch ..

I said that arch's wiki is good so many times, yet.. it's still the only documentation I can enjoy reading and solve my issues with.

Kudos to everybody involved.

2 points

Never use internet. That's the safest thing you can do.

9 points

You joke but going to My Side of the Mountain for a while is seeming like a more and more attractive option looking at how fucked up the world at large is getting lately.

7 points

Lol true. While you're at it, don't use any phone ever, live in a secluded hut somewhere with no access to any telecomms.

RMS actually has an interesting read on this.

2 points
  1. Encrypt it for the "random airport check".
  2. Buy a computer that is backdoor free. Intel has IME since 2008, AMD has something similar, ARM devices are starting to present this too. BIOS replace with libreboot.
  3. Reduce to a controlled minimum "surface of attack", by removing unnecessary interconnection features like ssh (given you consider enabling it), or even usb polling.
  4. Anonymous traffic with tor+arm, make sure you never torrent because of their flawed requests.
  5. Lock root login, but this is somewhat subjective.
  6. Only run free software, this may conflict with parts of your system if you enforce that at firmware level.
  7. Never trust anyone, not even yourself.
3 points

For #1 though, at least in the US the CBP will probably "request" that you decrypt.

There was an American-born NASA engineer who was forced to divulge classified info on his phone by giving them the PIN. It isn't really mentioned here if there was encryption on the phone, but it's still a case where even a US citizen has been forced to give up their personal (and really, work) security.

2 points

Yeah, but I'm not planning to either visit the US, or let anyone decrypt because it's unconstitutional

1 points

I would add linux-grsec + PaX + paxd to those tools already mentioned, though they can cause some problems with (usually) non-free software.

A preconfigured MAC (SELinux/AppArmor) would be nice too, but you'll have to switch to a different distribution for that.

1 points

A preconfigured MAC (SELinux/AppArmor) would be nice too, but you'll have to switch to a different distribution for that.

Yea, one of the (IMHO) pitfalls of Arch..

7 points

Yeah i just recently moved away from arch because the selinux support is a joke. I dont mind configuring things on my own but kludging half functioning AUR packages isnt my idea of security...

2 points

anybody experienced with other *AC ? (forgot the acronyms, DAC, MAC, ...)

1 points

There is a project on github called arch-audit. It tells you what vulnerabilities you have based on your installed package list. It then tells you how you can fix them.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.