News for hackers. Stuff that matters.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by jacobolus on Friday August 14, 2015 @11:23AM (#10060603)
What I want to know is why the car will continue to accept 100 trial keys per second after the first 100,000 attempts failed.

Shouldn’t there be some kind of exponential back-off after failures? If after the first 1000 failed keys it would only accept e.g. one new try every few seconds, it would then take 2–3 orders of magnitude more time to brute force.

Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by vilhelm_s on Friday August 14, 2015 @02:09PM (#10061733)
It doesn't: according to the paper, when someone turns the ignition key, they car will generate about 20 challenges to the key fob, and if the fob does not successfully authenticate any of them, the car will give up and not start.

The attack works by overhearing the exchange between the car and the key fob, and then doing an somewhat brute-force analysis to calculate what the secret key on the fob must have been.

Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by racecar789 on Friday August 14, 2015 @10:23PM (#10064077)
Could someone explain why there is no delay after each failed attempt? The system allowed 197k brute force attempts in 30 minutes. I just cannot wrap my head around it.

I tried reading the paper (not an expert). In the recommendation section, it does not suggest implementing a delay either. Is it just not physically possible with RFID?

I mean, a 4 digit pin with a 5 second delay would take 14 hours for all combinations (better than the half hour with Megamos)???

I have to be missing something.....It can't be this easy.....

Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by bigiain on Friday August 14, 2015 @11:35PM (#10064217)
As the previous comment says, there's a requirement to eavesdrop on at least one successful authentication.

My guess is that they're then doing the brute-forcing "offline", not against the vehicle's system. If you know the algorithm and the keysize, and you can see one successful authentication, you could ship the work of workig out which key replicates the authentication you just saw off to AWS or custom hardware (I wonder how readily Bitcoin mining ASICs can be tweaked to attack embedded or IoT authentication?) (Though it seems there's flaws somewhere in the crypto anyway - they somehow broke a 96bit key with under 2^18 attempts...)

Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by TwoBit on Saturday August 15, 2015 @01:31AM (#10064437)
Clearly, the fact that listening to an exchange helped them proves that the security is fundamentally flawed.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by racecar789 on Saturday August 15, 2015 @12:18AM (#10064291)
That helps. Thanks.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by fnordfnordfnord on Friday August 14, 2015 @05:40PM (#10063115)
To a car owner, that's another security flaw of its own. An attacker can deny an owner access to their car with a simple code spammer hidden nearby.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by enraged_camel on Friday August 14, 2015 @10:18PM (#10064070)
Surely that's better than having your car stolen, right?

Security is about trade-offs, after all.

Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by venomsnake on Saturday August 15, 2015 @02:00AM (#10064488)
> Surely that's better than having your car stolen, right?

Stranded in hostile environment (middle of nowhere in the arctic or a desert) could be a death sentence.

Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by enraged_camel on Saturday August 15, 2015 @04:11AM (#10064705)
Who is going to DoS your car in the middle of the arctic or a desert?
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by fnordfnordfnord on Saturday August 15, 2015 @12:40PM (#10065854)
Eh, I dunno, I guess a very not-nice person could attach the device to your car and activate it remotely/later.

I think a more realistic exploit would be a corrupt tow-truck driver / mechanic targeting an area where tourists stop.

Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by lisper on Friday August 14, 2015 @11:32AM (#10060673)
That could be exploited to produce a trivial denial-of-service attack.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by mturmon on Friday August 14, 2015 @01:31PM (#10061464)
I can think of other, lower tech, DoS attacks against cars -- which are also not much exploited.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by beat on Friday August 14, 2015 @03:13PM (#10062194)
Someone once DoS'd my car, by slashing two tires. On a downtown public street.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by tbomb on Friday August 14, 2015 @06:28PM (#10063381)
That sucks to have happened to you, but that sentence made me lol.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by imh on Friday August 14, 2015 @06:35PM (#10063397)
People always say this about physical tech, but the difference is ease and scalability. Slashing all the car tires in a block is harder and more traceable than sending out a small RF signal.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by lwf on Saturday August 15, 2015 @01:37AM (#10064448)
Remediating slashed tires is a lot more difficult than waiting for your attacker to get bored and move on.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by stcredzero on Friday August 14, 2015 @11:46AM (#10060762)
Which would be of no use at all to car thieves.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by lisper on Friday August 14, 2015 @12:09PM (#10060916)
True, but it might be handy for kidnappers.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by jessaustin on Friday August 14, 2015 @12:20PM (#10060987)
We're veering into movie-plot territory here.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by maxwelljoslyn on Friday August 14, 2015 @05:33PM (#10063076)
(not original responder)

That's true. On the subject of movies, though, a plot point based on an actual vulnerability would be way better than typical Hollywood hacking.

Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by fnordfnordfnord on Friday August 14, 2015 @05:42PM (#10063123)
Carjackers, and parking lot muggers.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by jacobolus on Friday August 14, 2015 @11:45AM (#10060754)
Wouldn’t you need to have a device actively running within a few feet of the vehicle to run such an attack? Couldn’t the car start blaring an alarm or something in that case?

We’re not talking about a website here.

Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by lisper on Friday August 14, 2015 @12:12PM (#10060930)
> Wouldn’t you need to have a device actively running within a few feet of the vehicle to run such an attack?

Nope. Just a high-gain antenna.

> Couldn’t the car start blaring an alarm or something in that case?

It could. But that might not help.

For example: you're driving your Mazerati down the road when it suddenly stops and the alarm goes off. The next day you get a letter saying, "If you don't want yesterday's little incident to become a regular event, send BTC500 to the following address...."

Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by jessaustin on Friday August 14, 2015 @12:19PM (#10060970)
If the car responds to RFID keys at all when driving, that is a flaw.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by lisper on Friday August 14, 2015 @05:58PM (#10063230)
If I get out of my car with the engine still running it starts beeping. I don't know if it will actually turn the engine off, but it obviously knows that the key has departed the vehicle.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by tarpherder on Friday August 14, 2015 @06:36PM (#10063405)
Or it detected your bum leaving its seat.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by bonzini on Friday August 14, 2015 @08:31PM (#10063795)
My car also beeps when it detects that the key has left the car. The engine keeps running, but you obviously cannot turn it on again once you turn it off.

I had it happen without me leaving the seat (e.g. my wife has the keys in her bag/pocket, I had been driving, and she gets off the car to unarm the home alarm). The car is turned on by pressing a button, not by turning the key.

Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by jessaustin on Friday August 14, 2015 @08:45PM (#10063842)
That seems like a reasonable setup. I'm having difficulty imagining how that could be hacked into the blackmail situation described above, since the sure way to avoid the beep is to keep the fob in the car.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by lisper on Friday August 14, 2015 @08:12PM (#10063737)
No, because if I toss the key into the seat it stops beeping even if I'm not there.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by BlueRaja on Friday August 14, 2015 @01:20PM (#10061392)
..plus a high-gain antenna, and suddenly you have an attack that sets off every car alarm in the city at once.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by knowaveragejoe on Friday August 14, 2015 @11:51AM (#10060789)
...and that achieves?
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by briannickel on Friday August 14, 2015 @12:00PM (#10060856)
What if the car was parked in a handicapped spot near entrance of a football stadium? It could conceivably receive enough incorrect RFID signals to trigger a back-off.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by danielweber on Friday August 14, 2015 @12:05PM (#10060890)
Since this is an anti-theft system, not a safety system, I can totally see that VW made a rational decision "it's better for the anti-theft system to let a thief steal the car 50 times than for one person to legitimately get locked out of their car."

You can make up for car thefts with dollars.

Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by jessaustin on Friday August 14, 2015 @12:32PM (#10061072)
I don't know anything about the protocols involved, but it would be possible for the first message to be "I'm a key that would like to unlock the vehicle with VIN# 123abc...". In that case there would be no mistaken protocol runs.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by CWuestefeld on Friday August 14, 2015 @03:39PM (#10062383)
There is no key as such. The fob for my Hyundai never leaves my pocket. Just by standing next to the car, the unlock button on the door is enabled. So if I walk up and push the button, it unlocks. If I'm not around, the button does nothing.

So there's no discernible event from the fob, as far as I can see. It's just a "this is me" signal.

Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by jessaustin on Friday August 14, 2015 @05:01PM (#10062909)
I guess the Hyundais I've driven were different, in that the unlock button was on the fob rather than on the car door. Could you say, if you have multiple cars, does the fob work with all of them? I doubt that's the case, so I don't see why your "this is me" signal couldn't actually be a "this is me, fob 123ABC..., and I can authenticate with the vehicle with VIN# 123abc...".
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by CWuestefeld on Saturday August 15, 2015 @01:14PM (#10065990)
your "this is me" signal couldn't actually be a "this is me, fob 123ABC..., and I can authenticate with the vehicle with VIN# 123abc..."

You're right, that might be it.

the unlock button was on the fob rather than on the car door

Let me clarify: the fob does have buttons for lock, unlock, panic, and open trunk. But I don't normally use them. My normal usage is as I described: just walk up with the fob in my pocket, and press the button on the door handle.

Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by JoshuaRedmond on Friday August 14, 2015 @01:56PM (#10061640)
I don't think a high traffic spot could ever cause an issue with this, unless each person tried to start your car. I believe this is referring to the immobilizer chip in the key that allows turning the key to start the engine. Incidentally, this is probably the chip that means that if you lose your key, you can't just get a new one cut, you need to get a new chip too.
Re:VW Has Spent Two Years Trying to Hide a Big Security Flaw by robmcm on Friday August 14, 2015 @11:59AM (#10060836)
I assume the software/hardware is so simple and specific that adding something like back off blocking would require memory chips, software, timers etc increasing the complexity dramatically.