Windows File and Data Loot Collection
After gaining elevated access, collect high-value files before moving laterally or establishing persistence. Focus on credentials, SSH keys, configuration files, databases, and sensitive documents. Work quickly — prioritise high-signal sources over exhaustive searches.
Interesting file locations
Start with known locations before running broad searches. These paths reliably contain credentials and sensitive data across most Windows environments.
Searching for sensitive files
When targeted searches come up empty, run broader pattern-based searches. Keep searches focused on user-controlled directories to avoid generating excessive noise and slow results.
Active Directory database (NTDS.dit)
On domain controllers, NTDS.dit contains every domain user's password hash. This is the crown jewel of an AD engagement. The file is locked by the AD DS service while running, so it requires extraction via VSS (Volume Shadow Copy).
Staging and compressing for transfer
Before exfiltrating multiple files, stage and compress them into a single archive. Smaller transfers are faster and generate fewer connection events.
Once files are staged and compressed, transfer them to your attack box. For all transfer methods see Transferring Files to and from Windows. For how to use extracted hashes for lateral movement see Pass-the-Hash and Pass-the-Ticket.
Was this helpful?
Your feedback helps improve this page.