ID | Name |
---|---|
T1070.001 | Clear Windows Event Logs |
T1070.002 | Clear Linux or Mac System Logs |
T1070.003 | Clear Command History |
T1070.004 | File Deletion |
T1070.005 | Network Share Connection Removal |
T1070.006 | Timestomp |
Adversaries may clear Windows Event Logs to hide the activity of an intrusion. Windows Event Logs are a record of a computer's alerts and notifications. There are three system-defined sources of events: System, Application, and Security, with five event types: Error, Warning, Information, Success Audit, and Failure Audit.
The event logs can be cleared with the following utility commands:
wevtutil cl system
wevtutil cl application
wevtutil cl security
These logs may also be cleared through other mechanisms, such as the event viewer GUI or PowerShell.
ID | Name | Description |
---|---|---|
G0007 | APT28 |
APT28 has cleared event logs, including by using the commands |
G0050 | APT32 | |
G0082 | APT38 |
APT38 clears Window Event logs and Sysmon logs from the system.[4] |
G0096 | APT41 |
APT41 attempted to remove evidence of some of its activity by clearing Windows security and system events.[5] |
S0089 | BlackEnergy |
The BlackEnergy component KillDisk is capable of deleting Windows Event Logs.[6] |
G0114 | Chimera | |
G0035 | Dragonfly |
Dragonfly has cleared Windows event logs and other logs produced by tools they used, including system, security, terminal services, remote services, and audit logs. The actors also deleted specific Registry keys.[8] |
G0053 | FIN5 | |
G0061 | FIN8 |
FIN8 has cleared logs during post compromise cleanup activities.[10] |
S0182 | FinFisher |
FinFisher clears the system event logs using |
S0032 | gh0st RAT | |
S0697 | HermeticWiper |
HermeticWiper can overwrite the |
S0698 | HermeticWizard |
HermeticWizard has the ability to use |
S0203 | Hydraq |
Hydraq creates a backdoor through which remote attackers can clear all system event logs.[16][17] |
G0119 | Indrik Spider |
Indrik Spider has used Cobalt Strike to empty log files.[18] |
S0607 | KillDisk |
KillDisk deletes Application, Security, Setup, and System Windows Event Logs.[6] |
S0532 | Lucifer | |
S0688 | Meteor |
Meteor can use Wevtutil to remove Security, System and Application Event Viewer logs.[20] |
S0368 | NotPetya |
NotPetya uses |
S0365 | Olympic Destroyer |
Olympic Destroyer will attempt to clear the System and Security event logs using |
G0116 | Operation Wocao |
Operation Wocao has deleted Windows Event Logs to hinder forensic investigation.[24] |
S0192 | Pupy | |
S0253 | RunningRAT |
RunningRAT contains code to clear event logs.[26] |
S0242 | SynAck | |
S0645 | Wevtutil |
Wevtutil can be used to clear system and security event logs from the system.[28][1] |
S0412 | ZxShell |
ID | Mitigation | Description |
---|---|---|
M1041 | Encrypt Sensitive Information |
Obfuscate/encrypt event files locally and in transit to avoid giving feedback to an adversary. |
M1029 | Remote Data Storage |
Automatically forward events to a log server or data repository to prevent conditions in which the adversary can locate and manipulate data on the local system. When possible, minimize time delay on event reporting to avoid prolonged storage on the local system. |
M1022 | Restrict File and Directory Permissions |
Protect generated event files that are stored locally with proper permissions and authentication and limit opportunities for adversaries to increase privileges by preventing Privilege Escalation opportunities. |
ID | Data Source | Data Component |
---|---|---|
DS0017 | Command | Command Execution |
DS0022 | File | File Deletion |
DS0009 | Process | OS API Execution |
Deleting Windows event logs (via native binaries [30], API functions [31], or PowerShell [32]) may also generate an alterable event (Event ID 1102: "The audit log was cleared").