Sigma rule: Potentially Suspicious Call To Win32_NTEventlogFile Class
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-95251c562c58, updated 2023-07-13T00:00:00.000Z.
Rule
- Title
- Potentially Suspicious Call To Win32_NTEventlogFile Class
- Status
- test
- Level
- high
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-07-13
- File
- rules/windows/process_creation/proc_creation_win_susp_nteventlogfile_usage.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects usage of the WMI class "Win32_NTEventlogFile" in a potentially suspicious way (delete, backup, change permissions, etc.) from a PowerShell script
Log source
- product
- windows
- category
- process_creation
Detection
selection_class:
CommandLine|contains: 'Win32_NTEventlogFile'
selection_function:
CommandLine|contains:
- '.BackupEventlog('
- '.ChangeSecurityPermissions('
- '.ChangeSecurityPermissionsEx('
- '.ClearEventLog('
- '.Delete('
- '.DeleteEx('
- '.Rename('
- '.TakeOwnerShip('
- '.TakeOwnerShipEx('
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.defense-impairment
Related rules
References
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_nteventlogfile_usage.yml
Sources and licences
SigmaHQ
"Potentially Suspicious Call To Win32_NTEventlogFile Class" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_nteventlogfile_usage.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Potentially Suspicious Call To Win32_NTEventlogFile Class",
entity page, dataset version ref-95251c562c58, updated 2023-07-13T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/caf201a9-c2ce-4a26-9c3a-2b9525413711 (accessed 2026-11-03).
Underlying source: SigmaHQ rule caf201a9-c2ce-4a26-9c3a-2b9525413711, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.