
Nimux: Single-binary Nim toolkit for network enumeration, Active Directory operations, and remote execution.
Pure-Nim network enumeration and remote execution 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.6
You are on the official public repository for nimux.
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.
Usage examples, command references, and workflow notes are maintained in the documentation:
v1.0.5 adds the lightweight discovery layer around the existing AD/remote-ops command surface:
-fsIt also carries the recent ADCS, BloodHound Legacy, Kerberos execution, and LDAP capture work from the v1.0.4 line:
EditFlags and DisableExtensionListAgent 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.
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
nimble install nimux
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
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
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
nimux is available in BlackArch:
sudo pacman -S nimux
git clone https://github.com/blue0x1/nimux
cd nimux
nimble build -y
Requirements:
Build a local Debian package from source:
dpkg-buildpackage -us -uc -b
sudo apt install ../nimux_*.deb
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
--proxyBuild locally:
nimble build -y
Run command help:
./nimux --help
./nimux smb --help
./nimux kerberos --help
Chokri Hammedi
nimux is released under the GNU Affero General Public License v3.0. See LICENSE.
| 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 |