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 Leviathan
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 Leviathan
Yara Rules
[TLP:WHITE] win_homefry_auto (20201023 | autogenerated rule brought to you by yara-signator)
rule win_homefry_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2020-12-22"
        version = "1"
        description = "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 = "20201222"
        malpedia_hash = "30354d830a29f0fbd3714d93d94dea941d77a130"
        malpedia_version = "20201023"
        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 = { c3 48635a07 488b05???????? 4883c207 482b5c2430 }
            // n = 5, score = 100
            //   c3                   | sub                 eax, edx
            //   48635a07             | dec                 edx
            //   488b05????????       |                     
            //   4883c207             | arpl                word ptr [eax + ebx - 7], cx
            //   482b5c2430           | dec                 ecx

        $sequence_1 = { b801000000 4883c468 c3 b001 }
            // n = 4, score = 100
            //   b801000000           | dec                 eax
            //   4883c468             | lea                 edx, [ebp - 0x70]
            //   c3                   | dec                 eax
            //   b001                 | mov                 dword ptr [eax], ecx

        $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 = { 4881ec90000000 488bea 488bf9 e8???????? 84c0 0f8418010000 }
            // n = 6, score = 100
            //   4881ec90000000       | dec                 eax
            //   488bea               | mov                 dword ptr [esp + 0x38], eax
            //   488bf9               | dec                 eax
            //   e8????????           |                     
            //   84c0                 | lea                 edx, [0x28ca]
            //   0f8418010000         | dec                 eax

        $sequence_4 = { 488905???????? 4885c0 751c 488d0d070a0000 488bac24b8000000 4881c490000000 }
            // n = 6, score = 100
            //   488905????????       |                     
            //   4885c0               | dec                 eax
            //   751c                 | lea                 ecx, [ebp + 0x1cc]
            //   488d0d070a0000       | dec                 eax
            //   488bac24b8000000     | mov                 ecx, ebx
            //   4881c490000000       | test                eax, eax

        $sequence_5 = { 57 4883ec20 8b35???????? 488b1d???????? b90a000000 4803f3 }
            // n = 6, score = 100
            //   57                   | add                 edx, ecx
            //   4883ec20             | dec                 esp
            //   8b35????????         |                     
            //   488b1d????????       |                     
            //   b90a000000           | mov                 eax, esi
            //   4803f3               | mov                 edx, dword ptr [esp + 0x38]

        $sequence_6 = { 0f1f4000 660f1f840000000000 0fb60a c1e604 488d5201 03f1 49ffc8 }
            // n = 7, score = 100
            //   0f1f4000             | mov                 dword ptr [esp + 0x28], esi
            //   660f1f840000000000     | dec    eax
            //   0fb60a               | mov                 dword ptr [esp + 0x20], eax
            //   c1e604               | call                esi
            //   488d5201             | test                eax, eax
            //   03f1                 | js                  0x17e
            //   49ffc8               | inc                 esp

        $sequence_7 = { 458d41ff 0f1f4000 660f1f840000000000 0fb60a c1e604 488d5201 }
            // n = 6, score = 100
            //   458d41ff             | inc                 ebp
            //   0f1f4000             | xor                 ecx, ecx
            //   660f1f840000000000     | dec    eax
            //   0fb60a               | mov                 esi, ecx
            //   c1e604               | movzx               eax, word ptr [ecx + 0x22]
            //   488d5201             | add                 eax, 2

        $sequence_8 = { 4d8bce 4d8bc2 498bd7 e8???????? }
            // n = 4, score = 100
            //   4d8bce               | dec                 eax
            //   4d8bc2               | mov                 ebx, dword ptr [esp + 0x408]
            //   498bd7               | dec                 eax
            //   e8????????           |                     

        $sequence_9 = { 7408 488bd6 e8???????? 488b6c2438 488b742440 488b7c2448 }
            // n = 6, score = 100
            //   7408                 | add                 esi, ebx
            //   488bd6               | xor                 ebp, ebp
            //   e8????????           |                     
            //   488b6c2438           | dec                 eax
            //   488b742440           | mov                 edi, eax
            //   488b7c2448           | mov                 ecx, 0x110

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