Researcher messes up Wi-Fi with an rPi and bargain buy radio stick

Putrid Piper picked apart a packet for just $15


KU Leuven Phd student Mathy Vanhoef has smashed conventional wireless security thought by creating continual, targeted and virtually indefensible stealth jamming of WiFi, Bluetooth, and Zigbee networks, and tampering with encrypted traffic, with little more than a $15 dongle.

The wireless security boffin presented his work at the BruCon conference last week and revealed his weapon of choice is a bargain WiFi dongle bought off Amazon that, when paired with a Raspberry Pi and a small amplifier, can block 2.4Ghz transmissions for up to 120 metres.

“You do not need these expensive devices – you can use a very cheap Wi-Fi dongle,” Vanhoef says.

“You have (in the 2.4Ghz spectrum) home automation systems, home security systems, sometimes industrial control systems, fancy baby monitors, car locks – and this is not wild speculation, if jammers are available thieves will use them.

“As a defender you should be at least able to detect these attacks.”

The Wi-Fi weakness lies in the fact that Wi-Fi assumes all devices play fair and will wait for transmissions to clear before sending packets. This scheme works well to ensure bandwidth is equally shared among devices, but it gives ample play room for selfish attackers.

The targeted and continuous Wi-Fi jamming requires a few steps. Attackers must first disable their dongle's backoff wait time (SIFS) designed to give Wi-Fi devices time to cleanly re-enter transmission mode, a feat possible by tinkering with memory mapped registers within firmware. Vanhoef says the manipulation is easy enough.

Targeted WiFi jamming.

Targeted WiFi jamming.

Attackers can also abuse WiFi etiquette regarding collisions by changing their bitrate so that it is lower than that of their rivals and therefore will be processed first.

Vanhoef says continual jamming is possible using the dongles if carrier sense is disabled and a frame is set to be continually resent. This combined means that devices will wait for the attacker's initial frame to be sent, when in fact it simply infinitely loops. The attack cannot be stopped and therefore the hacker says he will not release the code but is happy to supply it to legitimate researchers.

TKIP flip

Vanhoef also showed how frames can be manipulated or dropped and/or recovered from still widely-used WPA-TKIP encrypted networks. Here attackers can intercept traffic by cloning a target access point and using the same MAC address on a different channel.

He says TKIP is still commonly used where devices include it for legacy support. In tests of more than 9000 networks two thirds supported were using TKIP for broadcast traffic.

The attacks work in part because MIC failure reports can be captured. This means the reports sent to warn access points of attacks and to cease transmissions never arrive making the attacks effectively stealth.

Peter Piper picked apart a packet

Wi-Fi wreckers wanting to jam specific packets on the 2.4 Ghz or 5 Ghz spectra can reconstruct the header of a packet for source and destination information and stuff dummy information in the remainder.

Crypto flipto.

This process of decoding the header is not easy nor 100 percent reliable and works for medium-to-large packets which allow enough time for decoding.

It is however equally a tool useful to defenders who can use the attacks to turn tables on jammers by hitting their offending access points, VanHoef says.

Specific Wi-Fi jamming is made simple using VanHoef's “basically” plug and play virtual machine. ®

Broader topics


Other stories you might like

  • Experts: AI should be recognized as inventors in patent law
    Plus: Police release deepfake of murdered teen in cold case, and more

    In-brief Governments around the world should pass intellectual property laws that grant rights to AI systems, two academics at the University of New South Wales in Australia argued.

    Alexandra George, and Toby Walsh, professors of law and AI, respectively, believe failing to recognize machines as inventors could have long-lasting impacts on economies and societies. 

    "If courts and governments decide that AI-made inventions cannot be patented, the implications could be huge," they wrote in a comment article published in Nature. "Funders and businesses would be less incentivized to pursue useful research using AI inventors when a return on their investment could be limited. Society could miss out on the development of worthwhile and life-saving inventions."

    Continue reading
  • Declassified and released: More secret files on US govt's emergency doomsday powers
    Nuke incoming? Quick break out the plans for rationing, censorship, property seizures, and more

    More papers describing the orders and messages the US President can issue in the event of apocalyptic crises, such as a devastating nuclear attack, have been declassified and released for all to see.

    These government files are part of a larger collection of records that discuss the nature, reach, and use of secret Presidential Emergency Action Documents: these are executive orders, announcements, and statements to Congress that are all ready to sign and send out as soon as a doomsday scenario occurs. PEADs are supposed to give America's commander-in-chief immediate extraordinary powers to overcome extraordinary events.

    PEADs have never been declassified or revealed before. They remain hush-hush, and their exact details are not publicly known.

    Continue reading
  • Stolen university credentials up for sale by Russian crooks, FBI warns
    Forget dark-web souks, thousands of these are already being traded on public bazaars

    Russian crooks are selling network credentials and virtual private network access for a "multitude" of US universities and colleges on criminal marketplaces, according to the FBI.

    According to a warning issued on Thursday, these stolen credentials sell for thousands of dollars on both dark web and public internet forums, and could lead to subsequent cyberattacks against individual employees or the schools themselves.

    "The exposure of usernames and passwords can lead to brute force credential stuffing computer network attacks, whereby attackers attempt logins across various internet sites or exploit them for subsequent cyber attacks as criminal actors take advantage of users recycling the same credentials across multiple accounts, internet sites, and services," the Feds' alert [PDF] said.

    Continue reading

Biting the hand that feeds IT © 1998–2022