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

  • Why Wi-Fi 6 and 6E will connect factories of the future
    Tech body pushes reliability, cost savings of next-gen wireless comms for IIoT – not a typo

    Wi-Fi 6 and 6E are being promoted as technologies for enabling industrial automation and the Industrial Internet of Things (IIoT) thanks to features that provide more reliable communications and reduced costs compared with wired network alternatives, at least according to the Wireless Broadband Alliance (WBA).

    The WBA’s Wi-Fi 6/6E for IIoT working group, led by Cisco, Deutsche Telekom, and Intel, has pulled together ideas on the future of networked devices in factories and written it all up in a “Wi-Fi 6/6E for Industrial IoT: Enabling Wi-Fi Determinism in an IoT World” manifesto.

    The detailed whitepaper makes the case that wireless communications has become the preferred way to network sensors as part of IIoT deployments because it's faster and cheaper than fiber or copper infrastructure. The alliance is a collection of technology companies and service providers that work together on developing standards, coming up with certifications and guidelines, advocating for stuff that they want, and so on.

    Continue reading
  • Google battles bots, puts Workspace admins on alert
    No security alert fatigue here

    Google has added API security tools and Workspace (formerly G-Suite) admin alerts about potentially risky configuration changes such as super admin passwords resets.

    The API capabilities – aptly named "Advanced API Security" – are built on top of Apigee, the API management platform that the web giant bought for $625 million six years ago.

    As API data makes up an increasing amount of internet traffic – Cloudflare says more than 50 percent of all of the traffic it processes is API based, and it's growing twice as fast as traditional web traffic – API security becomes more important to enterprises. Malicious actors can use API calls to bypass network security measures and connect directly to backend systems or launch DDoS attacks.

    Continue reading
  • Zero Trust: What does it actually mean – and why would you want it?
    'Narrow and specific access rights after authentication' wasn't catchy enough

    Systems Approach Since publishing our article and video on APIs, I’ve talked with a few people on the API topic, and one aspect that keeps coming up is the importance of security for APIs.

    In particular, I hear the term “zero trust” increasingly being applied to APIs, which led to the idea for this post. At the same time, I’ve also noticed what might be called a zero trust backlash, as it becomes apparent that you can’t wave a zero trust wand and instantly solve all your security concerns.

    Zero trust has been on my radar for almost a decade, as it was part of the environment that enabled network virtualization to take off. We’ve told that story briefly in our SDN book – the rise of microsegmentation as a widespread use-case was arguably the critical step that took network virtualization from a niche technology to the mainstream.

    Continue reading

Biting the hand that feeds IT © 1998–2022