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 to log in across a list of users, typically with a common weak password. There are many tools to automate password spraying across multiple attack vectors. You can easily test an environment for weak passwords by spraying a list of all its users.

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 based on conditions of the year. For example, if the year was 2020 and the season was Fall, a common weak password to spray for would be Fall2020.

Some Examples of Weak Passwords

Finding the Attack Surface

The attack surface for password spraying is fairly broad: all you need is a field to submit a username and a password and you can spray against that login. Even without a login portal you can sometimes still spray; for example, we can spray Active Directory users with kerbrute. A broad attack surface makes password spraying a commonly used attack vector in many red team engagements.

The only hard part is finding the parameters of the request. This can be done by submitting a test login and seeing what the parameters are, but that does not always work, so instead we can use Burp to intercept the request and see what the request parameters are.

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

We can now use these parameters in Hydra to make requests to the website with a user list and a password.

To password spray you need a list of users. You can get the contact list from the guest account and use the names from it as a user list.

Password Spraying with Hydra

Hydra is typically used as a web application login portal brute-force tool, but it can also be used to password spray against a login portal. You only have to supply the IP, password, and user list. A password list is optional, but you can make a small list of common passwords within the company and use it 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.