Skip to content

Commit 569d453

Browse files
authored
Update windows_scheduled_task_with_suspicious_command.yml
Task_Name to TaskName swap
1 parent 8a33088 commit 569d453

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

detections/endpoint/windows_scheduled_task_with_suspicious_command.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ search: |-
1414
`wineventlog_security` EventCode IN (4698,4700,4702)
1515
| eval TaskContent = case(isnotnull(TaskContentNew),TaskContentNew,true(),TaskContent)
1616
| xmlkv TaskContent
17-
| stats count min(_time) as firstTime max(_time) as lastTime latest(Arguments) as Arguments latest(Author) as Author by Computer, Caller_User_Name, Task_Name, Command, Enabled, Hidden, EventCode
17+
| stats count min(_time) as firstTime max(_time) as lastTime latest(Arguments) as Arguments latest(Author) as Author by Computer, Caller_User_Name, TaskName, Command, Enabled, Hidden, EventCode
1818
| lookup windows_suspicious_tasks task_command as Command
1919
| where tool == "shell command use" OR tool == "suspicious paths"
20-
| eval command=Task_Name, process=Command+if(isnotnull(Arguments)," ".Arguments,""), src_user=Author, user = Caller_User_Name, dest = Computer, signature_id = EventCode
20+
| eval command=TaskName, process=Command+if(isnotnull(Arguments)," ".Arguments,""), src_user=Author, user = Caller_User_Name, dest = Computer, signature_id = EventCode
2121
| `security_content_ctime(firstTime)`
2222
| `security_content_ctime(lastTime)`
2323
| `windows_scheduled_task_with_suspicious_command_filter`
@@ -42,7 +42,7 @@ drilldown_searches:
4242
earliest_offset: $info_min_time$
4343
latest_offset: $info_max_time$
4444
rba:
45-
message: A suspicious windows scheduled task named [$Task_Name$] was detected on $dest$, this may be an indicator of [$tool$]
45+
message: A suspicious windows scheduled task named [$TaskName$] was detected on $dest$, this may be an indicator of [$tool$]
4646
risk_objects:
4747
- field: dest
4848
type: system

0 commit comments

Comments
 (0)