offensive-netexec
하는 일
이 스킬은 Active Directory와 네트워크 보안 테스트에 쓰이는 NetExec 도구의 참고 자료입니다. 명령 문법, SMB, LDAP, WinRM 같은 프로토콜, 인증 옵션, 자격 증명 추출을 다룹니다. 승인된 테스트를 실행하는 보안 전문가를 위한 스킬입니다.
사용하는 경우
- ✓SMB, LDAP, WinRM 등 프로토콜에 대해 승인된 NetExec 스캔을 실행할 때.
- ✓nxc에 맞는 명령 문법과 인증 플래그가 필요할 때.
- ✓승인된 테스트의 일부로 비밀번호 스프레이나 자격 증명 덤프를 확인하고 싶을 때.
스킬 링크
https://github.com/SnailSploit/Claude-Red/blob/main/Skills/active-directory/offensive-netexec/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“승인된 테스트 네트워크에서 SMB 로그인을 확인하고 공유 목록을 보여 주는 nxc 명령을 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 nxc 명령 형식, 지원 프로토콜 목록, 대상 형식, 인증 플래그를 제시합니다. 그다음 각 프로토콜과 작업에 대한 명령을 보여 줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
NetExec (nxc) — Reference Skill
Global Syntax & Options
nxc <protocol> <target(s)> [auth options] [action options] [global options]
Available Protocols
smb ssh ldap ftp wmi winrm rdp vnc mssql nfs
Target Formats
nxc smb 192.168.1.0/24 # CIDR
nxc smb 192.168.1.1 192.168.1.2 # Multiple IPs
nxc smb 192.168.1.1-28 # IP range
nxc smb dc01.corp.local # Hostname
nxc smb ~/targets.txt # File
Global Flags
| Flag | Description |
|---|---|
-t THREADS |
Concurrent threads (default: 100) |
--timeout TIMEOUT |
Per-thread timeout in seconds |
--jitter INTERVAL |
Random delay between connections (e.g. 3, 2-5, 4-4) |
--no-progress |
Suppress progress bar |
--verbose |
Verbose output |
--debug |
Debug-level output |
Authentication
Core Auth Flags
-u USERNAME # Single username
-u user1 user2 # Multiple usernames
-u ~/users.txt # Username file
-p PASSWORD # Plaintext password
-p 'P@ss!' # Always quote special chars
-p='-P@ss' # Use = for passwords starting with -
-H 'NTHASH' # NT hash only
-H 'LM:NT' # Full NTLM hash
-H 'aad3b435b51404eeaad3b435b51404ee:NTHASH'
-id <cred_id> # Use credential from nxcdb
--local-auth # Authenticate as local user (not domain)
Domain Auth (SMB example)
nxc smb 192.168.1.0/24 -u Administrator -p 'Password123'
nxc smb 192.168.1.0/24 -u Administrator -H 'aad3b435b51404eeaad3b435b51404ee:NTHASH'
Local Auth
nxc smb 192.168.1.0/24 -u localadmin -p 'Password123' --local-auth
Kerberos Auth
# Auto-handle TGT using password
nxc smb dc01.corp.local -u user -p pass -k
# Use existing ccache ticket
export KRB5CCNAME=/path/to/ticket.ccache
nxc smb dc01.corp.local --use-kcache
# Specify KDC explicitly
nxc ldap dc01.corp.local -u user -p pass -k --kdcHost dc01.corp.local
Multi-Domain Environments
# users.txt format:
# DOMAIN1\user1
# DOMAIN2\user2
nxc smb <target> -u users.txt -p 'Password123'
Output Color Codes
- RED — Authentication failed
- GREEN — Authentication succeeded
- MAGENTA — Password valid but account is not admin
(Pwn3d!)— Admin access / code execution available
Pwn3d! Meaning by Protocol
| Protocol | Pwn3d! Meaning |
|---|---|
| SMB | Local/domain admin access |
| WMI | Local admin |
| WinRM | Code execution |
| RDP | Code execution |
| VNC | Code execution |
| LDAP | Path to Domain Admin |
| SSH | Root access |
| FTP | No check |
Password Spraying & Brute Force
# Spray one password across many users
nxc smb <target> -u ~/users.txt -p 'Summer2024!' --no-bruteforce --continue-on-success
# Brute force (user × pass combinations)
nxc smb <target> -u ~/users.txt -p ~/passwords.txt
# Hash spraying
nxc smb <target> -u ~/users.txt -H ~/hashes.txt --no-bruteforce
# Throttle to avoid lockouts
nxc smb <target> -u ~/users.txt -p 'Pass123' --jitter 3
nxc smb <target> -u ~/users.txt -p 'Pass123' --jitter 2-5
# IMPORTANT: --no-bruteforce pairs user[0]:pass[0], user[1]:pass[1], etc.
# Without it: every user × every password (full bruteforce)
# Keep going after first valid credential found
nxc smb <target> -u ~/users.txt -p 'Password' --continue-on-success
⚠️ OpSec: Jitter works per-host. Spraying against multiple hosts multiplies authentication attempts. Monitor domain lockout policy before spraying (use
--pass-polfirst).
SMB Protocol
Network Discovery
# Map live hosts — get OS, hostname, domain, signing, SMBv1
nxc smb 192.168.1.0/24
# Expected output:
# SMB 192.168.1.101 445 DC2016A [*] Windows Server 2016 x64 (name:DC2016A) (domain:CORP) (signing:True) (SMBv1:False)
Enumeration
# Shares and access
nxc smb <ip> -u user -p pass --shares
# Null session share enum
nxc smb <ip> -u '' -p '' --shares
# Guest logon check
nxc smb <ip> -u 'a' -p ''
nxc smb <ip> -u 'a' -p '' --shares
# Domain users
nxc smb <ip> -u user -p pass --users
nxc smb <ip> -u user -p pass --users-export output.txt
# Enumerate users by bruteforcing RIDs (no domain creds needed)
nxc smb <ip> -u '' -p '' --rid-brute
nxc smb <ip> -u '' -p '' --rid-brute 10000 # Set max RID
# Password policy (check before spraying!)
nxc smb <ip> -u user -p pass --pass-pol
# Logged-on users (requires admin)
nxc smb 192.168
자주 묻는 질문
NetExec는 어떤 프로토콜을 지원하나요?
SMB, SSH, LDAP, FTP, WMI, WinRM, RDP, VNC, MSSQL, NFS를 지원합니다.
대상 목록은 어떻게 주나요?
CIDR 범위, IP 범위, 호스트 이름, 여러 IP, 대상 파일 중 하나를 사용할 수 있습니다.
해시를 이용한 로그인도 지원하나요?
네. 스킬은 NT 해시와 전체 NTLM 해시 인증을 다룹니다.
상세 정보
작성자의 원본 설명
Use this skill whenever the user asks about NetExec (nxc) — a network exploitation and post-exploitation tool for Active Directory environments. Triggers include: any mention of 'nxc', 'netexec', 'crackmapexec' successor questions, AD enumeration, SMB/LDAP/WinRM/MSSQL/SSH/RDP/VNC/WMI/FTP/NFS protocol attacks, password spraying, credential dumping (SAM, NTDS, LSASS, DPAPI), Kerberoasting, ASREPRoasting, lateral movement, BloodHound collection, module usage, or any pentest workflow involving Windows domain environments. This skill covers ALL protocols, ALL modules, and ALL core features of NetEx
repo: SnailSploit/Claude-Red
인기도
- GitHub 스타
- 10k
- 순위
- #11944
- 라이선스
- MIT
- 업데이트
- 2026. 10. 12.
댓글
- …
이 저장소의 다른 스킬
offensive-active-directory
10k에이전트가 승인된 Active Directory 보안 테스트를 계획하도록 돕습니다. 네트워크 매핑부터 Domain Admin까지 가는 공격 경로 찾기까지 포함합니다.
offensive-api-abuse
10k에이전트가 비즈니스 로직 악용, GraphQL 위험, 경쟁 상태를 찾는 승인된 API 보안 테스트를 계획하도록 돕습니다.
offensive-api-security
10k에이전트가 OWASP API Top 10을 기준으로 REST, gRPC, WebSocket API에 대한 승인된 보안 테스트를 실행하도록 돕습니다.
offensive-jwt
10k에이전트가 승인된 보안 테스트에서 JWT 로그인 토큰을 점검하도록 돕습니다. 약한 서명과 알고리즘 혼동 같은 결함을 찾습니다.