The Register® — Biting the hand that feeds IT

Feeds

Texas Instruments to patch smart meter crypto blunder

Trivial key cracking

Regcast training : Hyper-V 3.0, VM high availability and disaster recovery

Texas Instruments plans to patch a cryptography flaw in a widely used chip that could allow attackers to remotely tamper with electronic power meters and other devices that connect to smart electricity grids.

The weakness resides in TI's Z-Stack software that runs on microcontrollers such as the CC2430. Encryption keys used to protect and authenticate communications between the devices are created using PRNGs, or pseudo-random number generators, that produces data that's trivial to predict, the company has confirmed.

That could allow attackers to remotely tap in to communications that travel over the grids' dedicated wireless mesh networks, researchers warn. The TI microcontrollers are also used in thermostats, display panels, and other home appliances designed to work on smart grids.

"If you can figure out those keys, you essentially don't have encryption anymore," said Mike Davis, a senior security consultant for IOActive who has audited the security of smart meters. "That may mean you get to a place where it's possible to send malicious packets on the network or any number of attacks."

Joseph Reddy, a systems engineer in TI's low-power RF software group, said his team was in the process of rolling out Z-Stack version 2.3, which would replace the firmware's PRNG with a cryptographically secure RNG.

"For these types of applications, it's critical to have very secure communication because you don't want to have just anyone to be able to control all your home appliances," he told The Register.

The weakness, which was documented last week by security researcher Travis Goodspeed, ought to serve as a cautionary tale for the untold number of companies working on parts that will make up the emerging smart grid. Unlike electricity grids in use today, they will be able to save money and conserve resources by allowing two-way communication between electricity users and the power plants that serve them.

Smart grids will also allow smart meters in consumers' garages or utility rooms to communicate directly with dish washers and other appliances, so users will know exactly how much power is being consumed at any given time. Depending on other considerations, such as the current supply of power, appliances can be programmed to shut down until the availability of electricity is more plentiful or off-peak rates are available.

That's a heady vision, but it comes at considerable risk if the components that make up the smart grid aren't designed securely. TI's crypto blunder makes one wonder how many other critical pieces of this complex puzzle are also left wanting.

Cryptographer Nate Lawson has more here. ®

Agentless Backup is Not a Myth

Read the Nate Lawson blog.

Joseph Reddty @ TI

"For these types of applications, it's critical to have very secure communication because you don't want to have just anyone to be able to control all your home appliances,"

So *why* didn''t you provide the building blocks for that from day one?

Note this is a double (or possibly triple) fail

16 bit shift register. Maximum 2^16-1 values. Not big by modern standards. Standard taps for maximum length LFSR found in Horowitz & Hill.

Never reset in normal use (According to Lawson notes). Might be important, might not.

Seed value taken from a register which normally is set to a couple (specificaly 0 and 100) values whatever its length.

Still *no* one actually *uses* sample code in a *real* embedded application, right?

But what about the under funded, under planned product development thought up by some Marketing clown who saw big bucks in this "Smart network" thing and thought they could grab a piece? Work handed to new EE or CS grad with stupid deadline to get it done and *no* deep understanding of security (or indeed any other) issues.

This of course could never happen in real life.

Could it?

2
0

so , whats the speed

so whats the speed of the torrent upload/download off these hacked smart meters wireless Open mesh :) Or didnt anyone port that app yet?

1
0

Thought so.

I was wondering when that little problem was going to rear its ugly head in the dash for smart metering. We all know how much fun it is pushing patches to a few hundred PCs, now imagine this in some utilities firm in a few years' time:

"We've got a patch for that critical bug that's being exploited in our smartmeters."

"Great. About time too. Now roll that to all of the 870 different product versions we have across all of our several hundred million subscribers ASAP would you?"

1
0

More from The Register

 breaking news
Number of cops abusing Police National Computer access on the rise
Only a telegram from the Queen can get you off it
 breaking news
NSA PRISM snoop-gate: Won't someone think of the children, wails Apple
10,000 things probed, mostly about missing kids, Alzheimer patients, we're told
Flash flaw potentially makes every webcam or laptop a PEEPHOLE
But it's a Google problem - Chrome only, insists Adobe
Internet fraud still stings suckers
Australians twice as gullible as Americans
 breaking news
NSA PRISM-gate: Relax, GCHQ spooks 'keep us safe', says Cameron
Whatever they are up to, it's all above board, we're told
 breaking news
Yahoo! joins! rivals! in! PRISM! data! request! admission!
Keep calm and carry on using American tech firms, folks
PRISM snitch claims NSA hacked Chinese targets since 2009
Snowden suddenly looks safer in Hong Kong after revelations
 breaking news
US chief spook: Look, we only want to spy on 6.66 BEELLLION of you
Americans assured they are not in the NSA's sights
Speech-to-text drives motorists to distraction
Will talking to you mean I crash into that car up ahead, Siri?
DHS warns of vulns in hospital medical equipment
Has your doctor's anasthesia machine been hacked?