Skip to content

Commit

Permalink
Update T1546.yaml - New Test - Persistence using STARTUP-PATH in MS-W…
Browse files Browse the repository at this point in the history
…ORD (#2899)

Co-authored-by: Carrie Roberts <[email protected]>
  • Loading branch information
abhijose09 and clr2of8 authored Aug 13, 2024
1 parent 39ba130 commit 32da9c8
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion atomics/T1546/T1546.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,18 @@ atomic_tests:
cleanup_command: |-
reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\AddIns\TestDVCPlugin" /f
name: command_prompt
elevation_required: true
elevation_required: true
- name: Persistence using STARTUP-PATH in MS-WORD
description: |-
When Word starts, it searches for the registry key HKCU\Software\Microsoft\Office\<version>\Word\Options\STARTUP-PATH and if it exists,
it will treat it as a user specific start-up folder and load the contents of the folder with file extensions of .wll,.lnk,.dotm,.dot,.dotx
The registry key can be abused to load malware from the mentioned path. Reboot might be required.
supported_platforms:
- windows
executor:
command: |-
reg add "HKCU\Software\Microsoft\Office\16.0\Word\Options" /v STARTUP-PATH /t REG_SZ /d "C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Recent" /f
cleanup_command: |-
reg delete HKCU\Software\Microsoft\Office\16.0\Word\Options /v STARTUP-PATH /f
name: command_prompt
elevation_required: true

0 comments on commit 32da9c8

Please sign in to comment.