Aspnet_Compiler.exe

ASP.NET Compilation Tool

Paths

  • c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe
  • c:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler.exe

Commands

AWL Bypass

Execute C# code with the Build Provider and proper folder structure in place.

Use case: Execute proxied payload with Microsoft signed binary to bypass application control solutions

Privileges: User

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler.exe -v none -p C:\users\cpl.internal\desktop\asptest\ -f C:\users\cpl.internal\desktop\asptest\none -u

Detection

Resources