# defender # defender: check if Defender is enabledGet-MpComputerStatusGet-MpComputerStatus|SelectAntivirusEnabled# defender: check if defensive modules are enabledGet-MpComputerStatus|SelectRealTimeProtectionEnabled,IoavProtectionEnabled,AntispywareEnabled|FL# defender: check if tamper protection is enabledGet-MpComputerStatus|SelectIsTamperProtected,RealTimeProtectionEnabled|FL
kql
KQL queries over the field InitiatingProcessFileName, table DeviceProcessEvents:
DeviceProcessEvents
| where InitiatingProcessFileName =~ $_KEYWORD_$
loots
$KEYWORD$
Kubernetes
“kubectl”
Container Registry X
“docker “
DB x
“sqlplus”
psexec
“psexec “
Get the alerts associated to a user
# over 7 days backlog
AlertEvidence
| where Timestamp > ago(8d)
| where AccountName =~ "johndoe"
Get the alerts associated to a machine
# over 7 days backlog
AlertEvidence
| where Timestamp > ago(8d)
| where DeviceName =~ "AL"