Commit Graph
418 Commits
Author SHA1 Message Date
CyberSecurityUP d2e464ff4f fix: CLI/web parity for auto-config opt-outs; AD facts from dual graph
- add --no-revalidate / --no-evasion / --no-sandbox for CLI parity
- web resume preserves sandbox/reactive/revalidate/evasion and forwards
  the NEUROSPLOIT_NO_* opt-outs
- autoconfig no longer overrides explicitly-set env (including 0)
- ad_recipe facts_from_run reads dual-graph.json as well as reactive-state
2026-12-02 15:04:11 -03:00
Joas A Santos 3b43302bf0 Merge pull request #96 from JoasASantos/fix/reactive-quiescent-and-off-switch
fix: reactive quiesced with 0 findings; add manual off switch
2026-12-02 14:44:43 -03:00
CyberSecurityUP 2ed7ec6a51 fix: reactive seeds target from prose recon; add --no-reactive off switch
- add_recon always seeds the target asset and extracts in-scope URLs /
  subdomains from free text, so a prose recon answer no longer leaves the
  graph empty (which made the planner quiesce with 0 findings)
- --no-reactive / NEUROSPLOIT_NO_REACTIVE=1 and unchecking the web toggle
  now actually disable reactive and fall back to the phased pipeline
2026-12-02 14:44:32 -03:00
Joas A Santos 2d8ffe70d0 Merge pull request #95 from JoasASantos/feat/web-auto-defaults
feat(web): surface auto-config defaults in the wizard
2026-12-02 13:16:11 -03:00
CyberSecurityUP 60f6b40fc9 feat(web): surface auto-config defaults in the wizard
- PoC re-validation and OPSEC evasion default on; sandbox defaults to Auto
  (Kali if available)
- unchecking a default or picking "This host" sends the matching
  NEUROSPLOIT_NO_* opt-out so the front-end choice wins
- wire --evasion into run/session args; drop the duplicate More options toggle
2026-12-02 13:15:59 -03:00
Joas A Santos fca1c2714a Merge pull request #94 from JoasASantos/feat/auto-config-live-models
feat: auto-config safe defaults, live model catalogs, CVE/AD in flow
2026-12-02 13:09:24 -03:00
CyberSecurityUP bf4c31dacb feat: auto-config safe defaults, live model catalogs, CVE/AD in flow
- autoconfig enables reactive (Black), models, tools, MCP, economy, PoC
  re-validation, OPSEC evasion and an already-present Kali sandbox, each
  with a NEUROSPLOIT_NO_* opt-out; authorization/safety stays explicit
- CVE lookup folded into pipeline/reactive recon (no separate cve command)
- AD/privesc recipes injected into agent prompts from run facts
- web: live model catalog for every provider plus a custom model id, and
  OpenRouter model ids fixed
2026-12-02 13:08:55 -03:00
Joas A Santos b4c0d0e371 Merge pull request #93 from JoasASantos/feat/cve-lookup-privesc-evidence
feat: fingerprint→CVE lookup and host/AD privilege receipts
2026-12-02 12:03:13 -03:00
CyberSecurityUP 2c0ac06735 feat: fingerprint→CVE lookup and host/AD privilege receipts
- cve_lookup: extract product/version fingerprints from headers/banners/nmap,
  look up known CVEs via an embedded high-signal index and optional NVD 2.0;
  CLI
- reactive worker: fingerprints in tool output add  facts to the graph
- ad_evidence: classify host privesc receipts (sudo NOPASSWD, SYSTEM,
  SeImpersonate, kernel CVE, SUID, AlwaysInstallElevated, unquoted service)
- prompt doctrine: look up CVEs the moment a concrete version is fingerprinted
2026-12-02 12:03:04 -03:00
CyberSecurityUP 983b00a1dc chore(release): v4.6.0 — MCP & C2 operator tools, installers, red-team engine v4.6.0 2026-12-01 23:58:34 -03:00
Joas A Santos cc42f469a2 Merge pull request #92 from JoasASantos/docs/console-screenshots
docs: web console screenshots in README
2026-12-01 19:17:15 -03:00
Joas A SantosandClaude Opus 5.5 2a3977b1bf docs: web console screenshots (dark and light) in README
Captured from an empty console instance (no runs, projects or keys),
9 pages in both themes under docs/screenshots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 19:16:54 -03:00
Joas A Santos f31677d1e3 Merge pull request #91 from JoasASantos/feat/setup-installers
feat: one-step installers + MCP & C2 operator tools
2026-12-01 18:58:48 -03:00
CyberSecurityUP b02f10569a feat(web): MCP & C2 operator tools + built-in profiles
- new MCP & C2 page under Operator tools: connect a C2 (profile / configured
  MCP server / HTTP URL) in a modal, list built-in C2 profiles (sliver/havoc/
  mythic/adaptix/cobaltstrike), test MCP servers with a real initialize+tools/list,
  add/remove custom MCP servers, and task reused sessions
- backend /api/operator/* routes proxying c2x and probing stdio/HTTP MCP
- CLI: neurosploit tools mcp profiles (+ json resolves C2 profiles)
- simplified captions, centered layout, sane empty states, single input focus ring
2026-12-01 18:58:31 -03:00
CyberSecurityUP 0b69e54a6b chore(setup): one-step installers (CLI / web / all) and install docs 2026-12-01 18:58:31 -03:00
Joas A Santos 84634ceb54 Merge pull request #90 from JoasASantos/feat/ui-redesign-v5
v5 console redesign: test-type-aware reports, graph and continuous testing
2026-12-01 16:29:32 -03:00
Joas A SantosandClaude Opus 5.5 aa89175a82 chore: use neutral example names in comments and tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 16:28:54 -03:00
Joas A SantosandClaude Opus 5.5 a1573d0e9c feat(web,harness): v5 console redesign, test-type-aware reports and graph
Web console
- New design system (dark/light), grouped sidebar, command palette, mobile app bar.
- Home quick-start with type detection, setup checklist, resumable wizard drafts.
- 4-step wizard with per-test-type fields, asset picker, depth presets and
  allow-listed "More options" CLI flags; agent step with surface/OWASP/category
  facets and per-type recommendations.
- Finding sheet: structured narrative, step-by-step PoC, white-box code viewer
  (real source, syntax colours, evidence-anchored vulnerable lines).
- Attack graph: type-aware lanes, compact nodes, per-node inspector, path focus,
  asset anchoring, decluttered overview.
- Chains, dependencies, traces, deliverables, projects portfolio, assets,
  toolbox, settings (single AI key, subscriptions check, Neo4j), scope & safety
  split (global vs per test) with engagement-authorization letter.
- Continuous testing for GitHub repos: PR/commit triage by security relevance,
  test only changes above a threshold.

Server
- Routes: subscriptions check, source excerpts, authorization letter,
  continuous testing, run flag allow-list.

Harness
- Test kind classifier (web/code/infra/mobile/ai/cloud) stamped on findings;
  kind-aware report layout and repro steps (no curl for AD/code).
- Report redesign; rejected findings no longer shown as confirmed;
  attribution sentence removed from findings.
- Evidence integrity accepts declared pivots; credential-exposure CWE floor.
- Graph memory anchors findings to the real host (IP + hostname, pivots).
- NEUROSPLOIT_AUTHORIZATION env for every run mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 16:27:55 -03:00
CyberSecurityUP 2d93fff91a docs: update README with phishing, economy, worker tools, AD chain, C2 reuse, collection/exfil/evasion and Bedrock 2026-12-01 14:41:22 -03:00
CyberSecurityUP e820cc6ebb feat(web): console UI redesign (v5) 2026-12-01 14:38:58 -03:00
Joas A Santos 4510617dd0 Merge pull request #89 from JoasASantos/feat/collection-exfil-evasion
feat(ops): collection, exfiltration and OPSEC/evasion
2026-12-01 14:23:50 -03:00
CyberSecurityUP 8aca22eeed feat(ops): collection, exfiltration and OPSEC/evasion
- collect: per-run collection manifest (size + SHA-256 + sensitivity), file
  staging/verification, and context checklists
- exfil: chunked HTTPS upload to an operator endpoint, size-capped and
  hash-verified, gated by the operator checkpoint (exfil id)
- evasion: OPSEC profile + fingerprint self-check; --evasion drops the
  X-NeuroSploit-Scan header to reduce attribution
- CLI: neurosploit collect|exfil|evasion
2026-12-01 14:23:28 -03:00
CyberSecurityUP 324d3d0507 feat(c2): HTTP MCP transport + C2 auto-tasking (any MCP C2)
- mcp_client: Streamable-HTTP MCP client (initialize/tools.list/tools.call,
  JSON or SSE, mcp-session-id) + a transport-agnostic McpTransport enum
- c2_reuse: sync via stdio OR http; auto-task a reused session with the C2's
  exec tool (per-C2 preferred tool, schema-aware arg mapping via inputSchema),
  gated by the operator checkpoint and recorded in activity
- c2x: sync --http/--header, task (execute through the best existing session);
  works for Sliver/Havoc/Mythic/Adaptix and any custom stdio/HTTP MCP server
- verified end-to-end with mock stdio and mock HTTP MCP servers
2026-12-01 14:15:53 -03:00
CyberSecurityUP bf44396522 feat(c2): generic MCP C2 session reuse (any stdio MCP, not just ours)
- mcp_client: minimal stdio MCP client (initialize/tools.list/tools.call),
  newline JSON-RPC, ${VAR:-default} expansion
- c2_reuse: import/normalize sessions from any C2 (Sliver/Havoc/Mythic/Adaptix/CS
  export shapes), pick the best existing session for a target, persist 0600,
  inject a reuse prompt block into chain/worker prompts
- c2x sync --profile <sliver|havoc|mythic|adaptix> or --command <stdio-mcp>:
  discovers the session-listing tool (sliver_sessions/havoc_demons/mythic_callbacks/
  get_live_beacons, or pattern), calls it, imports the result — provider-agnostic
- CLI: neurosploit c2x {sync,import,list,reuse,context}
2026-12-01 14:08:36 -03:00
CyberSecurityUP bb9fcbbb14 feat(pivot): health-aware route selection + auto-reroute
- select_route: longest-prefix subnet match, alive-only, SOCKS preferred at equal prefix
- find_pivot_for picks the most specific pivot subnet (/24 over /16)
- ensure_tunnel reuses the best alive route (port-proxy requires an exact forward)
- health_check_all probes each tunnel's local SOCKS/forward port and marks dead
  tunnels so the next chain round rebuilds instead of failing through a stale proxy
- route_for(target_ip, port) returns the per-host proxy/env; pipeline sweeps
  tunnel health at the start of each chain round
2026-12-01 13:58:51 -03:00
CyberSecurityUP 3a1612effd feat(checkpoint): operator gates for high-impact actions
- classify DCSync/ADCS abuse/delegation abuse/credential dumping/persistence/
  lateral exec/phishing launch/destructive commands
- enforcement off|record|enforce (default off); enforce blocks unless the action
  id is allow-listed (NEUROSPLOIT_CHECKPOINT_ALLOW / ALLOW_HIGH)
- gate in the agentic tool loop: blocked actions return an observation and are
  recorded in activity/audit; --checkpoints flag + checkpoint classify CLI
- no behavior change when off
2026-12-01 13:55:12 -03:00
CyberSecurityUP ffa6f8cae5 feat(ad): deterministic AD receipts + fact-gated AD chain planning
- ad_evidence: classify netexec/impacket/certipy output into typed receipts
  (tgt, tgs, asrep, ldapbind, smbadmin, dcsync, adcs, delegation, cred) ->
  facts ad:<kind>:<principal>@<host>; conservative by tool family + marker
- ad_recipe: dependency-gated AD chain (smb-auth -> roast/enum -> abuse* ->
  dcsync* -> trust*), each step unlocks only when its prerequisite facts exist;
  high_impact flag for the operator-checkpoint layer
- reactive worker (worker-tools path) classifies each tool run and feeds AD
  facts into the exploration graph
- CLI: neurosploit adchain {classify,plan}
2026-12-01 13:45:49 -03:00
CyberSecurityUP dfe6f7bab6 feat: step-level worker activity + cost-governed worker tool loop
- activity store: append-only per-step log under <run>/activity with cross-worker
  search/list/get and a prompt block (Artex-style process-level exchange)
- wire reactive workers to record tool steps and model observations by intent
- --worker-tools: bounded agentic tool loop per reactive worker (opt-in, off by
  default) with a shared ToolBudget (calls/rounds/concurrency), priority-weighted
  rounds, and cross-worker dedupe that reuses identical command output
- CLI  + web /api/runs/:id/{activity,todolist} and a new
  Workers tab (planner todolist + worker tape)
- no behavior change when the flag is off
2026-12-01 11:17:57 -03:00
CyberSecurityUP b0378e8df5 feat: credential economy, phishing run wiring and AWS Bedrock provider
- economy module: redacted vault for phishing captures + secrets harvested from
  JS/source/config; CLI (list/status/harvest/secret/export/reuse), creds.yaml
  export, loot/attack-path folding and redacted prompt reuse
- wire --phish/--phish-authorization/--phish-capture/--economy into the run;
  fail-closed bootstrap, doctrine + live artifact context injection
- phish captures auto-record into the economy (password + session cookies)
- add AWS Bedrock provider: native SigV4-signed Converse API (no OpenAI shim),
  AWS credential/region env chain, bedrock:<model-id>
- bump version to 4.5.0
v4.5.0
2026-11-30 22:41:44 -03:00
CyberSecurityUP f0c14141fb feat: add Evilginx phishing module with phishlet generation, web UI and audit gating
- harness phish module: policy/allow-lists, phishlet templates, Evilginx
  lifecycle, campaign/lure records and capture ingestion (0600 + audit.jsonl)
- disabled by default; enable requires an authorization reference; target and
  lure domains must be allow-listed; capture requires explicit opt-in; secrets
  redacted in API responses
- CLI: neurosploit phish status/enable/install/setup/start/stop/phishlet/
  campaign/capture/events
- web console: Phishing view + /api/phish routes; toolbox + .env entries
2026-11-30 17:01:02 -03:00
Joas A Santos 2dfd0f7797 chore: remove MERGED-ALL-CADP run artifacts (#88)
Lab run output (hashes, loot, report) should not live in the repo.
2026-11-30 11:00:22 -03:00
Joas A Santos 88af455c2a Merge pull request #87 from JoasASantos/feat/chisel-pivot-complete
feat: complete chisel auto-pivot + browser handoff v4.4.3
v4.4.3
2026-11-29 16:17:57 -03:00
CyberSecurityUP e95b040826 feat: complete chisel auto-pivot module with PivotManager, proxychains, OS detection
Chisel auto-pivot (chisel_pivot.rs):
- Full PivotManager with async tunnel lifecycle (allocate/active/failed/teardown)
- OS detection from shell output (Linux/Windows/Unknown)
- Upload method selection (curl/wget/certutil/powershell/scp/smb)
- Proxychains config generation and command wrapping
- Nmap proxy args, chisel client/server command builders
- Internal range extraction from ifconfig/ipconfig output
- auto_pivot probe with runner closure pattern
- 32 tests (unit + async integration)

Browser handoff (browser_handoff.rs) — previously committed, unchanged:
- 27 tests passing

Version bump to v4.4.3
2026-11-29 16:17:34 -03:00
Joas A Santos 67c4c60346 Merge pull request #86 from JoasASantos/feat/browser-handoff-chisel-pivot
feat: browser handoff + chisel auto-pivot
2026-11-29 16:14:27 -03:00
CyberSecurityUP c66d49f624 feat: bidirectional browser handoff and chisel auto-pivot modules
Browser handoff (browser_handoff.rs):
- BrowserOwner state machine (Agent/Operator/Idle)
- HandoffManager with session lifecycle, takeover/handback
- CDP command builders (navigate, cookies, screenshot)
- State capture/restore JS scripts (localStorage, forms, scroll)
- Agent prompt integration (pause/resume messages)
- Web UI SSE events (browser:takeover, browser:handback)
- 27 tests

Chisel auto-pivot (chisel_pivot.rs):
- PivotTunnel with full lifecycle (Pending/Deploying/Active/Failed/Closed)
- ChiselPivotManager with tunnel creation, routing, subnet mapping
- Shell command generators (server, client, upload for Linux/Windows)
- Proxychains config generation and command wrapping
- Agent prompt context injection for active tunnels/routes
- Web UI SSE events (pivot:established, pivot:closed)
- 26 tests
2026-11-29 16:14:01 -03:00
Joas A Santos b91f2f4328 Merge pull request #85 from JoasASantos/feat/reactive-probes-c2-cvss4
feat: reactive probe integration, Havoc/Mythic C2, CVSS 4.0
2026-11-29 14:25:29 -03:00
CyberSecurityUP aae74e7597 feat: reactive probe integration, Havoc/Mythic C2 profiles, CVSS 4.0 scoring
- reactive_bridge.rs: wire DNS, TLS/SSL, cloud, GraphQL deterministic probes
  into reactive engine — probes run after recon, before LLM agents, loot feeds
  dual graph and agent prompt context via shell runner closure
- mcp_profiles.rs: Havoc C2 profile (15 tools: demons, listeners, shell, BOF,
  .NET assembly, token manipulation, SMB pivot, credential store) and Mythic C2
  profile (16 tools: callbacks, tasks, payloads, credentials, SOCKS, port
  forwarding, lateral movement, persistence, assembly, BOF, keylogger)
- reactive_bridge.rs: profile matching for havoc/mythic keywords
- setup.sh: optional install for Havoc C2 (NEUROSPLOIT_HAVOC_C2=1) and Mythic
  C2 (NEUROSPLOIT_MYTHIC_C2=1)
- cvss.rs: CVSS 4.0 support — Cvss4 struct, parse/score/severity, detect_version,
  parse_any unified parser, formula-based scoring with exploit maturity modifier,
  22 new tests (961 total passing)
2026-11-29 14:25:06 -03:00
Joas A Santos 86b26e0bb4 Merge pull request #84 from JoasASantos/feat/deterministic-probes-dns-ssl-cloud-graphql
feat: DNS, TLS/SSL, cloud, and GraphQL deterministic probes + cloud doctrines
2026-11-29 14:10:57 -03:00
CyberSecurityUP b93bedb225 feat: deterministic DNS, TLS/SSL, cloud, and GraphQL security probes + cloud doctrines
- dns_probe.rs (370 lines, 27 tests): zone transfer (AXFR), SPF/DKIM/DMARC
  analysis, DNSSEC check, NS/MX/SOA/TXT enumeration, reverse DNS, subdomain
  discovery via common DKIM selectors
- ssl_probe.rs (530 lines, 28 tests): certificate chain parsing, expiry check,
  weak protocol detection (SSLv3/TLS1.0/TLS1.1), HSTS validation, self-signed
  detection, weak key/SHA-1 signature, hostname mismatch, wildcard matching
- cloud_probe.rs (340 lines, 29 tests): IMDS v1/v2 reachability, Azure/GCP
  metadata endpoints, S3 bucket ACL, Azure blob anonymous access, GCS bucket
  enumeration, cloud target extraction from recon text
- graphql_probe.rs (380 lines, 16 tests): introspection detection, field
  suggestion abuse, batch query DoS test, debug mode detection, sensitive field
  enumeration, mutation listing
- cloud_infrastructure.md: 10-method cloud pentesting doctrine (CWE-16)
- container_kubernetes.md: 10-method K8s/container security doctrine (CWE-250)

940 tests passing (was 840). All probes follow runner closure pattern — no LLM,
deterministic fact extraction only.
2026-11-29 14:10:32 -03:00
Joas A Santos 6804d93aee Merge pull request #83 from JoasASantos/feat/c2-mcp-sliver-adaptix
feat: Sliver C2 + AdaptixC2 MCP integration with C2 operations doctrine
2026-11-29 12:49:26 -03:00
CyberSecurityUP e91fdb383b feat: Sliver C2 + AdaptixC2 MCP profiles, C2 operations doctrine, setup integration
- mcp_profiles.rs: SliverC2 profile (sessions, beacons, listeners, pivoting, creds, hosts)
  and AdaptixC2 profile (80+ tools: BOFs, execute-assembly, Kerberos, SOCKS, port-forwarding,
  UAC bypass, privesc checks, credential dumping)
- reactive_bridge.rs: profile matching for sliver/adaptix/c2 keywords
- c2_operations.md: 12-method doctrine for C2 post-exploitation (listener setup, session
  management, enumeration, lateral movement) with authorization-gated boundaries
- setup.sh: optional install for sec-sliver-c2-mcp (NEUROSPLOIT_SLIVER_C2=1) and
  AdaptixC2_mcp (NEUROSPLOIT_ADAPTIX_C2=1) with dependency management
2026-11-29 12:48:59 -03:00
Joas A Santos 4d802e9d68 Merge pull request #82 from JoasASantos/feat/goals-decomposition-tracker
feat: goal decomposition and tracking for attack chain
2026-11-29 12:37:28 -03:00
CyberSecurityUP 3285dd5a46 feat: deterministic goal decomposition and tracking for attack chain
- goals.rs: GoalTracker with per-profile standard goal sets (infra/web/mobile/cloud),
  operator instruction parsing, loot-based auto-marking, and structured planner context
- 27 tests covering goal lifecycle, sub-goal completion propagation, profile generation,
  instruction parsing, loot pattern matching, and JSON serialization
2026-11-29 12:37:04 -03:00
Joas A Santos ba123c7edf Merge pull request #81 from JoasASantos/feat/nday-restore-deep-sast-zeroday
feat: nday auto-exploit verification + deep SAST 0day analysis
2026-11-28 20:40:18 -03:00
CyberSecurityUP 7064338872 feat: nday auto-exploit verification, deep SAST 0day analysis, binary/source doctrine
- nday_restore.rs: 3-phase CVE verification (nuclei templates, exploit-db PoC classification, GitHub PoC search), safe types auto-verified, destructive types never run
- deep_sast.rs: 60+ regex patterns across 15 languages for 0day-class vulnerabilities (function pointers, callbacks, type confusion, integer overflow, UAF, double-free, format strings, deserialization, TOCTOU, vtable corruption, jump tables, symbol hijack, syscalls, race conditions)
- Pipeline wiring: nday_restore in infra pre-agent phase after svc_probe, deep_sast in whitebox pre-agent phase injected as FACTS to LLM doctrine
- 3 doctrine files: nday_exploit_verification.md (10 methods), zeroday_code_analysis.md (12 methods), binary_zeroday_analysis.md (10 methods)
- 814 tests passing (+45 new from nday_restore + deep_sast)
2026-11-28 20:39:53 -03:00
Joas A Santos 447d6b63d2 Merge pull request #80 from JoasASantos/feat/jwt-probe-doctrine-knowledge-base
feat: JWT probe, 35-file attack knowledge base, MITRE ATT&CK doctrine
2026-11-28 20:19:55 -03:00
CyberSecurityUP 4298d339b5 feat: JWT deterministic probe, 35-file attack knowledge base, full MITRE-ATT&CK doctrine coverage
- jwt_probe.rs: deterministic JWT attack module (alg:none, kid path-traversal,
  weak-HMAC cracking, RS256→HS256 key-confusion) with live curl verification,
  wired into attack_chain pipeline alongside credtest/privesc/svc_probe

- 25 vuln doctrine files covering web attack classes: SQLi, NoSQLi, XSS, SSRF,
  SSTI, XXE, CSRF, CORS, IDOR, OAuth, JWT, deserialization, race conditions,
  path traversal, prototype pollution, GraphQL, business logic, HTTP smuggling,
  file upload, command injection, weak crypto, cache poisoning, WebSocket,
  SAML, XS-Leaks

- 10 infra doctrine files covering full-host/AD attack lifecycle: privilege
  escalation (89 lines, 30+ CVEs per OS, GTFOBins/LOLBAS as living refs),
  persistence (8 Linux + 20 Windows methods), credential access, defense
  evasion, discovery/lateral movement with pivoting, initial access, binary
  exploitation, code/process injection (14 techniques), CTF methodology,
  Active Directory (45 techniques across 8 categories including ADCS ESC1-15,
  Kerberos ticket abuse, delegation, coercion, trust abuse)

- All doctrine files are generic methodology (not hardcoded answers), loaded
  by knowledge.rs regex parser and agents.rs folder-keyed loader

Sources: ired.team, HackTricks, PortSwigger labs, Juice Shop solutions,
HTB writeups, Awesome-Red-Team-Operations, /opt/Labs/ course material
2026-11-28 20:19:27 -03:00
Joas A Santos 6982ea4b4c Merge pull request #79 from JoasASantos/feat/credential-privesc-svcprobe-web-ui
Deterministic credential/privesc chaining, service->CVE lookup, web console modes
2026-11-28 17:17:04 -03:00
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
Joas A Santos 98c2385291 Merge pull request #78 from JoasASantos/feat/model-plugin-kernel-ssh-agentic-tools
Pluggable LLM providers, kernel/binary recon, iterative tool-calling, mobile pipeline
2026-11-28 14:19:25 -03:00