network-appliance-offensive
Skill555 starsChanged 8 months agoMITView on GitHub
Offensive testing of perimeter network appliances and VPN crypto — IKE/IPsec (aggressive-mode, transform/DH enum, NAT-T), Check Point SIC/OPSEC, safe firmware/patch-level inference for FortiGate/PAN-OS/Cisco ASA/Citrix feeding CVE applicability, NTLM Type-2 target-info decode, handshake-completion TLS-version probing, and an RST-TTL forgery discriminator. The active/offensive counterpart to the static firewall-review skill. Use when a perimeter firewall/VPN/appliance is in scope and you must test it (not just audit a config), without reinventing raw-socket protocol tooling each engagement.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- Kur1sulab/blackboxedited, first seen Aug 12, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- Kur1sulab/blackbox★ 397% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository49 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ai-threat-testingSkill
- api-securitySkill
- attack-path-stitcherSkill
- authenticated-session-acquisitionSkill
- authenticationSkill
- blockchain-securitySkill
- client-sideSkill
- cloud-containersSkill
- cloud-defenseSkill
- coordinationSkill
- cryptographySkill
- cve-poc-generatorSkill
- cve-risk-scoreSkill
- dfirSkill
- essential-toolsSkill
- firewall-reviewSkill
- github-workflowSkill
- hackeroneSkill
- hacktheboxSkill
- infrastructureSkill
- injectionSkill
- mobile-securitySkill
- osintSkill
- patt-fetcherSkill
- pci-secure-softwareSkill
- pentest-engagementSkill
- protect-with-passwordSkill
- reconnaissanceSkill
- regression-sweepSkill
- reverse-engineeringSkill
- risk-prioritiserSkill
- script-generatorSkill
- server-sideSkill
- skill-pruneSkill
- skill-updateSkill
- social-engineeringSkill
- source-code-scanningSkill
- systemSkill
- techstack-backendSkill
- techstack-correlationSkill
- techstack-frontendSkill
- techstack-infraSkill
- techstack-osintSkill
- techstack-securitySkill
- techstack-identificationSkill
- ti-ingestSkill
- transilience-report-styleSkill
- web-app-logicSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 32
Do not score an appliance CVE as confirmed on a version banner alone — banners are backported/spoofable.
- Very specific: line 33
Do not claim TLS 1.0/1.1 support from an openssl s_client non-zero exit — require a completed handshake (tls_handshake_probe.py).
- Very specific: line 34
Do not assert "internal host behind the firewall" from RSTs — a firewall forges RSTs.
- Distinctive: line 35
Do not crack an IKE aggressive-mode PSK hash in-band on the engagement — capturing/flagging the aggressive-mode exposure is the finding.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Network-Appliance Offensive
firewall-review audits a config statically; infrastructure covers generic ports/DNS/SMB. Neither tests a live perimeter appliance or its VPN crypto — so IKE builders, SIC/OPSEC fingerprinting, and TTL discriminators were reinvented from raw sockets each engagement, often shallowly, and CVE applicability was left UNDETERMINED across whole estates. This skill provides the deterministic, tested tools and the precondition-gated methodology. Non-destructive only — every tool observes/decodes/infers; none fires an exploit, and CVE applicability is a precondition check, never a blind "vulnerable."
Tools
| Tool | Does | Anti-footgun |
tools/ike_enum.py | IKEv1 aggressive-mode detection, IKEv1/IKEv2 transform + DH-group enum, NOTIFY / NAT-T decode (wraps ike-scan, raw ISAKMP SA_INIT builder fallback) | Aggressive-mode support (PSK-hash leak) is the finding; enumerate, don't crack in-band |
tools/checkpoint_sic_opsec.py | Fingerprint SIC (18190/1), OPSEC LEA/ELA (18183/4), CA (18192/18210), FW1 (256/264), Gaia Portal; emit a CVE-precondition map incl. CVE-2024-24919 | CVE-2024-24919 is applicable ONLY when the RA/Mobile-Access marker is observed — else undetermined |
tools/appliance_version_infer.py | Safe firmware/patch-level inference for FortiGate / PAN-OS / Cisco ASA / Citrix from headers, login markers, cert CN/serial → CVE applicability | Never asserts applicable on a low-confidence / unknown version — returns undetermined |
tools/tls_handshake_probe.py | Which TLS versions are supported, by completed handshake per pinned protocol | Fixes the openssl s_client exit/SECLEVEL false-positive — an aborted handshake ≠ support |
tools/ntlm_decode.py | Decode an NTLM Type-2 (CHALLENGE) AV_PAIR block → NetBIOS/DNS host, domain, forest, OS build | Info-leak finding from an unauthenticated challenge; no auth attempted |
tools/perimeter_forensics.py | RST-TTL forgery discriminator (real host vs firewall forging a RST) + IKE NOTIFY decode | Never asserts "internal host behind FW" on RSTs alone — a firewall forges RSTs indistinguishably at this layer; returns undetermined without an open-service TTL baseline |
Workflow
- Fingerprint the appliance — from the port set + banners + login markers, run
appliance_version_infer.py(vendor + version guess + confidence) and, for Check Point,checkpoint_sic_opsec.py. A version guess ofundetermined/low-confidence stays undetermined — do not score CVEs against it. - VPN crypto — on UDP 500/4500, run
ike_enum.py: flag IKEv1 aggressive mode (leaks the PSK hash → a finding), enumerate accepted transforms + weak DH groups (1/2/5), and decode NAT-T/NOTIFY. IKEv2-only where IKEv1 RA is absent (a CVE requiring IKEv1 aggressive mode isnot_applicablethere — seeseverity-calibration.mdrule 5). - TLS posture —
tls_handshake_probe.pyper host: report only handshake-completed versions; TLS 1.0/1.1 completion is the weak-protocol finding (not an openssl exit code). - Info leaks — decode any NTLM Type-2 challenge (
ntlm_decode.py) for internal host/domain/OS intel; record it as an information-disclosure finding. - CVE applicability (precondition-gated) — for each surfaced appliance CVE, take the vendor+version from step 1 and the precondition map (checkpoint_sic_opsec / appliance_version_infer
applicability) and markapplicable/undetermined/not_applicable. Enrich the CVE viapython3 tools/nvd-lookup.py. Anundeterminedapplicability is reported as such — never inflated to a confirmed vuln. - Forensics — if a "closed" host appears live behind the firewall, run
perimeter_forensics.py --classify-ttlsbefore asserting anything: distinguish a real host RST from a filter-forged RST (needs an open-service TTL baseline; otherwiseundetermined).
Anti-Patterns
- Do not score an appliance CVE as confirmed on a version banner alone — banners are backported/spoofable; gate on
applicability(severity-calibration.mdrules 4-5). - Do not claim TLS 1.0/1.1 support from an
openssl s_clientnon-zero exit — require a completed handshake (tls_handshake_probe.py). - Do not assert "internal host behind the firewall" from RSTs — a firewall forges RSTs; use the TTL discriminator and accept
undetermined. - Do not crack an IKE aggressive-mode PSK hash in-band on the engagement — capturing/flagging the aggressive-mode exposure is the finding; offline cracking needs explicit authorization.
Reference
- Static counterpart:
firewall-review(config audit). Generic network:infrastructure. - CVE precondition / applicability discipline:
../coordination/reference/severity-calibration.md(rules 4-5).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

