Sigma Rule Library

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.

View on GitHubOpen raw file

Detection logic

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_*

Raw 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

False positives

  • Unknown

References

Similar rules