acl-abuse
Exploits misconfigured Active Directory ACLs for privilege escalation. Covers GenericAll, GenericWrite, WriteDACL, WriteOwner, ForceChangePassword, targeted…
Enumeration of remote access services: FTP, SSH, RDP, VNC, and WinRM. Checks anonymous access, default credentials, version vulnerabilities, and authentication methods. Use after network-recon identifies remote access ports.
$ npx -y skills add blacklanternsecurity/red-run --skill remote-access-enumeration --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/remote-access-enumerationContext preview
The summary Claude sees to decide when to auto-load this skill.
Enumeration of remote access services: FTP, SSH, RDP, VNC, and WinRM. Checks anonymous access, default credentials, version vulnerabilities, and authentication methods. Use after network-recon identifies remote access ports.
name: remote-access-enumeration description: > Enumeration of remote access services: FTP, SSH, RDP, VNC, and WinRM. Checks anonymous access, default credentials, version vulnerabilities, and authentication methods. Use after network-recon identifies remote access ports. keywords: - FTP anonymous - SSH version - RDP BlueKeep - VNC no auth - WinRM - remote access - ftp-anon - ssh-auth-methods - rdp-ntlm-info tools: - nmap - ftp - ssh opsec: low
You are helping a penetration tester enumerate remote access services (FTP, SSH, RDP, VNC, WinRM) on discovered targets. All testing is under explicit written authorization.
Check for `./engagement/` directory. If absent, proceed without logging.
When an engagement directory exists:
This skill covers **enumeration only** — version detection, auth method checks, anonymous access, and known CVE identification. NOT brute force.
Call `get_state_summary()` on activation. Skip already-enumerated services, use known credentials where relevant, check Blocked for previous failures.
**State writes** — write critical discoveries immediately:
Report all findings in your return summary for orchestrator deduplication.
**Only run sections for ports confirmed open.** Skip any service section whose port is not in the orchestrator's port list.
nmap -sV -p21 --script ftp-anon,ftp-bounce,ftp-syst TARGET_IP
**Manual anonymous check:**
ftp TARGET_IP # login: anonymous / anonymous@ # If connected: ls -la, pwd, cd / && ls -la
If anonymous access succeeds: 1. List all accessible directories recursively 2. Check for writable directories (`put test.txt` then `del test.txt`) 3. Look for config files with credentials (`.htpasswd`, `web.config`, `wp-config.php`) 4. Check if FTP root overlaps with a web root (write test file, check via HTTP)
**Quick wins:**
`SITE CPFR /etc/passwd` → `SITE CPTO /var/www/html/passwd.txt`
nmap -sV -p22 --script ssh2-enum-algos,ssh-hostkey,ssh-auth-methods TARGET_IP
**Auth method check:**
ssh -o PreferredAuthentications=none -o ConnectTimeout=5 root@TARGET_IP 2>&1
Look for `publickey,password` (password auth enabled) vs `publickey` only. Password auth → note for **password-spraying**.
**Quick wins:**
nmap -sV -p3389 --script rdp-ntlm-info,rdp-enum-encryption TARGET_IP
**NTLM info leak** — parse `rdp-ntlm-info` for Target_Name (NetBIOS domain), DNS_Domain_Name, DNS_Computer_Name, Product_Version. Passive domain discovery.
**NLA check** — from `rdp-enum-encryption`, check if NLA is required. NLA disabled = brute force viable without valid domain creds.
**BlueKeep** (CVE-2019-0708):
nmap -p3389 --script rdp-vuln-ms12-020 TARGET_IP
Affects Windows 7, Server 2008/2008R2. Pre-auth RCE. If confirmed, write vuln and return to orchestrator immediately.
nmap -sV -p5900-5910 --script vnc-info,vnc-brute TARGET_IP
**No-auth check** — if `vnc-info` reports security type 1 (None): full desktop access without credentials. Write vuln, confirm with `vncviewer TARGET_IP::5900`.
**CVE-2006-2369** — RealVNC 4.1.1 and earlier: auth bypass by requesting security type None even when server requires authentication.
nmap -sV -p5985,5986 TARGET_IP
Port 5985 = HTTP, 5986 = HTTPS. No anonymous access possible — credential testing routes to **password-spraying**.
If valid credentials already in state, test access:
evil-winrm -i TARGET_IP -u 'USER' -p 'PASS'
Return to orchestrator with findings:
Security assessment toolkit for Claude Code. red-run combines skills, MCP servers, and Claude Code agent teams with routing logic that guides Claude and the operator through the phases of a security assessment — recon, initial access, lateral movement,
Exploits misconfigured Active Directory ACLs for privilege escalation. Covers GenericAll, GenericWrite, WriteDACL, WriteOwner, ForceChangePassword, targeted…
Enumerates Active Directory domains and maps attack surface for penetration testing.
Establishes persistent access in Active Directory environments after domain compromise. Covers DCShadow (rogue DC attribute modification), Skeleton Key (LSASS…
Exploits ADCS through ACL abuse on templates/CA objects and NTLM relay to enrollment endpoints. Covers ESC4 (template ACL → modify to ESC1), ESC5 (PKI object…
Establishes persistence and exploits weak certificate mapping in AD CS. Covers ESC9 (no security extension), ESC10 (weak certificate mapping), ESC12-15…
Exploits misconfigured AD CS certificate templates to impersonate any domain user via SAN manipulation or enrollment agent abuse. Covers ESC1 (enrollee…