refactor: improved rule

This commit is contained in:
Florian Roth
2022-01-11 09:27:22 +01:00
parent 7eaa3f8d3f
commit de6a153e81
@@ -4,9 +4,9 @@ description: Adversaries can abuse winget to download payloads remotely and exec
status: experimental
references:
- https://docs.microsoft.com/en-us/windows/package-manager/winget/install#local-install
author: Sreeman
author: Sreeman, Florian Roth, Frack113
date: 2020/21/04
modified: 2021/09/12
modified: 2022/01/11
tags:
- attack.defense_evasion
- attack.execution
@@ -16,10 +16,12 @@ logsource:
product: windows
detection:
selection:
CommandLine|contains|all: 'winget install'
CommandLine|contains|all:
- 'winget'
- 'install'
CommandLine|contains:
- ' -m '
- ' --manifest '
- '-m '
- '--manifest'
condition: selection
falsepositives:
- Admin activity installing packages not in the official Microsoft repo. Winget probably won't be used by most users.