41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
title: PowerShell Download from URL
|
|
author: Florian Roth, oscd.community, Jonhnathan Ribeiro
|
|
date: 2019/01/16
|
|
description: Detects a Powershell process that contains download commands in its command
|
|
line string
|
|
detection:
|
|
SELECTION_1:
|
|
EventID: 1
|
|
SELECTION_2:
|
|
Image: '*\powershell.exe'
|
|
SELECTION_3:
|
|
CommandLine: '*new-object*'
|
|
SELECTION_4:
|
|
CommandLine: '*net.webclient).*'
|
|
SELECTION_5:
|
|
CommandLine: '*download*'
|
|
SELECTION_6:
|
|
CommandLine: '*string(*'
|
|
SELECTION_7:
|
|
CommandLine: '*file(*'
|
|
condition: (SELECTION_1 and SELECTION_2 and SELECTION_3 and SELECTION_4 and SELECTION_5
|
|
and (SELECTION_6 or SELECTION_7))
|
|
falsepositives:
|
|
- unknown
|
|
fields:
|
|
- CommandLine
|
|
- ParentCommandLine
|
|
id: 3b6ab547-8ec2-4991-b9d2-2b06702a48d7
|
|
level: medium
|
|
logsource:
|
|
category: process_creation
|
|
product: windows
|
|
status: experimental
|
|
tags:
|
|
- attack.t1086
|
|
- attack.execution
|
|
- attack.t1059.001
|
|
yml_filename: win_powershell_download.yml
|
|
yml_path: /Users/user/Documents/YamatoSecurity/sigma/rules/windows/process_creation
|
|
|