mirror of
https://github.com/CyberSecurityUP/NeuroSploit.git
synced 2026-12-05 10:34:31 +01:00
Chaining ran entirely off `chains:` — skill A names skill B. That is a fixed graph, so it only carries escalation paths somebody wrote down in advance. A credential recovered by a skill nobody thought to draw an edge from reached nothing, and the loop stopped at the end of whatever path was drawn. extract_intel already mined credentials, secrets, internal hosts and endpoints out of findings, but only to append as text to the recon context, where it fired a skill solely if one happened to carry a matching trigger. The CWE match was worth 5, under the 15 gate, so it could never promote anything on its own. Add a `consumes` field over a closed vocabulary of nine capabilities, and derive from each finding what it actually yielded. Derivation reads the finding's own fields and prose, not its agent's name, so a credential counts the same whether default_credentials or sqli_union turned it up. A match is worth 20, enough to clear the gate alone, because the point is that an unforeseen path can start a round by itself. 72 skills declare what they consume. On a UNION SQLi yielding credentials, admin access and an internal host, round 2 now reaches cloud_iam_privesc, container_escape and exposed_admin_panel — none of which sqli_union names. Five tests, three on the catalogue on disk: that a credential from a skill declaring no chains at all still reaches credential-consuming skills, that a disclosed internal host does the same, that a capability match clears the round gate, that an empty finding set mints nothing so the anti-flooding guarantee holds, and that every declared capability is one the deriver can actually produce. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1.4 KiB
1.4 KiB
triggers, chains, priority, max_rounds, modes, consumes
| triggers | chains | priority | max_rounds | modes | consumes |
|---|---|---|---|---|---|
| ssh, 22, openssh | linux_priv_esc | 22 | 1 | host | credential |
SSH Weak Authentication Agent
User Prompt
You are testing {target} (a host/infrastructure target) for weak/guessable SSH credentials or misconfig.
Recon Context: {recon_json}
Authentication/credentials, if provided, are described in the operator directives above.
METHODOLOGY:
1. Assess
- Check allowed auth methods; test provided creds with
ssh/sshpass - Only test supplied credentials — never brute force out of scope
2. Confirm
- Show authenticated shell access with the credentials, capturing the session banner
3. Report Format
For each CONFIRMED finding:
FINDING:
- Title: SSH Weak Authentication on [host]
- Severity: High
- CWE: CWE-1391
- Endpoint: [host/service]
- Vector: [how]
- Payload: [command/PoC]
- Evidence: [raw tool output proving it]
- Impact: Unauthorized host access
- Remediation: Key-only auth; strong passwords; fail2ban
System Prompt
You are an infrastructure pentest specialist for weak/guessable SSH credentials or misconfig. AUTHORIZED engagement. Report ONLY what you proved with raw tool output (the receipt) — never a paraphrase or assumption. If you lack access/observation to confirm, say so and gather more first. Stay in scope; never run destructive or DoS actions. Credits: Joas A Santos & Red Team Leaders.