nimux
Pure-Nim network enumeration and remote execution toolkit
Summary
| Latest Version | 1.0.7 |
|---|---|
| License | AGPL-3.0-only |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-11-21 14:04 |
Tags
Authors
- Chokri Hammedi (blue0x1)
Installation
nimble install nimux
choosenim install nimux
git clone https://github.com/blue0x1/nimux
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| nimux | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Dependencies
| Package | Version | Optional |
|---|---|---|
| nim >= | 1.6.10 | No |
| zippy == | 0.10.20 | No |
Source
| Repository | https://github.com/blue0x1/nimux |
|---|---|
| Homepage | https://nimux.wiki |
| Registry Source | nimble_official |
README
Pure-Nim network enumeration and remote execution toolkit
nimux - Native Operator Toolkit
nimux is a native command surface for authorized security assessments. It combines network enumeration, lightweight web discovery, credential validation, Active Directory operations, Kerberos workflows, remote execution, file movement, secrets collection, DCSync, GPO operations, database clients, and SOCKS routing into one Pure-Nim toolkit.
Current release: v1.0.7
You are on the official public repository for nimux.
- Website: https://nimux.wiki
- Documentation: https://docs.nimux.wiki
- Source: https://github.com/blue0x1/nimux
Notice
nimux is built for authorized testing only. Do not use it against third-party systems without written permission. Developers are not responsible for misuse, damage, or legal consequences.
Documentation
Usage examples, command references, and workflow notes are maintained in the documentation:
https://docs.nimux.wiki
AI Integrations
Agent guidance and MCP integration files are available in SKILLS.md and integrations/.
The core nimux binary remains independent. AI integrations should call nimux as the native execution engine, prefer --json, use --dry-run before supported writes, and require explicit approval for execution or changes.
MCP Wrapper
nimux-mcp is a separate MCP stdio wrapper for AI clients.
Location:
integrations/mcp/nimux-mcp
Build:
cd integrations/mcp/nimux-mcp
nimble build -y
Example MCP client config:
{
"mcpServers": {
"nimux": {
"command": "/path/to/nimux/integrations/mcp/nimux-mcp/nimux_mcp",
"env": {
"NIMUX_BIN": "/usr/local/bin/nimux",
"NIMUX_MCP_POLICY": "/path/to/policy.json"
}
}
}
}
The wrapper supports MCP Content-Length framed JSON-RPC, local newline-delimited JSON-RPC tests, policy checks, approval gates, redaction, progress notifications, and SOCKS pivot metadata.
Read more:
https://docs.nimux.wiki/mcp-integration
Installation
Nimble
Nimble builds nimux from source, so native development libraries must be installed first. On Kali, Debian, or Ubuntu:
sudo apt update
sudo apt install -y build-essential ca-certificates git libssl-dev libkrb5-dev
nimble install nimux
Do not run Nimble with sudo. If Nimble reports an SSL certificate error,
refresh the system CA store before retrying:
sudo apt install --reinstall ca-certificates
sudo update-ca-certificates
nimble refresh
MinGW-w64 is optional for the base installation, but is required by execution paths that build Windows helper binaries:
sudo apt install -y mingw-w64
Download Release
Prebuilt release assets are available on GitHub:
https://github.com/blue0x1/nimux/releases
Download the latest Linux binary or Debian package from the releases page.
Install the Debian package:
sudo dpkg -i nimux_*_amd64.deb
sudo apt --fix-broken install
Use the standalone Linux binary:
chmod +x nimux
./nimux --help
./nimux --version
Docker
The public container image is available from GitHub Container Registry:
docker run --rm -it --network host ghcr.io/blue0x1/nimux:latest --help
Run a scan:
docker run --rm -it --network host ghcr.io/blue0x1/nimux:latest \
scan 10.10.10.0/24 --port 445,389,5985 --open
Run lightweight web discovery:
nimux http app.example.local --dirs words.txt --workers 100 --status 200,301,302,403 --baseline
nimux http app.example.local --dirs words.txt --auto-calibrate --recursion --depth 2 --extract-links
nimux http app.example.local --files words.txt --extensions php,txt,bak --workers 100 --filter-regex 'Not Found' -fs 325
nimux http 192.0.2.10 --vhosts vhosts.txt -d app.example.local --workers 100 --resume seen.jsonl --json
nimux dns app.example.local --subdomains subdomains.txt --workers 200 --json
Run read-only SMB spidering:
nimux smb files01.example.local --shares
nimux smb files01.example.local --spider --share Public --max-depth 3
nimux smb files01.example.local --spider --interesting --size-limit 10485760
Run the MCP wrapper:
docker run --rm -i --network host --entrypoint nimux_mcp \
ghcr.io/blue0x1/nimux:latest
Arch Linux AUR
nimux is available on the AUR:
https://aur.archlinux.org/packages/nimux
Install with an AUR helper:
yay -S nimux
Or build manually:
git clone https://aur.archlinux.org/nimux.git
cd nimux
makepkg -si
BlackArch
nimux is available in BlackArch:
sudo pacman -S nimux
Build From Source
git clone https://github.com/blue0x1/nimux
cd nimux
nimble build -y
Requirements:
- Nim 1.6.10 or newer
- OpenSSL development libraries
- Kerberos libraries
- MinGW-w64 for Windows helper builds used by some execution paths
Debian Package
Build a local Debian package from source:
dpkg-buildpackage -us -uc -b
sudo apt install ../nimux_*.deb
Offline BloodHound inspection
bh reads saved BloodHound ZIPs locally. It provides inventory, collection
coverage, object search, and direct/nested group membership inspection:
nimux bh collection.zip --summary
nimux bh collection.zip --interesting
nimux bh collection.zip --high-value
nimux bh collection.zip --search alice
nimux bh collection.zip --inspect 'ALICE@EXAMPLE.TEST'
nimux bh collection.zip --summary --json
nimux bh collection.zip --graph --high-value
nimux bh --help
--interesting highlights critical objects, privileged accounts, password-policy exceptions, stale activity, and collection gaps. --high-value shows objects flagged or classified as high-value by well-known domain SIDs.
Graph output
Add --graph to print a directed relationship graph in the terminal. No browser, database, or network connection required. Output stays in normal terminal scrollback and can be redirected.
nimux bh collection.zip --interesting --graph --limit 0
nimux bh collection.zip --graph --from 'ALICE@EXAMPLE.TEST' --to 'DOMAIN ADMINS@EXAMPLE.TEST'
nimux bh collection.zip --graph --inspect 'ALICE@EXAMPLE.TEST'
Scope to a single object with --user, --computer, or --group:
nimux bh collection.zip --user alice --interesting
nimux bh collection.zip --computer dc01 --interesting
nimux bh collection.zip --group 'HELP DESK' --interesting
Supported input: single-volume, unencrypted ZIP with BloodHound JSON schema v5 or v6. No external tools required; analysis runs entirely in-process.
Developer checks:
nim c -r tests/test_bloodhound.nim
nim c -r tests/check_bloodhound_archives.nim /path/to/collection.zip
Quick Examples
nimux scan 10.10.10.0/24 --port 445,389,5985 --open
nimux smb dc01.example.local -u operator -H <nt_hash> -d example.local --shares --users
nimux smb files01.example.local -u operator -p '<password>' -d example.local --spider --max-depth 3 --interesting
nimux ldap dc01.example.local -u operator -p '<password>' -d example.local --bloodhound --legacy --bloodhound-out bh-legacy.zip
nimux winrm host.example.local -u operator -p '<password>' -d example.local --cmd whoami
nimux kerberos dc01.example.local -u operator -p '<password>' -d example.local --request kinit --out <ccache>
nimux scan 10.10.10.0/24 --port 445,389,5985 --proxy socks5://127.0.0.1:1080
ADCS policy and certificate workflow examples:
nimux ldap dc01.example.local -u '<gmsa-account>$' -H <nt_hash> -d EXAMPLE.LOCAL \
--adcs-policy --ca CORP-CA --adcs-get-disable-extension-list
nimux ldap dc01.example.local -u '<gmsa-account>$' -H <nt_hash> -d EXAMPLE.LOCAL \
--adcs-policy --ca CORP-CA \
--adcs-set-disable-extension-list 1.3.6.1.4.1.311.25.2
nimux ldap dc01.example.local -u <service-user> -p '<password>' -d EXAMPLE.LOCAL \
--adcs-request --adcs-rpc --ca CORP-CA --template User \
--upn <admin>@example.local \
--sid S-1-5-21-1111111111-2222222222-3333333333-500 \
--out <admin>.pfx
LDAP capture listener:
nimux ldap --server
nimux ldap --server --srvhost 0.0.0.0 --srvport 2222
nimux ldap --server --srvhost 0.0.0.0 --srvport 2222 --challenge 1122334455667788
Features
- TCP and UDP scanning with protocol-aware probes
- Lightweight HTTP directory/file/vhost discovery and DNS subdomain discovery
- SMB authentication, enumeration, read-only share spidering, file operations, coercion, and ticket capture workflows
- LDAP and Active Directory enumeration, writes, ACL paths, roasting, RBCD, shadow credentials, and ADCS support
- BloodHound Legacy 4.x-compatible LDAP export mode
- Kerberos TGT, TGS, S4U, ccache, kirbi, renewal, purge, and ticket forge workflows
- WinRM, WMI, SCM, DCOM, scheduled task, and helper-service execution modes
- MSSQL, PostgreSQL, MySQL, HTTP, HTTPS, WebDAV, FTP, SSH, RDP, VNC, NFS, and AFP clients
- SAM, LSA, cached credentials, DPAPI material, and native DCSync operations
- GPO discovery, backup, file operations, linking, and policy modification workflows
- SOCKS helper deployment and global SOCKS5 routing with
--proxy - JSON output for automation
Command Families
| Command | Purpose |
|---|---|
scan |
TCP and UDP service discovery |
smb |
SMB enumeration, auth checks, file operations, and coercion |
ldap |
AD queries, writes, roasting, ACLs, RBCD, shadow credentials, ADCS |
http, https, dns |
Lightweight web and DNS discovery |
kerberos |
TGT, TGS, S4U, ticket conversion, renewal, purge, forge |
winrm |
WinRM command execution, shell, and file helpers |
scm, bin, cim, tsch, mmc |
Remote execution transports |
mssql, postgres, mysql |
Database protocol clients |
secrets, dcsync |
Credential material and replication workflows |
socks |
SOCKS helper deployment |
put, get, ls, mkdir, rm |
SMB file operations |
Development
Build locally:
nimble build -y
Run command help:
./nimux --help
./nimux smb --help
./nimux kerberos --help
Credits
Chokri Hammedi
License
nimux is released under the GNU Affero General Public License v3.0. See LICENSE.
