Detection rules › Sigma
Uncommon AddinUtil.EXE CommandLine Execution
Detects execution of the Add-In deployment cache updating utility (AddInutil.exe) with uncommon Addinroot or Pipelineroot paths. An adversary may execute AddinUtil.exe with uncommon Addinroot/Pipelineroot paths that point to the adversaries Addins.Store payload.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Stealth | T1218 System Binary Proxy Execution |
Event coverage
| Provider | Event | Title |
|---|---|---|
| Sysmon | Event ID 1 | Process creation |
Rule body yaml
title: Uncommon AddinUtil.EXE CommandLine Execution
id: 4f2cd9b6-4a17-440f-bb2a-687abb65993a
status: test
description: |
Detects execution of the Add-In deployment cache updating utility (AddInutil.exe) with uncommon Addinroot or Pipelineroot paths. An adversary may execute AddinUtil.exe with uncommon Addinroot/Pipelineroot paths that point to the adversaries Addins.Store payload.
references:
- https://www.blue-prints.blog/content/blog/posts/lolbin/addinutil-lolbas.html
author: Michael McKinley (@McKinleyMike), Tony Latteri (@TheLatteri)
date: 2023-09-18
tags:
- attack.stealth
- attack.t1218
logsource:
category: process_creation
product: windows
detection:
selection_img:
- Image|endswith: '\addinutil.exe'
- OriginalFileName: 'AddInUtil.exe'
selection_cli:
CommandLine|contains:
- '-AddInRoot:'
- '-PipelineRoot:'
filter_main_addinroot:
CommandLine|contains:
- '-AddInRoot:"C:\Program Files (x86)\Common Files\Microsoft Shared\VSTA'
- '-AddInRoot:C:\Program Files (x86)\Common Files\Microsoft Shared\VSTA'
- '-PipelineRoot:"C:\Program Files (x86)\Common Files\Microsoft Shared\VSTA'
- '-PipelineRoot:C:\Program Files (x86)\Common Files\Microsoft Shared\VSTA'
condition: all of selection_* and not 1 of filter_main_*
falsepositives:
- Unknown
level: medium
Stages and Predicates
Stage 0: condition
all of selection_* and not 1 of filter_main_*Stage 1: selection_img
selection_img:
- Image|endswith: '\addinutil.exe'
- OriginalFileName: 'AddInUtil.exe'
Stage 2: selection_cli
selection_cli:
CommandLine|contains:
- '-AddInRoot:'
- '-PipelineRoot:'
Stage 3: not filter_main_addinroot
filter_main_addinroot:
CommandLine|contains:
- '-AddInRoot:"C:\Program Files (x86)\Common Files\Microsoft Shared\VSTA'
- '-AddInRoot:C:\Program Files (x86)\Common Files\Microsoft Shared\VSTA'
- '-PipelineRoot:"C:\Program Files (x86)\Common Files\Microsoft Shared\VSTA'
- '-PipelineRoot:C:\Program Files (x86)\Common Files\Microsoft Shared\VSTA'
Exclusions
Top-level NOT(...) conjuncts: predicates this rule actively suppresses.
| Field | Kind | Excluded values |
|---|---|---|
CommandLine | match | -AddInRoot:C:\Program Files (x86)\Common Files\Microsoft Shared\VSTA |
CommandLine | match | -AddInRoot:"C:\Program Files (x86)\Common Files\Microsoft Shared\VSTA |
CommandLine | match | -PipelineRoot:C:\Program Files (x86)\Common Files\Microsoft Shared\VSTA |
CommandLine | match | -PipelineRoot:"C:\Program Files (x86)\Common Files\Microsoft Shared\VSTA |
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 |
|---|---|---|
CommandLine | match |
|
Image | ends_with |
|
OriginalFileName | eq |
|