181 points · by kungfudoi · 3y ago · 210 comments
Calling out Flipper Zero for someone (ab)using the meter's remote control features cuts me the wrong way: you could've done the same with any other SDR, not just the Flipper Zero.
It's not even a surprise this happened, the cut-off is not meant to be operated constantly to cut heavy loads. Similarly you should not use a breaker to turn off heavy (or any, in that matter) loads as you're needlessly wearing down the protective device, instead of a separate cut-off switch that's designed to be replaceable. Especially since it can be positioned downstream from the protective device.
It all boils down to which part of the circuit you can easily repair in case of a fault, in this case the meter is by far the least accessible.
But why does the power meter accept commands from something 'outside', something untrusted?
Because some things work better with trust vs convoluted security.
I think this is something a lot of computer nerds don't get (myself included at one point). It's almost like if something can be accessed we are allowed to access it and it's the fault of the person securing it. But a lot of our society works on trust and I think we'd live in a much more difficult world if everything had to be secure enough to resist any attack.
If this thing was connected to the internet I get it, but you already need physical access to the meter why add another layer of security on top of that? If someone has wants to mess up your power and they have physical access there's plenty of ways they can do it without wireless communication.
If Philips can secure its SoniCare brush heads this way to prevent tampering and counterfeiting, a utility company or meter producer which enables a much more important infrastructure can be a little more mindful about what they are doing.
Other than that I agree 100% to your viewpoint.
Case in point the electric substation attacks early this year.
Or on a micro scale, just walking into a store, taking what you want and then walking out.
I don’t think anyone really wants to live in a society that is fully secure but to not have that we need to stop the breakdown of trust.
Arguably, the only reason we have society and not total anarchy is because everyone kinda tacitly agrees to “act right”
It's also difficult to update such devices in the field so even if they do fix such issues it's only for new units or a new product line which most customers won't bother with until forced to by regulations / incidents as it's expensive to replace them (you have to send someone out on the field as there are pretty much no OTA updates).
There's an absolute chasm between implementation intervals that can be achieved through pure software systems and those with distributed hardware components. Throw in a few layers of abstraction where those designing, purchasing, installing, operating, and maintaining those components are all unrelated parties with different (and potentially conflicting) motives and any sort of cohesive systems engineering is hard.
This doesn't excuse continued irresponsibilities in product security, because they absolute exist, but "impressively fragile yet surprisingly functional" is a completely logical Nash equilibrium to settle on given the surrounding non-technical components.
What we want is something in the middle, security but we own the keys!
Technical debt exists in disciplines other than software development.
I would guess until recently power meters just had no reason to be secured. We live in a multi unit building (I would guess around 120 of them). There is a shared key that goes to the central electricity room where the meters for all units are. I could turn off anyone's electricity by either unscrewing the main fuses there or by switching the breaker. People are a lot more trustworthy in practice than you would think.
In some countries this is crime which might land you in jail.
The manufactures and integrators of these devices are just now beginning to realize that the internet exists and that their devices aren't always connected to perfectly isolated RS-485[2] networks or connected to a network at all. They commonly contain hard coded passwords, passwords with staggeringly limited length and complexity, plain text authentication, default passwords, and other backdoors. Working with such devices is like taking a Delorean back to the early 90s, the eighties, or even earlier... it's the wild west.
It pleases me beyond words that hacking contests like Pwn2Own[4] have begun to include these systems in their competitions. This is a massively important area of security research that has historically been ignored.
[0] https://en.wikipedia.org/wiki/Programmable_logic_controller
[1] https://en.wikipedia.org/wiki/SCADA
[2] https://en.wikipedia.org/wiki/Encoder_receiver_transmitter
These protocols exist to get current readings from meters for data retrieval ease, and generally have a combination of security through obscurity and simple authentication to enable mass readings (by authorized people) easier. IIRC, these things can talk P2P in densely populated areas, and you can get all meters' readings in mere minutes, tops.
In any way, after and initial PoC, the rest of the video gets into territory of equipment abuse, and I got angry and sad while watching it. You can do it, OK, then why damage things which are not yours? Document your findings and leave.
Because your a terrorist or an AI looking to destroy mankind?
You're drifting off into is/ought territory in why people do things and that is something that is very difficult to predict and control.
But security is rarely found in products where it only might prevent the loss of profit.
The presence or absence of security in a product always reflects the incentive structure of the business that produces the product.
Itron's OpenWay system, for example, has used ECC encryption for quite a while:
https://www.itron.com/pl/company/newsroom/2016/06/09/itron-r...
This on the other hand is quick, can be done away from the meter, away from cameras, and can reach many meter at the same time. Considering the few terrorist acts that have been done to electricity distributions points, it does seems like a good ways for them to do a big impact easily, with the right antenna and amplifier.. you could do quite a bit of damage.
The specialness of the flipper zero is not that it can do more than any other SDR. The specialness is how easy it is to use. The question is what you can do in that 'easy mode'.
That, in the easy mode, you can do this kind of realistic and meaningful damage is noteworthy. Because this potential is brought to the masses. It probably won't be the start of widespread SDR-based cyber-crime, but that brings it one step closer. That is why I consider this noteworthy news about the flipper zero specifically.
Citation needed.
Since the advent of cheap SDRs and TI CC1100 devkits it's been a case of "grab code off Github and go do shenanigans". The only specialness here is that it's battery powered, but even previously you could have been running a laptop and HackRF in your backpack.
Now any jamoke can dl a firmware and conceal this in a pocket and go wild. That's "easy to use."
The flipper zero has a screen and buttons, and a defined way to upload new 'attacks' on to it, aswell as a simple way to run those. To normal people that lowers the barrier sooo much.
Trying to outlaw adversarial devices will not work though.
I don't want to live in a world of max pessimum.
I was arguing that this real-life example of impact is actually important for showing the impact of bad radio security, by putting dangerous tools in the hands of the masses.
I know it would have made the meter more expensive, but it was absolutely forseeable that a wild RF signal could have induced repeated contactor reclosings. They should have built it properly.
I think most folks don't understand electric components don't like being manipulated under a load.
I was taught the procedure of disconnecting a 10/20kV disconnect for an on-site transformer (alas, only an old one that had been decommissioned) and that thing scared the crap out of me when I first heard the spring loaded high voltage disconnect actuate.
Having a 3 meter fibreglass pole to actuate the thing, just incase, tells you there is a real risk of the thing blow up in your face, on a good day.
This is a failure of regulators and manufacturer, the media will spin it and next thing you know flipper zeros will be banned and smart meters will be as shitty as this one.
To rate limit switching would be a no brainer here.
This is one step removed from even that - a third party device designed for hackers being intentionally used for destructive purposes.
That is what this is about. It's not necessarily the fault of the manufacturer if a device can be harmed by deliberate RF-based (mis)use.
Do you even know how much regulation exists behind meters and electrical equipment?
What's next, complaining that the meter can't handle a sledgehammer?
You call weakness I call vandalism
Same as the brats who go and do a "tiktok challenge" of robbing an easily accessible car than finding out they're not immune to handcuffs and jail cells
Edit: and while a self-protection/rate limiting would be good, this could as well as easily be turned into a denial-of-service attack by causing the switch to be off. Better than failure, sure, but still an issue.
My freaking standing desk has protection if I go up and down too much within a certain period of time.
Like I said, I have zero trust this meter is accurate when it doesn't even have simple protective circuitry.
Sure, this is targeted abuse, but your device should not accept unauthenticated radio input that allows destruction.
This is ridiculous. Manufacturers are responsible for the safety and security of their products. It's a perfectly legitimate expectation.
The meter should not accept unauthenticated commands and should have temperature protection.
What if the electric operator’s software malfunctions and causes rapid power cycles to customers’ meters?
The end result would be the same, and it certainly wouldn’t be considered “abuse” then.
Yes because it's not built to be activated in that manner. Especially for high power/high voltage. This is not a mechanical keyboard switch.
> What if the electric operator’s software malfunctions and causes rapid power cycles to customers’ meters?
Then this is on the power company to fix it and fix the downstream failures this might cause. (Same as power outages that cause damages)
> it certainly wouldn’t be considered “abuse” then.
Abuse: Misuse; improper use; perversion.
In general you have a point, but making these devices accessible to remote tampering is an avoidable escalation of risk with no counterbalancing upside.
Requiring proper security in public infra creates market requirement for companies to release better, more secure, products to the public infra market. Not just whatever open radio based MVP thing they can whip up.
And that creates jobs for not just EE engineers, but as security requirements increase then it creates jobs for SW engineers also (and if the existing players are too slow, opens the market for agile startups that can do it better).
What's more, it makes our infrastructure more resilient to random RF and electronic warfare.
This shit has been broken since the beginning and enacting laws to fix this shit will be slow and expensive and many companies will be lobbying against it. Much easier to outlaw the Flipper Zero - as if that was the problem.
The SDR-related blog is also unlikely to have an agenda that includes getting certain types of SDRs banned.
edit: I also just noticed the meter is stuck in test mode and the backup battery is missing. You can actually buy these meters on ebay, which is what I'm suspecting this guy did.
Keep in mind that your typical electrical service is 10's of KW and that switching that kind of power repeatedly under load requires a device that is essentially sacrificial in nature. Now let's see what they charge you for that meter replacement, it's not going to be cheap.
Note that the meter isn't yours to mess with, it is in your house and on your property but from an administrative perspective your stuff starts after the mains cutoff which is downstream from the smart meter. Anything before that including the mains cutoff is the property of whoever manages the local network, either a specialized grid operator or the utility company that sells you the power. You can see which way it works by looking at your electricity bill and by whether or not you call your utility when there is a problem with the local grid or the network operator. Where I live these are separate legal entities, but in some places it is just the one.
Finally: don't mess with the grid, it's a shared resource. It is trivial to cause damage by for instance injecting power at higher voltage levels than the appliances in the houses around you can deal with, blowing up a meter before your ability to cut off can have very unpredictable effects. In theory it is all safe and it should be able to withstand some abuse but in practice older networks still exist and not all of them are equally robust. So just don't.
Utilities are - if anything - usually quite responsible and if they mess up they are liable for any damage they cause.
Flipper Zero isn't what's causing this, the bad "smart" devices are, and the culprits themselves, of course. Just because you can hack a system, doesn't make it legal. Know your local laws. Mine says "accessing any IT system without authorisation is punishable with imprisonment from 3m to 3y; accessing the aforementioned system with the purpose of obtaining data is punishable with imprisonment from 6m to 5y.", vague enough for all of these things.
As soon as I would discover I could do that, I would inform the company not some scritkiddies on the internet.
This is just irresponsible
And reporting to the vendor is suicidal. At least assuming the stories I hear about vulnerability disclosures are representative, which I think they are.
In their place, if I were to inform the company, I'd do it anonymously. If it was an actually important issue - as this very much looks like - I'd consider informing the building manager, HOA, the gas installation company they use, and every local journalist, all together so they know about each other - and then CC that to the vendor.
I don't buy this and will not act shitty just because
You can't self destruct something else. You can only self destruct yourself.
You wouldn't say a remote controlled robot that destroys itself on (wireless) command isn't a self-destructing device.
Good luck picking it back up or having another embedded person sort out the random zup file of sources and built images that these sorts of things encompass. Using some god awful half baked custom ide.
“Flipper what did you do?”
Should have been
“What did I make flipper do?”
In addition the articles title “flipper causes meter to self destruct” should be titled “person using radio device to cause smart meter to rapidly turn on an off causes failure in meter components”.
I’d probably phrase it more like “Idiot with ‘hacking tool’ rapidly switches electricity meter without understanding current inrush and failure states of high voltage high current system, luckily escapes death by explosion or causing a fire”
The article centers around this video: https://www.youtube.com/watch?v=kF6o9Ec4k_o
Otherwise, it could lead to tech not being trustworthy, or Flipper Zeros and anything like it getting banned.
It really seems like there are so many threats to technological society right now and not many people trying to defend it and make sure that in 50 years we still have access to the internet for most people and sensors monitoring our water supply.
>Eventually switching the meter on and off while under a heavy load
The issue is, I now have hundreds of boards with nice 64mhz Cortex M3 chips that run arduino code, and an attached CC1200 radio chip. They are pretty cute boards. But people already paid for them and I failed to deliver those to them, so I can't in good conscience sell them. Instead I have many boxes of these boards filling up space under my raised bed.
I would love to donate them to some educational purpose, but I worry they are a bit of an odd board no one would have a big use for. I guess though if the flipper zero with a similar chip is useful, maybe these can be useful too. When they communicate over the normal protocol they can have up to 1km wireless range (high above ground, no obstructions).
I do go to a hackerspace every week so I will have to bring some by and see what people say. But if anyone here has specific suggestions for places to donate them where they will actually get used, please share!
If you have the devices, that you acknowledge that people paid for, then at least attempt to provide your backers with something.
You didn't go into receivership as you still have the assets - at the moment you just sound like a fraudster.
I very much gave what I could, but when you fuck up in business sometimes you just have to walk away. I really needed to for my own mental health. The product launched in 2013 and I walked away from it in 2018. It took me years to recover. To this day I can’t really even stand to mail simple packages. I’m not going back - that period of my life is over.
I just never figured out what the product was really good for, so I’ve been unsure who to donate the remaining stock to.
I may be missing something, but shouldn’t you be giving them to the people who paid for them?
I’m seeing a lot of comments about “you should do X” but I don’t think a lot of people understand what extreme burnout is like. My mental health was horrible after all of that, and at some point I literally couldn’t will myself to continue. After five years of work I announced the project was over in 2018. Some people understood and some people were upset. But I did everything I could for 5 years, and by that point there were a lot of better products on the market that people could actually buy, unlike mine. You give as much as you can but at some point you have to walk away.
If you don't deliver anymore than you have an obligation to sell it to try to give them money back...
Eieiei
If that fails, just destroy them. Remove them from your life should be the priority you are literally dreaming above them every night.
Why couldn't you sell them and give the proceeds to the people who paid for them?