Created
June 23, 2023 13:30
-
-
Save mwollenweber/a3d6285f38b22b7f366cc9df20f54173 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Query for Microsoft Defender Antivirus detections. | |
// Query #1: Query for Antivirus detection events | |
DeviceEvents | |
| where ActionType == "AntivirusDetection" | |
| extend ParsedFields=parse_json(AdditionalFields) | |
| project ThreatName=tostring(ParsedFields.ThreatName), | |
WasRemediated=tobool(ParsedFields.WasRemediated), | |
WasExecutingWhileDetected=tobool(ParsedFields.WasExecutingWhileDetected), | |
FileName, SHA1, InitiatingProcessFileName, InitiatingProcessCommandLine, | |
DeviceName, Timestamp | |
| limit 100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment