← Back to SOC feed Coverage →

Detects a suspicious base64 encoded keyword

yara HIGH signature-base
florian-roth
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 signature-base →
Retrieved: 2026-08-04T11:00:00Z · Confidence: medium

Hunt Hypothesis

This rule detects adversaries leveraging Base64 encoding to obfuscate malicious keywords within command-line arguments or network payloads, effectively hiding indicators of compromise from standard signature-based detection. A proactive hunt is essential in Azure Sentinel because encoded data often bypasses initial security controls, allowing attackers to execute stealthy commands that could lead to lateral movement or data exfiltration if not identified early.

YARA Rule

rule SUSP_Base64_Encoded_Hacktool_Dev {
   meta:
      description = "Detects a suspicious base64 encoded keyword"
      author = "Florian Roth (Nextron Systems)"
      reference = "https://twitter.com/cyb3rops/status/1270626274826911744"
      date = "2020-06-10"
      score = 65
      id = "6dc7db4b-a614-51e4-a9a5-f869154dbbb1"
   strings:
      $ = "QGdlbnRpbGtpd2" ascii wide 
      $ = "BnZW50aWxraXdp" ascii wide 
      $ = "AZ2VudGlsa2l3a" ascii wide
      $ = "QGhhcm1qMH" ascii wide
      $ = "BoYXJtajB5" ascii wide
      $ = "AaGFybWowe" ascii wide
      $ = "IEBzdWJ0ZW" ascii wide
      $ = "BAc3VidGVl" ascii wide
      $ = "gQHN1YnRlZ" ascii wide
   condition:
      filesize < 6000KB and 1 of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

References

False Positive Guidance

Here are 5 specific false positive scenarios for the “Detects a suspicious base64 encoded keyword” rule, along with recommended filters and exclusions:

Original source: https://github.com/Neo23x0/signature-base/blob/main/yara/gen_susp_obfuscation.yar