SYMBOLCOMMON_NAMEaka. SYNONYMS
win.upatre (Back to overview)

Upatre

URLhaus    

Upatre is primarly a downloader. It has been discovered in 2013 and since that time it has been widely updated. Upatre is responsible for delivering further malware to the victims, in specific upatre was a prolific delivery mechanism for Gameover P2P in 2013-2014 and then for Dyre in 2015.

References
2020-06-24Marco Ramilli's BlogMarco Ramilli
@online{ramilli:20200624:is:3ee7fad, author = {Marco Ramilli}, title = {{Is upatre downloader coming back ?}}, date = {2020-06-24}, organization = {Marco Ramilli's Blog}, url = {https://marcoramilli.com/2020/06/24/is-upatre-downloader-coming-back/}, language = {English}, urldate = {2020-06-24} } Is upatre downloader coming back ?
Upatre
2018-07-13Palo Alto Networks Unit 42Mike Harbison, Brittany Ash
@online{harbison:20180713:upatre:8d5e804, author = {Mike Harbison and Brittany Ash}, title = {{Upatre Continued to Evolve with new Anti-Analysis Techniques}}, date = {2018-07-13}, organization = {Palo Alto Networks Unit 42}, url = {https://researchcenter.paloaltonetworks.com/2018/07/unit42-upatre-continues-evolve-new-anti-analysis-techniques/}, language = {English}, urldate = {2019-12-20} } Upatre Continued to Evolve with new Anti-Analysis Techniques
Upatre
2017-07-10Secrary BlogSecrary
@online{secrary:20170710:upatre:06db6f5, author = {Secrary}, title = {{Upatre - Trojan Downloader}}, date = {2017-07-10}, organization = {Secrary Blog}, url = {https://secrary.com/ReversingMalware/Upatre/}, language = {English}, urldate = {2019-11-29} } Upatre - Trojan Downloader
Upatre
2015-06-10Johannes Bader
@online{bader:20150610:win32upatrebi:36ea1eb, author = {Johannes Bader}, title = {{Win32/Upatre.BI - Part One}}, date = {2015-06-10}, url = {https://johannesbader.ch/2015/06/Win32-Upatre-BI-Part-1-Unpacking/}, language = {English}, urldate = {2019-12-02} } Win32/Upatre.BI - Part One
Upatre
Yara Rules
[TLP:WHITE] win_upatre_auto (20220516 | Detects win.upatre.)
rule win_upatre_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2022-05-16"
        version = "1"
        description = "Detects win.upatre."
        info = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator v0.6.0"
        signator_config = "callsandjumps;datarefs;binvalue"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.upatre"
        malpedia_rule_date = "20220513"
        malpedia_hash = "7f4b2229e6ae614d86d74917f6d5b41890e62a26"
        malpedia_version = "20220516"
        malpedia_license = "CC BY-SA 4.0"
        malpedia_sharing = "TLP:WHITE"

    /* DISCLAIMER
     * The strings used in this rule have been automatically selected from the
     * disassembly of memory dumps and unpacked files, using YARA-Signator.
     * The code and documentation is published here:
     * https://github.com/fxb-cocacoding/yara-signator
     * As Malpedia is used as data source, please note that for a given
     * number of families, only single samples are documented.
     * This likely impacts the degree of generalization these rules will offer.
     * Take the described generation method also into consideration when you
     * apply the rules in your use cases and assign them confidence levels.
     */


    strings:
        $sequence_0 = { 51 ff75e8 ff75bc 50 }
            // n = 4, score = 200
            //   51                   | push                ecx
            //   ff75e8               | push                dword ptr [ebp - 0x18]
            //   ff75bc               | push                dword ptr [ebp - 0x44]
            //   50                   | push                eax

        $sequence_1 = { ff7504 ff5500 8945f8 50 8bf3 ac }
            // n = 6, score = 200
            //   ff7504               | push                dword ptr [ebp + 4]
            //   ff5500               | call                dword ptr [ebp]
            //   8945f8               | mov                 dword ptr [ebp - 8], eax
            //   50                   | push                eax
            //   8bf3                 | mov                 esi, ebx
            //   ac                   | lodsb               al, byte ptr [esi]

        $sequence_2 = { 33c0 b02f 66ab ad ad 0430 }
            // n = 6, score = 200
            //   33c0                 | xor                 eax, eax
            //   b02f                 | mov                 al, 0x2f
            //   66ab                 | stosw               word ptr es:[edi], ax
            //   ad                   | lodsd               eax, dword ptr [esi]
            //   ad                   | lodsd               eax, dword ptr [esi]
            //   0430                 | add                 al, 0x30

        $sequence_3 = { 84c0 75f4 ebed 33c0 }
            // n = 4, score = 200
            //   84c0                 | test                al, al
            //   75f4                 | jne                 0xfffffff6
            //   ebed                 | jmp                 0xffffffef
            //   33c0                 | xor                 eax, eax

        $sequence_4 = { 8945f4 b900100000 03c1 8945f0 03c1 03c1 8945d0 }
            // n = 7, score = 200
            //   8945f4               | mov                 dword ptr [ebp - 0xc], eax
            //   b900100000           | mov                 ecx, 0x1000
            //   03c1                 | add                 eax, ecx
            //   8945f0               | mov                 dword ptr [ebp - 0x10], eax
            //   03c1                 | add                 eax, ecx
            //   03c1                 | add                 eax, ecx
            //   8945d0               | mov                 dword ptr [ebp - 0x30], eax

        $sequence_5 = { ac 897588 c1e002 03f0 33c0 ac }
            // n = 6, score = 200
            // 
            // 
            //   c1e002               | shl                 eax, 2
            //   03f0                 | add                 esi, eax
            //   33c0                 | xor                 eax, eax
            //   ac                   | lodsb               al, byte ptr [esi]

        $sequence_6 = { 8bf8 57 6880000000 6a02 }
            // n = 4, score = 200
            //   8bf8                 | mov                 edi, eax
            //   57                   | push                edi
            //   6880000000           | push                0x80
            //   6a02                 | push                2

        $sequence_7 = { 8acc 8ae5 8b5da0 c1e003 }
            // n = 4, score = 200
            //   8acc                 | mov                 cl, ah
            //   8ae5                 | mov                 ah, ch
            //   8b5da0               | mov                 ebx, dword ptr [ebp - 0x60]
            //   c1e003               | shl                 eax, 3

        $sequence_8 = { 0fb7c0 0500100000 50 8b4df8 51 8b55fc }
            // n = 6, score = 100
            //   0fb7c0               | movzx               eax, ax
            //   0500100000           | add                 eax, 0x1000
            //   50                   | push                eax
            //   8b4df8               | mov                 ecx, dword ptr [ebp - 8]
            //   51                   | push                ecx
            //   8b55fc               | mov                 edx, dword ptr [ebp - 4]

        $sequence_9 = { 8b55d8 52 e8???????? 8b45e8 }
            // n = 4, score = 100
            //   8b55d8               | mov                 edx, dword ptr [ebp - 0x28]
            //   52                   | push                edx
            //   e8????????           |                     
            //   8b45e8               | mov                 eax, dword ptr [ebp - 0x18]

        $sequence_10 = { 8945c8 8b4de0 83c11c 894dcc 8b55c8 81c200100000 52 }
            // n = 7, score = 100
            //   8945c8               | mov                 dword ptr [ebp - 0x38], eax
            //   8b4de0               | mov                 ecx, dword ptr [ebp - 0x20]
            //   83c11c               | add                 ecx, 0x1c
            //   894dcc               | mov                 dword ptr [ebp - 0x34], ecx
            //   8b55c8               | mov                 edx, dword ptr [ebp - 0x38]
            //   81c200100000         | add                 edx, 0x1000
            //   52                   | push                edx

        $sequence_11 = { 8b5508 8955f4 c745e800000000 8b45ec 50 8b4d0c 51 }
            // n = 7, score = 100
            //   8b5508               | mov                 edx, dword ptr [ebp + 8]
            //   8955f4               | mov                 dword ptr [ebp - 0xc], edx
            //   c745e800000000       | mov                 dword ptr [ebp - 0x18], 0
            //   8b45ec               | mov                 eax, dword ptr [ebp - 0x14]
            //   50                   | push                eax
            //   8b4d0c               | mov                 ecx, dword ptr [ebp + 0xc]
            //   51                   | push                ecx

        $sequence_12 = { 55 8bec 83ec44 c745fc00000000 c745e000000000 }
            // n = 5, score = 100
            //   55                   | push                ebp
            //   8bec                 | mov                 ebp, esp
            //   83ec44               | sub                 esp, 0x44
            //   c745fc00000000       | mov                 dword ptr [ebp - 4], 0
            //   c745e000000000       | mov                 dword ptr [ebp - 0x20], 0

        $sequence_13 = { e8???????? 8b55f8 52 8b45e4 50 8b4dfc }
            // n = 6, score = 100
            //   e8????????           |                     
            //   8b55f8               | mov                 edx, dword ptr [ebp - 8]
            //   52                   | push                edx
            //   8b45e4               | mov                 eax, dword ptr [ebp - 0x1c]
            //   50                   | push                eax
            //   8b4dfc               | mov                 ecx, dword ptr [ebp - 4]

        $sequence_14 = { 8b45c8 50 8b4dd0 51 e8???????? 8b55d0 52 }
            // n = 7, score = 100
            //   8b45c8               | mov                 eax, dword ptr [ebp - 0x38]
            //   50                   | push                eax
            //   8b4dd0               | mov                 ecx, dword ptr [ebp - 0x30]
            //   51                   | push                ecx
            //   e8????????           |                     
            //   8b55d0               | mov                 edx, dword ptr [ebp - 0x30]
            //   52                   | push                edx

        $sequence_15 = { 51 ff55f4 8b55fc 52 8b4508 50 e8???????? }
            // n = 7, score = 100
            //   51                   | push                ecx
            //   ff55f4               | call                dword ptr [ebp - 0xc]
            //   8b55fc               | mov                 edx, dword ptr [ebp - 4]
            //   52                   | push                edx
            //   8b4508               | mov                 eax, dword ptr [ebp + 8]
            //   50                   | push                eax
            //   e8????????           |                     

    condition:
        7 of them and filesize < 294912
}
[TLP:WHITE] win_upatre_w0   (20170517 | Detects Upatre malware - file hazgurut.exe)
rule win_upatre_w0 {
	meta:
		author = "Florian Roth"
		description = "Detects Upatre malware - file hazgurut.exe"
		reference = "https://weankor.vxstream-sandbox.com/sample/6b857ef314938d37997c178ea50687a281d8ff9925f0c4e70940754643e2c0e3?environmentId=7"
		date = "2015-10-13"
		score = 70
		hash = "7ee0d20b15e24b7fe72154d9521e1959752b4e9c20d2992500df9ac096450a50"
		hash = "79ffc620ddb143525fa32bc6a83c636168501a4a589a38cdb0a74afac1ee8b92"
		hash = "62d8a6880c594fe9529158b94a9336179fa7a3d3bf1aa9d0baaf07d03b281bd3"
		hash = "c64282aca980d558821bec8b3dfeae562d9620139dc43d02ee4d1745cd989f2a"
		hash = "a35f9870f9d4b993eb094460b05ee1f657199412807abe6264121dd7cc12aa70"
		hash = "f8cb2730ebc8fac1c58da1346ad1208585fe730c4f03d976eb1e13a1f5d81ef9"
		hash = "b65ad7e2d299d6955d95b7ae9b62233c34bc5f6aa9f87dc482914f8ad2cba5d2"
		hash = "6b857ef314938d37997c178ea50687a281d8ff9925f0c4e70940754643e2c0e3"
		hash = "33a288cef0ae7192b34bd2ef3f523dfb7c6cbc2735ba07edf988400df1713041"
		hash = "2a8e50afbc376cb2a9700d2d83c1be0c21ef942309676ecac897ba4646aba273"
		hash = "3d0f2c7e07b7d64b1bad049b804ff1aae8c1fc945a42ad555eca3e1698c7f7d3"
		hash = "951360b32a78173a1f81da0ded8b4400e230125d05970d41621830efc5337274"
		hash = "bd90faebfd7663ef89b120fe69809532cada3eb94bb94094e8bc615f70670295"
		hash = "8c5823f67f9625e4be39a67958f0f614ece49c18596eacc5620524bc9b6bad3d"
		source = "https://github.com/mattulm/sfiles_yara/blob/master/malware/upatre_oct15.yar"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.upatre"
        malpedia_version = "20170517"
        malpedia_license = "CC BY-NC-SA 4.0"
        malpedia_sharing = "TLP:WHITE"
	strings:
		$a1 = "barcod" fullword ascii

		$s0 = "msports.dll" fullword ascii
		$s1 = "nddeapi.dll" fullword ascii
		$s2 = "glmf32.dll" fullword ascii
		$s3 = "<requestedExecutionLevel level=\"requireAdministrator\" uiAccess=\"false\">" fullword ascii
		$s4 = "cmutil.dll" fullword ascii
		$s5 = "mprapi.dll" fullword ascii
		$s6 = "glmf32.dll" fullword ascii
	condition:
		$a1 in (0..4000) and all of ($s*)
}
Download all Yara Rules