This hypothesis posits that adversaries are leveraging PlugX malware to establish persistent footholds within the network by utilizing unique identifying strings for command and control communication. The SOC team should proactively hunt for these specific strings in Azure Sentinel to detect early-stage infections before they escalate into data exfiltration or lateral movement events, given the low severity of initial indicators often leads to delayed manual discovery.
rule PlugXStrings : PlugX Family
{
meta:
description = "PlugX Identifying Strings"
author = "Seth Hardy"
last_modified = "2014-06-12"
strings:
$BootLDR = "boot.ldr" wide ascii
$Dwork = "d:\\work" nocase
$Plug25 = "plug2.5"
$Plug30 = "Plug3.0"
$Shell6 = "Shell6"
condition:
$BootLDR or ($Dwork and ($Plug25 or $Plug30 or $Shell6))
}
This YARA rule can be deployed in the following contexts:
This rule contains 5 string patterns in its detection logic.
Here are 5 specific false positive scenarios for the PlugX Identifying Strings detection rule in an enterprise environment, along with recommended filters or exclusions:
Microsoft Office Macro Deployment via Group Policy
PlugX or similar legacy library names) into the registry or temporary files during startup.gpupdate.exe or filter events where the parent process is svchost.exe with the service name gpsvc, specifically targeting file paths under %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Startup.Symantec Endpoint Protection (SEP) Real-Time Scanning
C:\ProgramData directory. During the heuristic analysis phase, the SEP engine extracts and logs identifying strings from compressed archives (.zip, .cab) that contain legacy PlugX components used by internal line-of-business applications, triggering the rule before the archive is fully unpacked.Symantec Antivirus.exe (or rtvscan.exe) when operating on file extensions .zip, .cab, and .msi within the C:\ProgramData directory, or whitelist the specific hash of the internal LOB application installer.Ansible Configuration Management Runs
log4j.properties and related XML configs to