forked from SigmaHQ/sigma
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR SigmaHQ#4477 from @Neo23x0 - CoercedPotato activity
new: HackTool - CoercedPotato Named Pipe Creation new: HackTool - CoercedPotato Execution update: Renamed CURL.EXE Execution - Extended filter --------- Co-authored-by: Nasreddine Bencherchali <[email protected]>
- Loading branch information
Showing
4 changed files
with
61 additions
and
2 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
rules/windows/pipe_created/pipe_created_hktl_coercedpotato.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
title: HackTool - CoercedPotato Named Pipe Creation | ||
id: 4d0083b3-580b-40da-9bba-626c19fe4033 | ||
status: experimental | ||
description: Detects the pattern of a pipe name as used by the hack tool CoercedPotato | ||
references: | ||
- https://blog.hackvens.fr/articles/CoercedPotato.html | ||
- https://github.com/hackvens/CoercedPotato | ||
author: Florian Roth (Nextron Systems) | ||
date: 2023/10/11 | ||
tags: | ||
- attack.defense_evasion | ||
- attack.privilege_escalation | ||
- attack.t1055 | ||
logsource: | ||
product: windows | ||
category: pipe_created | ||
definition: 'Note that you have to configure logging for Named Pipe Events in Sysmon config (Event ID 17 and Event ID 18). The basic configuration is in popular sysmon configuration (https://github.com/SwiftOnSecurity/sysmon-config), but it is worth verifying. You can also use other repo, e.g. https://github.com/Neo23x0/sysmon-config, https://github.com/olafhartong/sysmon-modular. How to test detection? You can check powershell script from this site https://svch0st.medium.com/guide-to-named-pipes-and-hunting-for-cobalt-strike-pipes-dc46b2c5f575' | ||
detection: | ||
selection: | ||
PipeName|contains: '\coerced\' | ||
condition: selection | ||
falsepositives: | ||
- Unknown | ||
level: high |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
rules/windows/process_creation/proc_creation_win_hktl_coercedpotato.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
title: HackTool - CoercedPotato Execution | ||
id: e8d34729-86a4-4140-adfd-0a29c2106307 | ||
status: experimental | ||
description: Detects the use of CoercedPotato, a tool for privilege escalation | ||
references: | ||
- https://github.com/hackvens/CoercedPotato | ||
- https://blog.hackvens.fr/articles/CoercedPotato.html | ||
author: Florian Roth (Nextron Systems) | ||
date: 2023/10/11 | ||
tags: | ||
- attack.defense_evasion | ||
- attack.privilege_escalation | ||
- attack.t1055 | ||
logsource: | ||
category: process_creation | ||
product: windows | ||
detection: | ||
selection_loader_img: | ||
Image|endswith: '\CoercedPotato.exe' | ||
selection_params: | ||
CommandLine|contains: ' --exploitId ' | ||
selection_loader_imphash: | ||
- Imphash: | ||
- 'a75d7669db6b2e107a44c4057ff7f7d6' | ||
- 'f91624350e2c678c5dcbe5e1f24e22c9' | ||
- '14c81850a079a87e83d50ca41c709a15' | ||
- Hashes: | ||
- 'IMPHASH=A75D7669DB6B2E107A44C4057FF7F7D6' | ||
- 'IMPHASH=F91624350E2C678C5DCBE5E1F24E22C9' | ||
- 'IMPHASH=14C81850A079A87E83D50CA41C709A15' | ||
condition: 1 of selection_* | ||
falsepositives: | ||
- Unknown | ||
level: high |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters