Énumération Windows
Mimikatz, Kerberoasting, secrets.
sommaire
Contexte & privilèges (à faire en premier)
whoami /all
whoami /priv # privileges (SeImpersonate, SeBackup... = vecteurs privesc)
whoami /groups
systeminfo # OS, patchs, architecture
hostname & echo %USERDOMAIN%
Utilisateurs & groupes
net user
net user <utilisateur>
net user /domain
net localgroup administrators
query user & net accounts
Réseau
ipconfig /all
netstat -ano
arp -a & route print
Processus / services / tâches planifiées
tasklist /svc
sc query & wmic service get name,displayname,pathname,startmode
schtasks /query /fo LIST /v
# chercher les 'unquoted service path' et binaires inscriptibles
Logiciels, patchs, credentials stockés
wmic product get name,version
wmic qfe get HotFixID,InstalledOn
cmdkey /list
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
reg query HKLM /f password /t REG_SZ /s
findstr /si password *.txt *.xml *.ini *.config
dir /s /b unattend.xml web.config *.kdbx 2>nul
Automatique
.\winPEASx64.exe
.\Seatbelt.exe -group=all
powershell -ep bypass ; . .\PowerUp.ps1 ; Invoke-AllChecks
Import-Module .\PowerView.ps1