Files

122 lines
3.5 KiB
YAML

name: Sysmon EventID 23
id: 5ea2721d-f60c-4f48-a047-47d514e327c3
version: 4
creation_date: '2024-05-22'
modification_date: '2026-05-13'
author: Patrick Bareiss, Splunk
description: Logs the deletion of a file, including details about the file path, associated process, and the time of deletion.
mitre_components:
- File Deletion
- File Metadata
- Process Metadata
- Application Log Content
- OS API Execution
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
sourcetype: XmlWinEventLog
separator: EventID
separator_value: '23'
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
- Archived
- Channel
- Computer
- EventChannel
- EventCode
- EventData_Xml
- EventDescription
- EventID
- EventRecordID
- Guid
- Hashes
- IMPHASH
- Image
- IsExecutable
- Keywords
- Level
- MD5
- Name
- Opcode
- ProcessGuid
- ProcessID
- ProcessId
- RecordID
- RecordNumber
- RuleName
- SHA256
- SecurityID
- SystemTime
- System_Props_Xml
- TargetFilename
- Task
- ThreadID
- TimeCreated
- User
- 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
- file_hash
- file_modify_time
- file_name
- file_path
- host
- id
- index
- linecount
- object_category
- process_exec
- process_guid
- process_id
- process_name
- process_path
- punct
- signature
- signature_id
- source
- sourcetype
- splunk_server
- tag
- tag::eventtype
- tag::object_category
- timeendpos
- timestartpos
- user
- user_id
- vendor_product
output_fields:
- action
- dest
- dvc
- file_path
- file_hash
- file_name
- file_modify_time
- process_exec
- process_guid
- process_id
- process_name
- process_path
- signature
- signature_id
- user
- user_id
- vendor_product
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>23</EventID><Version>5</Version><Level>4</Level><Task>23</Task><Opcode>0</Opcode><Keywords>0x8000000000000000</Keywords><TimeCreated SystemTime='2023-02-01T10:57:09.815326000Z'/><EventRecordID>281771</EventRecordID><Correlation/><Execution ProcessID='2612' ThreadID='2304'/><Channel>Microsoft-Windows-Sysmon/Operational</Channel><Computer>win-dc-ctus-attack-range-865.attackrange.local</Computer><Security UserID='S-1-5-18'/></System><EventData><Data Name='RuleName'>-</Data><Data Name='UtcTime'>2023-02-01 10:57:09.814</Data><Data Name='ProcessGuid'>{F522A29C-446D-63DA-9F01-00000000BB02}</Data><Data Name='ProcessId'>2428</Data><Data Name='User'>ATTACKRANGE\Administrator</Data><Data Name='Image'>C:\Temp\swiftslicer.exe</Data><Data Name='TargetFilename'>C:\Python311\vcruntime140_1.dll</Data><Data Name='Hashes'>MD5=75E78E4BF561031D39F86143753400FF,SHA256=1758085A61527B427C4380F0C976D29A8BEE889F2AC480C356A3F166433BF70E,IMPHASH=BF380CA954CBF10D1A4CEF9EC18E46FD</Data><Data Name='IsExecutable'>true</Data><Data Name='Archived'>false - insufficient disk space</Data></EventData></Event>