ClickOnce Deployment Execution - Dfsvc.EXE Child Process
Detects child processes of "dfsvc" which indicates a ClickOnce deployment execution.
Detection logic
selection
ParentImage|endswith: \dfsvc.exe
Image|endswith: \AppData\Local\Apps\2.0\Condition
selectionRaw YAML
title: ClickOnce Deployment Execution - Dfsvc.EXE Child Process
id: 241d52b5-eee0-49d0-ac8a-8b9c15c7221c
status: test
description: Detects child processes of "dfsvc" which indicates a ClickOnce deployment execution.
references:
- https://posts.specterops.io/less-smartscreen-more-caffeine-ab-using-clickonce-for-trusted-code-execution-1446ea8051c5
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-06-12
tags:
- attack.execution
- detection.threat-hunting
- attack.stealth
logsource:
category: process_creation
product: windows
detection:
selection:
ParentImage|endswith: '\dfsvc.exe'
Image|endswith: '\AppData\Local\Apps\2.0\'
condition: selection
falsepositives:
- False positives are expected in environement leveraging ClickOnce deployments. An initial baselining is required before using this rule in production.
level: mediumFalse positives
- False positives are expected in environement leveraging ClickOnce deployments. An initial baselining is required before using this rule in production.
References
Similar rules
Arbitrary Command Execution Using WSL
mediumwindows · Same logsource category (process_creation)
Diskshadow Child Process Spawned
mediumwindows · Same logsource category (process_creation)
Diskshadow Script Mode Execution
mediumwindows · Same logsource category (process_creation)
Invocation Of Crypto-Classes From The "Cryptography" PowerShell Namespace
mediumwindows · Same logsource category (process_creation)