Add persistance via Recycle bin (#1809)
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
This commit is contained in:
@@ -139,3 +139,14 @@ atomic_tests:
|
||||
cleanup_command: Remove-Item "$home\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\calc_exe.lnk" -ErrorAction Ignore
|
||||
name: powershell
|
||||
elevation_required: true
|
||||
|
||||
- name: Add persistance via Recycle bin
|
||||
description: |
|
||||
Add a persistance via Recycle bin [vxunderground](https://github.com/vxunderground/VXUG-Papers/blob/main/The%20Persistence%20Series/Persistence%20via%20Recycle%20Bin/Persistence_via_Recycle_Bin.pdf)
|
||||
User have to clic on the recycle bin to lauch the payload (here calc)
|
||||
supported_platforms:
|
||||
- windows
|
||||
executor:
|
||||
command: reg ADD "HKCR\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\open\command" /ve /d "calc.exe" /f
|
||||
cleanup_command: reg DELETE "HKCR\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\open" /f
|
||||
name: command_prompt
|
||||
|
||||
Reference in New Issue
Block a user