Detection rules › Sigma

Rundll32 InstallScreenSaver Execution

Status
test
Severity
medium
Log source
category process_creation, product windows
Author
Christopher Peacock @securepeacock, SCYTHE @scythe_io, TactiKoolSec
Source
github.com/SigmaHQ/sigma

An attacker may execute an application as a SCR File using rundll32.exe desk.cpl,InstallScreenSaver

Known false positives

  • Legitimate installation of a new screensaver

MITRE ATT&CK coverage

Telemetry coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule body

title: Rundll32 InstallScreenSaver Execution
id: 15bd98ea-55f4-4d37-b09a-e7caa0fa2221
status: test
description: An attacker may execute an application as a SCR File using rundll32.exe desk.cpl,InstallScreenSaver
references:
    - https://lolbas-project.github.io/lolbas/Libraries/Desk/
    - https://github.com/redcanaryco/atomic-red-team/blob/0f229c0e42bfe7ca736a14023836d65baa941ed2/atomics/T1218.011/T1218.011.md#atomic-test-13---rundll32-with-deskcpl
author: 'Christopher Peacock @securepeacock, SCYTHE @scythe_io, TactiKoolSec'
date: 2022-04-28
modified: 2023-02-09
tags:
    - attack.stealth
    - attack.t1218.011
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\rundll32.exe'
        - OriginalFileName: 'RUNDLL32.EXE'
    selection_cli:
        CommandLine|contains: 'InstallScreenSaver'
    condition: all of selection_*
falsepositives:
    - Legitimate installation of a new screensaver
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\rundll32.exe'
    - OriginalFileName: 'RUNDLL32.EXE'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains: 'InstallScreenSaver'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • InstallScreenSaver
field:"CommandLine" kind:match value:"InstallScreenSaver"
Imageends_with
  • \rundll32.exe corpus 94 (sigma 94)
field:"Image" kind:ends_with value:"\rundll32.exe"
OriginalFileNameeq
  • RUNDLL32.EXE corpus 78 (sigma 35, elastic 22, splunk 21)
field:"OriginalFileName" kind:eq value:"RUNDLL32.EXE"