This detection identifies the execution of a lightweight backdoor payload that may indicate an adversary establishing a persistent foothold with minimal resource consumption to evade standard monitoring. Proactively hunting for this behavior in Azure Sentinel is critical because early identification of these subtle indicators allows the SOC team to investigate potential lateral movement before the backdoor escalates into a more severe compromise.
rule LightweightBackdoor5
{
strings:
$strl = { C6 45 F4 74 C6 45 F5 6C C6 45 F6 76 C6 45 F7 63 C6 45 F8 2E C6 45 F9 6E C6 45 FA 6C C6 45 FB 73 } // 'tlvc.nls' being moved to ebp
condition:
(uint16(0) == 0x5A4D or uint16(0) == 0xCFD0 or uint16(0) == 0xC3D4 or uint32(0) == 0x46445025 or uint32(1) == 0x6674725C) and all of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 1 string patterns in its detection logic.
Here are 4 specific false positive scenarios for the LightweightBackdrop5 detection rule in an enterprise environment, along with suggested filters or exclusions:
Scenario: Endpoint Protection Agent Self-Updates
%TEMP% or %ProgramData% folders that match the “lightweight” signature before being cleaned up.C:\Program Files\CrowdStrike\*) AND the file hash matches a known, signed version of the agent updater.Scenario: Software Deployment via SCCM/Intune
ccmexec.exe or DeviceManagementService.exe) often spawns child processes that download payloads and execute installation scripts (.ps1, .bat, or .msi). These temporary execution artifacts can trigger the backdoor logic due to their network activity and file creation patterns.C:\Program Files\Microsoft Configuration Manager\* or C:\Windows\CCM\*, specifically targeting child processes launched during the standard maintenance window (e.g., 02:00–04:00 local time).Scenario: Automated Patch Management Execution