The Mindset
Pillaging is post-exploitation with the goal of extracting value. On Windows you’re hunting:- Credentials — saved passwords, hashes, tokens, keys, config secrets
- Sensitive data — customer records, financial files, PII (the stuff that proves impact in a report)
- Infrastructure intel — domain info, internal hostnames, connection strings for lateral movement
- Persistence material — anything that helps you keep or regain access
Start With Automated Enumeration
Before manual hunting, run an automated enumeration script. These find privilege-escalation paths and sensitive files far faster than you can by hand.winPEAS
The Windows equivalent of linPEAS — checks for service misconfigs, weak permissions, stored credentials, autostart entries, and dozens of other privesc vectors in one run.Other Tools
Hunting Sensitive Files
This is the core of pillaging — finding the files that contain credentials or prove impact.Search by Filename and Extension
Search File Contents for Credentials
Where Credentials Hide on Windows
A targeted tour of the highest-value locations:The Exfiltration Endgame
Finding the data is half the job — extracting it and proving impact is the other half. Picture the classic scenario: you’ve landed on a box, escalated, and foundcustomer_database.csv sitting in a shared folder — thousands of customer records with names, emails, and payment details.
Confirm What You’ve Found
Exfiltrate It
Why This Matters — Impact & Reporting
This is where pentesting connects to the real world. That CSV isn’t just a flag — it represents:- PII exposure — names, addresses, payment data. Under GDPR, a breach of this data can mean fines up to 4% of global annual revenue
- Demonstrated business impact — “we got admin” is abstract; “we exfiltrated 40,000 customer records including payment details” is a board-level conversation
- The evidence that justifies the engagement — proving real data was reachable is what drives organizations to fix things
Pillaging Checklist
Next: Windows Security Mechanisms — UAC, AppLocker, Defender, and the defenses you’ll work around.