CmdID

CmdID / Rules / Windows

PUA - Potential PE Metadata Tamper Using Rcedit

A Sigma rule for process creation on Windows, by Micah Babinski.

medium 4 ATT&CK techniques

What it looks for

its detection, as SigmaHQ writes it
detection:
  selection_attributes:
    CommandLine|contains:
      - 'OriginalFileName'
      - 'CompanyName'
      - 'FileDescription'
      - 'ProductName'
      - 'ProductVersion'
      - 'LegalCopyright'
  selection_flags:
    CommandLine|contains: '--set-'
  selection_img:
    - Image|endswith:
        - '\rcedit-x64.exe'
        - '\rcedit-x86.exe'
    - Description: 'Edit resources of exe'
    - Product: 'rcedit'
  condition: all of selection_*

The rule’s detection, its selections and fields in order of name. The whole rule, with its references and false positives, is on SigmaHQ, by Micah Babinski, under the Detection Rule License 1.1. CmdID evaluates it on a command line alone: a test on what a command line cannot show, such as the parent process or the user, is not met.

None of the everyday examples and documented commands on CmdID’s program pages trips it. To see whether a command line does, paste it into CmdID.

ATT&CK

the techniques it is tagged with
T1027Obfuscated Files or Information
T1027.005Obfuscated Files or Information: Indicator Removal from Tools
T1036Masquerading
T1036.003Masquerading: Rename Legitimate Utilities