This commit is contained in:
Zane Coppedge 2019-05-24 13:10:00 -07:00
Родитель 56c11bde26
Коммит 23c9e07496
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -3,12 +3,12 @@
// Description: Looks across your environment for least common Process Command Lines, may be noisy and require whitelisting. By ZanCo
// DataSource: #SecurityEvent
// Tactics: #InitialAccess, #Execution, #Persistance
let Whitelist = dynamic (['conhost.exe', 'foo.exe', 'baz.exe']);
let Whitelist = dynamic (['foo.exe', 'baz.exe']);
let Sensitivity = 5;
let StartDate = ago(7d);
let Duration = 7d;
SecurityEvent
| where EventID == 4688 and TimeGenerated > StartDate and TimeGenerated < (StartDate + Duration)
| where EventID == 4688 and TimeGenerated > StartDate and TimeGenerated < (StartDate + Duration) and NewProcessName !endswith 'conhost.exe'
| extend ProcArray = split(NewProcessName, '\\')
// ProcArrayLength is Folder Depth
| extend ProcArrayLength = arraylength(ProcArray)