Elastic medium stable eql
Startup Folder Persistence via Unsigned Process
Identifies files written or modified in the startup folder by unsigned processes. Adversaries may abuse this technique to maintain persistence in an environment.
Detection Logic
sequence by host.id, process.entity_id with maxspan=5s
[process where host.os.type == "windows" and event.type == "start" and process.code_signature.trusted == false and
/* suspicious paths can be added here */
process.executable : ("C:\\Users\\*.exe",
"C:\\ProgramData\\*.exe",
"C:\\Windows\\Temp\\*.exe",
"C:\\Windows\\Tasks\\*.exe",
"C:\\Intel\\*.exe",
"C:\\PerfLogs\\*.exe")
]
[file where host.os.type == "windows" and event.type != "deletion" and user.domain != "NT AUTHORITY" and
file.path : ("C:\\Users\\*\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\*",
"C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\StartUp\\*")
] Field Validations
Loading…
Comments (0)
Loading comments...