Elastic medium stable eql
Remote Scheduled Task Creation
Identifies remote scheduled task creations on a target host. This could be indicative of adversary lateral movement.
Detection Logic
/* Task Scheduler service incoming connection followed by TaskCache registry modification */
sequence by host.id, process.entity_id with maxspan = 1m
[network where host.os.type == "windows" and process.name : "svchost.exe" and
network.direction : ("incoming", "ingress") and source.port >= 49152 and destination.port >= 49152 and
source.ip != "127.0.0.1" and source.ip != "::1" and source.ip != null
]
[registry where host.os.type == "windows" and event.type == "change" and registry.value : "Actions" and
registry.path : "*\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Schedule\\TaskCache\\Tasks\\*\\Actions"] Field Validations
Loading…
Comments (0)
Loading comments...