Live data from Hacker News

The curious case of the Raspberry Pi in the network closet (2019)

blog.haschek.at

61–70 of 269 posts

Re: The curious case of the Raspberry Pi in the network closet (2019)

#61

Gripping! Would love to read more articles in this “genre”. I’m wondering if there was an easy way for the attacker to encrypt or obfuscate some of these configuration files, so that defenders can’t extract settings even when physically connected to the device.

Some malware will store the executable and all configuration encrypted on the disk and will only decrypt in memory with a key downloaded from the internet. Ofcourse you can still defeat this if you dump the memory or reverse engineer the process to get the key yourself. Makes it a bit harder but still not impossible.

Unless the disk has some way of checking the hash sum of its own file structure before execution, additional debug, logging scripts can be added which load at boot time and record the entire process. It’s a cat and mouse game.

Re: The curious case of the Raspberry Pi in the network closet (2019)

#62
post #3

Author of the article here. Since I first published this blog post I was getting messages from people asking how it ended. Sadly it's pretty anticlimactic as the owner of the place had a meeting with the guy who put the Pi there (without me as he didn't want the Pi-dropper to feel ambushed) and in the end decided not to escalate it to legal and just basically told him to pack his things and get out. So no legal after…

Seem pertinent to atleast get an affidavit from the ex-employee detailing what he as done, agree to hold on to the hardware as evidence, put liability on the employee for any time-bombs that might have been stored, ask him explicitly to give in writing all the activities he performed, etc.

Just to have a thread to pull on, in the future, when something might go wrong.

Re: The curious case of the Raspberry Pi in the network closet (2019)

#63
post #60
post #5

Earlier quoted context omitted.

Did you ever find out what it did there exactly? Like, what it collected and what the "gifted person" wanted to do with that data? edit: Thanks for the write-up btw. Was a nice read, although a bit short (which is the story's fault I guess)

Is “gifted person” code for something? Are they from some sort of enrichment program?

It's in the article: The author found information about the presumed attacker on a site where parents write about their gifted (= highly talented) children.

Re: The curious case of the Raspberry Pi in the network closet (2019)

#64
post #3

Author of the article here. Since I first published this blog post I was getting messages from people asking how it ended. Sadly it's pretty anticlimactic as the owner of the place had a meeting with the guy who put the Pi there (without me as he didn't want the Pi-dropper to feel ambushed) and in the end decided not to escalate it to legal and just basically told him to pack his things and get out. So no legal after…

Would have been interesting to see what they were doing - nRF52832-MDK doesn't have wifi - perhaps the person was scanning/logging bluetooth devices.

Re: The curious case of the Raspberry Pi in the network closet (2019)

#65
post #13

I'm rather curious, why can't the RPi have soldered flash memory? How much would it cost to add 2, 4, or 8GB of flash memory on it? Because I would gladly pay for a Rpi with such memory if it added 10 dollars. I'm suspecting it would require for them to make a new SOC, breaking compability?

If your goal is to avoid using an sd card, have you considered a Beaglebone?

Re: The curious case of the Raspberry Pi in the network closet (2019)

#66
post #60
post #5

Earlier quoted context omitted.

Did you ever find out what it did there exactly? Like, what it collected and what the "gifted person" wanted to do with that data? edit: Thanks for the write-up btw. Was a nice read, although a bit short (which is the story's fault I guess)

Is “gifted person” code for something? Are they from some sort of enrichment program?

“Gifted” individuals are selected at early ages to run through rigorous education programs that greatly push them ahead of their peers. It is a pipeline to create intellectual elites and captains of industry. Gifted kids are widely accepted as the most intelligent kids of a school and held up as the finest examples of the school’s educational abilities.

Re: The curious case of the Raspberry Pi in the network closet (2019)

#67

Earlier quoted context omitted.

The issue here is that this isn't just "one bad apple" that if we can remove everything will be ok. Which is what motivates the idea that punishing this bad actor will make everything better. There is a systematic issue at the heart of the way we do network security. You can by a lighting / usb cable that can do all of these things and more for $120 if he'd used that he'd never have gotten caught. We treat network se…

> The issue here is that this isn't just "one bad apple" that if we can remove everything will be ok. Which is what motivates the idea that punishing this bad actor will make everything better. I think they are talking about this particular, singular, bad apple and the other companies that bad apple is also attacking right now and stopping that harm as opposed to "sending a message" to other bad apples.

That feels like a choice for the victim.

If after the business owner sat down with the perpetrator they decided it is just some script kiddie playing at being a spy then that's up to them.

The wider issue remains that some script kiddie with $120 could have done this and got away with it for ever.

Re: The curious case of the Raspberry Pi in the network closet (2019)

#68
post #50

Earlier quoted context omitted.

No, you can have the initrd boot to a dropbear sshd that allows the operator to ssh in on reboots and provide the key.

Wouldn’t that part of the disk then need to be unencrypted?

Yes, it does. It's pretty small, though, on the order of 100MB.

Re: The curious case of the Raspberry Pi in the network closet (2019)

#69
post #55

Earlier quoted context omitted.

> told him to pack his things and get out I though the suspects were an ex-employee, and some guy that didn't work there (the part-owner), so was an actual current employee implicated in the end?

An ex-employee who still had a key to the office so they could move some stuff they had there. Presumably that courtesy was immediately terminated and the key was returned.

oooh, I didn't realise they still had the key at that point. OK, I wouldn't have even said that - I'd have asked for the key back and boxed the remaining stuff myself. TBH, I'm surprised to what extend the employee would of had a bunch of stuff there - did they have furniture there or something?!

Re: The curious case of the Raspberry Pi in the network closet (2019)

#70
post #46

>And what do we do, when we want to find out a location associated with a wifi name? We go to wigle.net, enter the SSID (=wifi name) and it tells us where on the world it is found. I've always enjoyed having unique/personal SSIDs, but had never seriously considered this consequence. I wonder what the worlds generic SSIDs are.

There's a good chance he could have also recovered a MAC from logs etc.

What's more important is that you don't set your SSID to hidden: Someone needs to broadcast the SSID for the connection to work, and if it isn't the AP, it will be your mobile device broadcasting it everywhere you go!

Post reply on HN