News for hackers. Stuff that matters.
Re:Zigfrid – A Passive RFID Fuzzer by IshKebab on Saturday July 22, 2017 @01:29PM (#14828254)
Somehow this post skips an explanation of what it actually does. It's a passive RFID tag that sends 40 bits of data (5 bytes). The bits are changed in sequence. More of a brute force attack than a fuzzer.
Re:Zigfrid – A Passive RFID Fuzzer by geekuillaume on Saturday July 22, 2017 @01:44PM (#14828334)
From the comments in the source, the code needs 20 clock cycles to send a new tag, it's running at 125kHz and each tag is 40 bits long. How can this device bruteforce the tag at this rate? Won't it be extremely slow compared to the number of possible tags?
Re:Zigfrid – A Passive RFID Fuzzer by TheSoftwareGuy on Saturday July 22, 2017 @05:22PM (#14829448)
Well let's do the math

125 kHz 2 bits/cycle = 250 bits /sec

A 2^40 bit string has 1099511627776 combinations, and would require 1099511627776 40 = 43980465111040 bits to besent to try all of them. That would take 43980465111040/250 seconds or about 5575 years

And that's under ideal "spherical object in a vacuum" conditions.

So yeah your right, unless they get lucky.

Re:Zigfrid – A Passive RFID Fuzzer by mrb on Saturday July 22, 2017 @06:40PM (#14829830)
Bruteforcing is totally doable because in practice the unique identifiers broadcasted by these tags are allocated sequentially. I built an AVRFID a few years ago to bruteforce the HID ProxCard II RFIDs at work (45 bits of data: 20-bit mfg ID, 8-bit facility ID, 16-bit tag ID, 1 odd parity bit). Starting from my ID, and incrementing it one by one, it only took seconds to find many other valid IDs that were unlocking doors of various restricted areas. Imagine a disgruntled employee who has his legit RFID and is looking to access other restricted areas to which he normally doesn't have access... bruteforcing works perfectly fine for him.
Re:Zigfrid – A Passive RFID Fuzzer by thatsso1999 on Saturday July 22, 2017 @06:23PM (#14829766)
I believe your math is off by a factor of 1000.

125kHz = 125,000 cycles/sec * 2 bits/cycle = 250,000 bits/sec

250,000 bits/sec / 40 bits/code = 6250 codes/sec

2^40 = 1,099,511,627,776 possible codes / 6250 codes/sec ~= 175,921,860 sec ~= 5.578 years

While this is still an extremely long time for the worst case, by the looks of other comments, as well as the author's video, it appears extremely doubtful that most RFID readers have anywhere near 40 bits of security - and it takes about 10 seconds (65536/6250) for the fuzzer to brute force all codes 16 bits or less.

Re:Zigfrid – A Passive RFID Fuzzer by TheSoftwareGuy on Saturday July 22, 2017 @07:54PM (#14830107)
Shoot you're right, it's kHz not Hz haha I'll update my comment.
Re:Zigfrid – A Passive RFID Fuzzer by TheSoftwareGuy on Saturday July 22, 2017 @07:55PM (#14830110)
Darn I don't think HN is letting me update my comment.
Re:Zigfrid – A Passive RFID Fuzzer by revelation on Saturday July 22, 2017 @01:59PM (#14828405)
It will be and most software on the other end likely isn't prepared to even read tags at that speed. Fun hack though.
Re:Zigfrid – A Passive RFID Fuzzer by moron4hire on Saturday July 22, 2017 @02:45PM (#14828669)
125kHz is the transmission frequency. It's one of the unregulated frequencies for RFID tags, but sort of an industry standard value commonly used in retail products and goats. Most other cattle use tags at 134kHz. NFC is mostly just RFID at 13.56mHz.
Re:Zigfrid – A Passive RFID Fuzzer by cobookman on Saturday July 22, 2017 @06:45PM (#14829850)
RAIN rfid uses 900mhz and can be read from 30+ feet away
Re:Zigfrid – A Passive RFID Fuzzer by ckdarby on Saturday July 22, 2017 @01:47PM (#14828350)
Wouldn't the readers be designed against this sort of attack?
Re:Zigfrid – A Passive RFID Fuzzer by EvanAnderson on Saturday July 22, 2017 @02:14PM (#14828498)
One would hope.

The small amount of IT security work I've done has taught me that such hopes are quickly and frequently dashed. Even products specifically designed for security applications have silly glaring vulnerabilities.

Re:Zigfrid – A Passive RFID Fuzzer by Moru on Saturday July 22, 2017 @04:41PM (#14829253)
20 years ago I laughed myself silly when I realised our new big radiocontrolled doors to the factory had 8 dipswitches to set the security code for the remote. Last month I was looking for some home-alarm system for the club house. I wasnt terribly surprised to see only 4 bit security code in some of them...
Re:Zigfrid – A Passive RFID Fuzzer by Rjevski on Saturday July 22, 2017 @07:59PM (#14830124)
The high-end MIFARE-based systems would be - there's actual crypto happening between the reader and card, no way to bruteforce that.

However most keycard systems in the real world use a dumb unencrypted card that broadcasts an ID. This is vulnerable to sniffing, cloning as well as bruteforce (as this project demonstrates).

Re:Zigfrid – A Passive RFID Fuzzer by chx on Sunday July 23, 2017 @12:53AM (#14830965)
Those interested can read more https://security.stackexchange.com/questions/158167/mifare-d... here.

Modern fare systems (Vancouver Compass for example) use the DESfire EV1 and it's as secure as it gets.

Re:Zigfrid – A Passive RFID Fuzzer by Rjevski on Sunday July 23, 2017 @12:02PM (#14832881)
Assuming they're using it properly. I remember cracking a Mifare Ultralight based bus fare system. It seemed sound as the Ultralight had write-once blocks or blocks that you could decrement depending on the card's configuration, so you could make it that a block has the number of trips remaining on the card, each time you validate the card it decrements it and there was no way to increment it.

The issue in their case was that 1) they didn't set the configuration of the card properly, so the blocks they were using weren't actually configured to be decrement only, and 2) the validation machines checked whether a card had enough trips and then decremented the block without checking whether the decrement was successful. I was able to make the remaining fares block read-only while the card was full, essentially making an infinite card.

Re:Zigfrid – A Passive RFID Fuzzer by chx on Monday July 24, 2017 @06:11PM (#14843204)
As far as I am aware there's nothing on the Compass cards, just an id so it's impossible to do much about it. If you lose it, you can get a new one with balance intact which is telling.
Re:Zigfrid – A Passive RFID Fuzzer by londons_explore on Saturday July 22, 2017 @03:26PM (#14828882)
Seems it would be better to use a pseudorandom number generator to just test a random selection of tags