Skip to content

Commit 5df06bd

Browse files
remove programdata from path
Co-authored-by: Nasreddine Bencherchali <[email protected]>
1 parent f8cd6cf commit 5df06bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

detections/endpoint/windows_suspicious_process_file_path.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ data_source:
2020
search: '| tstats `security_content_summariesonly` count values(Processes.process_name)
2121
as process_name values(Processes.process) as process min(_time) as firstTime max(_time)
2222
as lastTime from datamodel=Endpoint.Processes
23-
where Processes.process_path IN("*\\windows\\fonts\\*", "*\\users\\public\\*", "*\\windows\\debug\\*", "*\\Users\\Administrator\\Music\\*", "*Recycle.bin*", "*\\Windows\\Media\\*","\\Windows\\repair\\*", "*\\PerfLogs\\*", "*:\\Windows\\Prefetch\\*", "*:\\Windows\\Cursors\\*", "*:\\Windows\\INF\\*", "*\\programdata\\*") AND NOT(Processes.process_path IN ("*\\temp\\*"))
23+
where Processes.process_path IN("*\\windows\\fonts\\*", "*\\users\\public\\*", "*\\windows\\debug\\*", "*\\Users\\Administrator\\Music\\*", "*Recycle.bin*", "*\\Windows\\Media\\*","\\Windows\\repair\\*", "*\\PerfLogs\\*", "*:\\Windows\\Prefetch\\*", "*:\\Windows\\Cursors\\*", "*:\\Windows\\INF\\*") AND NOT(Processes.process_path IN ("*\\temp\\*"))
2424
by Processes.parent_process_name Processes.parent_process Processes.process_path Processes.dest Processes.user
2525
| `drop_dm_object_name(Processes)`
2626
| `security_content_ctime(firstTime)`

0 commit comments

Comments
 (0)