Detection rules › Sigma

PUA - Seatbelt Execution

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

Detects the execution of the PUA/Recon tool Seatbelt via PE information of command line parameters

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
SysmonEvent ID 1Process creation

Rule body yaml

title: PUA - Seatbelt Execution
id: 38646daa-e78f-4ace-9de0-55547b2d30da
status: test
description: Detects the execution of the PUA/Recon tool Seatbelt via PE information of command line parameters
references:
    - https://github.com/GhostPack/Seatbelt
    - https://www.bluetangle.dev/2022/08/fastening-seatbelt-on-threat-hunting.html
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-10-18
modified: 2023-02-04
tags:
    - attack.discovery
    - attack.t1526
    - attack.t1087
    - attack.t1083
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\Seatbelt.exe'
        - OriginalFileName: 'Seatbelt.exe'
        - Description: 'Seatbelt'
        - CommandLine|contains:
              # This just a list of the commands that will produce the least amount of FP in "theory"
              # Comment out/in as needed in your environment
              # To get the full list of commands see reference section
              - ' DpapiMasterKeys'
              - ' InterestingProcesses'
              - ' InterestingFiles'
              - ' CertificateThumbprints'
              - ' ChromiumBookmarks'
              - ' ChromiumHistory'
              - ' ChromiumPresence'
              - ' CloudCredentials'
              - ' CredEnum'
              - ' CredGuard'
              - ' FirefoxHistory'
              - ' ProcessCreationEvents'
              # - ' RDPSessions'
              # - ' PowerShellHistory'
    selection_group_list:
        CommandLine|contains:
            - ' -group=misc'
            - ' -group=remote'
            - ' -group=chromium'
            - ' -group=slack'
            - ' -group=system'
            - ' -group=user'
            - ' -group=all'
    selection_group_output:
        CommandLine|contains: ' -outputfile='
    condition: selection_img or all of selection_group_*
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection_img or all of selection_group_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\Seatbelt.exe'
    - OriginalFileName: 'Seatbelt.exe'
    - Description: 'Seatbelt'
    - CommandLine|contains:
          - ' DpapiMasterKeys'
          - ' InterestingProcesses'
          - ' InterestingFiles'
          - ' CertificateThumbprints'
          - ' ChromiumBookmarks'
          - ' ChromiumHistory'
          - ' ChromiumPresence'
          - ' CloudCredentials'
          - ' CredEnum'
          - ' CredGuard'
          - ' FirefoxHistory'
          - ' ProcessCreationEvents'

Stage 2: selection_group_list

selection_group_list:
    CommandLine|contains:
        - ' -group=misc'
        - ' -group=remote'
        - ' -group=chromium'
        - ' -group=slack'
        - ' -group=system'
        - ' -group=user'
        - ' -group=all'

Stage 3: selection_group_output

selection_group_output:
    CommandLine|contains: ' -outputfile='

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
  • -group=all
  • -group=chromium
  • -group=misc
  • -group=remote
  • -group=slack
  • -group=system
  • -group=user
  • -outputfile=
  • CertificateThumbprints
  • ChromiumBookmarks
  • ChromiumHistory
  • ChromiumPresence
  • CloudCredentials
  • CredEnum
  • CredGuard
  • DpapiMasterKeys
  • FirefoxHistory
  • InterestingFiles
  • InterestingProcesses
  • ProcessCreationEvents
Descriptioneq
  • Seatbelt
Imageends_with
  • \Seatbelt.exe
OriginalFileNameeq
  • Seatbelt.exe