22 points · by pmontra · 8y ago · 14 comments
They don't think LUKS is good enough for full disk encryption
They don't like OpenVPN -- IPSec is the only approved vpn. That led me to https://www.darkwirevpn.com/vpns/ipsec-versus-openvpn/
I fully agree with no "curl http://blah | sudo bash " though. If software is worth deploying, it's worth deploying as a package (deb, snap, container, whatever. Versioned. Repeatable. Signed)
As to the guide overall, it suffers from the typical delusions of enterprise IT, which delivers a castrated platform with marginal security improvements. Users will still suffer XSS from crappy Oracle corporate applications, phishing, buffer overflows etc. But at least they won't be able to use grep! Nasty bash programs!
Buffer overflows - the guide mentioned both sandboxing (snap/apparmor) and remote low level data collection (auditd). If you don't trust the app, that's about as much as you can do.
Phishing - There's not much the OS can do. 2fa is required on the service itself, but that's not in scope for this doc.
XSS - Since you're connecting through a proxy in the recommended networking setup, there's a chance some known endpoints will be blocked. Again, that's in scope for the remote service, not really the OS setup.
I think they did a good job of describing what can you do as far as end-user workstations go. You could do some improvements by getting a grsec kernel, but that's not really Ubuntu 18.04 anymore. (I wish they mentioned it as an option though)
The complaint about LUKS is also bizarre, because the work function for trying one passphrase is enormous by default, and easily configured to be stupendously costly (e.g 30s). Its also quite feasible to boot from a USB key, which has a passphrase wrapped key; when separated from the computer this is very secure. TPM isn't foolproof either, so it comes across as rather ill informed.
If you have to implement half the suggestions they make, you're probably doing it wrong. If you're that paranoid about giving a user access to a computer, you shouldn't give them access, not jump around locking down their access to bash once they are on there.
While the attitude of people who believe these documents still exists (in a few companies), people will simply avoid enterprise IT. A far better solution would be "sure, use ubuntu, just ensure that you install this package (which does a few sensible things -- syslog, package version reporting, etc)
party a said: let people read it and be educated
party b said: let's install OpenSCAP[0] and get some reporting
That said, I didn't mean to say "this is awesome, do it like they say" - but I'd definitely liberally use some parts of it if I were to write such a doc for my org. I'm not with BigCos usually so I'm no fan of clamping down root access, etc. I think developers basically need admin access on their machines except at the scale of Google where you have a dedicated force of people just caring for the tooling and that everyone can actually work instead of filing "please install libbzip2" tickets...
According to a wireshark scan, there was a strange UDP continous stream, even with all applications closed. My computer was reaching several IP in Europe. The text of the stream was encrypted, I was just seeing "...token..." or thing like that.
I formatted and installed Ubuntu 18, the network is clean now.
I'm pretty sure I add some kind of malware, I have no idea what it was, it's very suspicious.
If I run up an iperf stream from one AWS server to another and run that command, one line that's out is this:
udp 0 0 172.26.4.22:44142 52.56.147.150:5001 ESTABLISHED 20114/iperfA better approach could be systemtap which has a whole system visibility.
open(SOCK)
// now visible
write(SOCK, contents)
close(SOCK)
// no longer visible