Dark Web CTI & OSINT Investigation Framework
β οΈ LEGAL DISCLAIMER: DarkFox is designed for authorized security research, cyber threat intelligence (CTI), and lawful OSINT investigations only. Users are responsible for complying with all applicable laws and regulations. Unauthorized access to computer systems is illegal.
π¦ DarkFox is an automated Dark Web investigation framework that streamlines the OSINT/CTI workflow:
- π Discover - Search for .onion sites using Ahmia
- β Verify - Validate discovered onion addresses
- πΈ Document - Capture screenshots and forensic metadata without visiting the darkweb site!
- π Report - Document and organize findings in a LibreOffice spreadsheet
- π Secure - Route all traffic through Tor network
Perfect for:
- Cyber Threat Intelligence (CTI) analysts
- Security researchers
- Law enforcement (authorized)
- OSINT investigators
- Red team operations
- Blue team operations
- π Automated Tor Integration - Connect via TorGhostNG with country selection
- π Dark Web Search - pyAhmia powered onion discovery
- πΌοΈ Screenshot Capture - GoWitness automated site screenshots
- π Investigation Documentation - LibreOffice Calc worksheets
- π Real-time Verification - Check onion site availability
- πΊοΈ Network Mapping - Track your IP changes (clearnet vs Tor)
- β Input sanitization to prevent command injection
- β Proper permission management (no 777 permissions)
- β Process cleanup on exit
- β Tor connection verification
- β Isolated Python virtual environments
Required:
- Kali Linux XFCE (or Debian-based distro)
- 4GB to 16GB RAM, 4 CPU
- Root/sudo access
- Active internet connection
DarkFox Requirements:
- Tor & TorGhostNG
- pyAhmia
- GoWitness 3.0.5
- LibreOffice Calc
- Firefox ESR
- Python 3 + dependencies
# Clone the repository
sudo git clone https://github.com/aryanguenthner/darkfox /opt/darkfox
# Navigate to directory
cd /opt/darkfox
# Make scripts executable
sudo chmod +x darkfox.sh
# Run DarkFox
sudo bash darkfox.sh-
Run the tool:
sudo bash darkfox.sh
-
Enter your search query:
What are you researching: cybercrime forums -
Wait for results:
- Tool searches for .onion sites
- Connects to Tor network
- Verifies discovered sites
- Captures screenshots
- Opens workspace
- Review CTI findings:
- LibreOffice opens a spreadsheet with results (Great for taking notes and keeping track of your investigation)
- Firefox opens a visual gallery using gowitness (Examine the darkweb deepweb target without visiting the site)
- Top relevant sites open automatically
sudo bash darkfox.shFollow the interactive prompts:
- Enter research topic
- Wait for onion discovery
- Review results in workspace
- Document findings in spreadsheet
- Investigate findings in a visual format
Custom Tor Exit Country:
Edit darkfox.sh and modify:
connect_tor_network "nl" # Netherlands (default)
# Options: nl, cz, de, us, ca, mx, ru, br, gb, fr, etc.
# Exit the Tor: torghostng -x --dnsAdjust Screenshot Threads:
# In darkfox.sh, find GoWitness command:
--threads 10 # Increase for faster scanning (use with caution)After installation, DarkFox creates:
/opt/darkfox/
βββ investigations/ # All investigation results
β βββ [topic_name_timestamp]/ # Individual investigation
β βββ results.onion.csv # Raw search results
β βββ onion_page_titles.csv # Verified sites with titles
β βββ screenshots/ # GoWitness captures
β βββ gowitness.db # Screenshot database
βββ tools/
β βββ gowitness # Screenshot tool
β βββ onion_verifier.py # Verification script
βββ logs/
β βββ tor_connection.log # Tor connection logs
β βββ verification.log # Onion verification logs
β βββ gowitness.log # Screenshot capture logs
βββ venv/ # Python virtual environment
| Tool | Purpose | Version |
|---|---|---|
| Ahmia | Dark web search engine | 0.7.3 |
| GoWitness | Screenshot capture | 3.0.5 |
| TorGhostNG | Tor routing & anonymity | Latest |
| LibreOffice Calc | Documentation & reporting | Latest |
| Firefox ESR | .onion site browsing | Latest |
darkfox.sh- Main orchestration scriptonion_verifier.py- Validates .onion addresses- Installation automation for all dependencies
- Use a Dedicated VM: Run DarkFox in an isolated virtual machine
- No Personal Info: Never use personal accounts while investigating
- VPN + Tor: Consider additional VPN layer before Tor
- NoScript: Install NoScript addon in Firefox (blocks malicious JS)
- Regular Updates: Keep Kali Linux and tools updated
DarkFox protects against:
- β IP address exposure (via Tor)
- β Command injection attacks (input sanitization)
- β Process leakage (cleanup handlers)
DarkFox does NOT protect against:
- β Browser fingerprinting
- β Advanced traffic analysis
- β Malicious .onion sites
- β Social engineering
Always practice operational security (OPSEC)!
# Check Tor service
sudo systemctl status tor
# Restart Tor
sudo systemctl restart tor
# Try different exit country
# Edit darkfox.sh: connect_tor_network "us"# Check if running
ps aux | grep gowitness
# Manually download
cd /opt/darkfox/tools
wget https://github.com/sensepost/gowitness/releases/download/3.0.5/gowitness-3.0.5-linux-amd64 -O gowitness
chmod +x gowitness# Fix ownership (replace 'kali' with your username)
sudo chown -R kali:kali /opt/darkfox/investigations
# Fix permissions
sudo chmod 755 /opt/darkfox
sudo chmod a+x /opt/darkfox/*.sh# Manually configure Firefox
# Open Firefox, go to about:config
# Search: network.dns.blockDotOnion
# Set to: falseββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β DarkFox v1.0 β
β CTI Cyber Threat Intelligence Tool β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
[INFO] Today is 2025-01-15 14:23:45
[INFO] Current Network Information:
βββββββββββββββββββββββββββββββββββββββ
β Label β Value β
βββββββββββββββββββββββββββββββββββββββ
β Public IP β 13.88.214.23 β
β Country β United States β
β State/Region β California β
β City β Los Angeles β
β Local IP β 192.168.2.23 β
βββββββββββββββββββββββββββββββββββββββ
What are you researching: ransomware
[INFO] Searching for .onion sites related to: marketplace
[β] Found 47 unique .onion sites
[β] Verification complete
[INFO] Capturing screenshots with GoWitness...
[β] GoWitness server running at http://127.0.0.1:7171
[β] Investigation setup complete!
Contributions welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/improvement) - Commit changes (
git commit -m 'Add new feature') - Push to branch (
git push origin feature/improvement) - Open a Pull Request
Areas for contribution:
- Additional OSINT data sources
- Enhanced verification algorithms
- Report export formats (PDF, HTML, JSON)
- Internationalization (i18n)
- Additional Tor circuit management
DarkFox is intended for:
- β Authorized security research
- β Legitimate CTI/OSINT investigations
- β Law enforcement with proper authorization
- β Academic research
- β Penetration testing (with written permission)
- β Unauthorized access to computer systems
- β Illegal marketplace transactions
- β Distribution of illegal content
- β Harassment or stalking
- β Any activity violating local/international law
You are solely responsible for your actions. The authors assume no liability for misuse.
- Spiderfoot - OSINT automation
- Maltego - Link analysis
- Shodan - Internet-wide scanning
- OnionScan - .onion site analysis
Created by: Aryan Guenthner **Connect ***** [Aryan Guenthner](https://www.linkedin.com/in/aryancyber
Built with:
- pyAhmia - Dark web search
- GoWitness - Screenshot capture
- TorGhostNG - Tor routing
- Tor Project - Anonymity network
- [Ai](Aryan Intelligence) - Giving back to the community, contributing, and helping make the world a litte better one byte at a time.
This project is licensed under the GNU General Public License v3.0 - see LICENSE file for details.
DarkFox - Dark Web CTI & OSINT Investigation Framework
Copyright (C) 2025 Aryan Guenthner
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
- β¨ Complete rewrite with modular architecture
- π Enhanced security (proper permissions, input sanitization)
- π Improved investigation organization
- π Better error handling and logging
- π¨ Enhanced user interface
- π Initial release as "DarkSheets"
- Basic .onion discovery and documentation
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Security: Report vulnerabilities privately via GitHub Security Advisories
If DarkFox helps your investigations, please:
- β Star this repository
- π΄ Fork and contribute
- π’ Share with the OSINT/CTI community
- π¬ Provide feedback
Stay secure. Stay ethical. π¦