Ethical network security auditor — 50+ checks across SMB, RDP, LDAP, SSH, Kerberos and more, with AI-powered CVE analysis and OWASP/CIS/NIST compliance mapping.
Quick Start · Documentation · Docker · AI Features · Star on GitHub
Minotaur-themed HTML report — severity badges, expandable evidence, AI remediation |
JSON report — OWASP/CIS/NIST/PCI mapping, CVE data, machine-readable |
Asterion is a production-ready network and domain security auditor that puts ethics first. Built for penetration testers, security researchers, and enterprise security teams, it combines traditional vulnerability scanning with cutting-edge AI analysis to deliver actionable insights for Windows Active Directory, Linux systems, and network infrastructure.
- 🔒 Ethical by Design: Consent token system prevents unauthorized scanning
- 🤖 AI-Powered: GPT-4, Claude, or local Ollama for intelligent remediation guides
- 📊 Professional Reports: Beautiful HTML (Minotaur-themed) + machine-readable JSON
- 🚀 Fast & Efficient: Multi-threaded scanning with intelligent rate limiting
- 💾 Persistent Tracking: Shared SQLite database with Argos Suite for scan history
- 🐳 Docker Ready: Containerized scanning for CI/CD integration
| Check Category | Details |
|---|---|
| SMB/CIFS Security | Anonymous shares, SMB signing, SMBv1 (EternalBlue), NTLMv1, writable shares |
| RDP Security | Network Level Authentication (NLA), encryption levels, exposed RDP |
| LDAP/Active Directory | Anonymous bind, LDAP signing, password policies, Kerberos pre-auth |
| Kerberos Security | AS-REP roasting, Kerberoasting, excessive ticket lifetime |
| SNMP | Default community strings, SNMPv1/v2c, write access |
| DNS/NetBIOS | Zone transfers (AXFR), LLMNR/NetBIOS poisoning, mDNS |
| Windows Systems | Firewall, Registry (UAC, LSA), services, privilege escalation |
| Linux Systems | iptables/nftables, SSH, Samba/NFS, SUID binaries, sudo misconfig |
# One command, comprehensive network analysis
ast scan --target 10.0.0.0/24 --output html- Multi-Method Detection: SMB, RDP, LDAP, Kerberos, SSH, FTP, DNS, SNMP protocol analysis
- Multi-Threading: Concurrent scanning with 1-20 worker threads
- Smart Rate Limiting: Configurable request throttling (1-20 req/s) to avoid detection
- Evidence Collection: SMB shares, LDAP queries, PowerShell output preserved
Choose your AI provider based on your needs:
| Provider | Best For | Speed | Cost | Privacy |
|---|---|---|---|---|
| OpenAI GPT-4 | Production quality | ⚡ Fast (40s) | 💰 $0.30/scan | 🔒 Standard |
| Anthropic Claude | Privacy-focused | ⚡ Fast (50s) | 💰 $0.35/scan | 🔒 Enhanced |
| Ollama (Local) | Complete privacy | 🐢 Slow (30min) | 💰 Free | 🔐 100% Offline |
Two Analysis Modes:
- Technical: Step-by-step remediation with PowerShell/GPO commands and configuration snippets
- Executive: Plain-language summaries for stakeholders and management
JSON Reports (Machine-Readable)
{
"tool": "asterion",
"version": "0.2.0",
"target": "192.168.1.10",
"riskScore": 10.0,
"summary": {
"critical": 3,
"high": 8,
"medium": 16,
"low": 5,
"info": 2
},
"findings": [
{
"id": "AST-SMB-003",
"title": "SMBv1 protocol enabled (EternalBlue vector)",
"severity": "high",
"owasp": { "id": "A06", "name": "Vulnerable and Outdated Components" },
"vulnerabilities": [
{
"cve_id": "CVE-2017-0143",
"cvss_score": 9.8,
"cwe_id": "CWE-119"
}
],
"cvss": 9.8
}
],
"attackChains": [...],
"diff": { "refScanId": 41, "new": [...], "fixed": [...], "persisting": [...] }
}HTML Reports (Human-Friendly)
- 🎨 Minotaur-themed design (red/orange/purple color scheme)
- 🏷️ Color-coded severity badges
- 📝 Expandable evidence sections (SMB shares, LDAP queries, PowerShell output)
- 🤖 AI analysis beautifully formatted
- 📱 Mobile-friendly responsive design
Asterion enforces ethical hacking through technology. Aggressive scanning and AI analysis require proof of ownership:
# 1. Generate token
ast consent generate --domain corp.local
# 2. Place token (choose one method)
# HTTP: Upload to https://corp.local/.well-known/verify-abc123.txt
# DNS: Add TXT record: corp.local = "asterion-verify=verify-abc123"
# SSH: Create file /tmp/consent_verify-abc123 with token content
# 3. Verify ownership
ast consent verify --method http --domain corp.local --token verify-abc123
# 4. Now you can use aggressive mode
ast scan --target corp.local --mode aggressive --use-aiShared SQLite database with Argos Suite tracks everything:
- Scan History: Date, duration, findings count, severity breakdown
- Finding Repository: Searchable vulnerability database across all Argos tools
- Verified Domains: Consent token tracking with expiration
- Trend Analysis: Compare scans over time
# Query recent scans (works for all Argos Suite tools)
sqlite3 ~/.argos/argos.db "SELECT * FROM scans WHERE tool='asterion' ORDER BY started_at DESC LIMIT 10"
# Find critical issues
sqlite3 ~/.argos/argos.db "SELECT * FROM v_critical_findings WHERE tool='asterion'"All Platforms:
Optional:
- Docker (for containerized scanning)
- API Keys (for AI analysis - OpenAI or Anthropic)
# Clone repository
git clone https://github.com/rodhnin/asterion-network-minotaur.git
cd asterion-network-minotaur
# Run setup script
chmod +x scripts/setup.py
python3 scripts/setup.pyThe script will:
- ✅ Check prerequisites (.NET, Python)
- ✅ Install Python dependencies
- ✅ Setup the shared Argos Suite database
- ✅ Build Asterion in Release mode
- ✅ Create directories (~/.asterion, ~/.argos)
- ✅ Create wrapper script
/usr/local/bin/ast(optional)
# Clone repository
git clone https://github.com/rodhnin/asterion-network-minotaur.git
cd asterion-network-minotaur
# Run setup (right-click PowerShell > Run as Administrator)
.\scripts\setup.ps1The script will:
- ✅ Check prerequisites (.NET, Python)
- ✅ Install Python dependencies
- ✅ Setup the shared Argos Suite database
- ✅ Build Asterion in Release mode
- ✅ Create directories (%USERPROFILE%.asterion, %USERPROFILE%.argos)
If the automated scripts don't work on your system, follow these steps:
git clone https://github.com/rodhnin/asterion-network-minotaur.git
cd asterion-network-minotaurLinux/macOS:
pip3 install -r scripts/requirements.txtWindows (Command Prompt):
pip install -r scripts\requirements.txtLinux/macOS:
python3 scripts/db_migrate.pyWindows:
python scripts\db_migrate.pyAll Platforms:
dotnet build -c ReleaseLinux/macOS:
mkdir -p ~/.asterion/reports
mkdir -p ~/.asterion/consent-proofs
mkdir -p ~/.argosWindows (PowerShell):
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.asterion\reports" | Out-Null
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.asterion\consent-proofs" | Out-Null
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.argos" | Out-Null# Create wrapper script
sudo nano /usr/local/bin/ast
# Paste this content:
#!/bin/bash
exec dotnet "$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)/src/Asterion/bin/Release/net8.0/Asterion.dll" "$@"
# Make executable
sudo chmod +x /usr/local/bin/astA single environment variable works for all AI providers (OpenAI, Anthropic):
Linux/macOS:
export AI_API_KEY="sk-proj-..." # OpenAI key
# or
export AI_API_KEY="sk-ant-..." # Anthropic key
# Add to ~/.bashrc or ~/.zshrc to make permanentWindows (PowerShell):
$env:AI_API_KEY = "sk-proj-..."
# Or permanently:
[Environment]::SetEnvironmentVariable("AI_API_KEY", "sk-proj-...", [System.EnvironmentVariableTarget]::User)Linux/macOS (if symlink was created):
ast versionWindows or direct invocation:
.\src\Asterion\bin\Release\net8.0\ast.exe version
# Or with dotnet
dotnet .\src\Asterion\bin\Release\net8.0\Asterion.dll versionAsterion can automatically discover and scan your local network!
Windows (PowerShell) — After Setup (Recommended):
# Test on localhost (simple)
ast scan --target localhost --output html
# Scan local subnet with AI analysis
ast scan --target 192.168.1.0/24 --output both --threads 10 --rate 5 --use-ai --ai-tone both
# Domain scan with authentication
ast scan --target corp.local --auth "CORP\admin:Password123" --use-aiWindows (PowerShell) — Without PATH Setup:
# Scan localhost (full path)
.\src\Asterion\bin\Release\net8.0\ast.exe scan `
--target localhost `
--output html `
--use-ai `
--ai-tone both
# Scan local subnet (full path)
.\src\Asterion\bin\Release\net8.0\ast.exe scan `
--target 192.168.1.0/24 `
--output both `
--threads 10 `
--rate 5Linux/macOS:
# Scan localhost
ast scan --target localhost \
--output html \
--use-ai \
--ai-tone both
# Scan local subnet (e.g., 192.168.1.0/24)
ast scan --target 192.168.1.0/24 \
--output both \
--threads 10 \
--rate 5
# Scan domain
ast scan --target corp.local \
--auth "CORP\admin:Password123" \
--output html \
--use-aiAsterion supports three output formats using --output:
| Format | Command | Output |
|---|---|---|
| JSON | --output json |
Machine-readable reports (default) |
| HTML | --output html |
Beautiful Minotaur-themed reports |
| Both | --output both |
Generate both JSON and HTML |
Control how AI analysis is formatted using --ai-tone:
| Tone | Use Case | Output |
|---|---|---|
| technical | Security teams | Step-by-step remediation with PowerShell/GPO commands |
| non_technical | Executive summary | Plain-language descriptions for management |
| both | Complete analysis | Both technical and executive formats |
Simple network scan (no authentication):
ast scan --target 10.0.0.0/24With HTML report:
ast scan --target 192.168.1.0/24 --output htmlAuthenticated scan (Windows domain):
ast scan --target dc01.corp.local \
--auth "CORP\Administrator:P@ssw0rd" \
--output htmlWith AI analysis (technical + executive):
ast scan --target 10.0.0.0/24 \
--use-ai \
--ai-tone both \
--output htmlFast scanning (10 threads, 10 req/s):
ast scan --target 10.0.0.0/24 \
--threads 10 \
--rate 10 \
--output jsonNative Installation:
- Reports:
~/.asterion/reports/ - Database:
~/.argos/argos.db
Windows:
- Reports:
%USERPROFILE%\.asterion\reports\ - Database:
%USERPROFILE%\.argos\argos.db
Docker Deployment:
- Reports:
docker/reports/ - Database:
docker/data/argos.db
🎉 Success! Check the reports directory for JSON and HTML output files.
Automatic Deployment:
cd docker
./deploy.sh # Linux/macOS
.\deploy.ps1 # WindowsManual Docker Deployment:
# Build and start
docker compose up -d
# Run a scan
docker compose exec asterion dotnet /app/ast.dll scan \
--target 192.168.1.0/24 \
--output html
# View logs
docker compose logs -f asterion
# Stop services
docker compose downast <command> [options]Available Commands:
scan— Run a security scanconsent— Manage consent tokensversion— Display version information
| Option | Values | Default | Description |
|---|---|---|---|
--target, -t |
IP/CIDR/domain | Required | Target(s): 192.168.1.0/24, 10.0.0.1, corp.local, comma-list |
--mode, -m |
safe, aggressive | safe |
Scan mode (aggressive requires consent token) |
--output, -o |
json, html, both | json |
Output format |
--ports, -p |
port list | Auto-detect | Ports to scan (e.g., 22,80,443 or 8000-9000) |
--threads |
1-20 | 5 | Number of concurrent threads |
--rate |
1-20 | 5 | Request rate limit (req/s) |
--timeout |
seconds | 10 | Connection timeout |
--verify-ssl |
flag | true | Verify SSL/TLS certificates (disable for self-signed certs) |
--verbose, -v |
flag | false | Enable verbose logging |
--diff |
last / scan_id | - | Compare against previous scan (--diff last or --diff 42) |
--creds-file |
path to YAML | - | Load all credentials from YAML file |
| Option | Values | Description |
|---|---|---|
--auth |
DOMAIN\user:pass |
Domain credentials for LDAP/Kerberos/SMB/AD checks |
--auth-ntlm |
user:hash |
Pass-the-hash NTLM authentication |
--kerberos |
user:pass@REALM |
Kerberos credentials |
--winrm |
DOMAIN\user:pass |
WinRM remote Windows checks (firewall, registry, services, AD) |
--ssh |
user:pass |
SSH password auth for remote Linux checks |
--ssh-key |
user:/path/key |
SSH key-based authentication |
--sudo-password |
pass |
Sudo elevation password for Linux privileged checks |
--bastion |
host:user:key |
Jump/bastion host for multi-hop SSH |
| Option | Values | Default | Description |
|---|---|---|---|
--use-ai |
flag | false | Enable AI-powered analysis |
--ai-tone |
technical, non_technical, both | technical | AI analysis format |
--ai-provider |
openai, anthropic, ollama | openai | AI provider |
--ai-model |
model name | gpt-4o-mini-2024-07-18 | AI model to use |
--ai-budget |
USD amount | - | Abort AI if estimated cost exceeds this value |
--ai-stream |
flag | false | Stream AI tokens to stdout in real-time |
--ai-agent |
flag | false | LangChain agent mode with NVD CVE lookup tool |
--ai-compare |
prov/model,prov/model |
- | Multi-model comparison |
# Scan local subnet (default: JSON output, safe mode)
ast scan --target 192.168.1.0/24
# Scan with HTML report
ast scan --target 192.168.1.0/24 --output html
# Scan specific IP
ast scan --target 10.0.0.5 --output both# CIDR notation
ast scan --target 10.0.0.0/24
# IP range
ast scan --target 192.168.1.10-50
# Domain name
ast scan --target corp.local
# Single host
ast scan --target 192.168.1.1# Slow, stealthy scan (3 threads, 2 req/s)
ast scan --target 10.0.0.0/24 --threads 3 --rate 2
# Fast scan (15 threads, 15 req/s)
ast scan --target 10.0.0.0/24 --threads 15 --rate 15
# Specific ports only
ast scan --target 10.0.0.0/24 --ports 445,3389,22,139# Network + LDAP/Kerberos/AD checks
ast scan --target dc01.corp.local \
--auth "CORP\Administrator:P@ssw0rd"
# WinRM: remote firewall, registry, services, privesc
ast scan --target 192.168.1.10 \
--winrm "CORP\admin:P@ssw0rd"
# Full Windows audit: auth + WinRM + AI + HTML
ast scan --target 192.168.1.10 \
--auth "CORP\admin:P@ssw0rd" \
--winrm "CORP\admin:P@ssw0rd" \
--use-ai --ai-tone technical -o both -v
# With NTLM hash (Pass-the-Hash)
ast scan --target 10.0.0.5 \
--auth-ntlm "admin:aad3b435b51404eeaad3b435b51404ee:8846f7eaee8fb117ad06bdd830b7586c"
# Diff against last scan (track security changes)
ast scan --target 192.168.1.10 --winrm "CORP\admin:P@ssw0rd" --diff last -o both# Remote Linux SSH scan (password)
ast scan --target 10.0.0.25 --ssh "admin:password"
# SSH with sudo elevation (for privileged checks)
ast scan --target 10.0.0.25 --ssh "admin:password" --sudo-password "sudopass"
# SSH key authentication
ast scan --target 10.0.0.25 --ssh-key "admin:~/.ssh/id_rsa"
# Via bastion host
ast scan --target internal.corp.local \
--bastion "bastion.corp.local:jumpuser:~/.ssh/bastion_key" \
--ssh "admin:password"
# Full Linux audit: SSH + sudo + AI + HTML
ast scan --target 10.0.0.25 \
--ssh "root:toor" \
--use-ai --ai-tone technical -o both -v# Technical remediation (default, for security teams)
ast scan --target 10.0.0.5 \
--ssh "root:pass" \
--use-ai --ai-tone technical -o html
# Executive summary (for management)
ast scan --target 10.0.0.5 \
--use-ai --ai-tone non_technical -o html
# Both formats + streaming output
ast scan --target 10.0.0.5 --use-ai --ai-tone both --ai-stream -o both
# Agent mode (NVD CVE lookup tool enabled)
ast scan --target 10.0.0.5 --ssh "root:pass" --use-ai --ai-agent -v
# Compare two models
ast scan --target 10.0.0.5 --use-ai \
--ai-compare "openai/gpt-4o-mini-2024-07-18,anthropic/claude-3-5-haiku-20241022"
# Enforce cost budget
ast scan --target 10.0.0.5 --winrm "admin:pass" --use-ai --ai-budget 0.05# Verbose output
ast scan --target 10.0.0.5 -v
# Verbose + custom timeout
ast scan --target 10.0.0.5 -v --timeout 20
# Test connectivity only (timeout 5s)
ast scan --target 10.0.0.5 --timeout 5ast consent generate --domain corp.local
# Output: Token: verify-a3f9b2c1d8e4f5a6HTTP Method (place file on web server):
# 1. Create file at: https://corp.local/.well-known/verify-a3f9b2c1d8e4f5a6.txt
# 2. Verify:
ast consent verify \
--method http \
--domain corp.local \
--token verify-a3f9b2c1d8e4f5a6DNS Method (add TXT record):
# 1. Add DNS TXT record: corp.local = "asterion-verify=verify-a3f9b2c1d8e4f5a6"
# 2. Verify:
ast consent verify \
--method dns \
--domain corp.local \
--token verify-a3f9b2c1d8e4f5a6SSH Method (create file on system):
# 1. Create file: /tmp/consent_verify-a3f9b2c1d8e4f5a6
# 2. Verify:
ast consent verify \
--method ssh \
--domain corp.local \
--token verify-a3f9b2c1d8e4f5a6 \
--ssh "user:password"# After verifying consent token:
ast scan --target corp.local --mode aggressive# Fast, no-auth scan with HTML report
ast scan --target 192.168.1.0/24 --output html --threads 10 --rate 10# Complete Windows AD assessment with AI analysis
ast scan --target corp.local \
--auth "CORP\admin:P@ssw0rd" \
--use-ai \
--ai-tone both \
--output both \
--threads 8 \
--rate 8# Slow, careful scan to avoid detection
ast scan --target 10.0.0.0/24 \
--threads 2 \
--rate 1 \
--timeout 20 \
--output json# Generate consent first
ast consent generate --domain internal.corp
# Place token and verify
ast consent verify --method http --domain internal.corp --token <token>
# Run aggressive assessment
ast scan --target internal.corp \
--mode aggressive \
--auth "CORP\pentest:P@ssw0rd" \
--use-ai \
--output bothAsterion uses LangChain 1.0.0 with support for multiple AI providers via Python bridge, giving you flexibility based on your security, privacy, and budget requirements.
Best for: Production use
- ⭐ Quality: Excellent (5/5)
- ⚡ Speed: ~60–80 seconds (gpt-4o-mini, default)
- 💰 Cost: ~$0.004–0.009 per scan (gpt-4o-mini with ~30 findings)
- 🔒 Privacy: Standard (data encrypted in transit)
export AI_API_KEY="sk-proj-..." # Use AI_API_KEY for all providersBest for: Enhanced privacy
- ⭐ Quality: Excellent (5/5)
- ⚡ Speed: ~50–70 seconds
- 💰 Cost: ~$0.007–0.015 per scan (claude-3-5-haiku)
- 🔒 Privacy: Enhanced (Anthropic's privacy-first approach)
export AI_API_KEY="sk-ant-..." # Same variable, Anthropic key formatBest for: Complete privacy
- ⭐ Quality: Good (3/5)
- 🐢 Speed: ~30 minutes (CPU) or ~90 seconds (GPU)
- 💰 Cost: Free
- 🔐 Privacy: 100% offline (data never leaves your machine)
# Install Ollama: https://ollama.ai
ollama pull llama3.2Automatic Sanitization Before sending data to AI providers, Asterion automatically removes:
- ✅ Consent tokens
- ✅ Domain credentials (passwords, NTLM hashes)
- ✅ Personal Identifiable Information (PII)
- ✅ Internal IP addresses (when requested)
- ✅ SMB share paths with sensitive data
Opt-In Only
- AI analysis requires explicit
--use-aiflag - Aggressive scanning requires verified consent token
- You control which provider sees your data
For Maximum Privacy Use Ollama locally. While slower and less accurate, your scan data never leaves your machine.
Current Method (v0.2.0): Edit config/defaults.yaml
ai:
langchain:
provider: "ollama" # Changed from "openai"
model: "llama3.2" # Ollama model
ollama_base_url: "http://localhost:11434"Coming in v0.3.0: Interactive configuration menu (Metasploit-style)
# Future feature
ast --show-options
ast --set ai.provider=anthropic
ast --save-profile privacy-modeUse our Docker lab to practice safely:
# Navigate to docker directory
cd docker
# Deploy vulnerable network lab
docker-compose -f compose.testing.yml up -d
# Wait for services to start (~60 seconds)
docker-compose -f compose.testing.yml logs -f
# Create vulnerable conditions
docker-compose -f compose.testing.yml exec windows-target powershell -c "Disable-NetFirewallProfile -All"# Return to project root
cd ..
# Run scan against lab network
ast scan --target 172.20.0.0/24 --output html
# Try authenticated scan
ast scan --target 172.20.0.2 --auth "LAB\admin:P@ssw0rd123" --output both
# Try AI analysis (requires API key)
ast scan --target 172.20.0.0/24 --use-ai --output htmlcd docker
docker-compose -f compose.testing.yml down -v # -v removes all dataFor detailed testing scenarios, see docs/TESTING_GUIDE.md
Only scan networks and systems you own or have explicit written permission to test.
Asterion implements technical controls to prevent misuse:
| Mode | Checks | Consent Required | Rate Limit |
|---|---|---|---|
| Safe | Non-intrusive network checks | ❌ No | 5 req/s |
| Aggressive | Deep AD/system testing | ✅ Yes | 10 req/s |
| AI Analysis | Vulnerability analysis | ✅ Yes | N/A |
Unauthorized access to computer systems is illegal in most jurisdictions:
- 🇺🇸 USA: Computer Fraud and Abuse Act (CFAA)
- 🇬🇧 UK: Computer Misuse Act 1990
- 🇪🇺 EU: Directive 2013/40/EU
- 🌍 International: Various cybercrime laws
- ✅ Get written authorization before scanning
- ✅ Define scope clearly (which networks/domains/IPs)
- ✅ Document everything (consent, findings, remediation)
- ✅ Use safe mode first to establish baseline
- ✅ Report findings responsibly (coordinated disclosure)
- ❌ Never exploit vulnerabilities without explicit permission (e.g., no EternalBlue exploitation)
- ❌ Never scan third-party networks (e.g., google.com, microsoft.com)
For complete ethical guidelines, see docs/ETHICS.md
Asterion provides cross-platform deployment scripts:
Linux/macOS:
cd docker
./deploy.shWindows (PowerShell):
cd docker
.\deploy.ps1Deployment Options:
- Production - Deploy Asterion Scanner
- Stop all services
- Remove all containers and data (reset)
Linux/macOS:
cd docker
docker compose up -d
# Execute scans (note the dotnet wrapper)
docker compose exec asterion dotnet /app/ast.dll scan --target 10.0.0.0/24
# View logs
docker compose logs -f asterion
# Stop service
docker compose downWindows (PowerShell):
cd docker
docker compose up -d
# Execute scans (note the dotnet wrapper)
docker compose exec asterion dotnet /app/ast.dll scan --target 10.0.0.0/24
# View logs
docker compose logs -f asterion
# Stop service
docker compose downPersistent data:
- Reports:
./reports/→ host directorydocker/reports/ - Database:
./data/argos.db→ host directorydocker/data/argos.db(shared Argos Suite DB) - Logs:
./logs/asterion.log→ host directorydocker/logs/asterion.log
Note: Asterion automatically detects Docker environment via ASTERION_IN_DOCKER environment variable.
For complete Docker documentation (Linux/Windows), see: docker/README.md
Native Installation:
~/.asterion/
├── reports/
│ ├── asterion_report_10_0_0_0_24_20260419_143000.json # Machine-readable
│ └── asterion_report_10_0_0_0_24_20260419_143000.html # Human-friendly (Minotaur-themed)
└── consent-proofs/
└── corp_local_verify-abc123_20260419.txt
~/.argos/
├── argos.db # Shared Argos Suite database
└── logs/
└── argos.log # Shared log file
Docker Deployment:
asterion-network-minotaur/
├── docker/
│ ├── reports/
│ │ ├── asterion_report_10_0_0_0_24_20260419_143000.json
│ │ └── asterion_report_10_0_0_0_24_20260419_143000.html
│ ├── data/
│ │ └── argos.db # Shared Argos Suite database (Docker)
│ ├── logs/
│ │ └── asterion.log
│ └── workspace/
│ └── consent-proofs/
Note: Docker environment is automatically detected via ASTERION_IN_DOCKER environment variable.
{
"tool": "asterion",
"version": "0.2.0",
"target": "10.0.0.0/24",
"date": "2026-04-13T14:30:00Z",
"mode": "safe",
"summary": {
"critical": 12,
"high": 8,
"medium": 15,
"low": 5,
"info": 20
},
"findings": [
{
"id": "AST-SMB-003",
"title": "SMBv1 enabled (EternalBlue vulnerability)",
"severity": "critical",
"confidence": "high",
"description": "SMBv1 is enabled on this system. This protocol is vulnerable to EternalBlue (CVE-2017-0143), a critical remote code execution vulnerability exploited by WannaCry ransomware.",
"evidence": {
"type": "smb",
"value": "SMBv1 negotiated successfully",
"context": "Port 445/tcp open, SMB signing not required"
},
"recommendation": "URGENT - Disable SMBv1 immediately:\n\nPowerShell:\nDisable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol -NoRestart\n\nGroup Policy:\nComputer Configuration → Administrative Templates → MS Security Guide\n→ Configure SMBv1 client driver startup = Disabled\n→ Configure SMBv1 server = Disabled\n\nVerify:\nGet-SmbServerConfiguration | Select EnableSMB1Protocol",
"references": [
"https://docs.microsoft.com/en-us/windows-server/storage/file-server/troubleshoot/detect-enable-and-disable-smbv1-v2-v3",
"https://nvd.nist.gov/vuln/detail/CVE-2017-0143"
],
"affected_component": "SMB Server"
},
{
"id": "AST-LDAP-001",
"title": "LDAP anonymous bind allowed",
"severity": "high",
"confidence": "high",
"description": "LDAP server allows anonymous bind, permitting unauthenticated enumeration of domain users, groups, and configuration.",
"evidence": {
"type": "ldap",
"value": "Anonymous bind successful to port 389/tcp",
"context": "Retrieved domain base DN: DC=corp,DC=local"
},
"recommendation": "Disable LDAP anonymous bind:\n\nGroup Policy:\nComputer Configuration → Policies → Windows Settings → Security Settings → Local Policies → Security Options\n→ Network access: Allow anonymous SID/Name translation = Disabled\n→ Network access: Do not allow anonymous enumeration of SAM accounts = Enabled\n→ Network access: Do not allow anonymous enumeration of SAM accounts and shares = Enabled\n\nRegistry:\nreg add \"HKLM\\SYSTEM\\CurrentControlSet\\Control\\Lsa\" /v RestrictAnonymous /t REG_DWORD /d 1 /f",
"affected_component": "LDAP Server"
},
{
"id": "AST-RDP-001",
"title": "RDP without Network Level Authentication (NLA)",
"severity": "high",
"confidence": "high",
"description": "Remote Desktop Protocol (RDP) is configured without Network Level Authentication (NLA). This allows unauthenticated attackers to reach the login screen and attempt brute-force attacks.",
"evidence": {
"type": "rdp",
"value": "RDP port 3389/tcp open, NLA not required",
"context": "Encryption level: High"
},
"recommendation": "Enable Network Level Authentication:\n\nPowerShell:\n(Get-WmiObject -class Win32_TSGeneralSetting -Namespace root\\cimv2\\terminalservices -Filter \"TerminalName='RDP-tcp'\").SetUserAuthenticationRequired(1)\n\nGroup Policy:\nComputer Configuration → Administrative Templates → Windows Components → Remote Desktop Services → Remote Desktop Session Host → Security\n→ Require user authentication for remote connections by using Network Level Authentication = Enabled",
"affected_component": "RDP Server"
}
],
"notes": {
"scan_duration_seconds": 67.5,
"targets_scanned": 12,
"rate_limit_applied": true,
"scope_limitations": "Scan limited to network services. Local system checks require SSH/WinRM credentials.",
"false_positive_disclaimer": "Manual verification recommended for all findings before remediation."
},
"aiAnalysis": {
"executiveSummary": "The network scan identified 12 critical security vulnerabilities requiring immediate attention...",
"technicalRemediation": "### Critical Issues\n\n1. **SMBv1 Enabled (EternalBlue)**\n - Affected systems: 10.0.0.5, 10.0.0.10\n - Remediation: Disable SMBv1...",
"generatedAt": "2026-04-19T14:35:00Z",
"modelUsed": "gpt-4o-mini-2024-07-18",
"provider": "openai"
}
}- 📊 Executive Dashboard: Summary cards with severity counts and Minotaur branding
- 🤖 AI Analysis: Expandable sections for executive and technical insights
- 🔍 Detailed Findings: Organized by severity with PowerShell/GPO remediation commands
- 📋 Evidence: SMB shares, LDAP queries, RDP configurations, PowerShell output
- 🔗 External References: Links to CVE, Microsoft documentation, OWASP guides
- 📱 Mobile Responsive: Works on all devices
- 🎨 Minotaur Theme: Red/orange/purple color scheme
asterion-network-minotaur/
│
├── src/
│ ├── Asterion/ # Main C# application
│ │ ├── Asterion.csproj # .NET project file
│ │ │
│ │ ├── Checks/ # Security check modules
│ │ │ ├── ICheck.cs # Check interface
│ │ │ ├── BaseCheck.cs # Abstract base class (350 lines)
│ │ │ ├── CheckCategory.cs # Check category enum
│ │ │ │
│ │ │ ├── CrossPlatform/ # Network service scanners (work from any OS)
│ │ │ │ ├── PortScanner.cs # TCP port scanning
│ │ │ │ ├── SmbScanner.cs # SMB/CIFS security (42KB)
│ │ │ │ ├── RdpScanner.cs # RDP configuration (24KB)
│ │ │ │ ├── LdapScanner.cs # LDAP/AD security (38KB)
│ │ │ │ ├── KerberosScanner.cs # Kerberos security (22KB)
│ │ │ │ ├── SnmpScanner.cs # SNMP vulnerabilities (21KB)
│ │ │ │ ├── DnsScanner.cs # DNS misconfigurations (14KB)
│ │ │ │ ├── FtpScanner.cs # FTP security (27KB)
│ │ │ │ ├── TlsScanner.cs # TLS/SSL certificate checks
│ │ │ │ ├── SysvolCheck.cs # SYSVOL/GPP password exposure
│ │ │ │ ├── AdAggressiveCheck.cs # AS-REP roasting, delegation, weak ACLs
│ │ │ │ └── WinRmChecks.cs # Remote Windows audit via WS-Man
│ │ │ │
│ │ │ ├── Windows/ # Local Windows system checks
│ │ │ │ ├── WinFirewallCheck.cs # Firewall configuration
│ │ │ │ ├── WinRegistryCheck.cs # Registry security
│ │ │ │ ├── AdPolicyCheck.cs # Active Directory policies
│ │ │ │ ├── WinServicesCheck.cs # Service misconfigurations
│ │ │ │ └── PrivEscCheckWin.cs # Windows privilege escalation
│ │ │ │
│ │ │ └── Linux/ # Local/remote Linux checks (via SSH)
│ │ │ ├── LinuxFirewallCheck.cs # iptables/nftables/ufw
│ │ │ ├── SshConfigCheck.cs # SSH hardening
│ │ │ ├── SambaNfsCheck.cs # Samba/NFS security
│ │ │ └── PrivEscCheckLinux.cs # SUID, sudo misconfig
│ │ │
│ │ ├── Core/ # Core infrastructure
│ │ │ ├── Orchestrator.cs # Main execution engine (1,243 lines)
│ │ │ ├── Config.cs # YAML configuration loader
│ │ │ ├── ScanOptions.cs # Scan configuration
│ │ │ ├── Database.cs # SQLite operations
│ │ │ ├── ConsentValidator.cs # Consent token verification
│ │ │ ├── SshConnectionManager.cs # SSH.NET wrapper (password/key/bastion)
│ │ │ ├── WinRmConnectionManager.cs # WS-Man HTTP/NTLM (Linux → Windows)
│ │ │ ├── AttackChainAnalyzer.cs # Multi-step attack chain correlation
│ │ │ ├── NtlmSpnego.cs # NTLM/SPNEGO auth implementation
│ │ │ ├── NtlmV2Auth.cs # NTLMv2 auth implementation
│ │ │ │
│ │ │ ├── Output/
│ │ │ │ └── ReportBuilder.cs # Report generation (risk score, labels)
│ │ │ │
│ │ │ └── Utils/
│ │ │ ├── NetworkUtils.cs # Network operations
│ │ │ ├── CidrParser.cs # CIDR/IP range parsing
│ │ │ ├── AuthenticationManager.cs # Credential handling
│ │ │ └── OsDetector.cs # Per-target OS detection (SSH/SMB/TTL)
│ │ │
│ │ ├── Models/ # Data models
│ │ │ ├── Report.cs # Main report structure
│ │ │ ├── Finding.cs # Security finding (OWASP/CVE/Compliance)
│ │ │ ├── Evidence.cs # Finding proof
│ │ │ ├── ConsentInfo.cs # Consent verification
│ │ │ └── AiAnalysis.cs # AI-generated content (cost tracking)
│ │ │
│ │ ├── Program.cs # Application entry point
│ │ └── Cli.cs # CLI argument parser (all flags)
│ │
│ └── Asterion.sln # Visual Studio solution
│
├── scripts/ # Python bridge scripts
│ ├── ai_analyzer.py # LangChain AI integration (stream/agent/compare)
│ ├── cve_lookup.py # NVD API v2 CVE enrichment
│ ├── owasp.py # OWASP Top 10 mapping (139 entries)
│ ├── compliance.py # CIS/NIST/PCI mapping (95 entries)
│ ├── db_migrate.py # Database setup
│ ├── render_html.py # HTML report generation (Jinja2)
│ ├── setup.sh # Linux/macOS installation script
│ ├── setup.ps1 # Windows PowerShell setup
│ └── requirements.txt # Python dependencies
│
├── config/ # Configuration files
│ ├── defaults.yaml # Default settings
│ └── prompts/ # AI prompt templates
│ ├── technical.txt # Technical remediation prompts
│ └── non_technical.txt # Executive summary prompts
│
├── db/
│ └── migrate.sql # Database schema (shared with Argos Suite)
│
├── docker/ # Docker deployment
│ ├── Dockerfile # Production image
│ ├── docker-compose.yml # Production deployment
│ ├── compose.testing.yml # Vulnerable lab environment
│ ├── .dockerignore
│ ├── .env.example
│ └── README.md # Docker instructions
│
├── docs/ # Documentation
│ ├── AI_INTEGRATION.md # AI setup guide
│ ├── CONSENT.md # Consent token system
│ ├── DATABASE_GUIDE.md # SQLite schema and queries
│ ├── ETHICS.md # Ethical guidelines
│ ├── NETWORK_CHECKS.md # Complete check catalog (50+ checks)
│ └── ROADMAP.md # Development roadmap
│
├── schema/
│ └── report.schema.json # Argos Suite unified schema
│
├── templates/
│ └── report.html.j2 # HTML report template (35KB, Minotaur-themed)
│
├── assets/
│ └── ascii.txt # Minotaur ASCII art banner
│
├── CHANGELOG.md # Version history
├── README_PATTERN.md # README visual branding guide
├── LICENSE # MIT License
└── README.md # This file
Statistics:
- Total C# files: ~46 files
- Total Python files: 6 scripts
- Platform: Cross-platform (.NET 8.0)
- Language: C# (primary), Python (AI bridge)
- ✅ 50+ security checks (SMB, RDP, LDAP, Kerberos, Windows, Linux)
- ✅ AI-powered analysis (OpenAI, Anthropic, Ollama)
- ✅ Consent token system (HTTP + DNS + SSH verification)
- ✅ JSON + HTML reports (Minotaur theme), shared Argos Suite database
- ✅ Docker support, cross-platform (.NET 8.0)
Status: 🎉 Released
- ✅ WinRM Remote Windows Checks: Audit Windows servers from Linux/macOS (
--winrm) - ✅ Enhanced SSH: Key auth, bastion hosts, sudo elevation (
--ssh-key,--bastion,--sudo-password) - ✅ OS Detection: Per-target detection (SSH banner + SMB/RDP port + TTL)
- ✅ Aggressive Mode: AS-REP roasting, delegation, weak ACLs, LAPS, AdminCount
- ✅ TLS Scanner: Expired/self-signed certs, TLS 1.0/1.1, weak ciphers
- ✅ SYSVOL/GPP Check: Group Policy Preferences password exposure
- ✅ Attack Chain Correlation: 8 multi-step vectors with MITRE IDs
- ✅ Diff Reports:
--diff last/--diff <id>— track security regression - ✅ Multi-Cred File:
--creds-file credentials.yaml - ✅ AI Cost Tracking:
--ai-budget, costs saved to DB +costs.json - ✅ AI Streaming / Agent Mode / Compare Mode:
--ai-stream,--ai-agent,--ai-compare - ✅ CVE Enrichment: NVD API v2 per finding with CVE/CWE/CVSS data
- ✅ OWASP + Compliance Mapping: All findings tagged with OWASP Top 10, CIS, NIST, PCI
- ✅ Enhanced HTML: Filter bar, CVE/CWE badges, attack chains section, AI tabs
Focus: Usability, scale, interactive AI
- 🔜 Metasploit-Style CLI: Interactive config management (
--show-options,--set) - 🔜 Database CLI: No SQL required (
ast db scans list,ast db findings search) - 🔜 Multi-Network Scanning: Batch processing from file
- 🔜 AI Chat Interface: Conversational vulnerability analysis with BloodHound integration
- 🔜 CI/CD Integration: GitHub Actions, Jenkins, GitLab templates
- 🔜 REST API Server: ASP.NET Core API for automation
Focus: Automated remediation, ML detection, distributed scanning
- 🔜 Automated Remediation: PowerShell DSC + Ansible playbook generation
- 🔜 ML-Based Detection: Anomaly detection, false positive reduction
- 🔜 Distributed Scanning: Worker nodes for large-scale environments
- 🔜 Advanced AI Agents: BloodHound query generation, attack path analysis
For detailed feature descriptions, see docs/ROADMAP.md
We welcome contributions! Whether it's:
- 🐛 Bug reports
- 💡 Feature requests
- 📝 Documentation improvements
- 🔧 Code contributions
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Write/update tests (when applicable)
- Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
# Clone your fork
git clone https://github.com/YOUR-USERNAME/asterion-network-minotaur.git
cd asterion-network-minotaur
# Install dependencies
pip install -r scripts/requirements.txt
dotnet restore
# Build solution
dotnet build
# Run with debugging
dotnet run --project src/Asterion -- scan --target 192.168.1.1 -v- C# Formatting: Follow Microsoft C# coding conventions
- Python Formatting: We use Black (line length: 88)
- XML Documentation: Required for all public classes/methods
- Code Comments: Use
//for inline comments,///for XML docs
Found a bug? Have a feature request?
Open an issue: https://github.com/rodhnin/asterion-network-minotaur/issues
Please include:
- Asterion version (
ast version) - .NET version (
dotnet --version) - Python version (
python --version) - Operating system
- Steps to reproduce (for bugs)
- Expected vs actual behavior
Comprehensive documentation available in the docs/ directory:
| Document | Description |
|---|---|
| AI_INTEGRATION.md | Complete AI setup guide (all 3 providers) |
| CONSENT.md | Consent token system technical details |
| DATABASE_GUIDE.md | SQLite schema, queries, management |
| ETHICS.md | Legal framework and ethical guidelines |
| NETWORK_CHECKS.md | Complete catalog of 50+ security checks |
| ROADMAP.md | Future features and development plans |
- Changelog: CHANGELOG.md
- License: LICENSE
- ASCII Art: assets/ascii.txt
Asterion is the fourth component of the Argos Security Suite:
| Tool | Language | Target | Status |
|---|---|---|---|
| Argus | Python | WordPress | ✅ Stable |
| Hephaestus | Python | Servers (Linux/Windows) | ✅ Stable |
| Pythia | Python | SQL Injection | ✅ Stable |
| Asterion | C# + Python | Networks/Domains/AD | 🎉 Released |
Shared Infrastructure:
- SQLite database (
~/.argos/argos.db) - Unified JSON report schema
- Consent token system
- AI analysis via LangChain
This project is licensed under the MIT License - see the LICENSE file for details.
MIT License
Copyright (c) 2025-2026 Rodney Dhavid Jimenez Chacin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IMPORTANT: This tool is for authorized security testing only.
By using Asterion, you acknowledge and agree that:
- ✅ You will only scan networks/systems you own or have explicit written permission to test
- ✅ You will comply with all applicable laws and regulations
- ✅ You understand that unauthorized access is illegal (CFAA, Computer Misuse Act, etc.)
- ✅ The author and contributors assume no liability for misuse
- ✅ This software is provided "as-is" without warranty of any kind
If you discover vulnerabilities using Asterion:
- 📧 Contact the network/system owner privately first
- ⏰ Give reasonable time to fix (typically 90 days)
- 🤝 Coordinate disclosure timeline
- 📝 Document your findings professionally
Don't scan. If you're unsure whether you have permission, you probably don't.
Asterion stands on the shoulders of giants:
- Microsoft — .NET platform and security documentation
- BloodHound — AD security research and attack path analysis
- OWASP — Security standards (Top 10, Testing Guide, ASVS)
- SMBLibrary — Pure C# SMB implementation by Tal Aloni
- SSH.NET — SSH protocol implementation for .NET
- DnsClient.NET — DNS client library by Michael Conrad
- LangChain — AI framework that powers intelligent analysis
- Anthropic & OpenAI — AI models for vulnerability analysis
- Ollama — Local AI inference for privacy-focused scanning
Special thanks to all security researchers who practice and promote ethical hacking.
Rodney Dhavid Jimenez Chacin (rodhnin)
- 🌐 Website & Contact: rodhnin.com
- 💼 GitHub: @rodhnin
- 🐦 Twitter: @rodhnin
For questions, feedback, or collaboration inquiries, please visit rodhnin.com
- Discussions: GitHub Discussions
- Issues: GitHub Issues
- Releases: GitHub Releases
Built with ❤️ for security professionals and enterprise network administrators worldwide
⭐ Star this repo if you find it useful! ⭐
Report Bug • Request Feature • Documentation
🐂 Asterion — Navigating the Network Labyrinth 🐂
Asterion v0.2.0 — May 2026
Made with ❤️ by rodhnin | Part of the Argos Security Suite




