Detectionmediumtest

Rebuild Performance Counter Values Via Lodctr.EXE

Detects the execution of "lodctr.exe" to rebuild the performance counter registry values. This can be abused by attackers by providing a malicious config file to overwrite performance counter configuration to confuse and evade monitoring and security solutions.

Open in Detection LabConvert ruleBuild Package
Nasreddine BencherchaliCreated 2023-06-15Updated 2024-03-05cc9d3712-6310-4320-b2df-7cb408274d53windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
detection:
    selection_img:
        Image|endswith: '\lodctr.exe'
        OriginalFileName: 'LODCTR.EXE'
    selection_cli:
        CommandLine|contains|windash: ' -r'
    condition: all of selection_*
False Positives

Legitimate usage by an administrator

MITRE ATT&CK
Rule Metadata
Rule ID
cc9d3712-6310-4320-b2df-7cb408274d53
Status
test
Level
medium
Type
Detection
Created
2023-06-15
Modified
2024-03-05
Path
rules/windows/process_creation/proc_creation_win_lodctr_performance_counter_tampering.yml
Raw Tags
attack.execution
View on GitHub