Files
hayabusa/rules/sigma/process_creation/win_commandline_path_traversal.yml
itiB 83d891b2fa Feature/rm submodule (#312)
* rm: submodule

* Add: rules

* Fix: hayabusa-rules to c9c10a
2021-12-20 21:14:32 +09:00

35 lines
963 B
YAML

title: Cmd.exe CommandLine Path Traversal
ruletype: Sigma
author: xknow @xknow_infosec
date: 2020/06/11
description: detects the usage of path traversal in cmd.exe indicating possible command/argument
confusion/hijacking
detection:
SELECTION_1:
EventID: 1
SELECTION_2:
ParentCommandLine: '*cmd*'
SELECTION_3:
ParentCommandLine: '*/c*'
SELECTION_4:
CommandLine: '*/../../*'
condition: (SELECTION_1 and SELECTION_2 and SELECTION_3 and SELECTION_4)
falsepositives:
- (not much) some benign Java tools may product false-positive commandlines for loading
libraries
id: 087790e3-3287-436c-bccf-cbd0184a7db1
level: high
logsource:
category: process_creation
product: windows
modified: 2021/11/27
references:
- https://hackingiscool.pl/cmdhijack-command-argument-confusion-with-path-traversal-in-cmd-exe/
- https://twitter.com/Oddvarmoe/status/1270633613449723905
status: test
tags:
- attack.execution
- attack.t1059.003
- attack.t1059