CL_LoadAssembly.ps1

type: OSScripts
PowerShell Diagnostic Script

Full path

C:\Windows\diagnostics\system\Audio\CL_LoadAssembly.ps1

Commands

  1. ExecuteUser T1216

    Execute proxied payload with Microsoft signed binary

    powershell.exe -ep bypass -command "set-location -path C:\Windows\diagnostics\system\Audio; import-module .\CL_LoadAssembly.ps1; LoadAssemblyFromPath ..\..\..\..\testing\fun.dll;[Program]::Fun()"

    Proxy execute Managed DLL with PowerShell

    os: Windows 10 21H1 (likely other versions as well), Windows 11

    Execute: DLL (.NET)

Detection

Resources

acknowledgement: Jimmy @bohops