News for hackers. Stuff that matters.
Re:There's been a big rise in monitoring workers at home by ChuckNorris89 on Friday December 17, 2021 @06:29AM (#29590789)
>I wrote a Python script that ran on a Raspberry Pi, that would pull the 2FA code from an Android emulator running on another machine running the 2FA app, and then the script would paste the 2FA code in to MS Teams running on the corporate laptop using a USB keyboard/mouse h/w emulator

That's amazingly brilliant, but Unfortunately it wouldn't work everywhere as in our org, the 2FA app will only be allowed to be installed on our company provided phones bound to our company issued phone numbers/SIM.

Also, depending on your company and employment agreement, if your Raspberry PI gets compromised by an attacker and uses your 2FA to gain access to your AWS account for example, and causes damage, then your employer can hang you out to dry in court.

I already saw one case where an ex-employee is being sued by his former employer because he decided to be clever and knowingly worked around the company's security policy measures, which he agreed to adhere to in his employment contract. Workaround which lead to an attacker getting his keys and stealing customer data from AWS buckets. Ouch!

Re:There's been a big rise in monitoring workers at home by tyingq on Friday December 17, 2021 @09:53AM (#29592928)
Almost all of the 2FA apps are just using bog standard TOTP, and have a way of getting to the cleartext OATH seed that's needed to automate it. It's typically just a few lines of Powershell, Perl, Python, etc, to take the seed, interval, and current time to spit out the right code.

Pretty much, if they offer a phone app, you can replicate the 2FA codes yourself.

Edit: Of course, protect the seed with gpg or similar if you do this.

Re:There's been a big rise in monitoring workers at home by moltar on Friday December 17, 2021 @07:25AM (#29591245)
You could automate it with a camera and OCR even if the software is locked. ;)
Re:There's been a big rise in monitoring workers at home by nousermane on Friday December 17, 2021 @04:01PM (#29598304)
Yeah, "webcam pointed at a security token" is a classic:

https://smallhacks.wordpress.com/2012/11/11/reading-codes-fr...

Re:There's been a big rise in monitoring workers at home by justinlloyd on Friday December 17, 2021 @01:57PM (#29596673)
Hackers would be better of looking for a flaw in the security envelope in the enterprise than in the security envelope of my internal network. I am pretty confident in stating that the only way you could compromise the Raspberry Pi is if you had physical access to it, and you'd still need to get past the encrypted filesystem and the password on the OS. I think there are higher value targets with less security than a Raspberry Pi that lets me sign in to MSTeams at a specific time of day. Would I deploy this on anything that was critical or mattered? No. Would I let one of my team deploy this on anything that was critical or mattered? Also no.

As a footnote, I can guarantee I could make it work on your company provided phones too. Even when they're locked and with a biometric scan requirement and the inability to run any non-approved software.

Re:There's been a big rise in monitoring workers at home by detaro on Friday December 17, 2021 @06:30AM (#29590797)
need to automate the company phone then. Not impossible.
Re:There's been a big rise in monitoring workers at home by ChuckNorris89 on Friday December 17, 2021 @06:31AM (#29590802)
Don't think iPhones are open to invasive automation tasks. At least that's their main sales pitch in regards to security vs Android that's more open to these kinds of things.
Re:There's been a big rise in monitoring workers at home by justinlloyd on Friday December 17, 2021 @01:44PM (#29596438)
I created a computer vision based bot that would play an iPhone match-3 game. A lazy Saturday afternoon of work. It was fun.
Re:There's been a big rise in monitoring workers at home by detaro on Friday December 17, 2021 @06:33AM (#29590831)
You can tape a touch simulator to it (or use a fake mouse, afaik that's nowadays supported) and monitor the screen with a camera. If it requires FaceID or TouchID it's getting trickier, but even that's probably doable in an environment you control.
Re:There's been a big rise in monitoring workers at home by ChuckNorris89 on Friday December 17, 2021 @06:39AM (#29590866)
Or...you can take all that time and energy you'd invest building this complex Rube Goldberg machine that just proves you're present 9-5, and instead, invest it in finding a job that's not so toxic.

Seems more healthy for your mental wellbeing in the long run, as toxic policies in workplaces rarely come alone but tend to come sequentially one after another as time goes on if the terror managers don't change or enough employee don't jump ship simultaneously to trigger a management change.

Re:There's been a big rise in monitoring workers at home by albrewer on Friday December 17, 2021 @11:22AM (#29594296)
> [...] instead, invest it in finding a job that's not so toxic.

Nobody's saying they're not doing that. Depending on life circumstances and where you live, it can take months to find a new job that's actually better than the one you're in, even when actively looking.

Re:There's been a big rise in monitoring workers at home by xeromal on Friday December 17, 2021 @11:06AM (#29594052)
You seem to take this seriously but putting something together like this is exactly what makes programming/engineering fun. lol. I love putting together weird crap like this.
Re:There's been a big rise in monitoring workers at home by justinlloyd on Friday December 17, 2021 @02:34PM (#29597270)
I build a lot of things that like that. From putting a space invaders game on my digital resume website, to an autonomous R/C car that can evade a pursuing dog that jinks left and right like a rabbit, to an internet controlled robot arm used as a cat toy, to a touch screen cat toy that exhibits predator/prey response from the feline interacting with it that results in a paper about improper toe bean rejection because there are not enough science papers written about cats interacting with touch screens, to figuring out which way up a piece of material has been loaded in to a CNC, to "open the pod bay doors" that will open my garage door, to an interactive smart home screen that monitors where my cats, phone, wallet and amazon packages are (and also displays the weather), to a multi-camera streaming setup that is voice activated "Hey producer, roll VT" that talks to me like Cortana from Halo, to a computer vision system for recognizing electronic components and sorting them into appropriate piles, to a remote operated cat litter cleaning robot arm, to cataloguing every book read, science paper digested, class attended, movie watched and album listened too since 1984. And then there is the weird stuff.
Re:There's been a big rise in monitoring workers at home by detaro on Friday December 17, 2021 @06:42AM (#29590897)
Sure, but I'd apply that at the point of the original posters setup already.
Re:There's been a big rise in monitoring workers at home by justinlloyd on Friday December 17, 2021 @02:01PM (#29596753)
You've assumed an awful lot about me based on a few flippant comments I've made on social media. Perhaps that time would be better spent finding a different outlet for your frustration. It appears that these days people on HN jump to the "find another job" solution as fast as people on Reddit jump to the "get divorced" solution.
Re:There's been a big rise in monitoring workers at home by bredren on Friday December 17, 2021 @10:20AM (#29593318)
Can biometric auth be required on iOS? I had thought iOS treated these as convenience alternatives to device pin.
Re:There's been a big rise in monitoring workers at home by HWR_14 on Friday December 17, 2021 @01:35PM (#29596283)
By default in a standard iOS installation, it's a convenience (one only unlocked after a PIN is input on rebooting). Individual apps may request access to FaceID/TouchID (not the raw data, but the iPhone's verification of biometric identity.) The user must whitelist the apps to use that permission, but a company could easily make their app not function if that permission is denied.
Re:There's been a big rise in monitoring workers at home by justinlloyd on Friday December 17, 2021 @02:05PM (#29596822)
I've already circumvented a variety of biometric requirements in various devices in my personal research and just for funsies. FaceID is fooled by a 3D print, and also if you never enroll your face in FaceID but instead use something else that is face-like, the system doesn't care. FaceID is dumb, insecure and doesn't care. TouchID similarly - it just wants to see a squishy thing pressed against it that vaguely resembles a human finger to enroll. It's security theatre. Consumer grade biometric security is as useless as consumer grade paper shredders.
Re:There's been a big rise in monitoring workers at home by HWR_14 on Friday December 17, 2021 @02:41PM (#29597360)
> Consumer grade biometric security is as useless as consumer grade paper shredders.

IIRC, consumer grade paper shredders got pretty good in the past few years. And your examples both rely on the person setting up the security circumventing it by supplying bad training/enrolling. Which makes it bad if you want to guarantee a person is behind it, but fine if you want to treat it as something that belongs to the person doing the enrolling.

Re:There's been a big rise in monitoring workers at home by justinlloyd on Friday December 17, 2021 @03:12PM (#29597761)
You're not wrong, but anything up to DIN P-4 is a couple of evenings of work to defeat with an automated computer vision algorithm. Ask me how I know. Most consumer grade shredders on the market are DIN P-2 and DIN P-5 is where it starts to get really tricky but is still possible to work with.

And I have found that most corporate security, especially in the biometric arena, is sub-par, usually because of the human component doing the enrolling. I am not saying it isn't workable, but that there is a vast landscape between people's perceived utility/functionality of the security and the actual security envelope it provides. Fortunately for me, security is very difficult to get right.

Re:There's been a big rise in monitoring workers at home by bredren on Saturday December 18, 2021 @04:57PM (#29608943)
What’s the right way to dispose of paper containing sensitive information?
Re:There's been a big rise in monitoring workers at home by justinlloyd on Saturday December 18, 2021 @06:38PM (#29609838)
The NSA recommends P-7 with full incineration. Fellowes has a P-7 model, but do you really want to spend $7,000 on disposing of your credit card statements. P-5 and P-6 are acceptable for home use. P-4 is also acceptable if you aren't really trying to hide anything and just want to dispose of those credit card offers, CVS receipts and that printout you received from your vet. Disposal security sits right alongside digital security in that you have to ask yourself, how much of a target do you consider yourself to be?

I use a P-4 shredder, also from Fellowes, that cost a couple of hundred bucks, that replaced a burnt out P-2 shredder I got for $30 from Staples. I am considering going to a higher capacity P-5 if I can find one at a reasonable price on eBay, mainly for the extra shredding capacity and the hopper feeder than any additional security it provides.

How seriously do I take my disposal security in my home? Well, I'm not a target, and there are other higher value targets with less security, so why would they go after me. I shred any mail or paperwork I don't wish to keep physical copies of, but it sits in the "to be shredded" basket near the shredder for a good six months before I get around to it. There's an oppportunity there, if I were a target. And the "to be shredded" basket will contain bills from my medical insurance provider, phone bills, ISP bills, electricity bills, cheques I've deposited, grocery receipts.

Whilst I practice good op-sec within my house -- no paperwork leaves without being shredded, tightened network security, VLANs for suspicious devices, locked down networks, and 2FA where appropriate -- I'm not a target and I have very little reason to be a target, so I don't need an onerously heavy shield. I'm cautious, not paranoid.

You need to evaluate your disposal security within the context of "what is convenient" rather than "what is best."

Re:There's been a big rise in monitoring workers at home by bredren on Tuesday December 21, 2021 @02:34AM (#29634940)
Thank you for this detailed response.