cscli scenarios install sigmahq/proc_creation_win_cmd_net_use_and_exec_combo
1type: trigger2name: sigmahq/proc_creation_win_cmd_net_use_and_exec_combo3description: |4 Detects the execution of the "net use" command to mount a WebDAV server and then immediately execute some content in it. As seen being used in malicious LNK files5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && ((evt.Parsed.Image contains '\\cmd.exe' || evt.Parsed.OriginalFileName == 'Cmd.EXE') && evt.Parsed.CommandLine contains ' net use http' && evt.Parsed.CommandLine contains '& start /b ' && evt.Parsed.CommandLine contains '\\DavWWWRoot\\' && (evt.Parsed.CommandLine contains '.exe ' || evt.Parsed.CommandLine contains '.dll ' || evt.Parsed.CommandLine contains '.bat ' || evt.Parsed.CommandLine contains '.vbs ' || evt.Parsed.CommandLine contains '.ps1 '))7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t1059.0011516 label: "Suspicious File Execution From Internet Hosted WebDav Share"17 behavior : "windows:audit"18 remediation: false1920scope:21 type: ParentProcessId22 expression: evt.Parsed.ParentProcessId2324