Dbghelp/Dbgcore DLL Loaded By Uncommon/Suspicious Process
Description
Detects the load of dbghelp/dbgcore DLL by a potentially uncommon or potentially suspicious process. The Dbghelp and Dbgcore DLLs export functions that allow for the dump of process memory. Tools like ProcessHacker, Task Manager and some attacker tradecraft use the MiniDumpWriteDump API found in dbghelp.dll or dbgcore.dll. As an example, SilentTrynity C2 Framework has a module that leverages this API to dump the contents of Lsass.exe and transfer it over the network back to the attacker's machine. Keep in mind that many legitimate Windows processes and services might load the aforementioned DLLs for debugging or other related purposes. Investigate the CommandLine and the Image location of the process loading the DLL.
Query · sigma
selection: ImageLoaded|endswith: - \dbghelp.dll - \dbgcore.dll Image|endswith: - \bash.exe - \cmd.exe - \cscript.exe - \dnx.exe - \excel.exe - \monitoringhost.exe - \msbuild.exe - \mshta.exe - \outlook.exe - \powerpnt.exe - \regsvcs.exe - \rundll32.exe - \sc.exe - \scriptrunner.exe - \winword.exe - \wmic.exe - \wscript.exe filter_main_tiworker: CommandLine|startswith: C:\WINDOWS\WinSxS\ CommandLine|endswith: \TiWorker.exe -Embedding filter_main_generic: Image|endswith: \svchost.exe CommandLine|endswith: - -k LocalServiceNetworkRestricted - -k WerSvcGroup filter_main_rundll32: Image|endswith: \rundll32.exe CommandLine|contains: - /d srrstr.dll,ExecuteScheduledSPPCreation - aepdu.dll,AePduRunUpdate - shell32.dll,OpenAs_RunDL - Windows.Storage.ApplicationData.dll,CleanupTemporaryState condition: selection and not 1 of filter_main_*
Known false positives
- Debugging scripts might leverage this DLL in order to dump process memory for further analysis.