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. ®

Similar topics

Other stories you might like

  • It's primed and full of fuel, the James Webb Space Telescope is ready to be packed up prior to launch

    Fingers crossed the telescope will finally take to space on 22 December

    Engineers have finished pumping the James Webb Space Telescope with fuel, and are now preparing to carefully place the folded instrument inside the top of a rocket, expected to blast off later this month.

    “Propellant tanks were filled separately with 79.5 [liters] of dinitrogen tetroxide oxidiser and 159 [liters of] hydrazine,” the European Space Agency confirmed on Monday. “Oxidiser improves the burn efficiency of the hydrazine fuel.” The fuelling process took ten days and finished on 3 December.

    All eyes are on the JWST as it enters the last leg of its journey to space; astronomers have been waiting for this moment since development for the world’s largest space telescope began in 1996.

    Continue reading
  • China to upgrade mainstream RISC-V chips every six months

    Home-baked silicon is the way forward

    China is gut punching Moore's Law and the roughly one-year cadence for major chip releases adopted by the Intel, AMD, Nvidia and others.

    The government-backed Chinese Academy of Sciences, which is developing open-source RISC-V performance processor, says it will release major design upgrades every six months. CAS is hoping that the accelerated release of chip designs will build up momentum and support for its open-source project.

    RISC-V is based on an open-source instruction architecture, and is royalty free, meaning companies can adopt designs without paying licensing fees.

    Continue reading
  • The SEC is investigating whistleblower claims that Tesla was reckless as its solar panels go up in smoke

    Tens of thousands of homeowners and hundreds of businesses were at risk, lawsuit claims

    The Securities and Exchange Commission has launched an investigation into whether Tesla failed to tell investors and customers about the fire risks of its faulty solar panels.

    Whistleblower and ex-employee, Steven Henkes, accused the company of flouting safety issues in a complaint with the SEC in 2019. He filed a freedom of information request to regulators and asked to see records relating to the case in September, earlier this year. An SEC official declined to hand over documents, and confirmed its probe into the company is still in progress.

    “We have confirmed with Division of Enforcement staff that the investigation from which you seek records is still active and ongoing," a letter from the SEC said in a reply to Henkes’ request, according to Reuters. Active SEC complaints and investigations are typically confidential. “The SEC does not comment on the existence or nonexistence of a possible investigation,” a spokesperson from the regulatory agency told The Register.

    Continue reading

Biting the hand that feeds IT © 1998–2021