Detection rules › Sigma

Load Of RstrtMgr.DLL By An Uncommon Process

Status
test
Severity
low
Log source
product windows, category image_load
Author
Luc Génaux
Source
github.com/SigmaHQ/sigma

Detects the load of RstrtMgr DLL (Restart Manager) by an uncommon process. This library has been used during ransomware campaigns to kill processes that would prevent file encryption by locking them (e.g. Conti ransomware, Cactus ransomware). It has also recently been seen used by the BiBi wiper for Windows. It could also be used for anti-analysis purposes by shut downing specific processes.

MITRE ATT&CK coverage

TacticTechniques
Defense ImpairmentT1685 Disable or Modify Tools
ImpactT1486 Data Encrypted for Impact

Event coverage

ProviderEventTitle
SysmonEvent ID 7Image loaded

Rule body yaml

title: Load Of RstrtMgr.DLL By An Uncommon Process
id: 3669afd2-9891-4534-a626-e5cf03810a61
related:
    - id: b48492dc-c5ef-4572-8dff-32bc241c15c8
      type: derived
status: test
description: |
    Detects the load of RstrtMgr DLL (Restart Manager) by an uncommon process.
    This library has been used during ransomware campaigns to kill processes that would prevent file encryption by locking them (e.g. Conti ransomware, Cactus ransomware). It has also recently been seen used by the BiBi wiper for Windows.
    It could also be used for anti-analysis purposes by shut downing specific processes.
references:
    - https://www.crowdstrike.com/blog/windows-restart-manager-part-1/
    - https://www.crowdstrike.com/blog/windows-restart-manager-part-2/
    - https://web.archive.org/web/20231221193106/https://www.swascan.com/cactus-ransomware-malware-analysis/
    - https://taiwan.postsen.com/business/88601/Hamas-hackers-use-data-destruction-software-BiBi-which-consumes-a-lot-of-processor-resources-to-wipe-Windows-computer-data--iThome.html
author: Luc Génaux
date: 2023-11-28
modified: 2025-12-08
tags:
    - attack.impact
    - attack.defense-impairment
    - attack.t1486
    - attack.t1685
logsource:
    category: image_load
    product: windows
detection:
    selection:
        - ImageLoaded|endswith: '\RstrtMgr.dll'
        - OriginalFileName: 'RstrtMgr.dll'
    filter_main_generic:
        Image|startswith:
            - C:\$WINDOWS.~BT\'
            - C:\$WinREAgent\'
            - C:\Program Files (x86)\'
            - C:\Program Files\'
            - C:\ProgramData\'
            - C:\Windows\explorer.exe'
            - C:\Windows\SoftwareDistribution\'
            - C:\Windows\SysNative\'
            - C:\Windows\System32\'
            - C:\Windows\SysWOW64\'
            - C:\Windows\WinSxS\'
            - C:\WUDownloadCache\'
    filter_main_user_software_installations:
        Image|startswith: C:\Users\'
        Image|contains|all:
            - '\AppData\Local\Temp\is-'
            - '.tmp\'
        Image|endswith: '.tmp'
    filter_main_admin_software_installations:
        Image|startswith: C:\Windows\Temp\'
    filter_optional_onedrive:
        Image|startswith: 'C:\Users\'
        Image|endswith: '\AppData\Local\Microsoft\OneDrive\OneDriveStandaloneUpdater.exe'
    condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
falsepositives:
    - Other legitimate Windows processes not currently listed
    - Processes related to software installation
level: low

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_* and not 1 of filter_optional_*

Stage 1: selection

selection:
    - ImageLoaded|endswith: '\RstrtMgr.dll'
    - OriginalFileName: 'RstrtMgr.dll'

Stage 2: not filter_main_*

filter_main_generic:
    Image|startswith:
        - C:\$WINDOWS.~BT\'
        - C:\$WinREAgent\'
        - C:\Program Files (x86)\'
        - C:\Program Files\'
        - C:\ProgramData\'
        - C:\Windows\explorer.exe'
        - C:\Windows\SoftwareDistribution\'
        - C:\Windows\SysNative\'
        - C:\Windows\System32\'
        - C:\Windows\SysWOW64\'
        - C:\Windows\WinSxS\'
        - C:\WUDownloadCache\'
filter_main_user_software_installations:
    Image|startswith: C:\Users\'
    Image|contains|all:
        - '\AppData\Local\Temp\is-'
        - '.tmp\'
    Image|endswith: '.tmp'
filter_main_admin_software_installations:
    Image|startswith: C:\Windows\Temp\'

Stage 3: not filter_optional_onedrive

filter_optional_onedrive:
    Image|startswith: 'C:\Users\'
    Image|endswith: '\AppData\Local\Microsoft\OneDrive\OneDriveStandaloneUpdater.exe'

Exclusions

Top-level NOT(...) conjuncts: predicates this rule actively suppresses.

FieldKindExcluded values
Imageends_with.tmp
Imagematch.tmp\
Imagematch\AppData\Local\Temp\is-
Imagestarts_withC:\Users\'
Imagestarts_withC:\$WINDOWS.~BT\'
Imagestarts_withC:\$WinREAgent\'
Imagestarts_withC:\Program Files (x86)\'
Imagestarts_withC:\Program Files\'
Imagestarts_withC:\ProgramData\'
Imagestarts_withC:\WUDownloadCache\'
Imagestarts_withC:\Windows\SoftwareDistribution\'
Imagestarts_withC:\Windows\SysNative\'
Imagestarts_withC:\Windows\SysWOW64\'
Imagestarts_withC:\Windows\System32\'
Imagestarts_withC:\Windows\Temp\'
Imagestarts_withC:\Windows\WinSxS\'
Imagestarts_withC:\Windows\explorer.exe'
Imageends_with\AppData\Local\Microsoft\OneDrive\OneDriveStandaloneUpdater.exe
Imagestarts_withC:\Users\

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
ImageLoadedends_with
  • \RstrtMgr.dll corpus 2 (sigma 2)
OriginalFileNameeq
  • RstrtMgr.dll corpus 2 (sigma 2)