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.4.tar.gz (16.0 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.4-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nxsctl-0.3.4.tar.gz
  • Upload date:
  • Size: 16.0 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.4.tar.gz
Algorithm Hash digest
SHA256 5828c8dcfc5843ec4c1f9a6db3ecfa4c2d2c4052551875f1df62048b7b63c53d
MD5 e021b44a33784228f5dfc8e0ea9b7322
BLAKE2b-256 7af353be662a5de6eedb661b610a3b0b0e3c1f9291a25579b5711e3e5cdd8e1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for nxsctl-0.3.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: nxsctl-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 17.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9e8260bb5fd169a4e6165d9a88d8e5a45e811821d409c79fbb7d554abdf5b961
MD5 ea89607f1569bd03cab6011eeb9f6b46
BLAKE2b-256 36ced65eb8b7a7788a27ebd51984b57f71820d4671197547479ab759627492bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for nxsctl-0.3.4-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