mirror of
https://github.com/yardenshafir/WinDbg_Scripts
synced 2026-06-08 18:28:57 +00:00
Create appcontainers.txt
Print all processes running as appcontainers
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# Get all appcontainer processes (makred by Token.TokenFlags.LowBox (value == 0x4000)
|
||||
|
||||
dx -g @$appcontainers = @$cursession.Processes.Select(p => new {Name = p.Name, Id = p.Id, ProcessObj = p, TokenFlags = ((nt!_TOKEN*)(p.KernelObject.Token.Object & ~0xf))->TokenFlags}).Where(p => (p.TokenFlags & 0x4000) == 0x4000)
|
||||
Reference in New Issue
Block a user