Files
splunk-security_content/detections/endpoint/windows_hidden_schedule_task_settings.yml
2022-09-15 10:07:38 -06:00

72 lines
2.1 KiB
YAML

name: Windows Hidden Schedule Task Settings
id: 0b730470-5fe8-4b13-93a7-fe0ad014d0cc
version: 1
date: '2022-04-26'
author: Teoderick Contreras, Splunk
type: TTP
datamodel:
- Endpoint
description: The following query utilizes Windows Security EventCode 4698,
A scheduled task was created, to identify suspicious tasks registered on
Windows either via schtasks.exe OR TaskService with a hidden settings
that are unique entry of malware like industroyer2 or attack that uses
lolbin to download other file or payload to the infected machine.
search: '`wineventlog_security` EventCode=4698
| xmlkv Message
| search Hidden = true
| stats count min(_time) as firstTime max(_time) as lastTime by Task_Name, Command, Author, Hidden, dest
| `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)`
| `windows_hidden_schedule_task_settings_filter`'
how_to_implement: To successfully implement this search, you need to be ingesting
logs with the task schedule (Exa. Security Log EventCode 4698) endpoints. Tune and
filter known instances of Task schedule used in your environment.
known_false_positives: unknown
references:
- https://www.welivesecurity.com/2022/04/12/industroyer2-industroyer-reloaded/
- https://cert.gov.ua/article/39518
tags:
analytic_story:
- Industroyer2
- Active Directory Discovery
- CISA AA22-257A
asset_type: Endpoint
cis20:
- CIS 3
- CIS 5
- CIS 16
confidence: 80
context:
- Source:Endpoint
- Stage:Execution
dataset:
- https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1053/hidden_schedule_task/security.log
impact: 80
kill_chain_phases:
- Exploitation
message: A schedule task with hidden setting enable in host $dest$
mitre_attack_id:
- T1053
nist:
- DE.CM
observable:
- name: dest
type: Hostname
role:
- Victim
product:
- Splunk Enterprise
- Splunk Enterprise Security
- Splunk Cloud
required_fields:
- _time
- dest
- Task_Name
- Command
- Author
- Enabled
- Hidden
- Arguments
risk_score: 64
security_domain: endpoint