Windows Suspicious cmd.exe Launch After net use Mounting WebDAV Share

Flags cmd.exe command lines that mount an Internet WebDAV share with net use and immediately execute content from DavWWWRoot.

FreeReviewedSigma · High · v2
Product
windows
Category
process_creation
Author
pH-T (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2022-09-01
Updated
2026-07-31
title: Windows Suspicious cmd.exe Launch After net use Mounting WebDAV Share
id: 85103b75-c729-4ce9-8c1d-7c578eb967ac
status: test
description: This rule matches process creation events where cmd.exe runs a command sequence that mounts an HTTP WebDAV share using net use and then immediately starts execution from the mapped WebDAV path (\DavWWWRoot\). The pattern is characteristic of malicious LNK-driven execution that retrieves and runs payloads hosted on remote shares. It relies on Windows process creation telemetry, including Image/OriginalFileName and full CommandLine content.
references:
  - https://twitter.com/ShadowChasing1/status/1552595370961944576
  - https://www.virustotal.com/gui/file/a63376ee1dba76361df73338928e528ca5b20171ea74c24581605366dcaa0104/behavior
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_cmd_net_use_and_exec_combo.yml
author: pH-T (Nextron Systems), Huntrule Team
date: 2022-09-01
modified: 2023-02-21
tags:
  - attack.execution
  - attack.t1059.001
logsource:
  category: process_creation
  product: windows
detection:
  selection_img:
    - Image|contains: \cmd.exe
    - OriginalFileName: Cmd.EXE
  selection_base:
    CommandLine|contains|all:
      - " net use http"
      - "& start /b "
      - \DavWWWRoot\
  selection_ext:
    CommandLine|contains:
      - ".exe "
      - ".dll "
      - ".bat "
      - ".vbs "
      - ".ps1 "
  condition: all of selection_*
falsepositives:
  - Unknown
level: high
license: DRL-1.1
related:
  - id: f0507c0f-a3a2-40f5-acc6-7f543c334993
    type: derived