Skip to main content

Cyberstrike is now open source! AI-powered penetration testing for security professionals. Star on GitHub

Security Hooks

Hooks are domain-specific pentest program suites. Each hook is a single tool that bundles dozens of programs for a target domain — Linux, Windows, macOS, LLM, containers, Kubernetes, infrastructure-as-code, and web applications.

All hooks share the same interface:

{
"tool": "linux_hook",
"input": {
"program": "shadow_dump",
"args": ""
}
}

The agent selects the right hook and program based on the target environment. You can also call them directly from the TUI or via tool calls.

Hook Families

HookProgramsDomain
linux_hook122Linux post-exploitation
windows_hook156Windows / Active Directory
mac_hook48macOS post-exploitation
llm_hook25LLM / AI application security
container_hook22Docker / container security
k8s_hook22Kubernetes security
iac_hook17Infrastructure as Code

linux_hook

122 programs

Linux post-exploitation toolkit covering the full kill chain from initial recon to data exfiltration. Supports configurable stealth modes and execution methods.

ModuleWhat it does
reconSystem info, processes, network, users, services, packages, containers, security frameworks, interesting files, mounts, kernel modules
credentialShadow dump, SSH keys, bash history secrets, GNOME Keyring, KWallet, browser creds, env secrets, proc memory harvest, GPG keys, cloud creds, Docker config, git creds, Wi-Fi (NetworkManager), Kerberos keytabs, DB creds, VNC passwords, mail spool, netrc, LDAP creds, credential file scan
privescsudo misconfig, SUID/SGID binaries, capability abuse, cron escalation, writable paths, kernel exploits
persistenceCron jobs, systemd services, bashrc/profile, SSH authorized keys, udev rules, at jobs
lateralSSH pivot, credential reuse, internal scanning, proxy chains
evasionLog clearing, history clearing, timestomp, process hiding, file hiding
exfilData staging, artifact enumeration, cleanup
networkInterface enum, ARP, routing, DNS, firewall rules, listening services

Example

{
"tool": "linux_hook",
"input": {
"program": "ssh_key_harvest",
"args": ""
}
}

windows_hook

156 programs

Windows and Active Directory post-exploitation — the largest hook, with deep AD coverage including Kerberos attacks, DPAPI, certificate abuse, and lateral movement.

ModuleWhat it does
reconSystem info, processes, network, users, shares, services, installed software, GPO, DNS
credentialLSASS dump, SAM dump, DPAPI extract, credential prompt, NTDS dump, cached creds, MSSQL creds, Wi-Fi dump, vault dump, browser harvest, registry secrets, WDigest, NanoDump, Windows Hello, BitLocker keys, certificate steal, KeePass dump, LSA secrets
ad-enumAD enumeration, BloodHound collect, LAPS dump, GPO enum, AD DNS enum, ADWS recon, LAPSv2 decrypt, primary group abuse
kerberosKerberoasting, AS-REP roasting, golden ticket, silver ticket, diamond ticket, delegation abuse, constrained/unconstrained delegation
ad-exploitAD CS abuse, shadow credentials, RBCD, DCSync, DCShadow, ADIDNS poisoning
ad-cert-trustCertificate template abuse, CA misconfig, ESC1–ESC8 vectors
privescToken impersonation, service misconfig, unquoted paths, DLL hijack, AlwaysInstallElevated, potato attacks
persistenceRegistry run keys, scheduled tasks, WMI event subscriptions, DLL search order, COM hijack, services
lateralPSExec, WMI exec, DCOM exec, WinRM, SMB exec, RDP hijack, pass-the-hash, pass-the-ticket
evasionAMSI bypass, ETW patching, log clearing, Defender exclusions, process hollowing
injectionProcess injection, DLL injection, shellcode injection, APC injection
networkInterface enum, routing, DNS, firewall, port scanning, SMB shares
exfilData staging, artifact enumeration, cleanup
hybridCross-platform techniques, PowerShell/cmd interop

Example

{
"tool": "windows_hook",
"input": {
"program": "kerberoast",
"args": "--domain corp.local"
}
}

mac_hook

48 programs

macOS post-exploitation covering Apple-specific mechanisms — Keychain, TCC, Launch Agents/Daemons, XProtect, DTrace, and AirDrop.

ModuleProgramsWhat it does
recon7System info (sw_vers, kernel, CPU), processes, network, users, installed apps (Homebrew/pip/npm), security framework, launchd services
credential8Keychain dump, Chrome creds, SSH keys, Safari creds, cloud creds, GPG keys, iCloud tokens, mail creds
privesc6TCC bypass, dylib hijack, launchd plist abuse, sudo misconfig, authorization DB, pkg abuse
persistence6LaunchAgent, LaunchDaemon, login items, cron, bashrc, periodic scripts
evasion6XProtect check, Gatekeeper bypass, log clearing, history clearing, timestomp, Endpoint Security bypass
monitoring6Keylogging, DTrace exec/net/file monitoring, clipboard monitor, screen capture
lateral4SSH pivot, AirDrop abuse, Bonjour enum, Apple Remote Desktop
exfil~5Data staging, artifact enumeration, cleanup

Example

{
"tool": "mac_hook",
"input": {
"program": "keychain_dump",
"args": ""
}
}

llm_hook

25 programs

LLM and AI application security testing — aligned with the OWASP LLM Top 10.

CategoryProgramsCoverage
Recon3Endpoint discovery, model fingerprinting, JS bundle analysis
Injection3Direct prompt injection (LLM01), system prompt extraction (LLM07), output handling XSS/SQLi/cmd (LLM05)
Abuse6Excessive agency (LLM06), terminal roleplay exec, agent hijack (multi-agent), SSRF via tools, data exfiltration (LLM02), rate limiting (LLM10)
Evasion312 encoding/bypass techniques, guardrail fingerprinting, token exhaustion (LLM10)
Multi-turn24 crescendo attack chains, indirect injection via retrieved content
Jailbreak1Jailbreak test suite
Safety2Toxicity and bias testing (gender, race, age, religion)
Extraction5Training data extraction, hallucination testing, cross-session leakage (LLM02), PII probing, RBAC bypass (LLM06)

Example

{
"tool": "llm_hook",
"input": {
"program": "prompt_inject",
"args": "--url https://target.com/api/chat"
}
}

container_hook

22 programs

Docker and container security — enumeration, escape detection, image scanning, and runtime auditing.

ProgramDescription
docker_enumEnumerate Docker daemon: containers, images, volumes, networks, registries, daemon config
docker_escapeDetect and exploit escape vectors: mounted socket, privileged mode, SYS_ADMIN/SYS_PTRACE, cgroup release_agent, host PID/network namespace
image_scanScan images for vulnerabilities, embedded secrets, and misconfigurations
registry_dumpEnumerate registries — anonymous access, repositories, tags, manifest/config credential extraction
runtime_auditAudit runtime security: AppArmor/SELinux, seccomp, capabilities, read-only rootfs, resource limits, user namespaces
compose_secretsExtract secrets from docker-compose files and environment
…16 more programs covering network policies, volume inspection, build history analysis, and container breakout techniques

k8s_hook

22 programs

Kubernetes cluster security — from reconnaissance to privilege escalation and persistence.

ProgramDescription
k8s_enumEnumerate namespaces, pods, services, secrets (metadata), RBAC roles/bindings, ingress, service accounts
k8s_secretsExtract and base64-decode Secrets from accessible namespaces, filtered by type
k8s_escapeDetect container escape vectors: privileged mode, hostPID/hostNetwork, writable hostPath, mounted docker socket
k8s_privescRBAC privilege escalation: SA token theft, ClusterRoleBinding creation, token request API abuse
etcd_dumpDirect etcd access to extract all Kubernetes secrets from /registry/secrets/
k8s_backdoorPersistence via Kubernetes resources
…16 more programs covering admission controllers, network policies, pod security standards, and cluster-wide auditing

iac_hook

17 programs

Infrastructure as Code security — audit Terraform, CloudFormation, and cloud resource configurations.

ProgramDescription
tf_state_secretsExtract secrets from Terraform state: DB passwords, API keys, private keys, access tokens
tf_plan_auditAudit plan output for dangerous changes: SG modifications, IAM changes, encryption removal
sg_auditAudit security groups / firewall rules (AWS SG, Azure NSG, GCP firewall) for overly permissive ingress
s3_policy_auditAudit bucket policies and ACLs for public access, overly permissive principals, missing encryption
encryption_auditCheck resources for missing encryption at rest: EBS, RDS, S3, GCS, Azure disks, DynamoDB
iam_auditAudit IAM policies for overprivileged roles, wildcard permissions, and missing MFA
…11 more programs covering logging/monitoring, network config, secret management, and compliance checks

Web Testing Tools

6 tools

Unlike the hooks above, web testing tools are separate tools — each focused on a specific web attack class. They operate on captured HTTP traffic from Hacker Browser or the Chrome Extension.

ToolDescription
authn_testAuthentication testing — JWT tampering, session fixation, credential oracles, login bypass
business_testBusiness logic — race conditions, boundary testing, workflow state abuse
misconfig_testServer misconfiguration — debug endpoints, verbose errors, default credentials, security headers
recon_testWeb reconnaissance — directory enumeration, technology fingerprinting, hidden parameter discovery
ssrf_testSSRF — cloud metadata endpoints, internal service access, protocol smuggling
login_probeLogin form detection — auto-detect login pages, test credential pairs, enumerate users

Example

{
"tool": "authn_test",
"input": {
"request_id": "req_abc123",
"mode": "jwt"
}
}

Tip

Web testing tools work with captured requests. Use Hacker Browser or the Chrome Extension to capture traffic first, then test with these tools.

  • Probes — Deterministic vulnerability detectors (injection, session, access control, crypto)
  • Hacker Browser — Autonomous web crawler that captures traffic for testing
  • Chrome Extension — Manual browser-driven traffic capture