149 points · by nomoreplease · 5y ago · 98 comments
Encryption is super important because it secures your data in case your machine is stolen. There is an active market for identity data from stolen hard disks; don’t be that victim. It sucks.
If your machine is stolen and off*
I always turn my computer(s) and phone off before entering airports and other similar areas. They can ask me before Cellebriting them.
Not that I've ever done anything wrong, it's just for the ethics of it all. Privacy is critically important.
This is obviously a rare case but it just goes to show that you can have pretty darn good security and there are still attack vectors that you won't be hardened against.
This would also immediately lock the computer in the case of someone snatching it from you, even though the main use case I had in mind is just for falling asleep and for leaving the room.
Dunno if it’d drain too much battery. Also having the camera active indicator led glow all the time would be annoying. And it would also mean that you unfortunately no longer know if other software on your computer is recording your face while you are sitting there.
Still, it made me pretty uncomfortable using devices in public after that. For all the effort we put into cybersecurity, our measures are trivially defeated by a common thug. Even YubiKeys securing all your accounts wouldn’t do much to protect you from this.
[1] https://github.com/ts1/BLEUnlock
[2] https://tech.michaelaltfield.net/2020/01/02/buskill-laptop-k...
When you see that people need to write this disclaimer even on this website it feels like the privacy ship has long sailed.
> If your machine is stolen and off*
It's possible to configure macOS to wipe FileVault keys from memory when transitioning to a hibernation state. Assuming this works as designed, it might help in a snatch-and-grab situation if the thief closed the lid of the laptop. I would assume competent LEAs would take measures to keep their target's machine awake however.
Locked. macOS has used the IOMMU to block access to RAM from external devices for many years and on the newer Macs you’d need to compromise the T2 as well.
https://www.zdnet.com/article/hackers-claim-they-can-now-jai...
https://github.com/SAP/macOS-enterprise-privileges
Essentially you can still be the admin on your account but this app can make you a general user. When you need to install anything, run the app and grant yourself temporary admin rights. If you deploy this to employees with a management system, you can define default reversion to general user. It addresses the need to not allow users to be admins all the time, grants only when the need it for installation.
https://cirka.net/wiki/_media/macosx_hardening_tips.pdf
And NIST did a long form one as well for macOS Sierra (10.2)
https://csrc.nist.gov/CSRC/media/Publications/sp/800-179/rev...
Hardening operating systems is extremely difficult, I put a ton of research into it, but making it harder for APTs is always valuable. Linux with GRSecurity used to be the gold standard. Not sure what is now.
I noticed a lot of "zero days" or vulnerbilities target specific versions of popular software so there may be plenty of security in obscurity just based on the nature of the hacking business. And there's a huge shadowy hacking business if you weren't aware.
And as a side note one thing I learned from grugq is that managing your identity online is worth 10 fold than any of this hardening business. Creating fake identities with real back stories and linkedin pages etc. That sort of thing. But that getting a little deep into the "shadowy arts" of the infosec world.
> Disable Unnecessary Services: The following services can be found in /System/Library/ LaunchDaemons. Unless needed for the purpose shown in the second column, disable each service using the command below, which needs the full path specified: sudo launchctl unload -w PathToPlistFile
Today, you can't do that unless you disable, well, a different security setting.
Also the macOS Security and Privacy Guide may be of interest
https://github.com/drduh/macOS-Security-and-Privacy-Guide
as discussed on HN last year https://news.ycombinator.com/item?id=24242890
Not only that, but with the system volume is read only, so there is no obvious way to disable them from running without defeating other security. Any tips to disable these easily on the latest OS?
All in all for company that touts privacy, I found it all a bit shocking really.
It needs to be chatty.
https://sneak.berlin/20210202/macos-11.2-network-privacy/
(pcaps linked in the post, too.)
I always find myself clearing the drive in order to install the latest macOS. Perhaps psychological, but it always gives me a fresh starting point that is benefited by an implicit boost in performance. While it does require some time for setup, and much of what I do is manual, I never regret it --almost like spring cleaning.
I don’t know what settings I changed six months or a year or four years ago. I just know that my mouse should scroll that way, not this way. Time Machine makes sure these settings persist between disasters so I don’t generally try to track them. Historically upgrades maintained the settings where they make sense. Over time my environment adapted to my preference.
But with the recent more drastic changes in Big Sur (and my fresh start) I find myself constantly having to re-learn really basic things like how to manage notifications. What used to be one click is three, or gestures that used to do one thing (drag right to dismiss) now do something unexpected (dismiss all notifications for an app). I don’t know how much of this is a setting and how much is just new behavior.
It has been an infuriating experience. I don’t even know how to use my computer and I feel powerless. I also have very little motivation to learn the “new” way because I know it will just change again in a year. So the time I invest now will be wasted.
It’s extremely demoralizing. One of the hardest things I do during the day is try to navigate my desktop environment. I have an adversarial relationship with my MacBook. There’s very little cognitive energy left to do my actual job. I don’t feel like it is improving, my computer is just in my way.
I used to think like that, then I got a new mirrorless camera, which has a ton of settings with a menu which it feels like an open world. Then, I stopped worrying about setting things the way exactly I want. Instead, I started to change things I dislike.
This brings two advantages from my point of view. First, it doesn't feel overwhelming; two, it's really a smooth way of learning new things or relearning things in the new way.
I also run a micro server on a SBC. I fed up with the Ubuntu installation running on it and decided to migrate to Debian. I got two-three essential files (basically fstab, dnsmasq config files), and nuked the card. It was running in less than 15 minutes. I made a lot of small changes after that, but it was much smoother and nicer. Since I was not in a rush, I made the changes calmly and enthusiastically. Now, that thing works 10x better than Ubuntu.
No need to rush, just solve a single thing in one go, and you won't believe how far you can go in very short time.
Of course, this is my two cents and YMMV.
I just re-imaged my Macbook Pro laptop this week, to completely remove some super invasive exam-taking software that I had to install for a licensing exam.
The whole thing was very painless. I keep all of my data in one folder. I copied that folder, and copied some preferences for apps that don't sync to a folder (e.g., VS Code) to an external SSD.
I booted into recovery mode, wiped the disk, and re-installed Mac OS. Then I copied my folder back and re-did my settings.
The whole thing took a couple of hours, although a lot of that was babysitting the installs etc. while doing other things. I definitely wouldn't put it into the "extremely expensive" bucket in terms of time spent.
This had huge benefits in terms of maintaining a very performant Windows desktop.
Then, I also baked-in my security configurations with another set of scripts. So it was always in a consistent configuration, (even if I had to "temporarily" disable something that was blocking me or broke something, I could always return to my "known-good-configuration").
I've also done the same with my linux systems.
Mac OS X has always been curiously resistant to full automation, however. I know some people have done it; but there's something about this ecosystem that makes it very difficult; and I kind of think that's by-design, (to thwart the hackintosh people).
I think it would be extremely valuable to be able to do this on Mac OS X; because customizing the OS is central to being able to get a good productive user-experience (especially for power-users), and I'm often stymied trying to accomplish this in a repeatable manner, on Mac OS X.
I periodically clean my mac, though. Remove stale configuration files, cleanup apps, etc. I also have a bunch of stuff written down, as well as scripts, to help with installing new macs (to help my friends reinstall theirs).
I'm very nitpicky about configurations and apps. I've got dozens of apps and micro-apps I use. which are very modified. These include the typical BetterTouchTool, Alfred, Amphetamine, but also smaller apps like Audio Balance. My terminal is heavily customized, both in terms of iTerm 2 settings, but also in terms of my zsh config, custom commands, etc.
I'm sure I'd be able re-create my environment within days, but these would be very rough days....and time machine just works! I don't need anything else.
I had a checklist from last time in my notes and remembered that it only took a few hours and then the system was set.
This time it took much longer. Maybe because I went from Mojave to Big Sur in one go.
So now I've started a small project where I automate as much as possible, using defaults and/or Plistbuddy to edit macOS configuration settings, install dotfiles using GNU stow, profiles for network settings, and just copying files around.
Settings do not change fundamental OS behavior. I can't set my notifications in Big Sur to "Catalina".
brew install this-will-solve-my problem
with 782 dependencies.
< /dev/urandom tr -cd "[:print:]" | tr -d '[]<>(),~.\;\: \\/\`\|\{\}\'\"\' | head -c 8; echo
Generates 8 random characters excluding punctuation that is often not allowed in passwords. You can change `head -c 8` to the desired length of the password. If you get something difficult to type, just generate another one.If you like typing sentences use some unlikely ones, preferably personal because people suck at coming up with random stuff.
If you just throw some random thing in these lyrics like "God only knows WOOP i'd be without you" it would make it much stronger, but lyrics are like the thing where you would start building your brute forcer from and also.. how private are you about music that you listen to? I openly broadcast it.
e.g.: h0arseSt@br3bg#terYC0rt5d!t
It's too chaotic, which makes it hard to remember, which forces the user to save it in a password manager (or worse, write it down). And since it's going into the password manager, you can just go full random.
That's one way to look to it, but I remember a lot of passwords created this way, and know a lot of sysadmins who create passwords this way.
Sometimes full-random + password manager is better, but sometimes something convoluted + brain & offline backups is better.
Perhaps being a sysadmin for so long deformed our brains to remember these types of stuff.
Or, to present one specific example of this mixed-messages issue:
How precisely does the listed step "Disable Crash Reporter" harden macOS against being attacked, when nation-states are excluded from consideration?