This rule detects the presence of the RSCsProcessPatcher tool, a utility frequently used by adversaries to modify Windows process structures in memory to hide malicious processes or bypass security controls. Proactively hunting for this indicator in Azure Sentinel allows the SOC team to identify potential in-memory process manipulation techniques that may evade standard endpoint detection, ensuring early discovery of stealthy post-exploitation activities.
rule RSCsProcessPatcherv151
{
meta:
author="malware-lu"
strings:
$a0 = { 68 00 20 40 00 E8 C3 01 00 00 80 38 00 74 0D 66 81 78 FE 22 20 75 02 EB 03 40 EB EE 8B F8 B8 04 60 40 00 68 C4 20 40 00 68 D4 20 40 00 6A 00 6A 00 6A 04 6A 00 6A 00 6A 00 57 50 E8 9F 01 00 00 85 C0 0F 84 39 01 00 00 BE 00 60 40 00 8B 06 A3 28 21 40 00 83 }
condition:
$a0
}
This YARA rule can be deployed in the following contexts:
This rule contains 1 string patterns in its detection logic.
powershell.exe or pwsh.exe and the command line contains specific keywords like patch, update, or deploy, or exclude based on the specific user account used for deployment (e.g., svc-deploy).FalconSensor.exe, Cb.exe, SentinelOne.exe) or exclude events where the parent process is a known EDR service.app-patcher.exe or license-updater.exe) that applies hotfixes to running services or updates configuration binaries, triggering the detection.
app-patcher.exe, license-updater.exe) or exclude events occurring during a defined maintenance window (e.g., 02:00-04:00 UTC) for specific service accounts.