CyberSecurityUP dc7fd3e7a2 feat: deterministic cred/privesc chaining, service->CVE lookup, web console modes
Credential testing (credtest.rs) now covers tokens/API keys from a sourcemap
or .env leak (new "bearer" service, probed against common API paths) and
password logins to a web form (new "http-form" service, differential
Set-Cookie/error-text check) alongside the existing ssh/smb/winrm/http-basic
probes — a secret found by a whitebox/blackbox agent that previously had no
matching service now actually gets tried.

New privesc.rs: after credtest verifies an ssh/winrm foothold, runs the
standard enumeration (sudo -l, SUID/capabilities/cron on Linux; whoami /priv
and group membership on Windows) over that SAME session. NOPASSWD sudo and
local-admin-group membership are auto-confirmed and reported as verified
root/administrator access; SUID GTFOBins hits and SeImpersonate/
SeAssignPrimaryToken become cited hypotheses for the next round, not a
command the model has to invent from raw text. Wired into attack_chain right
after the existing credtest block.

New svc_probe.rs: run_host now runs nmap -sV deterministically against every
infra/network/AD/host target (not left to the model remembering to ask for
it), parses open ports/services/versions, runs a fixed read-only enrichment
probe per service (SNMP/LDAP/SMB/SQL/Redis/Mongo/NFS/RPC/VNC/FTP/Elastic/
Docker-API/WinRM/Kerberos), and looks each service+version up in the local
searchsploit mirror for candidate CVEs/exploits — "found a port, validated
the version, checked for a known exploit" now happens every run.

Web console: the "Host/Infra" tile is joined by separate Network and Active
Directory tiles (so an operator without a domain stops getting AD-only
agents), a new Mobile/Binary tile with a file-upload field wired to the
existing /api/upload endpoint and the CLI's --platform flag, and buildArgs
now forwards --platform for mobile runs. This finishes the mode/upload work
server.js already had in progress from the previous PR.

760 tests passing; release build clean.
2026-11-28 17:16:40 -03:00
…
…

NeuroSploit

NeuroSploit

Autonomous penetration-testing harness — Rust, multi-model, CLI-first.

Stars Forks Issues


Rust License Agents Modes MCP Profiles Providers


Website · Docs & Tutorial · TUTORIAL.md · BENCHMARK.md


What is NeuroSploit?

Point it at a target. It runs the security assessment autonomously and hands you a report — recon, exploitation, chaining, validation — no human driving each step.

The harness is the pentester, not the model. A Rust engine runs the methodology: picks specialist agents for what it finds, runs them in parallel, re-sends every claim over the wire to confirm it's real, and has a second model check each finding before reporting. The LLMs are the hands; the harness is the discipline.

recon ─▶ select agents ─▶ exploit in parallel ─▶ wire-check ─▶ cross-model vote ─▶ chain ─▶ report

Install

# Linux / macOS (x64 & arm64)
curl -fsSL https://raw.githubusercontent.com/JoasASantos/NeuroSploit/main/setup.sh | bash

# Windows (PowerShell)
irm https://raw.githubusercontent.com/JoasASantos/NeuroSploit/main/install.ps1 | iex

# From source
git clone https://github.com/JoasASantos/NeuroSploit && cd NeuroSploit/neurosploit-rs
cargo build --release      # → target/release/neurosploit

Quick Start

# Interactive wizard (asks everything):
neurosploit

# Black-box with subscription:
neurosploit run http://target.com --subscription --model anthropic:claude-opus-4-8 -v

# White-box source review:
neurosploit whitebox /path/to/repo --subscription --model anthropic:claude-opus-4-8 -v

# Host / AD / infra:
neurosploit host 10.0.0.5 --subscription --model anthropic:claude-opus-4-8 -v

# Web console:
cd web && npm start     # → http://localhost:3000

Modes

Mode Command Surface
Black-box neurosploit run <url> Web apps, APIs — recon → exploit → vote → report
White-box neurosploit whitebox <repo> Source / SAST review (file:line evidence)
Grey-box neurosploit greybox <repo> --url <app> Code review + live exploitation
Host / Infra neurosploit host <ip> Linux, Windows, AD, cloud (AWS/GCP/Azure)
AI / LLM neurosploit aitest <ai-url> Jailbreaks, prompt injection, OWASP LLM Top 10
Mobile neurosploit mobile <app.apk|.ipa> APK/IPA RE (Ghidra / MobSF / Frida)
Container neurosploit container <image:tag> OCI scan + SBOM (trivy/grype/syft)
Mission Control neurosploit tui <url> Live TUI with mid-run composer

Architecture

┌─────────────────────────────────────────────────────────────┐
│                     NeuroSploit Harness                      │
│  ┌──────────┐  ┌──────────┐  ┌──────────┐  ┌────────────┐  │
│  │  Recon   │─▶│  Select  │─▶│ Parallel │─▶│  Validate  │  │
│  │  Engine  │  │  486 MDs │  │  Exploit │  │  Wire+Vote │  │
│  └──────────┘  └──────────┘  └──────────┘  └────────────┘  │
│       │              │              │              │         │
│       ▼              ▼              ▼              ▼         │
│  ┌──────────────────────────────────────────────────────┐   │
│  │          Attack Knowledge Graph (Neo4j opt.)         │   │
│  │   Host → Service → Finding → Credential → Impact    │   │
│  └──────────────────────────────────────────────────────┘   │
│       │                                      │              │
│       ▼                                      ▼              │
│  ┌──────────┐                        ┌────────────┐         │
│  │  Chain   │                        │   Report   │         │
│  │  Engine  │                        │ HTML·PDF·MD│         │
│  └──────────┘                        └────────────┘         │
├─────────────────────────────────────────────────────────────┤
│  LLM Pool: Claude · GPT · Gemini · Grok · GLM · DeepSeek  │
│  Qwen · Kimi · Mistral · Ollama · LiteLLM · 19 providers  │
└─────────────────────────────────────────────────────────────┘

MCP Profiles

Built-in profiles swap the tool surface at runtime:

Profile Tools Use Case
Web Playwright browser automation Web app testing
MobileAndroid / MobileIos REA reverse engineering APK/IPA analysis
BinaryAnalysis REA decompiler, call graphs Native binary RE
BurpSuite Burp REST API Proxy-driven testing
CobaltStrike Official CS MCP (team server) C2 integration
Infra / Nmap Nmap MCP server Network discovery
AD / Kali Kali MCP (80+ tools) AD / full toolkit
Cloud Trivy, Prowler, ScoutSuite Cloud posture
neurosploit run http://target.com --mcp-profile web
neurosploit host 10.0.0.5 --mcp-profile ad

Toolbox & C2

  • Toolbox (225 tools): nmap, rustscan, httpx, nuclei, ffuf, netexec, impacket, bloodhound, trivy, apktool, ghidra and more. neurosploit tools list
  • MCP servers: neurosploit tools mcp add nmap then --mcp
  • C2 & WebShell: Authorized engagements only. Listeners, sessions, tasks, payloads, audit trail under .neurosploit/c2/
  • Pivot Proxy: Multi-hop tunnel engine through compromised hosts — portproxy, chisel, SOCKS. --pivot-proxy auto

What Makes It Different

Feature How
Wire-bound evidence Every claim re-sent through scope-guarded replay engine
Attack knowledge graph Typed graph: hosts, services, findings, credentials, impact
Per-CWE validators Deterministic judgment on measured bytes, not prose
Secret redaction Credentials become $SECRET_n in reports; raw in vault only
Execution resilience 7 error types, exponential backoff, crash-state salvage, resume
LLM-powered dedup Fast-path exact + semantic judge for same root cause
Multi-hop pivoting Auto-detect unreachable subnets, establish tunnel chains
Universal cache Identical prompts served from memory/disk — token savings

Providers

19 LLM providers supported — API key or local subscription:

anthropic · openai · gemini · azure · xai · nvidia_nim · deepseek · mistral · qwen · zai · moonshot · groq · together · openrouter · opencode · nous · ollama · litellm

Multi-model voting: --model anthropic:claude-opus-4-8 --model openai:gpt-5.1 --vote-n 3


Web Console

cd web && npm start     # → http://localhost:3000
  • Attack graph — host → service → finding → credential → impact, with clickable filters
  • Wire evidence — real request/response pairs with wire provenance
  • Re-test — re-run proof through replay engine
  • Chains & todo — attack chains with validation status
  • Transcript viewer — per-agent run split into navigable blocks
  • PDF export — via Typst

Run Output

Every run → runs/ns-<ts>-<target>/:

File Contents
report.html · .pdf · .md Report (PDF via Typst), secrets redacted
findings.json / .md Validated findings for tooling & re-testing
report.sarif SARIF 2.1.0 for CI code-scanning
graph/ Attack chains, todo, Cypher + JSON export
attack-paths.json · .mmd Cross-domain paths (graph + Mermaid)
loot.json Credentials, tokens, hosts, endpoints
pocs/ · evidence/ Runnable PoCs and proof screenshots

Integrations

GitHub / GitLab PR review gate · @neurosploit mention bot · Jira cards per finding · MCP server (neurosploit mcp) · Compliance mapping (PCI-DSS / HIPAA / SOC 2 / GDPR) · Neo4j graph · OpenSearch logs


Safety

For authorized testing only. Agents stay in scope, never run destructive/DoS actions, and require proof of exploitation. You are responsible for having permission for every target.


Joas A Santos & Red Team Leaders — MIT License

Languages
Rust 75.6%
JavaScript 15%
CSS 4.4%
HTML 2.4%
Python 0.8%
Other 1.7%