Sigma rule: EventLog Query Requests By Builtin Utilities

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-db01ffb62636, updated 2024-01-24T00:00:00.000Z.

Rule

Title
EventLog Query Requests By Builtin Utilities
Status
test
Level
medium
Author
Ali Alwashali, Nasreddine Bencherchali (Nextron Systems)
Date
2023-11-20
Modified
2024-01-24
File
rules-threat-hunting/windows/process_creation/proc_creation_win_susp_event_log_query.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detect attempts to query the contents of the event log using command line utilities. Attackers use this technique in order to look for sensitive information in the logs such as passwords, usernames, IPs, etc.

Log source

product
windows
category
process_creation

Detection

selection_wmi:
    CommandLine|contains|all:
        - 'Select'
        - 'Win32_NTLogEvent'
selection_wevtutil_img:
    - Image|endswith: '\wevtutil.exe'
    - OriginalFileName: 'wevtutil.exe'
selection_wevtutil_cli:
    CommandLine|contains:
        - ' qe '
        - ' query-events '
selection_wmic_img:
    - Image|endswith: '\wmic.exe'
    - OriginalFileName: 'wmic.exe'
selection_wmic_cli:
    CommandLine|contains: ' ntevent'
selection_cmdlet:
    CommandLine|contains:
        - 'Get-WinEvent '
        - 'get-eventlog '
condition: selection_wmi or all of selection_wevtutil_* or all of selection_wmic_* or selection_cmdlet

False positives (as the rule lists them)

  • Legitimate log access by administrators or troubleshooting tools

Tags

  • attack.t1552
  • attack.credential-access
  • detection.threat-hunting

MITRE ATT&CK ids this rule names

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-threat-hunting/windows/process_creation/proc_creation_win_susp_event_log_query.yml

Sources and licences

  • SigmaHQ

    "EventLog Query Requests By Builtin Utilities" by Ali Alwashali, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-threat-hunting/windows/process_creation/proc_creation_win_susp_event_log_query.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: EventLog Query Requests By Builtin Utilities",
entity page, dataset version ref-db01ffb62636, updated 2024-01-24T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/9cd55b6c-430a-4fa9-96f4-7cadf5229e9f (accessed 2026-11-03).
Underlying source: SigmaHQ rule 9cd55b6c-430a-4fa9-96f4-7cadf5229e9f, 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.