Suspicious Rundll32 Setupapi.dll Activity
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
setupapi.dll library provide InstallHinfSection function for processing INF files. INF file may contain instructions allowing to create values in the registry, modify files and install drivers. This technique could be used to obtain persistence via modifying one of Run or RunOnce registry keys, run process or use other DLLs chain calls (see references) InstallHinfSection function in setupapi.dll calls runonce.exe executable regardless of actual content of INF file.
Severity
Trouble
Rule Requirement
Criteria
Action1: actionname = "Process started" AND PROCESSNAME endswith "\runonce.exe" AND PARENTPROCESSNAME endswith "\rundll32.exe" AND (PARENTPROCESSCOMMANDLINE contains "setupapi.dll" AND PARENTPROCESSCOMMANDLINE contains "InstallHinfSection") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME
Detection
Execution Mode
realtime
Log Sources
Windows
Author
Konstantin Grishchenko, oscd.community


