Identifier / Programs / Windows
regasm.exe
Microsoft .NET Assembly Registration Utility file version info (xCyclopedia)
LOLBAS AWL Bypass, Execute 7 Sigma rules name it 1 ATT&CK technique 2 documented commands 4 known copies with hashes
How regasm.exe is abused
AWL Bypass T1218.009 System Binary Proxy Execution: Regsvcs/Regasm
Execute T1218.009 System Binary Proxy Execution: Regsvcs/Regasm
-uEach abuse is LOLBAS's category and the options and words it uses; the full write-up is on LOLBAS's page for regasm.exe.
2 documented commands
AWL Bypass T1218.009 System Binary Proxy Execution: Regsvcs/Regasm Local Admin privileges
Loads the target .NET DLL file and executes the RegisterClass function.
regasm.exe {PATH:.dll}IdentifyExecute T1218.009 System Binary Proxy Execution: Regsvcs/Regasm User privileges
Loads the target .DLL file and executes the UnRegisterClass function.
regasm.exe /U {PATH:.dll}IdentifyNone of the 2 commands the identifier reads trips a Sigma process-creation rule. These commands and their descriptions are from LOLBAS’s entry for regasm.exe, by Oddvar Moe, at commit 2056cb766250 of 2026-09-26, under the GPL-3.0 and LOLBAS’s notice, with no warranty. Changed: Markdown is shown formatted. The source is in lolbas-gtfobins-commands.json.gz, and the full entry is on LOLBAS’s page for regasm.exe. The identifier reads each with LOLBAS’s placeholders filled in: a URL as https://example.com/file, a share as \\192.0.2.10\share\file, a path as C:\Data\file and a command as calc.exe.
What detects it
Is it the real regasm.exe?
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\C:\Windows\Microsoft.NET\Framework\v4.0.30319\4 known copies
4.8.4161.0 built by: NET48REL1 · C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe · signed by Microsoft Windows
1136010a4706295f80343fe364d90d5789288dead5ab0ed0e0981d29ad669bbc4.8.4161.0 built by: NET48REL1 · C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe · signed by Microsoft Windows
53195987d396986ebcb20425ac130e78ad308fdbd918f33f3fd92b99abda314b4.8.4084.0 built by: NET48REL1 · C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe · signed by Microsoft Windows
c066aee7aa3aa83f763ebc5541daa266ed6c648fbffcde0d836a13b221bb2adc4.8.4084.0 built by: NET48REL1 · C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe · signed by Microsoft Windows
dc45704ba97d974d157c1c4a27dba402afa595eac2468d8def2ee8d0a2ee9a81From the file’s version info and the copies recorded by xCyclopedia (MIT). A copy in another folder, signed by someone else or with another hash is not necessarily malicious, but it is worth a closer look. In Ceplin, "<sha256>".whatis() says which known copy a hash is.