<aside> 📌 Summary

</aside>

16 - Windows Privilege Escalation

1 - Enumerating Windows

1 - Understanding Windows Privileges and Access Control Mechanisms

2 - Situational Awareness

3 - Hidden in Plain View

Always look for files with sweet infos insides :

Get-ChildItem -Path C:\\ -Include *.kdbx -File -Recurse -ErrorAction SilentlyContinue
Get-ChildItem -Path C:\\xampp -Include *.txt,*.ini -File -Recurse -ErrorAction SilentlyContinue
Get-ChildItem -Path C:\\Users\\dave\\ -Include *.txt,*.pdf,*.xls,*.xlsx,*.doc,*.docx -File -Recurse -ErrorAction SilentlyContinue
runas /user:backupadmin cmd

4 - Information Goldmine PowerShell

Get-History # often cleared
(Get-PSReadlineOption).HistorySavePath # less common to be cleared
type C:\\Users\\dave\\AppData\\Roaming\\Microsoft\\Windows\\PowerShell\\PSReadLine\\ConsoleHost_history.txt