Zum Inhalt springen
Skillpedia
Sicherheit10k · #11944

offensive-netexec

Was er macht

Dieser Skill ist eine Referenz für NetExec, ein Werkzeug für Sicherheitstests in Active Directory und Netzwerken. Er behandelt Befehlssyntax, Protokolle wie SMB, LDAP und WinRM, Authentifizierungsoptionen und das Auslesen von Zugangsdaten. Er ist für Sicherheitsfachleute gedacht, die autorisierte Tests durchführen.

Wann du ihn nutzt

  • ✓Wenn du einen autorisierten NetExec-Scan über SMB, LDAP, WinRM oder andere Protokolle durchführst.
  • ✓Wenn du die richtige Befehlssyntax und die Authentifizierungsoptionen für nxc brauchst.
  • ✓Wenn du Password Spraying oder das Auslesen von Zugangsdaten als Teil eines autorisierten Tests prüfen willst.

Link zum Skill

https://github.com/SnailSploit/Claude-Red/blob/main/Skills/active-directory/offensive-netexec/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/SnailSploit/Claude-Red/blob/main/Skills/active-directory/offensive-netexec/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Zeig mir die nxc-Befehle, um SMB-Anmeldung zu testen und Freigaben in unserem autorisierten Testnetz aufzulisten.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Skill nennt das nxc-Befehlsmuster, die unterstützten Protokolle, die Zielformate und die Authentifizierungsoptionen. Danach nennt er die Befehle für jedes Protokoll und jede Aktion.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen

Welche Protokolle unterstützt NetExec?

SMB, SSH, LDAP, FTP, WMI, WinRM, RDP, VNC, MSSQL und NFS.

Wie gebe ich die Zielliste an?

Du kannst einen CIDR-Bereich, einen IP-Bereich, einen Hostnamen, mehrere IPs oder eine Datei mit Zielen nutzen.

Unterstützt er Anmeldung mit Hash?

Ja. Der Skill behandelt die Authentifizierung mit NT-Hash und vollständigem NTLM-Hash.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
10k
Platz im Ranking
#11944
Lizenz
MIT
Aktualisiert
12.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills