Rundll32.EXE Calling DllRegisterServer Export Function Explicitly

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects when the DLL export function 'DllRegisterServer' is called in the commandline by Rundll32 explicitly where the DLL is located in a non-standard path.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND ((PROCESSNAME endswith "\rundll32.exe" OR ORIGINALFILENAME = "RUNDLL32.EXE") AND COMMANDLINE contains "DllRegisterServer") AND COMMANDLINE notcontains ":\Program Files (x86),:\Program Files\,:\Windows\System32\,:\Windows\SysWOW64" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Andreas Braathen (mnemonic.io)