← Back to SOC feed Coverage →

PubSab code tricks

yara LOW Yara-Rules
community
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at Yara-Rules →
Retrieved: 2026-06-28T23:00:00Z · Confidence: medium

Hunt Hypothesis

This detection identifies adversaries attempting to manipulate or obfuscate public subscription code logic to evade standard monitoring and maintain persistence within the environment. Proactively hunting for these subtle code modifications in Azure Sentinel is critical because they often precede more significant data exfiltration events that may otherwise go unnoticed until a breach occurs.

YARA Rule

rule PubSabCode : PubSab Family 
{
    meta:
        description = "PubSab code tricks"
        author = "Seth Hardy"
        last_modified = "2014-06-19"
        
    strings:
        $decrypt = { 6B 45 E4 37 89 CA 29 C2 89 55 E4 }
        
    condition:
        any of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 1 string patterns in its detection logic.

False Positive Guidance

Here are 4 specific false positive scenarios for the “PubSub Code Tricks” detection rule in an enterprise environment, including suggested filters and exclusions:

Original source: https://github.com/Yara-Rules/rules/blob/main/malware/MALW_PubSab.yar