Detection rules › Sigma

Suspicious Parent Double Extension File Execution

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

Detect execution of suspicious double extension files in ParentCommandLine

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
SysmonEvent ID 1Process creation

Rule body yaml

title: Suspicious Parent Double Extension File Execution
id: 5e6a80c8-2d45-4633-9ef4-fa2671a39c5c
related:
    - id: 1cdd9a09-06c9-4769-99ff-626e2b3991b8 # Image/CommandLine
      type: derived
status: test
description: Detect execution of suspicious double extension files in ParentCommandLine
references:
    - https://www.virustotal.com/gui/file/7872d8845a332dce517adae9c3389fde5313ff2fed38c2577f3b498da786db68/behavior
    - https://symantec-enterprise-blogs.security.com/blogs/threat-intelligence/bluebottle-banks-targeted-africa
author: frack113, Nasreddine Bencherchali (Nextron Systems)
date: 2023-01-06
modified: 2023-02-28
tags:
    - attack.stealth
    - attack.t1036.007
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        - ParentImage|endswith:
              - '.doc.lnk'
              - '.docx.lnk'
              - '.xls.lnk'
              - '.xlsx.lnk'
              - '.ppt.lnk'
              - '.pptx.lnk'
              - '.rtf.lnk'
              - '.pdf.lnk'
              - '.txt.lnk'
              - '.doc.js'
              - '.docx.js'
              - '.xls.js'
              - '.xlsx.js'
              - '.ppt.js'
              - '.pptx.js'
              - '.rtf.js'
              - '.pdf.js'
              - '.txt.js'
        - ParentCommandLine|contains:
              - '.doc.lnk'
              - '.docx.lnk'
              - '.xls.lnk'
              - '.xlsx.lnk'
              - '.ppt.lnk'
              - '.pptx.lnk'
              - '.rtf.lnk'
              - '.pdf.lnk'
              - '.txt.lnk'
              - '.doc.js'
              - '.docx.js'
              - '.xls.js'
              - '.xlsx.js'
              - '.ppt.js'
              - '.pptx.js'
              - '.rtf.js'
              - '.pdf.js'
              - '.txt.js'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    - ParentImage|endswith:
          - '.doc.lnk'
          - '.docx.lnk'
          - '.xls.lnk'
          - '.xlsx.lnk'
          - '.ppt.lnk'
          - '.pptx.lnk'
          - '.rtf.lnk'
          - '.pdf.lnk'
          - '.txt.lnk'
          - '.doc.js'
          - '.docx.js'
          - '.xls.js'
          - '.xlsx.js'
          - '.ppt.js'
          - '.pptx.js'
          - '.rtf.js'
          - '.pdf.js'
          - '.txt.js'
    - ParentCommandLine|contains:
          - '.doc.lnk'
          - '.docx.lnk'
          - '.xls.lnk'
          - '.xlsx.lnk'
          - '.ppt.lnk'
          - '.pptx.lnk'
          - '.rtf.lnk'
          - '.pdf.lnk'
          - '.txt.lnk'
          - '.doc.js'
          - '.docx.js'
          - '.xls.js'
          - '.xlsx.js'
          - '.ppt.js'
          - '.pptx.js'
          - '.rtf.js'
          - '.pdf.js'
          - '.txt.js'

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
ParentCommandLinematch
  • .doc.js
  • .doc.lnk
  • .docx.js
  • .docx.lnk
  • .pdf.js
  • .pdf.lnk
  • .ppt.js
  • .ppt.lnk
  • .pptx.js
  • .pptx.lnk
  • .rtf.js
  • .rtf.lnk
  • .txt.js
  • .txt.lnk
  • .xls.js
  • .xls.lnk
  • .xlsx.js
  • .xlsx.lnk
ParentImageends_with
  • .doc.js
  • .doc.lnk
  • .docx.js
  • .docx.lnk
  • .pdf.js
  • .pdf.lnk
  • .ppt.js
  • .ppt.lnk
  • .pptx.js
  • .pptx.lnk
  • .rtf.js
  • .rtf.lnk
  • .txt.js
  • .txt.lnk
  • .xls.js
  • .xls.lnk
  • .xlsx.js
  • .xlsx.lnk