Network
Tor-Based Attacks
Testing techniques for applications that interact with or expose Tor hidden services, and identifying deanonymization vulnerabilities.
- 143 payloads
- 1 file
- README on GitHub
Payloads are read from main at 35c1f2b (committed 22 Nov 2026). Project version 1.0.2.
These payloads are for authorized testing only: systems you own, authorized bug bounty programs, or controlled lab environments. Unauthorized testing is illegal.
Payload files
Use the arrow keys to move between payloads. Press Enter or C to copy the focused payload.
tor-based-payloads.txt
143 payloads · 13 KBLoading payloads for Tor-Based Attacks…
What it is#
Tor-based attack testing covers vulnerabilities in applications that interact with the Tor anonymity network, expose .onion services, or attempt to deanonymize Tor users. This includes testing for Tor exit node enumeration, hidden service fingerprinting, deanonymization through side channels, and security misconfigurations in .onion-hosted applications.
Attack vectors#
- Applications with Tor proxy support
- .onion-hosted web services
- Applications that detect or block Tor exit nodes
- VPN services with Tor integration
Testing methodology#
- Obtain current Tor exit node list and test IP-based detection
- Test .onion services for standard web vulnerabilities (SQLi, XSS, etc.)
- Check if .onion services leak clearnet identifiers in responses
- Test for deanonymization through JavaScript or WebRTC fingerprinting
Indicators of vulnerability#
- Clearnet resources loaded from .onion service (deanonymization risk)
- Application reveals server IP through DNS or WebRTC
- Standard web vulnerabilities (SQLi, XSS) present on .onion services
Detection guidance#
For applications blocking Tor: regularly update exit node lists. For .onion services: audit for clearnet resource loading and ensure no identifying information leaks.
Mitigation and remediation#
- For .onion services: disable JavaScript or use strict Content Security Policy to prevent clearnet resource loading
- Ensure DNS resolves only through Tor when using hidden services
- Disable WebRTC in .onion-accessed applications
- Apply all standard web security hardening to .onion services
References#
Responsible Use
All content in this reference is for authorized security testing only. Use only on systems you own or have explicit written permission to test.
- Systems and applications you own
- Authorized penetration testing engagements
- Bug bounty programs with defined scope
- Educational lab environments (DVWA, WebGoat, HackTheBox)