diff --git a/atomics/T1112/T1112.yaml b/atomics/T1112/T1112.yaml index 0397a04e..789c219c 100644 --- a/atomics/T1112/T1112.yaml +++ b/atomics/T1112/T1112.yaml @@ -871,4 +871,16 @@ atomic_tests: cleanup_command: | $typicalPath = "HKLM:\SOFTWARE\Classes\.wav\OpenWithProgIds"; Remove-ItemProperty -Path $typicalPath -Name "AtomicSnake" -ErrorAction SilentlyContinue | Out-Null name: powershell - elevation_required: true \ No newline at end of file + elevation_required: true +- name: Malware we read about about on a blog + description: | + a desc of the attack commands + supported_platforms: + - windows + executor: + command: | + $typicalPath = "HKLM:\SOFTWARE\Classes\.wav\OpenWithProgIds"; $randomBytes = New-Object Byte[] 0x1000; (New-Object Random).NextBytes($randomBytes); New-ItemProperty -Path $typicalPath -Name "AtomicSnake" -Value $randomBytes -PropertyType Binary -Force | Out-Null + cleanup_command: | + $typicalPath = "HKLM:\SOFTWARE\Classes\.wav\OpenWithProgIds"; Remove-ItemProperty -Path $typicalPath -Name "AtomicSnake" -ErrorAction SilentlyContinue | Out-Null + name: powershell + elevation_required: true