Detection rules › Sigma

OceanLotus Registry Activity

Status
test
Severity
critical
Log source
product windows, category registry_event
Author
megan201296, Jonhnathan Ribeiro
Source
github.com/SigmaHQ/sigma

Detects registry keys created in OceanLotus (also known as APT32) attacks

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1112 Modify Registry
Defense ImpairmentT1112 Modify Registry

Event coverage

Rule body yaml

title: OceanLotus Registry Activity
id: 4ac5fc44-a601-4c06-955b-309df8c4e9d4
status: test
description: Detects registry keys created in OceanLotus (also known as APT32) attacks
references:
    - https://www.welivesecurity.com/2019/03/20/fake-or-fake-keeping-up-with-oceanlotus-decoys/
    - https://github.com/eset/malware-ioc/tree/master/oceanlotus
author: megan201296, Jonhnathan Ribeiro
date: 2019-04-14
modified: 2023-09-28
tags:
    - attack.persistence
    - attack.defense-impairment
    - attack.t1112
    - detection.emerging-threats
logsource:
    category: registry_event
    product: windows
detection:
    selection_clsid:
        TargetObject|contains: '\SOFTWARE\Classes\CLSID\{E08A0F4B-1F65-4D4D-9A09-BD4625B9C5A1}\Model'
    selection_hkcu:
        TargetObject|contains:
            # HKCU\SOFTWARE\Classes\AppXc52346ec40fb4061ad96be0e6cb7d16a\
            - 'Classes\AppXc52346ec40fb4061ad96be0e6cb7d16a\'
            # HKCU\SOFTWARE\Classes\AppX3bbba44c6cae4d9695755183472171e2\
            - 'Classes\AppX3bbba44c6cae4d9695755183472171e2\'
            # HKCU\SOFTWARE\Classes\CLSID\{E3517E26-8E93-458D-A6DF-8030BC80528B}\
            - 'Classes\CLSID\{E3517E26-8E93-458D-A6DF-8030BC80528B}\'
            - 'Classes\CLSID\{E08A0F4B-1F65-4D4D-9A09-BD4625B9C5A1}\Model'
    selection_appx_1:
        TargetObject|contains: '\SOFTWARE\App\'
    selection_appx_2:
        TargetObject|contains:
            - 'AppXbf13d4ea2945444d8b13e2121cb6b663\'
            - 'AppX70162486c7554f7f80f481985d67586d\'
            - 'AppX37cc7fdccd644b4f85f4b22d5a3f105a\'
        TargetObject|endswith:
            - 'Application'
            - 'DefaultIcon'
    condition: selection_clsid or selection_hkcu or all of selection_appx_*
falsepositives:
    - Unknown
level: critical

Stages and Predicates

Stage 0: condition

selection_clsid or selection_hkcu or all of selection_appx_*

Stage 1: selection_clsid

selection_clsid:
    TargetObject|contains: '\SOFTWARE\Classes\CLSID\{E08A0F4B-1F65-4D4D-9A09-BD4625B9C5A1}\Model'

Stage 2: selection_hkcu

selection_hkcu:
    TargetObject|contains:
        - 'Classes\AppXc52346ec40fb4061ad96be0e6cb7d16a\'
        - 'Classes\AppX3bbba44c6cae4d9695755183472171e2\'
        - 'Classes\CLSID\{E3517E26-8E93-458D-A6DF-8030BC80528B}\'
        - 'Classes\CLSID\{E08A0F4B-1F65-4D4D-9A09-BD4625B9C5A1}\Model'

Stage 3: selection_appx_1

selection_appx_1:
    TargetObject|contains: '\SOFTWARE\App\'

Stage 4: selection_appx_2

selection_appx_2:
    TargetObject|contains:
        - 'AppXbf13d4ea2945444d8b13e2121cb6b663\'
        - 'AppX70162486c7554f7f80f481985d67586d\'
        - 'AppX37cc7fdccd644b4f85f4b22d5a3f105a\'
    TargetObject|endswith:
        - 'Application'
        - 'DefaultIcon'

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
TargetObjectends_with
  • Application
  • DefaultIcon
TargetObjectmatch
  • AppX37cc7fdccd644b4f85f4b22d5a3f105a\
  • AppX70162486c7554f7f80f481985d67586d\
  • AppXbf13d4ea2945444d8b13e2121cb6b663\
  • Classes\AppX3bbba44c6cae4d9695755183472171e2\
  • Classes\AppXc52346ec40fb4061ad96be0e6cb7d16a\
  • Classes\CLSID\{E08A0F4B-1F65-4D4D-9A09-BD4625B9C5A1}\Model
  • Classes\CLSID\{E3517E26-8E93-458D-A6DF-8030BC80528B}\
  • \SOFTWARE\App\
  • \SOFTWARE\Classes\CLSID\{E08A0F4B-1F65-4D4D-9A09-BD4625B9C5A1}\Model