Detection rules › Sigma

HackTool - UACMe Akagi Execution

Status
test
Severity
high
Log source
product windows, category process_creation
Author
Christian Burkard (Nextron Systems), Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects the execution of UACMe, a tool used for UAC bypasses, via default PE metadata

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
SysmonEvent ID 1Process creation

Rule body yaml

title: HackTool - UACMe Akagi Execution
id: d38d2fa4-98e6-4a24-aff1-410b0c9ad177
status: test
description: Detects the execution of UACMe, a tool used for UAC bypasses, via default PE metadata
references:
    - https://github.com/hfiref0x/UACME
author: Christian Burkard (Nextron Systems), Florian Roth (Nextron Systems)
date: 2021-08-30
modified: 2024-11-23
tags:
    - attack.privilege-escalation
    - attack.t1548.002
logsource:
    category: process_creation
    product: windows
detection:
    selection_pe:
        - Product: 'UACMe'
        - Company:
              - 'REvol Corp'
              - 'APT 92'
              - 'UG North'
              - 'Hazardous Environments'
              - 'CD Project Rekt'
        - Description:
              - 'UACMe main module'
              - 'Pentesting utility'
        - OriginalFileName:
              - 'Akagi.exe'
              - 'Akagi64.exe'
    selection_img:
        Image|endswith:
            - '\Akagi64.exe'
            - '\Akagi.exe'
    selection_hashes_sysmon:
        Hashes|contains:
            - 'IMPHASH=767637C23BB42CD5D7397CF58B0BE688'
            - 'IMPHASH=14C4E4C72BA075E9069EE67F39188AD8'
            - 'IMPHASH=3C782813D4AFCE07BBFC5A9772ACDBDC'
            - 'IMPHASH=7D010C6BB6A3726F327F7E239166D127'
            - 'IMPHASH=89159BA4DD04E4CE5559F132A9964EB3'
            - 'IMPHASH=6F33F4A5FC42B8CEC7314947BD13F30F'
            - 'IMPHASH=5834ED4291BDEB928270428EBBAF7604'
            - 'IMPHASH=5A8A8A43F25485E7EE1B201EDCBC7A38'
            - 'IMPHASH=DC7D30B90B2D8ABF664FBED2B1B59894'
            - 'IMPHASH=41923EA1F824FE63EA5BEB84DB7A3E74'
            - 'IMPHASH=3DE09703C8E79ED2CA3F01074719906B'
    condition: 1 of selection_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_pe

selection_pe:
    - Product: 'UACMe'
    - Company:
          - 'REvol Corp'
          - 'APT 92'
          - 'UG North'
          - 'Hazardous Environments'
          - 'CD Project Rekt'
    - Description:
          - 'UACMe main module'
          - 'Pentesting utility'
    - OriginalFileName:
          - 'Akagi.exe'
          - 'Akagi64.exe'

Stage 2: selection_img

selection_img:
    Image|endswith:
        - '\Akagi64.exe'
        - '\Akagi.exe'

Stage 3: selection_hashes_sysmon

selection_hashes_sysmon:
    Hashes|contains:
        - 'IMPHASH=767637C23BB42CD5D7397CF58B0BE688'
        - 'IMPHASH=14C4E4C72BA075E9069EE67F39188AD8'
        - 'IMPHASH=3C782813D4AFCE07BBFC5A9772ACDBDC'
        - 'IMPHASH=7D010C6BB6A3726F327F7E239166D127'
        - 'IMPHASH=89159BA4DD04E4CE5559F132A9964EB3'
        - 'IMPHASH=6F33F4A5FC42B8CEC7314947BD13F30F'
        - 'IMPHASH=5834ED4291BDEB928270428EBBAF7604'
        - 'IMPHASH=5A8A8A43F25485E7EE1B201EDCBC7A38'
        - 'IMPHASH=DC7D30B90B2D8ABF664FBED2B1B59894'
        - 'IMPHASH=41923EA1F824FE63EA5BEB84DB7A3E74'
        - 'IMPHASH=3DE09703C8E79ED2CA3F01074719906B'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
Companyeq
  • APT 92
  • CD Project Rekt
  • Hazardous Environments
  • REvol Corp
  • UG North
Descriptioneq
  • Pentesting utility
  • UACMe main module
Hashesmatch
  • IMPHASH=14C4E4C72BA075E9069EE67F39188AD8 corpus 3 (sigma 3)
  • IMPHASH=3C782813D4AFCE07BBFC5A9772ACDBDC corpus 3 (sigma 3)
  • IMPHASH=3DE09703C8E79ED2CA3F01074719906B corpus 3 (sigma 3)
  • IMPHASH=41923EA1F824FE63EA5BEB84DB7A3E74 corpus 3 (sigma 3)
  • IMPHASH=5834ED4291BDEB928270428EBBAF7604 corpus 3 (sigma 3)
  • IMPHASH=5A8A8A43F25485E7EE1B201EDCBC7A38 corpus 3 (sigma 3)
  • IMPHASH=6F33F4A5FC42B8CEC7314947BD13F30F corpus 3 (sigma 3)
  • IMPHASH=767637C23BB42CD5D7397CF58B0BE688 corpus 3 (sigma 3)
  • IMPHASH=7D010C6BB6A3726F327F7E239166D127 corpus 3 (sigma 3)
  • IMPHASH=89159BA4DD04E4CE5559F132A9964EB3 corpus 3 (sigma 3)
  • IMPHASH=DC7D30B90B2D8ABF664FBED2B1B59894 corpus 3 (sigma 3)
Imageends_with
  • \Akagi.exe corpus 2 (sigma 2)
  • \Akagi64.exe corpus 2 (sigma 2)
OriginalFileNameeq
  • Akagi.exe
  • Akagi64.exe
Producteq
  • UACMe