boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources
boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources

Password Spraying

Password Spraying Overview

Password spraying uses one password to attempt logins across a list of users, typically a common weak password. Many tools automate it across different attack vectors. Spraying a list of all an environment's users is an easy way to test for weak passwords.

Common Weak Passwords

In a realistic environment humans are the weakest link. If the environment has a weak password policy, you can often spray for a common weak password built around the time of year. For example, if the year is 2020 and the season is Fall, a likely weak password to spray would be Fall2020.

Some examples of weak passwords:

Summer2020
Management2020
Management2018
Password2020
<company>2020
Password123

Finding the Attack Surface

The attack surface for password spraying is broad: any field that takes a username and password can be sprayed. Even without a login portal you can sometimes still spray, for example spraying Active Directory users with kerbrute. That broad surface makes spraying a common attack vector in red team engagements.

The only hard part is finding the request parameters. You can submit a test login and see what the parameters are, but that does not always work, so instead use Burp to intercept the request and read the parameters.

Send a request to Burp with dummy data in the user and password fields to identify where the request parameters are:

Capturing the request with Burp to extract the parameters.

Those parameters can now feed hydra to make requests against the site with a user list and a password. You need a list of users to spray; the contact list from the guest account is a good source of names.

Password Spraying with Hydra

Hydra is normally a brute-force tool for web login portals, but it also sprays against one. Supply the IP, password, and user list. A password list is optional, but you can build a small list of likely company passwords to spray with.

hydra -L users.txt -p <password> MACHINE_IP http-post-form '/src/redirect.php:<user_parameter>=^USER^&<pass_parameter>=^PASS^:F=incorrect' -v

Password spraying the target with Hydra.