Files

117 lines
3.4 KiB
YAML

name: Sysmon EventID 12
id: 3ef28798-8eaa-4fd2-b074-6f36d08a1b33
version: 4
creation_date: '2024-05-22'
modification_date: '2026-05-13'
author: Patrick Bareiss, Splunk
description: Logs the creation of a new registry key, including details about the key name, registry path, and associated process metadata.
mitre_components:
- Windows Registry Key Creation
- Process Metadata
- Application Log Content
- OS API Execution
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
sourcetype: XmlWinEventLog
separator: EventID
separator_value: '12'
configuration: https://github.com/SwiftOnSecurity/sysmon-config
supported_TA:
- name: Splunk Add-on for Sysmon
url: https://splunkbase.splunk.com/app/5709
version: 5.0.0
fields:
- _time
- Channel
- Computer
- EventChannel
- EventCode
- EventData_Xml
- EventDescription
- EventID
- EventRecordID
- EventType
- Guid
- Image
- Keywords
- Level
- Name
- Opcode
- ProcessGuid
- ProcessID
- ProcessId
- RecordID
- RecordNumber
- RuleName
- SecurityID
- SystemTime
- System_Props_Xml
- TargetObject
- Task
- ThreadID
- TimeCreated
- UserID
- UtcTime
- Version
- action
- date_hour
- date_mday
- date_minute
- date_month
- date_second
- date_wday
- date_year
- date_zone
- dest
- dvc_nt_host
- event_id
- eventtype
- host
- id
- index
- linecount
- object_category
- object_path
- process_exec
- process_guid
- process_id
- process_name
- process_path
- punct
- registry_hive
- registry_key_name
- registry_path
- severity_id
- signature
- signature_id
- source
- sourcetype
- splunk_server
- status
- tag
- tag::eventtype
- tag::object_category
- timeendpos
- timestartpos
- user_id
- vendor_product
output_fields:
- action
- dest
- process_guid
- process_id
- registry_hive
- registry_path
- registry_key_name
- status
- user
- vendor_product
field_mappings:
- data_model: cim
data_set: Endpoint.Registry
mapping:
Computer: Registry.dest
ProcessGuid: Registry.process_guid
ProcessId: Registry.process_id
TargetObject: Registry.registry_path
example_log: <Event xmlns='http://schemas.microsoft.com/win/2004/08/events/event'><System><Provider Name='Microsoft-Windows-Sysmon' Guid='{5770385F-C22A-43E0-BF4C-06F5698FFBD9}'/><EventID>12</EventID><Version>2</Version><Level>4</Level><Task>12</Task><Opcode>0</Opcode><Keywords>0x8000000000000000</Keywords><TimeCreated SystemTime='2021-07-12T08:10:32.607068200Z'/><EventRecordID>1055579</EventRecordID><Correlation/><Execution ProcessID='1152' ThreadID='1212'/><Channel>Microsoft-Windows-Sysmon/Operational</Channel><Computer>win-dc-890.attackrange.local</Computer><Security UserID='S-1-5-18'/></System><EventData><Data Name='RuleName'>-</Data><Data Name='EventType'>DeleteKey</Data><Data Name='UtcTime'>2021-07-12 08:10:32.592</Data><Data Name='ProcessGuid'>{466BC892-F8F2-60EB-107E-00000000CF01}</Data><Data Name='ProcessId'>10188</Data><Data Name='Image'>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe</Data><Data Name='TargetObject'>HKU\S-1-5-21-2333072374-3391925831-3197092227-1112_Classes\exefile\shell\runas\command</Data></EventData></Event>