Detection rules › Sigma

DLL Execution via Rasautou.exe

Status
test
Severity
medium
Log source
product windows, category process_creation
Author
Julia Fomina, oscd.community
Source
github.com/SigmaHQ/sigma

Detects using Rasautou.exe for loading arbitrary .DLL specified in -d option and executes the export specified in -p.

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
SysmonEvent ID 1Process creation

Rule body yaml

title: DLL Execution via Rasautou.exe
id: cd3d1298-eb3b-476c-ac67-12847de55813
status: test
description: Detects using Rasautou.exe for loading arbitrary .DLL specified in -d option and executes the export specified in -p.
references:
    - https://lolbas-project.github.io/lolbas/Binaries/Rasautou/
    - https://github.com/fireeye/DueDLLigence
    - https://www.fireeye.com/blog/threat-research/2019/10/staying-hidden-on-the-endpoint-evading-detection-with-shellcode.html
author: Julia Fomina, oscd.community
date: 2020-10-09
tags:
    - attack.stealth
    - attack.t1218
logsource:
    product: windows
    category: process_creation
    definition: Since options '-d' and '-p' were removed in Windows 10 this rule is relevant only for Windows before 10. And as Windows 7 doesn't log command line in 4688 by default, to detect this attack you need Sysmon 1 configured or KB3004375 installed for command-line auditing (https://support.microsoft.com/en-au/help/3004375/microsoft-security-advisory-update-to-improve-windows-command-line-aud)
detection:
    selection_img:
        - Image|endswith: '\rasautou.exe'
        - OriginalFileName: 'rasdlui.exe'
    selection_cli:
        CommandLine|contains|all:
            - ' -d '
            - ' -p '
    condition: all of selection*
falsepositives:
    - Unlikely
level: medium

Stages and Predicates

Stage 0: condition

all of selection*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\rasautou.exe'
    - OriginalFileName: 'rasdlui.exe'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains|all:
        - ' -d '
        - ' -p '

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
CommandLinematch
  • -d corpus 8 (sigma 7, splunk 1)
  • -p corpus 10 (sigma 7, splunk 3)
Imageends_with
  • \rasautou.exe
OriginalFileNameeq
  • rasdlui.exe