Detection rules › Sigma

HackTool - Rubeus Execution

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

Detects the execution of the hacktool Rubeus via PE information of command line parameters

Known false positives

  • Unlikely

MITRE ATT&CK coverage

Telemetry coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule body

title: HackTool - Rubeus Execution
id: 7ec2c172-dceb-4c10-92c9-87c1881b7e18
related:
    - id: 7ec2c172-dceb-4c10-92c9-87c1881b7e18
      type: similar
status: stable
description: Detects the execution of the hacktool Rubeus via PE information of command line parameters
references:
    - https://blog.harmj0y.net/redteaming/from-kekeo-to-rubeus
    - https://m0chan.github.io/2019/07/31/How-To-Attack-Kerberos-101.html
    - https://github.com/GhostPack/Rubeus
author: Florian Roth (Nextron Systems)
date: 2018-12-19
modified: 2023-04-20
tags:
    - attack.credential-access
    - attack.t1003
    - attack.t1558.003
    - attack.lateral-movement
    - attack.t1550.003
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        - Image|endswith: '\Rubeus.exe'
        - OriginalFileName: 'Rubeus.exe'
        - Description: 'Rubeus'
        - CommandLine|contains:
              - 'asreproast '
              - 'dump /service:krbtgt '
              - 'dump /luid:0x'
              - 'kerberoast '
              - 'createnetonly /program:'
              - 'ptt /ticket:'
              - '/impersonateuser:'
              - 'renew /ticket:'
              - 'asktgt /user:'
              - 'harvest /interval:'
              - 's4u /user:'
              - 's4u /ticket:'
              - 'hash /password:'
              - 'golden /aes256:'
              - 'silver /user:'
    condition: selection
falsepositives:
    - Unlikely
level: critical

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    - Image|endswith: '\Rubeus.exe'
    - OriginalFileName: 'Rubeus.exe'
    - Description: 'Rubeus'
    - CommandLine|contains:
          - 'asreproast '
          - 'dump /service:krbtgt '
          - 'dump /luid:0x'
          - 'kerberoast '
          - 'createnetonly /program:'
          - 'ptt /ticket:'
          - '/impersonateuser:'
          - 'renew /ticket:'
          - 'asktgt /user:'
          - 'harvest /interval:'
          - 's4u /user:'
          - 's4u /ticket:'
          - 'hash /password:'
          - 'golden /aes256:'
          - 'silver /user:'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • /impersonateuser:
  • asktgt /user:
  • asreproast
  • createnetonly /program:
  • dump /luid:0x
  • dump /service:krbtgt
  • golden /aes256:
  • harvest /interval:
  • hash /password:
  • kerberoast
  • ptt /ticket:
  • renew /ticket:
  • s4u /ticket:
  • s4u /user:
  • silver /user:
field:"CommandLine" kind:match
Descriptioneq
  • Rubeus
field:"Description" kind:eq value:"Rubeus"
Imageends_with
  • \Rubeus.exe
field:"Image" kind:ends_with value:"\Rubeus.exe"
OriginalFileNameeq
  • Rubeus.exe
field:"OriginalFileName" kind:eq value:"Rubeus.exe"