Windows Local Situational Awareness
Before hunting credentials or moving laterally, orient yourself on the target. Knowing the OS version, current user context, active sessions, running processes, and network position determines which techniques apply and what detection risk exists.
Current user and privileges
The first thing to establish is who you are and what token privileges are enabled. Dangerous privileges like SeImpersonatePrivilege, SeBackupPrivilege, and SeDebugPrivilege open direct escalation paths even before running any enumeration tool.
Privilege Name Description State ============================= ========================================= ======== SeImpersonatePrivilege Impersonate a client after authentication Enabled
If SeImpersonatePrivilege is enabled, go directly to Token Impersonation — it gives you SYSTEM in one step. SeBackupPrivilege means you can read any file regardless of ACLs, including the SAM hive. See SeBackupPrivilege Abuse.
System information
The OS version from systeminfo is the starting point for kernel exploit matching. Take note of the exact build number and cross-reference with Windows Kernel Exploits. The domain membership tells you whether AD lateral movement techniques are relevant.
Local users, groups, and sessions
Active sessions from query user tell you which accounts currently have interactive sessions. Other logged-in users mean credentials may be in LSASS memory. If you have SYSTEM, you can dump LSASS and recover those credentials. See Windows Password Attacks.
Running processes
Identify AV and EDR processes before doing anything noisy. Common ones: MsMpEng.exe (Windows Defender), CrowdStrike, SentinelOne, cbdefense (Carbon Black). Knowing what is running shapes how you proceed with credential dumping and lateral movement.
Installed software and patches
Scheduled tasks and startup items
Tasks not in the \Microsoft\ path are custom and worth inspecting. Check the script or binary being executed — if it is writable by your current user, you have a privilege escalation path. See Scheduled Task Abuse.
For credential collection from the found paths continue to Windows Token and Credential Harvesting.
Was this helpful?
Your feedback helps improve this page.