News for hackers. Stuff that matters.
Re:Hardening macOS (2018) by burlesona on Thursday May 06, 2021 @04:56PM (#27068960)
Also, I've witnessed first hand someone come into a cafe I where I was working, walk up to another person who was on their laptop, snatch the open laptop as the person was typing on it, and bolt out into a waiting getaway car. That laptop was fully open and logged into everything.

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.

Re:Hardening macOS (2018) by codetrotter on Thursday May 06, 2021 @05:01PM (#27069007)
I’ve been thinking it’d be neat to have a program running that watches the web camera continuously and if you look away from the screen then it locks the computer after 1 minute. And if you disappear from the image it locks it immediately.

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.

Re:Hardening macOS (2018) by lutoma on Thursday May 06, 2021 @07:03PM (#27069977)
For a while I had my laptop set up with a udev rule that would automatically lock it as soon as my USB Yubikey was unplugged. The Yubikey was on my keychain on a lanyard attached to my clothing.

I mostly used that at CCC events where I was paranoid about forgetting to lock my laptop when I left it unattended, but it would also defend against that scenario pretty well.

Re:Hardening macOS (2018) by kgermino on Thursday May 06, 2021 @05:06PM (#27069041)
I believe windows has/had a setting where you could automatically log out if a bluetooth device was disconnected. I'm not sure how hard it'd be to do something like that on a Mac but maybe I should look into it. I think "if my watch disappears, lock the screen" would be simple enough.
Re:Hardening macOS (2018) by gotstad on Thursday May 06, 2021 @05:16PM (#27069140)
It has this setting and defaults to using your phone as the proximity device. Not sure why else I should BT pair my phone with my PC.
Re:Hardening macOS (2018) by ccheney on Thursday May 06, 2021 @05:04PM (#27069029)
Perhaps tie into bluetooth instead. If your Watch or iPhone goes out of range, lock the machine.
Re:Hardening macOS (2018) by 0x6A75616E on Thursday May 06, 2021 @05:33PM (#27069302)
BetterTouchTool has a "Bluetooth LE device moved away".. Maybe that can detect Apple Watch moving away, and then lock or even shut down the computer..

EDIT: Confirmed. This works. In a few minutes, I was able to set it up so that if my watch moves about a meter away from the mac, it'll lock the screen. It supports any Bluetooth LE device.

Re:Hardening macOS (2018) by r00fus on Thursday May 06, 2021 @07:10PM (#27070028)
I had moved away from BTT for a while but would come back for this. Awesome. This stuff should be in macOS core.
Re:Hardening macOS (2018) by finnh on Thursday May 06, 2021 @05:14PM (#27069121)
Unlox app does this - its primary feature is to use FaceID on an iPhone to unlock a mac, but it also has an AutoLock feature if said phone goes out of bluetooth range. The signal level threshold is configurable so you can keep it on a pretty short leash.

(no relation, just a happy customer)

Re:Hardening macOS (2018) by cdubzzz on Thursday May 06, 2021 @05:33PM (#27069312)
That is intriguing -- but I don't love the "enter your computer password in the app" part. Can it be configured to _not_ do that -- i.e. only do the "AutoLock" part?
Re:Hardening macOS (2018) by finnh on Sunday May 09, 2021 @09:50AM (#27095867)
I believe so, yes. you might need to do a temp password dance to get it configured initially, but after that "lock only" should work fine.
Re:Hardening macOS (2018) by poorman on Thursday May 06, 2021 @05:08PM (#27069064)
Perhaps an accelerometer for when it's snatched quickly.
Re:Hardening macOS (2018) by toxik on Thursday May 06, 2021 @05:10PM (#27069079)
Should actually be pretty easy to implement
Re:Hardening macOS (2018) by bombcar on Thursday May 06, 2021 @06:50PM (#27069887)
I was thinking something tied to the accerometer - I know laptops used to have those when they had spinning disk. Sudden movement locks the screen.
Re:Hardening macOS (2018) by flemhans on Thursday May 06, 2021 @07:58PM (#27070338)
There used to be an "alarm" app for MacBooks that'd sound an audible alarm when the computer was moved.
Re:Hardening macOS (2018) by xvector on Thursday May 06, 2021 @06:49PM (#27069878)
When I was in college, someone did this with my phone. Luckily, they gave it back a minute later - perhaps because I made a ruckus, and perhaps because they felt bad about robbing a student, who knows.

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.

[dead]
Re:Hardening macOS (2018) by dmix on Thursday May 06, 2021 @11:19PM (#27071755)
how is that relevant here and not other comments here?
Re:Hardening macOS (2018) by miles on Thursday May 06, 2021 @09:23PM (#27070882)
See BLEUnlock[1] for a simple Bluetooth proximity lock solution for macOS or BusKill[2] for a cross-platform wired solution.

[1] https://github.com/ts1/BLEUnlock

[2] https://tech.michaelaltfield.net/2020/01/02/buskill-laptop-k...