← Back to SOC feed Coverage →

Vidgrab 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-07-01T23:00:00Z · Confidence: medium

Hunt Hypothesis

This detection rule identifies anomalous execution patterns associated with Vidgrab code tricks, which adversaries may leverage to establish persistence or execute custom payloads within the environment. Proactively hunting for these specific behaviors in Azure Sentinel is essential to uncover stealthy initial access attempts that might otherwise remain undetected due to their low-severity classification and lack of standard MITRE mapping.

YARA Rule

rule VidgrabCode : Vidgrab Family 
{
    meta:
        description = "Vidgrab code tricks"
        author = "Seth Hardy"
        last_modified = "2014-06-20"
        
    strings:
        $divbyzero = { B8 02 00 00 00 48 48 BA 02 00 00 00 83 F2 02 F7 F0 }
        // add eax, ecx; xor byte ptr [eax], ??h; inc ecx
        $xorloop = { 03 C1 80 30 (66 | 58) 41 }
        $junk = { 8B 4? ?? 8B 4? ?? 03 45 08 52 5A }
        
    condition:
        all of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 3 string patterns in its detection logic.

False Positive Guidance

Here are 4 specific false positive scenarios for the Vidgrab code tricks detection rule, including suggested filters and exclusions tailored for an enterprise environment:

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