Potentially Suspicious Call To Win32_NTEventlogFile Class

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects usage of the WMI class "Win32_NTEventlogFile" in a potentially suspicious way (delete, backup, change permissions, etc.) from a PowerShell script

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND COMMANDLINE contains "Win32_NTEventlogFile" AND COMMANDLINE contains ".BackupEventlog(,.ChangeSecurityPermissions(,.ChangeSecurityPermissionsEx(,.ClearEventLog(,.Delete(,.DeleteEx(,.Rename(,.TakeOwnerShip(,.TakeOwnerShipEx(" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Nasreddine Bencherchali (Nextron Systems)