Skip to content

Commit

Permalink
Update T1546.yaml (#2880)
Browse files Browse the repository at this point in the history
* Update T1546.yaml

New Test Added : Persistence using automatic execution of custom DLL during RDP session

* Update T1546.yaml

* Update T1546.yaml

---------

Co-authored-by: Carrie Roberts <[email protected]>
  • Loading branch information
abhijose09 and clr2of8 authored Aug 3, 2024
1 parent aa9410b commit d27673e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions atomics/T1546/T1546.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,16 @@ atomic_tests:
reg delete "HKLM\Software\Microsoft\Windows\Windows Error Reporting\Hangs" /v Debugger /f
name: command_prompt
elevation_required: true
- name: Persistence using automatic execution of custom DLL during RDP session
description: |-
When remote desktop session is accepted, the system queries the key it queries the Registry key:HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\AddIns\TestDVCPlugin.
If such key exists, the OS will attempt to read the Path value underneath.Once the Path is read, the DLL that it points to will be loaded via LoadLibrary.
supported_platforms:
- windows
executor:
command: |-
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\AddIns\TestDVCPlugin" /v Path /t REG_SZ /d "C:\Windows\System32\amsi.dll" /f
cleanup_command: |-
reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\AddIns\TestDVCPlugin" /f
name: command_prompt
elevation_required: true

0 comments on commit d27673e

Please sign in to comment.