This rule targets the execution of SoftComp, a known component of the SoftPerfect family of software, which adversaries may leverage for persistence or process injection within Azure environments. Proactively hunting for this activity helps the SOC identify low-severity footholds that could serve as precursors to more complex compromise chains or unauthorized software deployment.
rule SoftComp1xBGSoftPT
{
meta:
author="malware-lu"
strings:
$a0 = { E8 00 00 00 00 81 2C 24 3A 10 41 00 5D E8 00 00 00 00 81 2C 24 31 01 00 00 8B 85 2A 0F 41 00 29 04 24 8B 04 24 89 85 2A 0F 41 00 58 8B 85 2A 0F 41 00 }
condition:
$a0
}
This YARA rule can be deployed in the following contexts:
This rule contains 1 string patterns in its detection logic.
bgsoftpt (or similar proprietary soft-compilation) utility locally to generate performance benchmarks or test artifacts before pushing code to the repository.
code.exe, idea64.exe) or a build tool (e.g., msbuild.exe, gradle.exe) and the command line contains arguments like --benchmark, --test, or --local.bgsoftpt to clean up temporary compilation caches or rotate logs in a specific application directory.
svchost.exe (indicating a Windows Task Scheduler trigger) and the working directory matches the known application path (e.g., C:\Apps\MyService\temp\).SecurityTeam or QA group membership, or exclude if the process is launched from a specific test directory (e.g., C:\Temp\QA\) and the user is not a standard domain user.bgsoftpt as part of its post-install configuration or dependency resolution step.
msiexec.exe, setup.exe, install.exe) and the parent process path resides in