Files
blue-team-tools/rules/windows/process_creation/win_malware_script_dropper.yml
T
2020-10-15 18:04:48 -03:00

43 lines
1.2 KiB
YAML

title: WScript or CScript Dropper
id: cea72823-df4d-4567-950c-0b579eaf0846
status: experimental
description: Detects wscript/cscript executions of scripts located in user directories
author: Margaritis Dimitrios (idea), Florian Roth (rule)
date: 2019/01/16
modified: 2020/09/01
tags:
- attack.execution
- attack.t1059.005
- attack.t1059.007
- attack.defense_evasion # an old one
- attack.t1064 # an old one
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith:
- '\wscript.exe'
- '\cscript.exe'
CommandLine|contains:
- ' C:\Users\\*.jse '
- ' C:\Users\\*.vbe '
- ' C:\Users\\*.js '
- ' C:\Users\\*.vba '
- ' C:\Users\\*.vbs '
- ' C:\ProgramData\\*.jse '
- ' C:\ProgramData\\*.vbe '
- ' C:\ProgramData\\*.js '
- ' C:\ProgramData\\*.vba '
- ' C:\ProgramData\\*.vbs '
falsepositive:
ParentImage|contains: '\winzip'
condition: selection and not falsepositive
fields:
- CommandLine
- ParentCommandLine
falsepositives:
- Winzip
- Other self-extractors
level: high