Skip to main content

Credential capability mapping for NetExec

Project description

nxs

PyPI version

What can this cred actually do?

nxs is a credential capability mapper powered by NetExec. It takes a credential and checks it against 10 different protocols (SMB, LDAP, WMI, WinRM, SSH, RDP, MSSQL, FTP, VNC, NFS) to show you exactly what level of access you have on the target.

Install

pipx install nxsctl

Requires NetExec (nxc) in PATH.

Usage

nxs 10.10.10.10 -u john.doe -p 'Password123' -d domain.local

Password prompt if -p is omitted:

nxs 10.10.10.10 -u john.doe -d domain.local

Hash authentication:

nxs 10.10.10.10 -u john.doe -H NT_HASH -d domain.local
nxs 10.10.10.10 -u john.doe -H LM_HASH:NT_HASH -d domain.local

Quickstart

nxs 10.10.10.10 -u admin -p 'Password123!'

# Spray a file of credentials (format: user:pass or user:hash)
nxs 10.10.10.10 -f creds.txt

# Password spray — one password across a user list
nxs 10.10.10.10 -u users.txt -p 'Password123!'

# All combinations — every user × every password (-C/--combo)
nxs 10.10.10.10 -u users.txt -p passwords.txt -C

# Specific protocols
nxs 192.168.1.0/24 -u john.doe -H 'LM:NT' --protocols ssh,winrm

OPSEC mode (single-threaded, low retry):

nxs 10.10.10.10 -u john.doe -p 'Password123' -d domain.local --opsec

Kerberos:

nxs 10.10.10.10 -u john.doe -p 'Password123' -d domain.local -k --kdc-host dc01.domain.local

# Authenticate with a ccache ticket file (no password needed):
nxs 10.10.10.10 -T user.ccache

# Scan a directory of tickets:
nxs 10.10.10.10 -T ./tickets/

JSON output:

nxs 10.10.10.10 -u john.doe -p 'Password123' --json
nxs 10.10.10.10 -u john.doe -p 'Password123' --json --raw

Save raw proof:

nxs 10.10.10.10 -u john.doe -p 'Password123' --save loot/

Verbose output (detailed execution info, WIP...):

nxs 10.10.10.10 -u john.doe -p 'Password123' --verbose

Example Output

nxs v0.1.0 10.10.10.10 · john.doe@domain.local · 4 protocols

  [+] SMB    WRITE    Shared[READ+WRITE], Web[READ]
  [+] LDAP   READ     Enumerated 15 domain users
  [-] WINRM  NO       Authentication failed

With --verbose, detailed output is nested underneath:

nxs v0.1.0 10.10.10.10 · admin · 1 protocols

  [+] WINRM  EXEC     domain.local\admin
      ↳ USER INFORMATION
      ↳ ----------------
      ↳ User Name         SID
      ↳ ================= ============================================
      ↳ domain\admin      S-1-5-21-3623811015-3361044348-30300820-500

Access Levels

Level Marker Meaning
ADMIN [+] Admin-level access
EXEC [+] Command execution
WRITE [+] Write access
READ [+] Read access
AUTH [*] Authenticated, no further access
UNCLEAR [?] Inconclusive result
NO [-] Authentication failed or port closed

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nxsctl-0.3.5.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nxsctl-0.3.5-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file nxsctl-0.3.5.tar.gz.

File metadata

  • Download URL: nxsctl-0.3.5.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for nxsctl-0.3.5.tar.gz
Algorithm Hash digest
SHA256 dc235f04d1dd19209e2e0ef3c20bfed12f89bcd2c28e2ad5e4aadebd2d37f33d
MD5 d141e51668612c12d5ac075748e79cf8
BLAKE2b-256 1bf9c8d975d40def9e48685ace7fb1758f95cbcb6f2dad56c9a934a97cf8ee56

See more details on using hashes here.

Provenance

The following attestation bundles were made for nxsctl-0.3.5.tar.gz:

Publisher: publish.yml on nicetrykiddo/nxs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nxsctl-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: nxsctl-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for nxsctl-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 58c20764eceead8580d5ccc3eb51b99dd6b006dd8e16ad202a7b16f76f5e2642
MD5 9fa7fdbd3177ec6d08b23700fe89bfd0
BLAKE2b-256 19e72a87b2775dd5d402623f59e50ee6906da87d79f79f5c7d38c7b46046b6f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for nxsctl-0.3.5-py3-none-any.whl:

Publisher: publish.yml on nicetrykiddo/nxs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page