News for hackers. Stuff that matters.
Re:Ask HN: How do you trust that your personal machine is no... by amelius on Sunday January 15, 2023 @08:06AM (#34389110)
Do you lock your computer every time you leave your desk?

And do you always check for keylogger thumbdrives and such?

Re:Ask HN: How do you trust that your personal machine is no... by mr90210 on Sunday January 15, 2023 @08:41AM (#34389299)
When I worked at an office, I used to, with a quick: CMD+CTRL+Q
Re:Ask HN: How do you trust that your personal machine is no... by greggyb on Sunday January 15, 2023 @08:08AM (#34389124)
Yes. Why wouldn't you?
Re:Ask HN: How do you trust that your personal machine is no... by paulcole on Sunday January 15, 2023 @08:39AM (#34389290)
Because you assess the risk as being low and don’t care that much about low risk things.
Re:Ask HN: How do you trust that your personal machine is no... by AnIdiotOnTheNet on Sunday January 15, 2023 @09:15AM (#34389535)
Sure, but it is also a very low effort thing with little friction involved.
Re:Ask HN: How do you trust that your personal machine is no... by amelius on Sunday January 15, 2023 @08:59AM (#34389417)
I have to physically go under my desk to see if my computer has been tampered with.
Re:Ask HN: How do you trust that your personal machine is no... by Semaphor on Sunday January 15, 2023 @08:17AM (#34389174)
For me: No, and no. But as that would require someone breaking into my apartment, I don’t worry too much.
Re:Ask HN: How do you trust that your personal machine is no... by MonkeyMalarky on Sunday January 15, 2023 @09:42AM (#34389732)
I work from home and still lock my screen because I have cats that will walk on my desk if I'm not looking. 4 paws and an open vim or slack window are a dangerous combination!
Re:Ask HN: How do you trust that your personal machine is no... by k3liutZu on Sunday January 15, 2023 @08:18AM (#34389180)
Yes (I don't bother when I'm working from home)

I haven't used a use usb stick in +10 years.

Re:Ask HN: How do you trust that your personal machine is no... by dorfsmay on Sunday January 15, 2023 @09:54AM (#34389831)
How do you install the OS?
Re:Ask HN: How do you trust that your personal machine is no... by KineticLensman on Sunday January 15, 2023 @08:48AM (#34389344)
> Do you lock your computer every time you leave your desk?

This was a corporate requirement where I used to work, unofficially reinforced by the local jokers who would rotate the screen and / or send prank messages if you didn't.

Re:Ask HN: How do you trust that your personal machine is no... by friendlyHornet on Sunday January 15, 2023 @09:10AM (#34389494)
When I was an intern at a company, I forgot to lock my screen once when I went to the toilet

My colleagues edited my .bashrc to echo "lock your screen next time"

Re:Ask HN: How do you trust that your personal machine is no... by cozzyd on Sunday January 15, 2023 @11:05AM (#34390376)
I like to alias emacs to vim or rm, depending on how charitable I'm feeling.

(Kidding obviously, at least for the latter).

Re:Ask HN: How do you trust that your personal machine is no... by friendlyHornet on Sunday January 15, 2023 @06:10PM (#34394690)
I would alias both vim and emacs to cat

I think at first the colleague might assume it's a bug in the terminal not someone had replaced the command with an alias

or just alias them to echo, so that it prints out the file name, not even the file content

Re:Ask HN: How do you trust that your personal machine is no... by NikolaNovak on Sunday January 15, 2023 @09:22AM (#34389580)
I was a big proponent of hasselhoffing unlocked computers (set up a wallpaper of David hasselhoff in his Bay watch days sprawling over desktop :)
Re:Ask HN: How do you trust that your personal machine is no... by dehrmann on Sunday January 15, 2023 @02:32PM (#34392399)
I heard this was big at Rackspace.
Re:Ask HN: How do you trust that your personal machine is no... by throwawayprank on Sunday January 15, 2023 @09:19AM (#34389556)
> unofficially reinforced by the local jokers who would rotate the screen and / or send prank messages if you didn't.

Same here. The all time favorite is sending a resignation notice to the person's manager (the manager usually gets a fair warning first and plays along with it).

Re:Ask HN: How do you trust that your personal machine is no... by Marc_Bryan on Sunday January 15, 2023 @10:58AM (#34390311)
Yep. I've sent a party mail and free lunch or snacks sponsor to the team. Have got them a couple of times as well. A lesson well learned...
Re:Ask HN: How do you trust that your personal machine is no... by KineticLensman on Sunday January 15, 2023 @11:23AM (#34390547)
> is sending a resignation notice to the person's manager

Or a message that says "I love you very much"

Re:Ask HN: How do you trust that your personal machine is no... by thr717272 on Sunday January 15, 2023 @09:01AM (#34389432)
Lock my computer: Always[1][2].

Check for keylogger thumbdrives: I use a laptop so it would be immediately obvious. But now that you say it I haven't checked the charger USB-outlet on the back of my cabled keyboard.

[1]: it has happened I have failed. Once a year or something.

[2]: I sometimes try to allow myself to go downstairs in my own house to fetch a cup coffe without locking when I am alone, but I find it so stressful in practice I always lock it. I don't need to know but it is a good habit. I'm otherwise normal :-)

Re:Ask HN: How do you trust that your personal machine is no... by nickjj on Sunday January 15, 2023 @09:37AM (#34389690)
What bugs me is when this is applied to remote workers in a way that seems optimized for in-office environments.

For example IT enforces that your screen becomes locked after 15 minutes of inactivity and also ties in your local computer 's user login password to your SSO login to access everything. It's a contradiction around password best practices. If you force people to input their password multiple times a day then naturally people will gravitate towards easier to type passwords.

If the idea is "but what if you go AFK in a public place and forget to lock your screen?!?", that's not a valid reason. If you were working in a coffee shop and went to use the restroom for 4 minutes or turned your back for 2 minutes then your machine could be compromised.

It can really break morale to input your password and MFA half a dozen times a day.

Re:Ask HN: How do you trust that your personal machine is no... by Terretta on Sunday January 15, 2023 @09:46AM (#34389761)
TouchID or windows machines with Windows Hello touch solves morale issue.

Then they don't type most of the time and the length of 'memorable passwords' (like correct-horse4BATTERY!staple) isn't a problem.

Re:Ask HN: How do you trust that your personal machine is no... by amelius on Sunday January 15, 2023 @10:01AM (#34389889)
I suppose you could complement that with a camera + AI that recognizes when you leave your computer.
Re:Ask HN: How do you trust that your personal machine is no... by fortran77 on Sunday January 15, 2023 @10:21AM (#34390013)
My Windows Surface unlocks with their depth-camera. I don't know if big corporations allow this sort of thing on their laptops, but it's very handy for us in our small consulting business.
Re:Ask HN: How do you trust that your personal machine is no... by __turbobrew__ on Sunday January 15, 2023 @11:53AM (#34390820)
Yea, my work uses touchid for day to day logins and it works really well
Re:Ask HN: How do you trust that your personal machine is no... by AgentOrange1234 on Sunday January 15, 2023 @09:46AM (#34389768)
Oh yes. Having my machine lock very fast when I wfh is really annoying. Past that, with so many systems to log into, I sometimes feel like all I do is authenticate and authenticate all day long. SSO is probably saving a lot of this, but at my megacorp it still sucks.
Re:Ask HN: How do you trust that your personal machine is no... by pwg on Sunday January 15, 2023 @10:40AM (#34390151)
> What bugs me is when this is applied to remote workers in a way that seems optimized for in-office environments.

> For example IT enforces that your screen becomes locked after 15 minutes of inactivity

If your OS is MS-Win, try playing an audio file when you don't want the auto-lock to go off. Provided IT's "checkbox security" parameters [1] did not include turning this off, MS-Win does not timeout lock the system if an audio file is playing, which makes playback of an audio file a way to prevent the timeout auto-lock from happening. Note that this won't help with any 'presence' indicators that go "idle" or "away" with no activity for some time.

If this works, then you can create an audio file of 'silence' with sox to use to play back when you don't want the auto-lock to trigger:

   sox -n silence.wav trim 0 10:0.0
Creates a ten minute long wav of 'silence'. If you want it smaller, compress the wav with lame into an mp3 or fdkaac into an aac file. Then launch playback of the silence file, and set windows media player to "loop" when it reaches the end of the file.

[1] Much corporate/govt. IT "security" is "checkbox security". It is the equivalent of IT having a "compliance form" with a long list of "configured settings" with check-boxes next to each, and so long as they can go down the form and "check all the boxes" they deem their setup "secure". Whether it is actually secure is not important, just that it "checks all the boxes" on the "compliance form".

Re:Ask HN: How do you trust that your personal machine is no... by nickjj on Sunday January 15, 2023 @11:14AM (#34390457)
That's really clever. This is a company issued Macbook (macOS is a requirement not a choice btw) but I'm guessing there will be something similar that you could do.

This puts you into a grey area though no? You could make a case this is willingly trying to circumvent security protocols which could be grounds for being fired.

Re:Ask HN: How do you trust that your personal machine is no... by Spooky23 on Sunday January 15, 2023 @10:44AM (#34390190)
The issue is more other members of your household. Your roommate, kids, spouse, etc. Policy and regulatory requirements don’t allow incidental disclosure to people like that, and the company has no relationship with them.

I dealt with this as a policy issue recently. Controls like aggressive screen lockouts are one of the few options available to allow some categories of workers to work outside of a company controlled premises.

The argument that you live alone etc is irrelevant as I have no idea (and don’t want to know) whether that’s true. I can tell you that people have done shockingly dumb things with remote work and the company has to try to control risk as best it can.

Re:Ask HN: How do you trust that your personal machine is no... by nickjj on Sunday January 15, 2023 @11:26AM (#34390576)
> Controls like aggressive screen lockouts are one of the few options available to allow some categories of workers to work outside of a company controlled premises.

What does the policy really protect against?

If it's being locked out after 15 minutes of inactivity because of roommates or kids it doesn't protect you against anything in the grand scheme of things. For example if I leave my office for lunch and you step in 10 minutes later then you have a solid 40-50 minutes to do whatever damage you plan to do while I'm gone.

The only time it makes a difference is if it locks really fast, such as 30 seconds but then using the computer naturally would be ridiculous because you couldn't stop touching the keyboard or mouse without being locked out.

Also, what if your room mate planted cameras in your office that let them see exactly what keys you're pressing on what screens without ever compromising the machine itself? Now everything is compromised and they have full reign to do whatever they intend to do.

> The argument that you live alone etc is irrelevant as I have no idea (and don’t want to know) whether that’s true

This is the real problem. Everyone gets treated like an equal criminal when in reality none of the measures taken really do anything to provide the security they were designed to do. It reminds me a lot of "for the children" but applied to corporations for "compliance reasons".

Re:Ask HN: How do you trust that your personal machine is no... by Spooky23 on Sunday January 15, 2023 @01:52PM (#34391907)
It reduces risk by minimizing disruption if you’re following other work rules. If we locked it in 30s, people wouldn’t be able to work.

Re: the “treat people like a criminal” take. A common approach organizations are taking is employee surveillance. I don’t want to know that your girlfriend has a conviction or that your kid sits next to you with sensitive data in your screen, etc. And I don’t want to force you into an office.

There’s a difference between “security” and risk management. If the discussion was pure security with low/no risk tolerance, you’d be working on a locked down terminal server in an office.

Re:Ask HN: How do you trust that your personal machine is no... by bentcorner on Sunday January 15, 2023 @10:50AM (#34390236)
> For example IT enforces that your screen becomes locked after 15 minutes of inactivity

If you're on windows, there's a powertoy[1] called "Awake" that can keep your screen on indefinitely despite IT rules. I liberally use this on machines I'm remotely connected to because there's 0 reason why a remote session should lock if I'm active on the computer looking at a different window.

[1] https://learn.microsoft.com/en-us/windows/powertoys/

Re:Ask HN: How do you trust that your personal machine is no... by hotpotamus on Sunday January 15, 2023 @09:19AM (#34389555)
I've worked in places where that once a year slip-up would mean you sent an email offering to buy lunch for the team or get your background changed to a David Hasselhoff pinup picture from the 80's. I do feel weird locking my computer when I'm alone though.
Re:Ask HN: How do you trust that your personal machine is no... by francis-io on Sunday January 15, 2023 @09:31AM (#34389654)
One place I worked, it was common practice to email something semi embarrassing into a public slack channel from the unlocked pc.
Re:Ask HN: How do you trust that your personal machine is no... by SargeDebian on Sunday January 15, 2023 @10:14AM (#34389974)
Screenshot of the desktop, rotate that 180 degrees and set as background. Hide all icons and the taskbar, then rotate the whole screen 180 degrees. Maybe a bit of tape underneath the optical mouse.
Re:Ask HN: How do you trust that your personal machine is no... by sargstuff on Sunday January 15, 2023 @10:24AM (#34390041)
> [2]: .....

Ah, no mention of water proofing computer to protect against robotic dog innocently spilling moring coffee/tea on computer.

Re:Ask HN: How do you trust that your personal machine is no... by Terretta on Sunday January 15, 2023 @09:42AM (#34389729)
On MacOS, poke the TouchID key to Lock Screen. When back, poke it again to unlock. Make this rote.

On Windows, Win-L to lock.

Re:Ask HN: How do you trust that your personal machine is no... by thallosaurus on Sunday January 15, 2023 @10:38AM (#34390143)
Yeah, colleagues have happened once, then never again. I use a Laptop with a Dockingstation for work and take the Laptop home with me every time I leave so I would have noticed if this would have happened.

When home, I always have to lock or my cat would typeeeeeeeeawww