Detection rules › Sigma

Suspicious Run Key from Download

Status
test
Severity
high
Log source
product windows, category registry_event
Author
Florian Roth (Nextron Systems), Swachchhanda Shrawan Poude (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects the suspicious RUN keys created by software located in Download or temporary Outlook/Internet Explorer directories

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: Suspicious Run Key from Download
id: 9c5037d1-c568-49b3-88c7-9846a5bdc2be
status: test
description: Detects the suspicious RUN keys created by software located in Download or temporary Outlook/Internet Explorer directories
references:
    - https://app.any.run/tasks/c5bef5b7-f484-4c43-9cf3-d5c5c7839def/
    - https://github.com/HackTricks-wiki/hacktricks/blob/e4c7b21b8f36c97c35b7c622732b38a189ce18f7/src/windows-hardening/windows-local-privilege-escalation/privilege-escalation-with-autorun-binaries.md
author: Florian Roth (Nextron Systems), Swachchhanda Shrawan Poude (Nextron Systems)
date: 2019-10-01
modified: 2025-02-17
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.t1547.001
logsource:
    category: registry_event
    product: windows
detection:
    selection:
        Image|contains:
            - '\AppData\Local\Packages\Microsoft.Outlook_'
            - '\AppData\Local\Microsoft\Olk\Attachments\'
            - '\Downloads\'
            - '\Temporary Internet Files\Content.Outlook\'
            - '\Local Settings\Temporary Internet Files\'
        TargetObject|contains:
            - '\Software\Microsoft\Windows\CurrentVersion\Run'
            - '\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Run'
            - '\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run'
    condition: selection
falsepositives:
    - Software installers downloaded and used by users
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|contains:
        - '\AppData\Local\Packages\Microsoft.Outlook_'
        - '\AppData\Local\Microsoft\Olk\Attachments\'
        - '\Downloads\'
        - '\Temporary Internet Files\Content.Outlook\'
        - '\Local Settings\Temporary Internet Files\'
    TargetObject|contains:
        - '\Software\Microsoft\Windows\CurrentVersion\Run'
        - '\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Run'
        - '\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run'

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
Imagematch
  • \AppData\Local\Microsoft\Olk\Attachments\
  • \AppData\Local\Packages\Microsoft.Outlook_
  • \Downloads\ corpus 10 (sigma 10)
  • \Local Settings\Temporary Internet Files\
  • \Temporary Internet Files\Content.Outlook\ corpus 2 (sigma 2)
TargetObjectmatch
  • \Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run corpus 4 (sigma 3, kusto 1)
  • \Software\Microsoft\Windows\CurrentVersion\Run corpus 4 (sigma 4)
  • \Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Run corpus 3 (sigma 3)