Detection rules › Sigma

HackTool - Inveigh Execution Artefacts

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

Detects the presence and execution of Inveigh via dropped artefacts

Known false positives

  • Unlikely

MITRE ATT&CK coverage

Telemetry coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule body

title: HackTool - Inveigh Execution Artefacts
id: bb09dd3e-2b78-4819-8e35-a7c1b874e449
status: test
description: Detects the presence and execution of Inveigh via dropped artefacts
references:
    - https://github.com/Kevin-Robertson/Inveigh/blob/29d9e3c3a625b3033cdaf4683efaafadcecb9007/Inveigh/Support/Output.cs
    - https://github.com/Kevin-Robertson/Inveigh/blob/29d9e3c3a625b3033cdaf4683efaafadcecb9007/Inveigh/Support/Control.cs
    - https://thedfirreport.com/2020/11/23/pysa-mespinoza-ransomware/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-10-24
modified: 2024-06-27
tags:
    - attack.command-and-control
    - attack.t1219.002
logsource:
    product: windows
    category: file_event
detection:
    selection:
        TargetFilename|endswith:
            - '\Inveigh-Log.txt'
            - '\Inveigh-Cleartext.txt'
            - '\Inveigh-NTLMv1Users.txt'
            - '\Inveigh-NTLMv2Users.txt'
            - '\Inveigh-NTLMv1.txt'
            - '\Inveigh-NTLMv2.txt'
            - '\Inveigh-FormInput.txt'
            - '\Inveigh.dll'
            - '\Inveigh.exe'
            - '\Inveigh.ps1'
            - '\Inveigh-Relay.ps1'
    condition: selection
falsepositives:
    - Unlikely
level: critical

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetFilename|endswith:
        - '\Inveigh-Log.txt'
        - '\Inveigh-Cleartext.txt'
        - '\Inveigh-NTLMv1Users.txt'
        - '\Inveigh-NTLMv2Users.txt'
        - '\Inveigh-NTLMv1.txt'
        - '\Inveigh-NTLMv2.txt'
        - '\Inveigh-FormInput.txt'
        - '\Inveigh.dll'
        - '\Inveigh.exe'
        - '\Inveigh.ps1'
        - '\Inveigh-Relay.ps1'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetFilenameends_with
  • \Inveigh-Cleartext.txt
  • \Inveigh-FormInput.txt
  • \Inveigh-Log.txt
  • \Inveigh-NTLMv1.txt
  • \Inveigh-NTLMv1Users.txt
  • \Inveigh-NTLMv2.txt
  • \Inveigh-NTLMv2Users.txt
  • \Inveigh-Relay.ps1
  • \Inveigh.dll
  • \Inveigh.exe
  • \Inveigh.ps1
field:"TargetFilename" kind:ends_with