Attack Methodology
Golem follows a structured 10-phase methodology modeled on real-world adversary operations. Deep audits run all 10 phases; Shallow audits stop after phase 6; Autonomous audits follow the methodology you brief.Baseline scan (before the agent starts)
Before Golem begins its attack chain, a deterministic baseline scanner runs against the target and produces its own set of findings:- Security headers — checks for HSTS, CSP, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, and similar headers with specific remediation guidance per missing header
- Common path probe — checks well-known sensitive paths (
.env,/.git/config,/wp-admin/,/actuator/env,/api/swagger, and others) - Nuclei templates — runs in parallel with the agent, capped to the remaining time budget so it cannot overrun the audit window
The 10 phases
Phase 1 — Passive Reconnaissance
Before touching the target, Golem gathers context from public sources. No traffic to the target’s infrastructure.- WHOIS and DNS records
- Certificate Transparency logs (crt.sh)
- Wayback Machine for historical endpoints
- Search engine dorking
- GitHub / GitLab leaked secrets reconnaissance
- Technology fingerprinting from public sources
Phase 2 — Subdomain Enumeration
Golem queries seven passive OSINT sources to build a complete subdomain map, then validates which are alive. See Subdomain Enumeration for the full source list.Phase 3 — Port & Service Scanning
Network-level discovery usingnmap -T2 (low-noise) by default, masscan for wide ranges.
- TCP/UDP port discovery
- Service version detection
- TLS configuration analysis
- Banner grabbing
Phase 4 — Web Fingerprinting
For HTTP/S services, identify the stack:whatwebandhttpxfor application fingerprintingwafw00ffor WAF detection- CMS / framework / library version identification
- Endpoint discovery via crawling and content discovery (
feroxbuster,ffuf)
Phase 5 — Vulnerability Scanning
Active probing for known vulnerability classes:nucleiwith curated template setsdalfoxandxsstrikefor XSS surfacewfuzzandffuffor parameter discovery and injection points- Custom probes for SSTI, XXE, SSRF, deserialization, CORS misconfiguration
- JWT analysis with
jwt_tool
Phase 6 — Exploitation
Confirm vulnerabilities by exploiting them. The agent captures evidence as proof, but in Shallow mode stops at PoC level.sqlmapfor SQL injection (Deep mode:--level 5 --risk 3)commixfor command injectiontplmapfor template injectionXXEinjectorfor XXEssrfmapfor SSRF- Custom exploitation chains for chained findings
Phase 7 — Authentication Attacks
Test the auth surface:- Credential stuffing against captured username lists
hydrafor service brute force (rate-limited)- JWT manipulation, signature stripping, algorithm confusion
- OAuth flow analysis (PKCE downgrade, redirect_uri confusion, scope abuse)
- Session fixation, predictable session IDs
- Password reset flow analysis
Phase 8 — Post-Exploitation
After initial compromise, escalate and explore:linpeasandpspyfor Linux privilege escalation- Kernel exploit identification
impacketsuite for Windows / AD post-exbloodhoundfor AD attack path analysis- Credential harvesting from memory and disk
- Service account discovery
Phase 9 — Lateral Movement
Pivot from initial foothold to additional systems:crackmapexecfor SMB / WinRM lateral movementevil-winrmfor interactive shells- Token impersonation and pass-the-hash
- Pivot through internal networks via SSH or
ligolo-ng
Phase 10 — Persistence & Exfiltration Testing
Demonstrate full impact:- Persistence mechanism testing (cron, systemd, scheduled tasks)
- DNS tunneling (
dnscat2,iodine) for exfil path validation - Data exfiltration over allowed protocols
- Cover-track / log-cleaning behavior assessment
Phase ordering and pivots
The methodology is not strictly linear. Golem continuously re-plans:- A finding in phase 5 may prompt deeper scanning in phase 3
- A credential captured in phase 7 may unlock new targets requiring phase 2 enumeration
- A pivot in phase 9 may reveal new web surface, triggering phases 4–6 against internal hosts
When the methodology stops
Golem stops a phase when:- The phase’s objectives are exhausted (no new findings produced in the last iteration)
- The audit’s time budget is approaching expiry (agent transitions to report writing)
- The phase produced findings that warrant deeper exploration in a later phase
Modes recap
In Autonomous mode, the brief defines which phases run and in what order.
Next steps
The Golem Agent
How the agent plans and executes each phase.
Toolkit
The full tool inventory in the darkops sandbox.