Url.dll
Internet Shortcut Shell Extension DLL.
Paths
c:\windows\system32\url.dllc:\windows\syswow64\url.dll
Commands
Execute
Launch a HTML application payload by calling OpenURL.
Use case: Invoke an HTML Application via mshta.exe (Default Handler).
Privileges: User
rundll32.exe url.dll,OpenURL {PATH_ABSOLUTE:.hta}
Execute
Launch an executable payload via proxy through a .url (information) file by calling OpenURL.
Use case: Load an executable payload by calling a .url file.
Privileges: User
rundll32.exe url.dll,OpenURL {PATH_ABSOLUTE:.url}
Execute
Launch an executable by calling OpenURL.
Use case: Load an executable payload by specifying the file protocol handler (obfuscated).
Privileges: User
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^e
Execute
Launch an executable by calling FileProtocolHandler.
Use case: Launch an executable.
Privileges: User
rundll32.exe url.dll,FileProtocolHandler {PATH_ABSOLUTE:.exe}
Execute
Launch an executable by calling FileProtocolHandler.
Use case: Load an executable payload by specifying the file protocol handler (obfuscated).
Privileges: User
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^e
Execute
Launch a HTML application payload by calling FileProtocolHandler.
Use case: Invoke an HTML Application via mshta.exe (Default Handler).
Privileges: User
rundll32.exe url.dll,FileProtocolHandler file:///C:/test/test.hta
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