Created
March 26, 2024 14:15
-
-
Save vikas891/624859aafed0d85ad88196a39410d101 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
//Test Rule Logic 1 | |
ObjectType = "process" | |
AND SrcProcParentName = "w3wp.exe" | |
AND SrcProcName In Contains Anycase ( "cmd.exe" , "powershell.exe" ) | |
AND TgtProcName in Contains Anycase ( "ipconfig.exe" , "quser.exe" ) | |
//Test Rule Logic 2 | |
OfficeActivity | |
| where OfficeWorkload == “Exchange” and Operation == “Set-Mailbox”and Parameters has “DeliverToMailboxAndForward” | |
| extend Email = tostring(parse_json(Parameters)[1].Value) | |
| project TimeGenerated, OfficeWorkload, UserId, OfficeObjectId, Email |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment