Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Raspberry Pi
  3. PoisonTap

PoisonTap

JavaScript

Exploits locked computers via USB to hijack internet traffic, steal browser cookies, and install persistent web backdoors using a Raspberry Pi Zero.

Visit WebsiteGitHubGitHub
6.5k stars982 forks0 contributors

What is PoisonTap?

PoisonTap is a security research tool that demonstrates how a locked computer can be compromised via a USB device. It emulates an Ethernet-over-USB device to hijack all internet traffic, enabling cookie theft, installation of persistent web backdoors, and remote access to the internal router, even after the device is removed.

Target Audience

Security researchers, penetration testers, and cybersecurity professionals who need to demonstrate physical access vulnerabilities and protocol weaknesses in locked systems.

Value Proposition

Developers choose PoisonTap for its ability to bypass multiple security mechanisms like lock screens, routing priorities, HttpOnly cookies, and two-factor authentication in a single, cascading attack, providing a comprehensive demonstration of USB-based network hijacking and persistent compromise.

Overview

Exploits locked/password protected computers over USB, drops persistent WebSocket-based backdoor, exposes internal router, and siphons cookies using Raspberry Pi Zero & Node.js.

Use Cases

Best For

  • Demonstrating physical access vulnerabilities via USB on locked computers.
  • Security research on network hijacking and traffic interception over USB/Ethernet emulation.
  • Penetration testing scenarios requiring cookie theft and session hijacking bypassing HttpOnly and HTTPS.
  • Installing persistent web backdoors that survive device removal via HTTP cache poisoning.
  • Gaining remote access to internal routers using DNS rebinding attacks.
  • Bypassing two-factor authentication by hijacking existing browser sessions.

Not Ideal For

  • Organizations seeking real-time intrusion detection or endpoint protection solutions
  • Beginners in cybersecurity without deep networking and protocol knowledge
  • Environments where HTTPS with HSTS and Secure cookies is strictly enforced
  • Legal penetration testing without explicit authorization and consent

Pros & Cons

Pros

Comprehensive Protocol Exploitation

Exploits trust in USB, DHCP, DNS, and HTTP to demonstrate cascading vulnerabilities, bypassing lock screens and routing priorities as described in the network hijacking section.

Persistent Remote Compromise

Installs web backdoors via HTTP cache poisoning that survive device removal, enabling ongoing remote access even after the attacker leaves, as detailed in the backdoor mechanism.

Evades Multiple Security Layers

Bypasses HttpOnly cookies, SameSite attributes, X-Frame-Options, and two-factor authentication by hijacking existing sessions, listed explicitly in the README's evasion section.

Low-Cost Hardware Implementation

Built for the $5 Raspberry Pi Zero with minimal additional components, making it accessible for researchers on a budget, as highlighted in the demo and installation sections.

Cons

Complex and Error-Prone Setup

Requires flashing Raspberry Pi, installing dependencies like Node.js and isc-dhcp-server, and editing system files such as /etc/network/interfaces, which can be daunting and prone to misconfiguration.

Dated and Potentially Obsolete

Released in 2016, it may not work on modern operating systems with updated USB stacks or security patches, reducing its reliability for current demonstrations.

Relies on HTTP Weaknesses

Largely ineffective against servers using HTTPS with HSTS and Secure cookies, as admitted in the securing section, limiting its applicability in well-protected environments.

Requires External Infrastructure

Needs an Internet-accessible server running backend_server.js for remote backdoor management, adding operational complexity and potential points of failure.

Frequently Asked Questions

Quick Stats

Stars6,478
Forks982
Contributors0
Open Issues87
Last commit7 years ago
CreatedSince 2016

Tags

#raspberry-pi-zero#web-security#dns-rebinding#penetration-testing#node-js#security-research

Built With

W
WebSocket
R
Raspberry Pi Zero
N
Node.js

Links & Resources

Website

Included in

Raspberry Pi16.2k
Auto-fetched 17 hours ago

Related Projects

AdGuard HomeAdGuard Home

Network-wide ads & trackers blocking DNS server

Stars35,659
Forks2,434
Last commit1 day ago
Sonic PiSonic Pi

Code. Music. Live.

Stars11,904
Forks981
Last commit1 day ago
Pi-KVMPi-KVM

Open and inexpensive DIY IP-KVM based on Raspberry Pi

Stars10,183
Forks559
Last commit7 days ago
P4wnP1P4wnP1

P4wnP1 is a highly customizable USB attack platform, based on a low cost Raspberry Pi Zero or Raspberry Pi Zero W.

Stars4,379
Forks665
Last commit1 year ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub