Url.dll
Full path
c:\windows\system32\url.dll
c:\windows\syswow64\url.dllCommands
Invoke an HTML Application via mshta.exe (Default Handler).
rundll32.exe url.dll,OpenURL {PATH_ABSOLUTE:.hta}Launch a HTML application payload by calling OpenURL.
os: Windows 10, Windows 11
Load an executable payload by calling a .url file.
rundll32.exe url.dll,OpenURL {PATH_ABSOLUTE:.url}Launch an executable payload via proxy through a .url (information) file by calling OpenURL.
os: Windows 10, Windows 11
Load an executable payload by specifying the file protocol handler (obfuscated).
rundll32.exe url.dll,OpenURL file://^C^:^/^W^i^n^d^o^w^s^/^s^y^s^t^e^m^3^2^/^c^a^l^c^.^e^x^eLaunch an executable by calling OpenURL.
os: Windows 10, Windows 11
Launch an executable.
rundll32.exe url.dll,FileProtocolHandler {PATH_ABSOLUTE:.exe}Launch an executable by calling FileProtocolHandler.
os: Windows 10, Windows 11
Load an executable payload by specifying the file protocol handler (obfuscated).
rundll32.exe url.dll,FileProtocolHandler file://^C^:^/^W^i^n^d^o^w^s^/^s^y^s^t^e^m^3^2^/^c^a^l^c^.^e^x^eLaunch an executable by calling FileProtocolHandler.
os: Windows 10, Windows 11
Invoke an HTML Application via mshta.exe (Default Handler).
rundll32.exe url.dll,FileProtocolHandler file:///C:/test/test.htaLaunch a HTML application payload by calling FileProtocolHandler.
os: Windows 10, Windows 11
Detection
Resources
- https://bohops.com/2018/03/17/abusing-exported-functions-and-exposed-dcom-interfaces-for-pass-thru-command-execution-and-lateral-movement/
- https://twitter.com/DissectMalware/status/995348436353470465
- https://twitter.com/bohops/status/974043815655956481
- https://twitter.com/yeyint_mth/status/997355558070927360
- https://twitter.com/Hexacorn/status/974063407321223168
- https://windows10dll.nirsoft.net/url_dll.html
acknowledgement: Adam (OpenURL) @hexacorn, Jimmy (OpenURL) @bohops, Malwrologist (FileProtocolHandler - HTA) @DissectMalware, r0lan (Obfuscation) @r0lan