Runscripthelper.exe

type: OSBinaries
Execute target PowerShell script

Full path

C:\Windows\WinSxS\amd64_microsoft-windows-u..ed-telemetry-client_31bf3856ad364e35_10.0.16299.15_none_c2df1bba78111118\Runscripthelper.exe
C:\Windows\WinSxS\amd64_microsoft-windows-u..ed-telemetry-client_31bf3856ad364e35_10.0.16299.192_none_ad4699b571e00c4a\Runscripthelper.exe

Commands

  1. ExecuteUser T1218

    Bypass constrained language mode and execute Powershell script

    runscripthelper.exe surfacecheck \\?\{PATH_ABSOLUTE:.txt} {PATH_ABSOLUTE:folder}

    Execute the PowerShell script with .txt extension

    os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10

    Execute: PowerShell

Detection

Resources

acknowledgement: Matt Graeber @mattifestation