01 / TRADECRAFT
4 examplesCommand reference
AWL Bypass2
EXAMPLE 01T1218
dotnet.exe will execute any DLL even if applocker is enabled.
COMMAND
dotnet.exe {PATH:.dll}EXAMPLE 02T1218
dotnet.exe with msbuild (SDK Version) will execute unsigned code
COMMAND
dotnet.exe msbuild {PATH:.csproj}Execute2
EXAMPLE 01T1218
dotnet.exe will execute any DLL.
COMMAND
dotnet.exe {PATH:.dll}EXAMPLE 02T1059
dotnet.exe will open a console which allows for the execution of arbitrary F# commands
COMMAND
dotnet.exe fsi02 / ON DISK
Known paths
C:\Program Files\dotnet\dotnet.exe03 / DEFENSIVE INTELLIGENCE
2 resourcesDetection & indicators
- Sigmaproc_creation_win_lolbin_dotnet.ymlgithub.com
- BlockRulemicrosoft recommended block rulesdocs.microsoft.com
Indicators & detection notes
- IOC
dotnet.exe spawned an unknown process
FURTHER READING
Research & resources
COMMUNITY RESEARCH
Acknowledgements
felamos@_felamos
Jimmy@bohops
yamalon@mavinject