Detection rules › Sigma

CVE-2021-31979 CVE-2021-33771 Exploits by Sourgum

Status
test
Severity
critical
Log source
product windows, category file_event
Author
Sittikorn S
Source
github.com/SigmaHQ/sigma

Detects patterns as noticed in exploitation of Windows CVE-2021-31979 CVE-2021-33771 vulnerability and DevilsTongue malware by threat group Sourgum

MITRE ATT&CK coverage

TacticTechniques
Initial AccessT1566 Phishing
ExecutionT1203 Exploitation for Client Execution

Event coverage

ProviderEventTitle
SysmonEvent ID 11FileCreate

Rule body yaml

title: CVE-2021-31979 CVE-2021-33771 Exploits by Sourgum
id: ad7085ac-92e4-4b76-8ce2-276d2c0e68ef
status: test
description: Detects patterns as noticed in exploitation of Windows CVE-2021-31979 CVE-2021-33771 vulnerability and DevilsTongue malware by threat group Sourgum
references:
    - https://www.microsoft.com/security/blog/2021/07/15/protecting-customers-from-a-private-sector-offensive-actor-using-0-day-exploits-and-devilstongue-malware/
    - https://citizenlab.ca/2021/07/hooking-candiru-another-mercenary-spyware-vendor-comes-into-focus/
author: Sittikorn S
date: 2021-07-16
modified: 2022-10-09
tags:
    - attack.initial-access
    - attack.execution
    - attack.credential-access
    - attack.t1566
    - attack.t1203
    - cve.2021-33771
    - cve.2021-31979
    - detection.emerging-threats
    # - threat_group.Sourgum
logsource:
    product: windows
    category: file_event
detection:
    selection:
        TargetFilename|contains:
            - 'C:\Windows\system32\physmem.sys'
            - 'C:\Windows\System32\IME\IMEJP\imjpueact.dll'
            - 'C:\Windows\system32\ime\IMETC\IMTCPROT.DLL'
            - 'C:\Windows\system32\ime\SHARED\imecpmeid.dll'
            - 'C:\Windows\system32\config\spp\ServiceState\Recovery\pac.dat'
            - 'C:\Windows\system32\config\cy-GB\Setup\SKB\InputMethod\TupTask.dat'
            - 'C:\Windows\system32\config\config\startwus.dat'
            - 'C:\Windows\system32\ime\SHARED\WimBootConfigurations.ini'
            - 'C:\Windows\system32\ime\IMEJP\WimBootConfigurations.ini'
            - 'C:\Windows\system32\ime\IMETC\WimBootConfigurations.ini'
    condition: selection
falsepositives:
    - Unlikely
level: critical

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetFilename|contains:
        - 'C:\Windows\system32\physmem.sys'
        - 'C:\Windows\System32\IME\IMEJP\imjpueact.dll'
        - 'C:\Windows\system32\ime\IMETC\IMTCPROT.DLL'
        - 'C:\Windows\system32\ime\SHARED\imecpmeid.dll'
        - 'C:\Windows\system32\config\spp\ServiceState\Recovery\pac.dat'
        - 'C:\Windows\system32\config\cy-GB\Setup\SKB\InputMethod\TupTask.dat'
        - 'C:\Windows\system32\config\config\startwus.dat'
        - 'C:\Windows\system32\ime\SHARED\WimBootConfigurations.ini'
        - 'C:\Windows\system32\ime\IMEJP\WimBootConfigurations.ini'
        - 'C:\Windows\system32\ime\IMETC\WimBootConfigurations.ini'

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
TargetFilenamematch
  • C:\Windows\System32\IME\IMEJP\imjpueact.dll
  • C:\Windows\system32\config\config\startwus.dat
  • C:\Windows\system32\config\cy-GB\Setup\SKB\InputMethod\TupTask.dat
  • C:\Windows\system32\config\spp\ServiceState\Recovery\pac.dat
  • C:\Windows\system32\ime\IMEJP\WimBootConfigurations.ini
  • C:\Windows\system32\ime\IMETC\IMTCPROT.DLL
  • C:\Windows\system32\ime\IMETC\WimBootConfigurations.ini
  • C:\Windows\system32\ime\SHARED\WimBootConfigurations.ini
  • C:\Windows\system32\ime\SHARED\imecpmeid.dll
  • C:\Windows\system32\physmem.sys