Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 816 Bytes

File metadata and controls

30 lines (20 loc) · 816 Bytes

WMI Research

AntiForensics Binding Scripts

WMI vs CIM Differences

CIM should be used for PowerShell7+

#When using WMI commandlets
Set-WMIObject -Namespace -Classname
#When using CIM commandlets
Get-CimInstance -Namespace -Class

Helpful WMI commands to run for defenders

wmic process where "name='<proc_name>'" get parentprocessid,commandline,executablepath /format:list

wmic service get name,processid,pathname,state,installdate /format:list

wmic computersystem get name

wmic startup get /format:list

Thanks: