This hypothesis targets the execution of Tibbar, a known code crypter and packer, which adversaries frequently use to obfuscate malicious payloads and evade static analysis. Proactively hunting for this specific variant in Azure Sentinel allows the SOC to identify potential initial access or lateral movement activities that may be hidden by complex packing techniques before they trigger higher-severity alerts.
rule codeCrypter_031_Tibbar_additional: PEiD
{
strings:
$a = { 50 58 53 5B 90 BB ?? ?? ?? 00 FF E3 90 CC CC CC 55 8B EC 5D C3 CC CC CC CC CC CC CC CC CC CC CC }
condition:
$a at pe.entry_point
}
This YARA rule can be deployed in the following contexts:
This rule contains 1 string patterns in its detection logic.
code.exe, idea64.exe, devenv.exe) or specific scripting interpreters (python.exe, dotnet.exe) when the parent process is a known build tool (e.g., msbuild.exe, npm.exe, gradle.exe).license_manager.exe or config_encryptor.exe) that encrypts local state files or API keys using the Tibbar algorithm to prevent plaintext leakage in shared network drives.
*encrypt*, *crypt*, *license*) that are launched by Task Scheduler (svchost.exe with SchedSvc service) or cron/at equivalents, specifically if the working directory is a known application data folder (e.g., C:\ProgramData\InternalTools\).--validate, --check, or --test, or where the parent process is a known security scanner (e.g., yara.exe, clamscan.exe, malwarebytes.exe).