01 / TRADECRAFT
2 examplesCommand reference
AWL Bypass1
EXAMPLE 01T1218.009
Loads the target .NET DLL file and executes the RegisterClass function.
COMMAND
regasm.exe {PATH:.dll}Execute1
EXAMPLE 01T1218.009
Loads the target .DLL file and executes the UnRegisterClass function.
COMMAND
regasm.exe /U {PATH:.dll}02 / ON DISK
Known paths
C:\Windows\Microsoft.NET\Framework\v2.0.50727\regasm.exeC:\Windows\Microsoft.NET\Framework64\v2.0.50727\regasm.exeC:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exeC:\Windows\Microsoft.NET\Framework64\v4.0.30319\regasm.exe03 / DEFENSIVE INTELLIGENCE
4 resourcesDetection & indicators
- Sigmaproc_creation_win_lolbin_regasm.ymlgithub.com
- Elasticexecution_register_server_program_connecting_to_the_internet.tomlgithub.com
- Splunksuspicious_regsvcs_regasm_activity.mdgithub.com
- Splunkdetect_regasm_with_network_connection.ymlgithub.com
Indicators & detection notes
- IOC
regasm.exe executing dll file
FURTHER READING
Research & resources
COMMUNITY RESEARCH
Acknowledgements
Casey Smith@subtee