Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CTI Cyber Threat Intelligence OSINT Dark Web Deep Web Research. Ransomware gang information gathering tool.

Notifications You must be signed in to change notification settings

aryanguenthner/darkfox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

59 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🦊 DarkFox 12/19/2025

Dark Web CTI & OSINT Investigation Framework 1aDarkfox

License Platform Bash

⚠️ 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.


🎯 What is DarkFox?

1darkfox

🦊 DarkFox is an automated Dark Web investigation framework that streamlines the OSINT/CTI workflow: 2darkfox

  • πŸ” 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
4darkfox

✨ Features

5darkfox

Core Capabilities

  • 🌐 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)
10Screenshot_2025-12-18_17_09_02

Security Features

  • βœ… Input sanitization to prevent command injection
  • βœ… Proper permission management (no 777 permissions)
  • βœ… Process cleanup on exit
  • βœ… Tor connection verification
  • βœ… Isolated Python virtual environments
6darkfox

πŸš€ Quick Start

Prerequisites

11Screenshot_2025-12-18_17_09_02

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

Installation

# 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

First Investigation

  1. Run the tool:

    sudo bash darkfox.sh
  2. Enter your search query:

    What are you researching: cybercrime forums
    
  3. Wait for results:

    • Tool searches for .onion sites
    • Connects to Tor network
    • Verifies discovered sites
    • Captures screenshots
    • Opens workspace
12Screenshot_2025-12-18_17_09_02
  1. 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

πŸ“– Usage

Basic Investigation

sudo bash darkfox.sh

Follow the interactive prompts:

  1. Enter research topic
  2. Wait for onion discovery
  3. Review results in workspace
  4. Document findings in spreadsheet
  5. Investigate findings in a visual format

Advanced Options

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 --dns

Adjust Screenshot Threads:

# In darkfox.sh, find GoWitness command:
--threads 10  # Increase for faster scanning (use with caution)

πŸ“‚ Directory Structure

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

πŸ”§ Components

Integrated Tools

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

Custom Scripts

  • darkfox.sh - Main orchestration script
  • onion_verifier.py - Validates .onion addresses
  • Installation automation for all dependencies

πŸ›‘οΈ Security Considerations

Best Practices

  1. Use a Dedicated VM: Run DarkFox in an isolated virtual machine
  2. No Personal Info: Never use personal accounts while investigating
  3. VPN + Tor: Consider additional VPN layer before Tor
  4. NoScript: Install NoScript addon in Firefox (blocks malicious JS)
  5. Regular Updates: Keep Kali Linux and tools updated

Threat Model

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)!


πŸ› Troubleshooting

Tor Connection Fails

# Check Tor service
sudo systemctl status tor

# Restart Tor
sudo systemctl restart tor

# Try different exit country
# Edit darkfox.sh: connect_tor_network "us"

GoWitness Fails

# 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

Permission Errors

# 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

Firefox Won't Open .onion Sites

# Manually configure Firefox
# Open Firefox, go to about:config
# Search: network.dns.blockDotOnion
# Set to: false

πŸ“Š Sample Output

╔══════════════════════════════════════════════════════════════╗
β•‘                        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!

🀝 Contributing

Contributions welcome! Please:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/improvement)
  3. Commit changes (git commit -m 'Add new feature')
  4. Push to branch (git push origin feature/improvement)
  5. 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

πŸ“œ Legal & Ethics

Authorized Use Only

DarkFox is intended for:

  • βœ… Authorized security research
  • βœ… Legitimate CTI/OSINT investigations
  • βœ… Law enforcement with proper authorization
  • βœ… Academic research
  • βœ… Penetration testing (with written permission)

Prohibited Activities

  • ❌ 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.


πŸ“š Resources

Learning Materials

Related Tools


πŸ™ Credits

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.

πŸ“„ License

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.

πŸ”„ Version History

v1.0 (Current)

  • ✨ Complete rewrite with modular architecture
  • πŸ”’ Enhanced security (proper permissions, input sanitization)
  • πŸ“Š Improved investigation organization
  • πŸ› Better error handling and logging
  • 🎨 Enhanced user interface

v1.0

  • πŸŽ‰ Initial release as "DarkSheets"
  • Basic .onion discovery and documentation

πŸ’¬ Support


⭐ Show Your Support

If DarkFox helps your investigations, please:

  • ⭐ Star this repository
  • 🍴 Fork and contribute
  • πŸ“’ Share with the OSINT/CTI community
  • πŸ’¬ Provide feedback

Stay secure. Stay ethical. 🦊

About

CTI Cyber Threat Intelligence OSINT Dark Web Deep Web Research. Ransomware gang information gathering tool.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published