← Back to SOC feed Coverage →

Tinba 2 (DGA) banking trojan

yara LOW Yara-Rules
backdoorcommunity
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-30T23:00:00Z · Confidence: medium

Hunt Hypothesis

This hunt hypothesis targets adversaries deploying the Tinba banking Trojan to establish persistence and exfiltrate credentials via Domain Generation Algorithm (DGA) communication patterns that may evade standard signature-based detection. Proactively hunting for these specific DGA behaviors in Azure Sentinel is critical because early identification of this low-severity activity can prevent lateral movement and financial data theft before the malware escalates its impact on the banking infrastructure.

YARA Rule

rule Tinba2 : banking {
        meta:
                author = "n3sfox <n3sfox@gmail.com>"
                date = "2015/11/07"
                description = "Tinba 2 (DGA) banking trojan"
                reference = "https://securityintelligence.com/tinba-malware-reloaded-and-attacking-banks-around-the-world"
                filetype = "memory"
                hash1 = "c7f662594f07776ab047b322150f6ed0"
                hash2 = "dc71ef1e55f1ddb36b3c41b1b95ae586"
                hash3 = "b788155cb82a7600f2ed1965cffc1e88"

        strings:
                $str1 = "MapViewOfFile"
                $str2 = "OpenFileMapping"
                $str3 = "NtCreateUserProcess"
                $str4 = "NtQueryDirectoryFile"
                $str5 = "RtlCreateUserThread"
                $str6 = "DeleteUrlCacheEntry"
                $str7 = "PR_Read"
                $str8 = "PR_Write"
                $pubkey = "BEGIN PUBLIC KEY"
                $code1 = {50 87 44 24 04 6A ?? E8}

        condition:
                all of ($str*) and $pubkey and $code1
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 10 string patterns in its detection logic.

References

False Positive Guidance

Here are specific false positive scenarios for the Tinba 2 (DGA) banking trojan detection rule in an enterprise environment:

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