Was analyzing Sysmon event 1 image instead of CommandLine. Fixed
This commit is contained in:
@ -518,7 +518,7 @@ function Main {
|
||||
# Check command lines
|
||||
if ($event.id -eq 1){
|
||||
$creator=$eventXML.Event.EventData.Data[14]."#text"
|
||||
$commandline=$eventXML.Event.EventData.Data[4]."#text"
|
||||
$commandline=$eventXML.Event.EventData.Data[10]."#text"
|
||||
if ($commandline){
|
||||
Check-Command -EventID 1
|
||||
}
|
||||
|
Reference in New Issue
Block a user