Detection rules › Sigma
Renamed AutoHotkey.EXE Execution
Detects execution of a renamed autohotkey.exe binary based on PE metadata fields
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Stealth | No specific technique |
Event coverage
| Provider | Event | Title |
|---|---|---|
| Sysmon | Event ID 1 | Process creation |
Rule body yaml
title: Renamed AutoHotkey.EXE Execution
id: 0f16d9cf-0616-45c8-8fad-becc11b5a41c
status: test
description: Detects execution of a renamed autohotkey.exe binary based on PE metadata fields
references:
- https://www.autohotkey.com/download/
- https://thedfirreport.com/2023/02/06/collect-exfiltrate-sleep-repeat/
author: Nasreddine Bencherchali
date: 2023-02-07
tags:
- attack.stealth
logsource:
category: process_creation
product: windows
detection:
selection:
- Product|contains: 'AutoHotkey'
- Description|contains: 'AutoHotkey'
- OriginalFileName:
- 'AutoHotkey.exe'
- 'AutoHotkey.rc'
filter:
- Image|endswith:
- '\AutoHotkey.exe'
- '\AutoHotkey32.exe'
- '\AutoHotkey32_UIA.exe'
- '\AutoHotkey64.exe'
- '\AutoHotkey64_UIA.exe'
- '\AutoHotkeyA32.exe'
- '\AutoHotkeyA32_UIA.exe'
- '\AutoHotkeyU32.exe'
- '\AutoHotkeyU32_UIA.exe'
- '\AutoHotkeyU64.exe'
- '\AutoHotkeyU64_UIA.exe'
- Image|contains: '\AutoHotkey'
condition: selection and not filter
falsepositives:
- Unknown
level: medium
Stages and Predicates
Stage 0: condition
selection and not filterStage 1: selection
selection:
- Product|contains: 'AutoHotkey'
- Description|contains: 'AutoHotkey'
- OriginalFileName:
- 'AutoHotkey.exe'
- 'AutoHotkey.rc'
Stage 2: not filter
filter:
- Image|endswith:
- '\AutoHotkey.exe'
- '\AutoHotkey32.exe'
- '\AutoHotkey32_UIA.exe'
- '\AutoHotkey64.exe'
- '\AutoHotkey64_UIA.exe'
- '\AutoHotkeyA32.exe'
- '\AutoHotkeyA32_UIA.exe'
- '\AutoHotkeyU32.exe'
- '\AutoHotkeyU32_UIA.exe'
- '\AutoHotkeyU64.exe'
- '\AutoHotkeyU64_UIA.exe'
- Image|contains: '\AutoHotkey'
Exclusions
Top-level NOT(...) conjuncts: predicates this rule actively suppresses.
| Field | Kind | Excluded values |
|---|---|---|
Image | ends_with | \AutoHotkey.exe |
Image | ends_with | \AutoHotkey32.exe |
Image | ends_with | \AutoHotkey32_UIA.exe |
Image | ends_with | \AutoHotkey64.exe |
Image | ends_with | \AutoHotkey64_UIA.exe |
Image | ends_with | \AutoHotkeyA32.exe |
Image | ends_with | \AutoHotkeyA32_UIA.exe |
Image | ends_with | \AutoHotkeyU32.exe |
Image | ends_with | \AutoHotkeyU32_UIA.exe |
Image | ends_with | \AutoHotkeyU64.exe |
Image | ends_with | \AutoHotkeyU64_UIA.exe |
Image | match | \AutoHotkey |
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.
| Field | Kind | Values |
|---|---|---|
Description | match |
|
OriginalFileName | eq |
|
Product | match |
|