r/ComputerSecurity • u/[deleted] • Dec 29 '13
What is the most secure computer setup out there.
In terms of both hardware and software what is the most secure system I can set up? I'm a slightly above average user. I mostly just use p2p software and surf the web. I don't code but I'm looking to learn. How can I minimize risks of backdoors in both my hardware and software? What is the best way to stay anon? I'm more worried about Gov surveillance then your average script kid.
Sry if this is the wrong place to ask this question.... is there a better place?
8
Dec 29 '13
Appropriately hardened debian system, DD-WRT flashed router, trustworthy VPN provider in suitable country and a p2p peer blocklist would be a great start. Details on all of the above are available online.
8
u/masteryod Dec 29 '13
The most secure computer setup out there is one that's:
disconnected from any source of connectivity, no network, no wi-fi, no smartphone
sitting in a shielded room aka. Faraday cage
But I would say that setup is some kind of limited. Great to securely play space invaders though.
2
u/MithrilKnight Dec 29 '13
Don't forget strong physical security. Preferably in a strong safe and armed guards.
1
u/Greasier Dec 29 '13
Better make sure that none of the hardware is connected to anything else via quantum entanglement, though.
2
6
u/andrewcooke Dec 29 '13
openbsd? http://www.openbsd.org/
1
Dec 30 '13 edited Dec 30 '13
No, not really. The OpenBSD approach to security is to have a minimal install and to vet that install. Of course, once you install something outside of that, it all falls to shit.
Theo also doesn't seem to even understand how a lot of mitigaiton techniques work, and certainly doesn't know their history. You can see here:
http://tech.yandex.ru/events/yagosti/ruBSD/talks/1487/
for more. Or their earlier implementation of other techniques.
OpenBSD is littered with issues (not the least of which is their entire approach and attitude towards security), I'd say a hardened Linux system is miles ahead.
-1
3
u/amazedballer Dec 29 '13
Serious answer time. If you want a system for an end user that's mostly secure, then you probably want a hardened Ubuntu box.
InsanityBit is a good resource: http://www.insanitybit.com/2012/12/17/hardening-ubuntu-linux/
Or you can use Lynis: http://cisofy.com/lynis/
Or Bastille: https://help.ubuntu.com/community/BastilleLinux
If you really want secure, then I would go with a VM based solution like Qubes: http://qubes-os.org/
1
Dec 30 '13
I wrote the 'hardening ubuntu linux' article. Just to clarify, I don't think Ubuntu is the most secure distro. There are issues. In reality you are far better off using Hardened Gentoo, or something with PIE option. I choose Ubuntu because I use it and because I want to show that you can get very secure on just a user-oriented operating system without a ton of work or performance hit.
Thanks for linking to me.
1
u/amazedballer Dec 30 '13
Hardened Gentoo,
I'll check it out. What do you think of the new server based distributions like CoreOS?
1
Dec 30 '13
Hardened Gentoo is not easy to use or set up or maintain. Just FYI.
No idea about CoreOS. Typically, Linux distros by default do not take security seriously, even enterprise ones. It takes the user to go the extra step and set things up in a secure way.
If your goal is to protect yourself against a really major attacker, you're going to have problems. Even on a hardened Ubuntu, hash collisions are not beyond the government, which means your updater could be compromised by a MITM attack (since Canonical refuses to implement TLS for updates). Even if you spend significant time hardening the system, there will be a way in.
4
6
u/[deleted] Dec 29 '13
Years ago, I was at a trade show. One of the vendors had created the second most secure computer in the world. It was a laptop, encased in foam in a full Faraday cage, wrapped by alternating metal foils, and finally covered by a 1" layer of reinforced concrete.
It had been billed as the most secure computer ever. Right until two research papers had come out that showed it was possible to decipher processing by the amount of power being consumed and by pulling the slight RF signal being carried by the ground line.
A fully secure system is one that only does the least amount it possibly can, and exposes as little as possible to the outside world. A useable secure system does the same, but requires enough compromise that you can function. A usable secure system also requires constant vigilance to make sure that updates are applied daily, and I'd strongly suggest systems that are both open source and heavily vetted.
If you're highly paranoid, I'd also recommend fully disconnecting the system from the outside world when not in immediate use (as in unplug the shielded cat 6 network cable), and I'd also recommend powering the system down completely. I'd also recommend running iptables with all ports blocked and only allowing port access when you know you're going to use it.
Security is not easy. Security is a fairly large pain in the butt. If it's easy for you to do it, it's just as easy for a bad guy to do it.
Me? Honestly, I don't do much of that.
I run a Debian install with Firefox Nightly as my browser (Chromium is also a fine choice), and tend to build most of my stuff from sources. I pull my mail off of servers and store it locally on a TrueCrypt volume. I don't run a lot of plugins, and tend to have stuff execute with non-privileged accounts.
If I'm going to be doing something goofy or running a game, or doing something that needs less security, I run it in a VM. I don't generally sweat whether or not my BIOS or NIC's hardware is compromised.
Now, as for threats to worry about:
In general the order is:
Trusted Acquaintance
Coworker/Employee
Corporate Rival
Malicious party
Government (local or foreign)
Note that the people you trust are far greater risks than the faceless bureaucrats. It's because your actions have the greatest impact to them than anyone else. Plus local government can issue court orders to get information or other forms of legal "rubber hose crypto breaking".
As for staying anonymous, your best bet is to not stand out. Blend as deep into the herd as possible, raising no suspicions about yourself.