• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • About Darknet
  • Hacking Tools
  • Popular Posts
  • Darknet Archives
  • Contact Darknet
    • Advertise
    • Submit a Tool
Darknet – Hacking Tools, Hacker News & Cyber Security

Darknet - Hacking Tools, Hacker News & Cyber Security

Darknet is your best source for the latest hacking tools, hacker news, cyber security best practices, ethical hacking & pen-testing.

OnionC2 – Tor Powered Rust Command and Control Framework

June 30, 2025

Views: 787

OnionC2 is an open-source C2 framework that uses Tor for encrypted, anonymised communications. The agent is written in Rust (using Arti), and the server and API are in Go, in a style compatible with XENA’s C2 interface.

OnionC2 - Tor Powered Rust Command and Control Framework

Overview

OnionC2 enables red teams to establish a stealthy command-and-control channel over the Tor network. It leverages Tor’s onion routing to hide both the server and agent IP addresses, minimising detection risk. The architecture separates the data and control planes:

  • The agent runs on the target system, compiled in Rust and linked with Arti (a Rust Tor implementation).
  • The C2 server and API are written in Go and can be accessed locally or via the XENA GUI.

Key Offensive Features

  • Encrypted, anonymised C2 traffic via Tor onion services
  • Agent written in Rust for cross-platform payload delivery
  • Windows persistence using registry and shortcut techniques
  • Shell command execution, file upload/download, clipboard access, and system reconnaissance
  • Planned screenshot capability for future situational awareness
  • Time-based agent check-in (active hours) to reduce visibility

Installation and Use

# Server setup (requires Go and Tor)
cd api
go run . --api-key=YOUR_SECRET_KEY

# Configure Tor onion service
tor -f torrc

# Build and configure agent
cd agent
# update get_address in config.rs with .onion URL
cargo build --release
# Deploy to target and run
./agent --api-key=YOUR_SECRET_KEY

The server exposes two APIs: one for agent connections via a Unix socket or through the onion service, and another (by default, on port 8080) that serves the XENA C2 UI.

Operational Use Cases

  • Initial access and post-exploitation via Tor to evade network monitoring
  • Cross-platform red team operations using the Rust agent
  • Secure remote access for lateral movement
  • Maintaining persistence on Windows environments through stealth
  • Adding slow, time-bound check-ins to minimise detection

Limitations and Defensive Considerations

  • Arti provides only partial Tor feature coverage; running legacy Tor alongside is recommended.
  • Detection is possible through unexpected Rust binaries, registry changes, or onion traffic.
  • Still under active development; features may change or require stabilising.

Recommendation

OnionC2 is a valuable tool for anonymity-focused red teams that require a Tor-based C2 channel without the need for external proxies. Its cross-platform Rust agent and Go server make it suitable for engagements requiring stealth and encryption. This framework pairs well with screenshot or data exfiltration modules for complete campaigns.

Next Steps

  • Deploy OnionC2 in an isolated lab to measure agent performance, persistence effect, and detection signals.
  • Integrate agent builds into custom payload repositories and test against AV/EDR detection.
  • Combine with stealth surveillance tools and secure exfiltration paths.

You can read more or download OnionC2 here: https://github.com/zarkones/OnionC2

Related Posts:

  • XRayC2 - Weaponizing AWS X-Ray for Covert Command…
  • Systemic Ransomware Events in 2025 - How Jaguar Land…
  • RustRedOps - Rust Native Offensive Toolkit…
  • mcp-scan - Real-Time Guardrail Monitoring and…
  • Initial Access Brokers (IAB) in 2025 - From Dark Web…
  • Privacy Implications of Web 3.0 and Darknets
Share
Tweet
Share
Buffer
WhatsApp
Email

Filed Under: Hacking Tools Tagged With: command and control, tor



Primary Sidebar

Search Darknet

  • Email
  • Facebook
  • LinkedIn
  • RSS
  • Twitter

Advertise on Darknet

Latest Posts

Systemic Ransomware Events in 2025 - How Jaguar Land Rover Showed What a Category 3 Supply Chain Breach Looks Like

Systemic Ransomware Events in 2025 – How Jaguar Land Rover Showed What a Category 3 Supply Chain Breach Looks Like

Views: 2,237

Jaguar Land Rover’s prolonged cyber outage in 2025 turned what would once have been a “single … ...More about Systemic Ransomware Events in 2025 – How Jaguar Land Rover Showed What a Category 3 Supply Chain Breach Looks Like

SmbCrawler - SMB Share Discovery and Secret-Hunting

SmbCrawler – SMB Share Discovery and Secret-Hunting

Views: 2,092

SmbCrawler is a credentialed SMB spider that takes domain credentials and a list of hosts, then … ...More about SmbCrawler – SMB Share Discovery and Secret-Hunting

Heisenberg Dependency Health Check - GitHub Action for Supply Chain Risk

Heisenberg Dependency Health Check – GitHub Action for Supply Chain Risk

Views: 1,371

Heisenberg Dependency Health Check is a GitHub Action that inspects only the new or modified … ...More about Heisenberg Dependency Health Check – GitHub Action for Supply Chain Risk

Dark Web Search Engines in 2025 - Enterprise Monitoring, APIs and IOC Hunting

Dark Web Search Engines in 2025 – Enterprise Monitoring, APIs and IOC Hunting

Views: 3,259

Dark web search engines have become essential for enterprise security teams that need early … ...More about Dark Web Search Engines in 2025 – Enterprise Monitoring, APIs and IOC Hunting

mcp-scan - Real-Time Guardrail Monitoring and Dynamic Proxy for MCP Servers

mcp-scan – Real-Time Guardrail Monitoring and Dynamic Proxy for MCP Servers

Views: 1,214

mcp-scan is a security tool from Invariant Labs that can run as a static scanner or as a dynamic … ...More about mcp-scan – Real-Time Guardrail Monitoring and Dynamic Proxy for MCP Servers

Initial Access Brokers (IAB) in 2025 - From Dark Web Listings to Supply Chain Ransomware Events

Initial Access Brokers (IAB) in 2025 – From Dark Web Listings to Supply Chain Ransomware Events

Views: 1,103

Initial Access Brokers (IABs) have moved from niche forum actors to central wholesalers in the … ...More about Initial Access Brokers (IAB) in 2025 – From Dark Web Listings to Supply Chain Ransomware Events

Topics

  • Advertorial (28)
  • Apple (46)
  • Cloud Security (8)
  • Countermeasures (232)
  • Cryptography (85)
  • Dark Web (6)
  • Database Hacking (89)
  • Events/Cons (7)
  • Exploits/Vulnerabilities (433)
  • Forensics (64)
  • GenAI (13)
  • Hacker Culture (10)
  • Hacking News (237)
  • Hacking Tools (709)
  • Hardware Hacking (82)
  • Legal Issues (179)
  • Linux Hacking (74)
  • Malware (241)
  • Networking Hacking Tools (352)
  • Password Cracking Tools (107)
  • Phishing (41)
  • Privacy (219)
  • Secure Coding (119)
  • Security Software (235)
  • Site News (51)
    • Authors (6)
  • Social Engineering (37)
  • Spammers & Scammers (76)
  • Stupid E-mails (6)
  • Telecomms Hacking (6)
  • UNIX Hacking (6)
  • Virology (6)
  • Web Hacking (384)
  • Windows Hacking (171)
  • Wireless Hacking (45)

Security Blogs

  • Dancho Danchev
  • F-Secure Weblog
  • Google Online Security
  • Graham Cluley
  • Internet Storm Center
  • Krebs on Security
  • Schneier on Security
  • TaoSecurity
  • Troy Hunt

Security Links

  • Exploits Database
  • Linux Security
  • Register – Security
  • SANS
  • Sec Lists
  • US CERT

Footer

Most Viewed Posts

  • Brutus Password Cracker Hacker – Download brutus-aet2.zip AET2 (2,432,915)
  • Darknet – Hacking Tools, Hacker News & Cyber Security (2,174,100)
  • Top 15 Security Utilities & Download Hacking Tools (2,097,557)
  • 10 Best Security Live CD Distros (Pen-Test, Forensics & Recovery) (1,200,354)
  • Password List Download Best Word List – Most Common Passwords (934,670)
  • wwwhack 1.9 – wwwhack19.zip Web Hacking Software Free Download (777,393)
  • Hack Tools/Exploits (674,313)
  • Wep0ff – Wireless WEP Key Cracker Tool (531,432)

Search

Recent Posts

  • Systemic Ransomware Events in 2025 – How Jaguar Land Rover Showed What a Category 3 Supply Chain Breach Looks Like November 26, 2025
  • SmbCrawler – SMB Share Discovery and Secret-Hunting November 24, 2025
  • Heisenberg Dependency Health Check – GitHub Action for Supply Chain Risk November 21, 2025
  • Dark Web Search Engines in 2025 – Enterprise Monitoring, APIs and IOC Hunting November 19, 2025
  • mcp-scan – Real-Time Guardrail Monitoring and Dynamic Proxy for MCP Servers November 17, 2025
  • Initial Access Brokers (IAB) in 2025 – From Dark Web Listings to Supply Chain Ransomware Events November 12, 2025

Tags

apple botnets computer-security darknet Database Hacking ddos dos exploits fuzzing google hacking-networks hacking-websites hacking-windows hacking tool Information-Security information gathering Legal Issues malware microsoft network-security Network Hacking Password Cracking pen-testing penetration-testing Phishing Privacy Python scammers Security Security Software spam spammers sql-injection trojan trojans virus viruses vulnerabilities web-application-security web-security windows windows-security Windows Hacking worms XSS

Copyright © 1999–2026 Darknet All Rights Reserved · Privacy Policy