SYMBOLCOMMON_NAMEaka. SYNONYMS
win.homefry (Back to overview)

homefry

Actor(s): Leviathan


a 64-bit Windows password dumper/cracker that has previously been used in conjunction with AIRBREAK and BADFLICK backdoors. Some strings are obfuscated with XOR x56. The malware accepts up to two arguments at the command line: one to display cleartext credentials for each login session, and a second to display cleartext credentials, NTLM hashes, and malware version for each login session.

References
2020SecureworksSecureWorks
@online{secureworks:2020:bronze:e8ad4fb, author = {SecureWorks}, title = {{BRONZE MOHAWK}}, date = {2020}, organization = {Secureworks}, url = {https://www.secureworks.com/research/threat-profiles/bronze-mohawk}, language = {English}, urldate = {2020-05-23} } BRONZE MOHAWK
AIRBREAK scanbox BLACKCOFFEE CHINACHOPPER Cobalt Strike Derusbi homefry murkytop SeDll APT40
2018-03-16FireEyeFireEye
@online{fireeye:20180316:suspected:2a77316, author = {FireEye}, title = {{Suspected Chinese Cyber Espionage Group (TEMP.Periscope) Targeting U.S. Engineering and Maritime Industries}}, date = {2018-03-16}, organization = {FireEye}, url = {https://www.fireeye.com/blog/threat-research/2018/03/suspected-chinese-espionage-group-targeting-maritime-and-engineering-industries.html}, language = {English}, urldate = {2019-12-20} } Suspected Chinese Cyber Espionage Group (TEMP.Periscope) Targeting U.S. Engineering and Maritime Industries
badflick BLACKCOFFEE CHINACHOPPER homefry murkytop SeDll APT40
Yara Rules
[TLP:WHITE] win_homefry_auto (20230715 | Detects win.homefry.)
rule win_homefry_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2023-07-11"
        version = "1"
        description = "Detects win.homefry."
        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.homefry"
        malpedia_rule_date = "20230705"
        malpedia_hash = "42d0574f4405bd7d2b154d321d345acb18834a41"
        malpedia_version = "20230715"
        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 = { 0f1f4000 660f1f840000000000 0fb601 488d4901 }
            // n = 4, score = 100
            //   0f1f4000             | je                  8
            //   660f1f840000000000     | nop    dword ptr [eax]
            //   0fb601               | dec                 ebp
            //   488d4901             | lea                 eax, [esi + 8]

        $sequence_1 = { 482b4c2430 480308 48890f 498bce }
            // n = 4, score = 100
            //   482b4c2430           | mov                 ecx, dword ptr [ecx]
            //   480308               | inc                 esp
            //   48890f               | mov                 ecx, dword ptr [esp + 0x78]
            //   498bce               | dec                 eax

        $sequence_2 = { 448d4508 0f45d9 488b08 488d9424a0000000 482b0d???????? 48030d???????? }
            // n = 6, score = 100
            //   448d4508             | dec                 eax
            //   0f45d9               | mov                 ecx, dword ptr [esp + 0x30]
            //   488b08               | dec                 eax
            //   488d9424a0000000     | mov                 ebx, eax
            //   482b0d????????       |                     
            //   48030d????????       |                     

        $sequence_3 = { b857866f44 410fb63a f7e3 8bc3 2bc2 d1e8 }
            // n = 6, score = 100
            //   b857866f44           | add                 edi, eax
            //   410fb63a             | dec                 eax
            //   f7e3                 | dec                 edx
            //   8bc3                 | jne                 0x13
            //   2bc2                 | mov                 eax, 0x446f8657
            //   d1e8                 | mul                 edi

        $sequence_4 = { 488d95a0010000 ff15???????? 85c0 75d4 488bcb }
            // n = 5, score = 100
            //   488d95a0010000       | dec                 eax
            //   ff15????????         |                     
            //   85c0                 | mov                 edi, eax
            //   75d4                 | dec                 eax
            //   488bcb               | cmp                 ebx, esi

        $sequence_5 = { 488d15bf200000 488d0da8200000 488905???????? e8???????? ff05???????? b801000000 }
            // n = 6, score = 100
            //   488d15bf200000       | sub                 edi, dword ptr [ebp - 0x20]
            //   488d0da8200000       | je                  0x54d
            //   488905????????       |                     
            //   e8????????           |                     
            //   ff05????????         |                     
            //   b801000000           | dec                 eax

        $sequence_6 = { 85c0 754c b910010000 ff15???????? 488b4c2478 }
            // n = 5, score = 100
            //   85c0                 | mov                 ecx, edi
            //   754c                 | dec                 eax
            //   b910010000           | add                 esp, 0x20
            //   ff15????????         |                     
            //   488b4c2478           | inc                 ecx

        $sequence_7 = { 458d41ff 0f1f4000 660f1f840000000000 0fb60a c1e604 488d5201 }
            // n = 6, score = 100
            //   458d41ff             | mov                 edi, eax
            //   0f1f4000             | dec                 ecx
            //   660f1f840000000000     | lea    ecx, [esi + 8]
            //   0fb60a               | inc                 ebp
            //   c1e604               | xor                 edi, edi
            //   488d5201             | dec                 eax

        $sequence_8 = { e8???????? eb05 e8???????? 84c0 7511 488d0ddd180000 }
            // n = 6, score = 100
            //   e8????????           |                     
            //   eb05                 | dec                 eax
            //   e8????????           |                     
            //   84c0                 | inc                 ecx
            //   7511                 | dec                 eax
            //   488d0ddd180000       | arpl                dx, ax

        $sequence_9 = { 2bf0 488d2d192a0000 488bc5 397008 }
            // n = 4, score = 100
            //   2bf0                 | js                  0x10c
            //   488d2d192a0000       | dec                 eax
            //   488bc5               | lea                 eax, [esp + 0x80]
            //   397008               | inc                 ebp

    condition:
        7 of them and filesize < 65536
}
Download all Yara Rules