.. /Dotnet.exe
Star

AWL bypass
Execute

dotnet.exe comes with .NET Framework


Paths:

Resources:
Acknowledgements:

Detection:

AWL bypass

  1. dotnet.exe will execute any dll even if applocker is enabled.

    dotnet.exe [PATH_TO_DLL]
    Use case
    Execute code bypassing AWL
    Privileges required
    User
    Operating systems
    Windows 7 and up with .NET installed
    ATT&CK® technique
    T1218
  2. dotnet.exe with msbuild (SDK Version) will execute unsigned code

    dotnet.exe msbuild [Path_TO_XML_CSPROJ]
    Use case
    Execute code bypassing AWL
    Privileges required
    User
    Operating systems
    Windows 10 and up with .NET Core installed
    ATT&CK® technique
    T1218

Execute

  1. dotnet.exe will execute any DLL.

    dotnet.exe [PATH_TO_DLL]
    Use case
    Execute DLL
    Privileges required
    User
    Operating systems
    Windows 7 and up with .NET installed
    ATT&CK® technique
    T1218
  2. dotnet.exe will open a console which allows for the execution of arbitrary F# commands

    dotnet.exe fsi
    Use case
    Execute arbitrary F# code
    Privileges required
    User
    Operating systems
    Windows 10 and up with .NET SDK installed
    ATT&CK® technique
    T1059