Skip to content
WETNav

GrantedAccess

0x4: PROCESS_SET_SESSIONID

Set the session ID.

Find it

Get-WinEvent -LogName 'Microsoft-Windows-Sysmon/Operational' -FilterXPath "*[System[(EventID=10)]]" -MaxEvents 5000 |
  Where-Object { $_.ToXml() -match '0x4' }

About GrantedAccess

Rights granted on the target process handle. PROCESS_VM_READ (0x10) on lsass.exe is what credential dumpers need, and it is the bit to look for in Sysmon 10.

Every GrantedAccess (process access rights) value →

Questions

What does GrantedAccess 0x4 mean?
PROCESS_SET_SESSIONID. Set the session ID.
Is GrantedAccess 0x4 a sign of an attack?
It depends on the context around it. Confirm it with the surrounding events: who made the request, from where, and what happened next.
Where is GrantedAccess 0x4 recorded?
In the GrantedAccess field of Sysmon event 10 (Process Accessed).
How do I search for GrantedAccess 0x4?
The queries on this page filter for it in PowerShell, Microsoft Sentinel and the source's own tools. Paste a full record into the WETNav decoder to see every other field explained too.