Potential Persistence Via Netsh Helper DLL

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects the execution of netsh with "add helper" flag in order to add a custom helper DLL. This technique can be abused to add a malicious helper DLL that can be used as a persistence proxy that gets called when netsh.exe is executed.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (ORIGINALFILENAME = "netsh.exe" OR PROCESSNAME endswith "\netsh.exe") AND (COMMANDLINE contains "add" AND COMMANDLINE contains "helper") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Victor Sergeev, oscd.community