More updates, including more WMI detection
This commit is contained in:
@ -824,6 +824,14 @@ function Check-Creator($command,$creator){
|
|||||||
$creatortext += "PowerShell launched via WMI: $creator`n"
|
$creatortext += "PowerShell launched via WMI: $creator`n"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ElseIf ($command -Match "cmd.exe"){
|
||||||
|
if ($creator -Match "PSEXESVC"){
|
||||||
|
$creatortext += "cmd.exe launched via PsExec: $creator`n"
|
||||||
|
}
|
||||||
|
ElseIf($creator -Match "WmiPrvSE"){
|
||||||
|
$creatortext += "cmd.exe launched via WMI: $creator`n"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return $creatortext
|
return $creatortext
|
||||||
}
|
}
|
||||||
|
1
regexes.txt
Normal file → Executable file
1
regexes.txt
Normal file → Executable file
@ -26,5 +26,6 @@ Type,regex,string
|
|||||||
0,Register-ScheduledTask,Command referencing Register-ScheduledTask (possible ASEP)
|
0,Register-ScheduledTask,Command referencing Register-ScheduledTask (possible ASEP)
|
||||||
0,Software\\Microsoft\\Windows\\CurrentVersion\\Run,Reference to registry run key (possible ASEP)
|
0,Software\\Microsoft\\Windows\\CurrentVersion\\Run,Reference to registry run key (possible ASEP)
|
||||||
0,reg *add,Registry addition (possible ASEP)
|
0,reg *add,Registry addition (possible ASEP)
|
||||||
|
0,cmd.exe.*\\ADMIN\$\\,cmd.exe accessing the ADMIN$ share
|
||||||
1,^[a-zA-Z]{22}$,Metasploit-style service name: 22 characters, [A-Za-z]
|
1,^[a-zA-Z]{22}$,Metasploit-style service name: 22 characters, [A-Za-z]
|
||||||
1,^[a-zA-Z]{16}$,Metasploit-style service name: 16 characters, [A-Za-z]
|
1,^[a-zA-Z]{16}$,Metasploit-style service name: 16 characters, [A-Za-z]
|
||||||
|
1
safelist.txt
Normal file → Executable file
1
safelist.txt
Normal file → Executable file
@ -7,3 +7,4 @@
|
|||||||
regex
|
regex
|
||||||
^"C:\\Program Files\\Google\\Chrome\\Application\\chrome\.exe"
|
^"C:\\Program Files\\Google\\Chrome\\Application\\chrome\.exe"
|
||||||
^"C:\\Program Files\\Google\\Update\\GoogleUpdate\.exe"
|
^"C:\\Program Files\\Google\\Update\\GoogleUpdate\.exe"
|
||||||
|
^"C:\\Program Files \(x86\)\\Google\\Update\\GoogleUpdate\.exe"
|
||||||
|
Reference in New Issue
Block a user