Detection rules › Sigma

Suspicious Program Names

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

Detects suspicious patterns in program names or folders that are often found in malicious samples or hacktools

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: Suspicious Program Names
id: efdd8dd5-cee8-4e59-9390-7d4d5e4dd6f6
status: test
description: Detects suspicious patterns in program names or folders that are often found in malicious samples or hacktools
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1560.001/T1560.001.md
author: Florian Roth (Nextron Systems)
date: 2022-02-11
modified: 2023-03-22
tags:
    - attack.execution
    - attack.t1059
logsource:
    category: process_creation
    product: windows
detection:
    selection_image:
        - Image|contains:
              - '\CVE-202' # Update this when we reach the year 2100
              - '\CVE202' # Update this when we reach the year 2100
        - Image|endswith:
              - '\poc.exe'
              - '\artifact.exe'
              - '\artifact64.exe'
              - '\artifact_protected.exe'
              - '\artifact32.exe'
              - '\artifact32big.exe'
              - 'obfuscated.exe'
              - 'obfusc.exe'
              - '\meterpreter'
    selection_commandline:
        CommandLine|contains:
            - 'inject.ps1'
            - 'Invoke-CVE'
            - 'pupy.ps1'
            - 'payload.ps1'
            - 'beacon.ps1'
            - 'PowerView.ps1'
            - 'bypass.ps1'
            - 'obfuscated.ps1'
            - 'obfusc.ps1'
            - 'obfus.ps1'
            - 'obfs.ps1'
            - 'evil.ps1'
            - 'MiniDogz.ps1'
            - '_enc.ps1'
            - '\shell.ps1'
            - '\rshell.ps1'
            - 'revshell.ps1'
            - '\av.ps1'
            - '\av_test.ps1'
            - 'adrecon.ps1'
            - 'mimikatz.ps1'
            - '\PowerUp_'
            - 'powerup.ps1'
            - '\Temp\a.ps1'
            - '\Temp\p.ps1'
            - '\Temp\1.ps1'
            - 'Hound.ps1'
            - 'encode.ps1'
            - 'powercat.ps1'
    condition: 1 of selection*
falsepositives:
    - Legitimate tools that accidentally match on the searched patterns
level: high

Stages and Predicates

Stage 0: condition

1 of selection*

Stage 1: selection_image

selection_image:
    - Image|contains:
          - '\CVE-202'
          - '\CVE202'
    - Image|endswith:
          - '\poc.exe'
          - '\artifact.exe'
          - '\artifact64.exe'
          - '\artifact_protected.exe'
          - '\artifact32.exe'
          - '\artifact32big.exe'
          - 'obfuscated.exe'
          - 'obfusc.exe'
          - '\meterpreter'

Stage 2: selection_commandline

selection_commandline:
    CommandLine|contains:
        - 'inject.ps1'
        - 'Invoke-CVE'
        - 'pupy.ps1'
        - 'payload.ps1'
        - 'beacon.ps1'
        - 'PowerView.ps1'
        - 'bypass.ps1'
        - 'obfuscated.ps1'
        - 'obfusc.ps1'
        - 'obfus.ps1'
        - 'obfs.ps1'
        - 'evil.ps1'
        - 'MiniDogz.ps1'
        - '_enc.ps1'
        - '\shell.ps1'
        - '\rshell.ps1'
        - 'revshell.ps1'
        - '\av.ps1'
        - '\av_test.ps1'
        - 'adrecon.ps1'
        - 'mimikatz.ps1'
        - '\PowerUp_'
        - 'powerup.ps1'
        - '\Temp\a.ps1'
        - '\Temp\p.ps1'
        - '\Temp\1.ps1'
        - 'Hound.ps1'
        - 'encode.ps1'
        - 'powercat.ps1'

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
  • Hound.ps1
  • Invoke-CVE
  • MiniDogz.ps1
  • PowerView.ps1
  • \PowerUp_
  • \Temp\1.ps1
  • \Temp\a.ps1
  • \Temp\p.ps1
  • \av.ps1
  • \av_test.ps1
  • \rshell.ps1
  • \shell.ps1
  • _enc.ps1
  • adrecon.ps1
  • beacon.ps1
  • bypass.ps1
  • encode.ps1
  • evil.ps1
  • inject.ps1
  • mimikatz.ps1
  • obfs.ps1
  • obfus.ps1
  • obfusc.ps1
  • obfuscated.ps1
  • payload.ps1
  • powercat.ps1
  • powerup.ps1
  • pupy.ps1
  • revshell.ps1
Imageends_with
  • \artifact.exe
  • \artifact32.exe
  • \artifact32big.exe
  • \artifact64.exe
  • \artifact_protected.exe
  • \meterpreter
  • \poc.exe
  • obfusc.exe
  • obfuscated.exe
Imagematch
  • \CVE-202
  • \CVE202