T1218

System Binary Proxy Execution

Running code through Microsoft-signed binaries (LOLBAS) to get around AppLocker and allow-lists.

How it shows up on Hack The Box

If AppLocker blocks your .exe files, try allowed and writable folders (C:\Windows\Tasks) or binaries such as MSBuild, InstallUtil or rundll32.

Techniques in our catalog that match this one (the number is their machines):

Machines to practice it

Sorted from easiest to hardest. The ▶ link takes you to the minute of the IppSec video where it is used.

Guides

Commands

Taken from our cheatsheets and tool pages. Type your details and they are filled into every command.

Evasion explained: AMSI, ETW and AppLocker › AppLocker / CLM

Read the AppLocker rules Target
Get-AppLockerPolicy -Effective -Xml
LOLBAS that run for you Keys
# InstallUtil.exe, MSBuild.exe, regsvr32.exe, rundll32.exe: binarios firmados por Microsoft que ejecutan código y suelen estar en la lista blanca. Busca en lolbas-project.github.io.

Phishing explained: macros, HTA and LNK › HTA

The pattern any EDR flags Keys
# mshta.exe conectándose a una URL y creando cmd.exe o powershell.exe es un indicador de libro. Muchas empresas bloquean mshta.exe entero con AppLocker/WDAC.

Related cheatsheets