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 (20200529 | autogenerated rule brought to you by yara-signator)
rule win_upatre_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-05-30"
        version = "1"
        description = "autogenerated rule brought to you by yara-signator"
        tool = "yara-signator v0.4.0"
        tool_config = "callsandjumps;datarefs;binvalue"
        malpedia_reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.upatre"
        malpedia_rule_date = "20200529"
        malpedia_hash = "92c362319514e5a6da26204961446caa3a8b32a8"
        malpedia_version = "20200529"
        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 / approach 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 = { 893b 83c304 ac 3c01 }
            // n = 4, score = 200
            //   893b                 | mov                 dword ptr [ebx], edi
            //   83c304               | add                 ebx, 4
            //   ac                   | lodsb               al, byte ptr [esi]
            //   3c01                 | cmp                 al, 1

        $sequence_1 = { 8b7df4 33c0 b02f 66ab }
            // n = 4, score = 200
            //   8b7df4               | mov                 edi, dword ptr [ebp - 0xc]
            //   33c0                 | xor                 eax, eax
            //   b02f                 | mov                 al, 0x2f
            //   66ab                 | stosw               word ptr es:[edi], ax

        $sequence_2 = { b800093d00 8945c0 33c0 8945e0 8d75e0 8b7dbc 897d9c }
            // n = 7, score = 200
            //   b800093d00           | mov                 eax, 0x3d0900
            //   8945c0               | mov                 dword ptr [ebp - 0x40], eax
            //   33c0                 | xor                 eax, eax
            //   8945e0               | mov                 dword ptr [ebp - 0x20], eax
            //   8d75e0               | lea                 esi, [ebp - 0x20]
            //   8b7dbc               | mov                 edi, dword ptr [ebp - 0x44]
            //   897d9c               | mov                 dword ptr [ebp - 0x64], edi

        $sequence_3 = { 03c1 8945fc 8bd8 03c1 }
            // n = 4, score = 200
            //   03c1                 | add                 eax, ecx
            //   8945fc               | mov                 dword ptr [ebp - 4], eax
            //   8bd8                 | mov                 ebx, eax
            //   03c1                 | add                 eax, ecx

        $sequence_4 = { 8bc8 66b83400 66ab b031 66ab b02f 66ab }
            // n = 7, score = 200
            //   8bc8                 | mov                 ecx, eax
            //   66b83400             | mov                 ax, 0x34
            //   66ab                 | stosw               word ptr es:[edi], ax
            //   b031                 | mov                 al, 0x31
            //   66ab                 | stosw               word ptr es:[edi], ax
            //   b02f                 | mov                 al, 0x2f
            //   66ab                 | stosw               word ptr es:[edi], ax

        $sequence_5 = { ac 8975f8 c1e002 03f0 33c0 ac 897588 }
            // n = 7, score = 200
            //   ac                   | lodsb               al, byte ptr [esi]
            //   8975f8               | mov                 dword ptr [ebp - 8], esi
            //   c1e002               | shl                 eax, 2
            //   03f0                 | add                 esi, eax
            //   33c0                 | xor                 eax, eax
            //   ac                   | lodsb               al, byte ptr [esi]
            //   897588               | mov                 dword ptr [ebp - 0x78], esi

        $sequence_6 = { 40 d1e0 50 33c0 50 }
            // n = 5, score = 200
            //   40                   | inc                 eax
            //   d1e0                 | shl                 eax, 1
            //   50                   | push                eax
            //   33c0                 | xor                 eax, eax
            //   50                   | push                eax

        $sequence_7 = { 8945e8 6a00 8d4de0 51 ff75e8 }
            // n = 5, score = 200
            //   8945e8               | mov                 dword ptr [ebp - 0x18], eax
            //   6a00                 | push                0
            //   8d4de0               | lea                 ecx, [ebp - 0x20]
            //   51                   | push                ecx
            //   ff75e8               | push                dword ptr [ebp - 0x18]

        $sequence_8 = { 6a02 8d55bc 52 8b45fc }
            // n = 4, score = 100
            //   6a02                 | push                2
            //   8d55bc               | lea                 edx, [ebp - 0x44]
            //   52                   | push                edx
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]

        $sequence_9 = { 83c108 894dfc 8b55fc 8b02 }
            // n = 4, score = 100
            //   83c108               | add                 ecx, 8
            //   894dfc               | mov                 dword ptr [ebp - 4], ecx
            //   8b55fc               | mov                 edx, dword ptr [ebp - 4]
            //   8b02                 | mov                 eax, dword ptr [edx]

        $sequence_10 = { 668945f0 0fb755ec 0fb745fc 2bd0 0fb74df0 2bd1 668955f8 }
            // n = 7, score = 100
            //   668945f0             | mov                 word ptr [ebp - 0x10], ax
            //   0fb755ec             | movzx               edx, word ptr [ebp - 0x14]
            //   0fb745fc             | movzx               eax, word ptr [ebp - 4]
            //   2bd0                 | sub                 edx, eax
            //   0fb74df0             | movzx               ecx, word ptr [ebp - 0x10]
            //   2bd1                 | sub                 edx, ecx
            //   668955f8             | mov                 word ptr [ebp - 8], dx

        $sequence_11 = { e8???????? 83c40c eb11 8b4dfc 51 8b550c }
            // n = 6, score = 100
            //   e8????????           |                     
            //   83c40c               | add                 esp, 0xc
            //   eb11                 | jmp                 0x13
            //   8b4dfc               | mov                 ecx, dword ptr [ebp - 4]
            //   51                   | push                ecx
            //   8b550c               | mov                 edx, dword ptr [ebp + 0xc]

        $sequence_12 = { 83c404 8b4d14 8901 8b45fc e9???????? e9???????? 6800300000 }
            // n = 7, score = 100
            //   83c404               | add                 esp, 4
            //   8b4d14               | mov                 ecx, dword ptr [ebp + 0x14]
            //   8901                 | mov                 dword ptr [ecx], eax
            //   8b45fc               | mov                 eax, dword ptr [ebp - 4]
            //   e9????????           |                     
            //   e9????????           |                     
            //   6800300000           | push                0x3000

        $sequence_13 = { e8???????? 83c404 0fb7c0 83f805 }
            // n = 4, score = 100
            //   e8????????           |                     
            //   83c404               | add                 esp, 4
            //   0fb7c0               | movzx               eax, ax
            //   83f805               | cmp                 eax, 5

        $sequence_14 = { 0fb745f8 0fb74df4 99 f7f9 668945f8 668b45f8 }
            // n = 6, score = 100
            //   0fb745f8             | movzx               eax, word ptr [ebp - 8]
            //   0fb74df4             | movzx               ecx, word ptr [ebp - 0xc]
            //   99                   | cdq                 
            //   f7f9                 | idiv                ecx
            //   668945f8             | mov                 word ptr [ebp - 8], ax
            //   668b45f8             | mov                 ax, word ptr [ebp - 8]

        $sequence_15 = { 8b4dc8 8a51f7 8855b7 0fb645b7 3de8000000 7508 8b4dd8 }
            // n = 7, score = 100
            //   8b4dc8               | mov                 ecx, dword ptr [ebp - 0x38]
            //   8a51f7               | mov                 dl, byte ptr [ecx - 9]
            //   8855b7               | mov                 byte ptr [ebp - 0x49], dl
            //   0fb645b7             | movzx               eax, byte ptr [ebp - 0x49]
            //   3de8000000           | cmp                 eax, 0xe8
            //   7508                 | jne                 0xa
            //   8b4dd8               | mov                 ecx, dword ptr [ebp - 0x28]

    condition:
        7 of them and filesize < 294912
}
[TLP:WHITE] win_upatre_w0   (20170517 | Detects Upatre malware - file hazgurut.exe)
rule win_upatre_w0 {
	meta:
		description = "Detects Upatre malware - file hazgurut.exe"
		author = "Florian Roth"
		reference = "https://weankor.vxstream-sandbox.com/sample/6b857ef314938d37997c178ea50687a281d8ff9925f0c4e70940754643e2c0e3?environmentId=7"
		date = "2015-10-13"
		score = 70
		hash1 = "7ee0d20b15e24b7fe72154d9521e1959752b4e9c20d2992500df9ac096450a50"
		hash2 = "79ffc620ddb143525fa32bc6a83c636168501a4a589a38cdb0a74afac1ee8b92"
		hash3 = "62d8a6880c594fe9529158b94a9336179fa7a3d3bf1aa9d0baaf07d03b281bd3"
		hash4 = "c64282aca980d558821bec8b3dfeae562d9620139dc43d02ee4d1745cd989f2a"
		hash5 = "a35f9870f9d4b993eb094460b05ee1f657199412807abe6264121dd7cc12aa70"
		hash6 = "f8cb2730ebc8fac1c58da1346ad1208585fe730c4f03d976eb1e13a1f5d81ef9"
		hash7 = "b65ad7e2d299d6955d95b7ae9b62233c34bc5f6aa9f87dc482914f8ad2cba5d2"
		hash8 = "6b857ef314938d37997c178ea50687a281d8ff9925f0c4e70940754643e2c0e3"
		hash9 = "33a288cef0ae7192b34bd2ef3f523dfb7c6cbc2735ba07edf988400df1713041"
		hash10 = "2a8e50afbc376cb2a9700d2d83c1be0c21ef942309676ecac897ba4646aba273"
		hash11 = "3d0f2c7e07b7d64b1bad049b804ff1aae8c1fc945a42ad555eca3e1698c7f7d3"
		hash12 = "951360b32a78173a1f81da0ded8b4400e230125d05970d41621830efc5337274"
		hash13 = "bd90faebfd7663ef89b120fe69809532cada3eb94bb94094e8bc615f70670295"
		hash14 = "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