offensive-netexec
यह क्या करती है
यह स्किल NetExec के लिए संदर्भ है, जो Active Directory और नेटवर्क सुरक्षा परीक्षण में इस्तेमाल होने वाला टूल है। इसमें कमांड सिंटैक्स, SMB, LDAP और WinRM जैसे प्रोटोकॉल, प्रमाणीकरण विकल्प और credential निकालना शामिल है। यह अधिकृत परीक्षण चलाने वाले सुरक्षा पेशेवरों के लिए है।
कब इस्तेमाल करें
- ✓जब आप SMB, LDAP, WinRM या दूसरे प्रोटोकॉल पर अधिकृत NetExec स्कैन चला रहे हों।
- ✓जब आपको nxc के लिए सही कमांड सिंटैक्स और प्रमाणीकरण flags चाहिए।
- ✓जब आप अधिकृत परीक्षण के हिस्से के रूप में password spraying या credential dumping जाँचना चाहते हों।
Skill का लिंक
https://github.com/SnailSploit/Claude-Red/blob/main/Skills/active-directory/offensive-netexec/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमारे अधिकृत परीक्षण नेटवर्क पर SMB लॉगिन जाँचने और shares की सूची देखने के nxc कमांड दिखाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल nxc कमांड पैटर्न, समर्थित प्रोटोकॉल की सूची, target के फ़ॉर्मेट और प्रमाणीकरण flags देती है। फिर हर प्रोटोकॉल और कार्रवाई के लिए कमांड बताती है।
तकनीकी सामग्री (मूल 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 सपोर्ट करता है।
target की सूची कैसे दूँ?
आप CIDR रेंज, IP रेंज, hostname, कई IP या targets की फ़ाइल इस्तेमाल कर सकते हैं।
क्या यह hash से लॉगिन सपोर्ट करता है?
हाँ। स्किल NT hash और पूरे NTLM hash से प्रमाणीकरण कवर करती है।
जानकारी
लेखक का मूल विवरण
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
- अपडेट की गई
- 12/10/2026
कमेंट
- …
इस repository की और skills
offensive-active-directory
10kआपके एजेंट को अधिकृत Active Directory सुरक्षा परीक्षण की योजना बनाने में मदद करती है, नेटवर्क मैपिंग से लेकर Domain Admin तक के हमला रास्ते खोजने तक।
offensive-api-abuse
10kआपके एजेंट को अधिकृत API सुरक्षा परीक्षण की योजना बनाने में मदद करती है, जो business logic के दुरुपयोग, GraphQL जोखिम और race conditions खोजते हैं।
offensive-api-security
10kआपके एजेंट को OWASP API Top 10 के आधार पर REST, gRPC और WebSocket API पर अधिकृत सुरक्षा परीक्षण चलाने में मदद करती है।
offensive-jwt
10kआपके एजेंट को JWT लॉगिन टोकन को अधिकृत सुरक्षा खामियों के लिए परखने में मदद करती है, जैसे कमज़ोर signing और algorithm confusion।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।