Update T1546.yaml (#2865)
New Test : Adding custom debugger for Windows Error Reporting Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
This commit is contained in:
@@ -121,4 +121,16 @@ atomic_tests:
|
||||
|
||||
# Clean up the CIM session
|
||||
Remove-CimSession -CimSession $CimSession
|
||||
|
||||
- name: Adding custom debugger for Windows Error Reporting
|
||||
description: |
|
||||
When applications hang, the Windows Error Reporting framework allows us to attach a debugger, if it is set up in the Registry.
|
||||
Adding executable of choice will let the executable to auto-execute when during any application crash due to functioning of WER framework
|
||||
supported_platforms:
|
||||
- windows
|
||||
executor:
|
||||
command: |
|
||||
reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting\Hangs" /v Debugger /t REG_SZ /d "C:\Windows\System32\notepad.exe" /f
|
||||
cleanup_command: |
|
||||
reg delete "HKLM\Software\Microsoft\Windows\Windows Error Reporting\Hangs" /v Debugger /f
|
||||
name: command_prompt
|
||||
elevation_required: true
|
||||
|
||||
Reference in New Issue
Block a user