Detection rules › Sigma
Suspicious WebDav Client Execution Via Rundll32.EXE
Detects "svchost.exe" spawning "rundll32.exe" with command arguments like C:\windows\system32\davclnt.dll,DavSetCookie. This could be an indicator of exfiltration or use of WebDav to launch code (hosted on WebDav Server) or potentially a sign of exploitation of CVE-2023-23397
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Exfiltration | T1048.003 Exfiltration Over Alternative Protocol: Exfiltration Over Unencrypted Non-C2 Protocol |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 1 | Process creation |
Stages and Predicates
Stage 1: selection
CommandLine|contains: 'C:\windows\system32\davclnt.dll,DavSetCookie'
CommandLine|re: '://\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'
Image|endswith: '\rundll32.exe'
ParentCommandLine|contains: '-s WebClient'
ParentImage|endswith: '\svchost.exe'
Stage 2: not 1 of filter_local_ips
or:
CommandLine|contains: '://10.'
CommandLine|contains: '://127.'
CommandLine|contains: '://169.254.'
CommandLine|contains: '://172.16.'
CommandLine|contains: '://172.17.'
CommandLine|contains: '://172.18.'
CommandLine|contains: '://172.19.'
CommandLine|contains: '://172.20.'
CommandLine|contains: '://172.21.'
CommandLine|contains: '://172.22.'
CommandLine|contains: '://172.23.'
CommandLine|contains: '://172.24.'
CommandLine|contains: '://172.25.'
CommandLine|contains: '://172.26.'
CommandLine|contains: '://172.27.'
CommandLine|contains: '://172.28.'
CommandLine|contains: '://172.29.'
CommandLine|contains: '://172.30.'
CommandLine|contains: '://172.31.'
CommandLine|contains: '://192.168.'
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 |
|
CommandLine | regex_match |
|
Image | ends_with |
|
ParentCommandLine | match |
|
ParentImage | ends_with |
|
Neighbors
Broader alternatives (more inclusive than this rule)
These rules match a superset of what this rule catches. They cover the same events plus more. Use them if you want wider coverage and can absorb more false positives.
- WebDav Client Execution Via Rundll32.EXE (drops 4 filters this rule applies)