Microsoft-Windows-Eventlog › Event 104

Event ID 104 — The LogFileCleared.Channel log file was cleared.

Provider
Microsoft-Windows-Eventlog
Channel
System
Level
Informational
Collection Priority
Recommended (Microsoft-WEF, others)
Task
Logclear

Description

The LogFileCleared.Channel log file was cleared.

Message #

The %3 log file was cleared.

Fields #

NameDescription
LogFileCleared.SubjectUserName
LogFileCleared.SubjectDomainName
LogFileCleared.Channel
LogFileCleared.BackupPath
LogFileCleared.ClientProcessId
LogFileCleared.ClientProcessStartKey

Example Event #

{
  "system": {
    "provider": "Microsoft-Windows-Eventlog",
    "guid": "{fc65ddd8-d6ef-4962-83d5-6e5cfe9ce148}",
    "event_source_name": "",
    "event_id": 104,
    "version": 1,
    "level": 4,
    "task": 104,
    "opcode": 0,
    "keywords": 9223372036854775808,
    "time_created": "2023-10-25T22:53:10.300656+00:00",
    "event_record_id": 1453,
    "correlation": {},
    "execution": {
      "process_id": 1796,
      "thread_id": 2028
    },
    "channel": "System",
    "computer": "WinDevEval",
    "security": {
      "user_id": "S-1-5-21-2533829718-189860685-2477588761-500"
    }
  },
  "user_data": {
    "LogFileCleared": {
      "SubjectUserName": "Administrator",
      "SubjectDomainName": "WINDEVEVAL",
      "Channel": "Application",
      "BackupPath": null,
      "ClientProcessId": 4544,
      "ClientProcessStartKey": 2533274790396090
    }
  },
  "message": ""
}

Detection Patterns #

Defense Evasion: Clear Windows Event Logs

2 rules

Elastic

Elastic, Anabella Cristaldi

Splunk

Rico Valdez, Michael Haag, Splunk

Defense Evasion: Clear Windows Event Logs

2 rules

Elastic

Elastic, Anabella Cristaldi

Splunk

Rico Valdez, Michael Haag, Splunk

Community Notes #

This will show System, Application, and other non-Security logs being cleared. Review the event to identify which one.

Detection Rules #

View all rules referencing this event →

Sigma # view in reference

References #