This rule detects the presence of SoftSentry, a software protection mechanism often embedded in applications to prevent unauthorized access or tampering, which may indicate legacy or third-party software components within the environment. Proactively hunting for this signature helps the SOC team identify potential supply chain risks or unexpected code injections that could be leveraged by adversaries to hide malicious activity or disrupt application integrity.
rule SoftSentryv30
{
meta:
author="malware-lu"
strings:
$a0 = { 55 8B EC 83 EC ?? 53 56 57 E9 B0 06 }
condition:
$a0 at pe.entry_point
}
This YARA rule can be deployed in the following contexts:
This rule contains 1 string patterns in its detection logic.
Scenario: The SoftSentryv30 YARA rule likely targets specific memory patterns or binary signatures associated with the SoftSentry agent or its communication protocols. A common false positive occurs when the SoftSentry Agent Service (SoftSentryAgent.exe) is performing a routine policy synchronization or heartbeat transmission to the central management console. This legitimate network activity or memory state may match the rule’s signature if the rule is overly broad in its matching criteria for known good traffic or agent states.
SoftSentryAgent.exe and the destination IP address belongs to the internal SoftSentry Management Console subnet (e.g., 10.20.30.0/24). Additionally, exclude if the event type is “Heartbeat” or “Policy Sync” and the source port is the standard SoftSentry agent port (e.g., 443 or a custom TCP port defined in the deployment).Scenario: During a scheduled software update of the SoftSentry agent, the installer or updater process (SoftSentryUpdater.exe or msiexec.exe invoking the SoftSentry MSI package) may load temporary DLLs or create memory sections that match the YARA rule’s pattern. This is a transient state that can trigger the rule if the scan occurs during the installation window.
msiexec.exe or setup.exe and the file path contains SoftSentry or SentryAgent. Alternatively, exclude if the event timestamp falls within the known maintenance window (e.g., Sundays 02:00–04:00 UTC) and the process name matches SoftSentry*.Scenario: The rule may detect **legitimate third-party