EXPLORE
← Back to Explore
sigmahighHunting

Custom File Open Handler Executes PowerShell

Detects the abuse of custom file open handler, executing powershell

MITRE ATT&CK

defense-evasion

Detection Query

selection:
  TargetObject|contains: shell\open\command\
  Details|contains|all:
    - powershell
    - -command
condition: selection

Author

CD_R0M_

Created

2022-06-11

Data Sources

windowsRegistry Set Events

Platforms

windows

Tags

attack.defense-evasionattack.t1202
Raw Content
title: Custom File Open Handler Executes PowerShell
id: 7530b96f-ad8e-431d-a04d-ac85cc461fdc
status: test
description: Detects the abuse of custom file open handler, executing powershell
references:
    - https://news.sophos.com/en-us/2022/02/01/solarmarker-campaign-used-novel-registry-changes-to-establish-persistence/?cmp=30728
author: CD_R0M_
date: 2022-06-11
modified: 2023-08-17
tags:
    - attack.defense-evasion
    - attack.t1202
logsource:
    category: registry_set
    product: windows
detection:
    selection:
        TargetObject|contains: 'shell\open\command\'
        Details|contains|all:
            - 'powershell'
            - '-command'
    condition: selection
falsepositives:
    - Unknown
level: high