SYMBOLCOMMON_NAMEaka. SYNONYMS
win.lunchmoney (Back to overview)

LunchMoney

Actor(s): Leviathan

VTCollection    

An uploader that can exfiltrate files to Dropbox.

References
2019-03-04FireEyeBen Read, Fred Plan, Jacqueline O’Leary, Nalani Fraser, Vincent Cannon
APT40: Examining a China-Nexus Espionage Actor
LunchMoney APT40
2019-02-19Twitter (@MrDanPerez)Dan Perez
APT40 dropper
LunchMoney
Yara Rules
[TLP:WHITE] win_lunchmoney_auto (20260504 | Detects win.lunchmoney.)
rule win_lunchmoney_auto {

    meta:
        author = "Felix Bilstein - yara-signator at cocacoding dot com"
        date = "2026-05-04"
        version = "1"
        description = "Detects win.lunchmoney."
        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.lunchmoney"
        malpedia_rule_date = "20260422"
        malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14"
        malpedia_version = "20260504"
        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 = { 6a24 b8???????? e8???????? 8d45d4 81c160090000 50 }
            // n = 6, score = 100
            //   6a24                 | push                0x24
            //   b8????????           |                     
            //   e8????????           |                     
            //   8d45d4               | lea                 eax, [ebp - 0x2c]
            //   81c160090000         | add                 ecx, 0x960
            //   50                   | push                eax

        $sequence_1 = { 56 e8???????? 83ec0c 8bcc 56 e8???????? }
            // n = 6, score = 100
            //   56                   | push                esi
            //   e8????????           |                     
            //   83ec0c               | sub                 esp, 0xc
            //   8bcc                 | mov                 ecx, esp
            //   56                   | push                esi
            //   e8????????           |                     

        $sequence_2 = { 89a5ecfeffff 53 e8???????? 83ec18 c645fc05 8bcc 56 }
            // n = 7, score = 100
            //   89a5ecfeffff         | mov                 dword ptr [ebp - 0x114], esp
            //   53                   | push                ebx
            //   e8????????           |                     
            //   83ec18               | sub                 esp, 0x18
            //   c645fc05             | mov                 byte ptr [ebp - 4], 5
            //   8bcc                 | mov                 ecx, esp
            //   56                   | push                esi

        $sequence_3 = { 59 c1e006 0304b550914200 59 5e eb05 b8???????? }
            // n = 7, score = 100
            //   59                   | pop                 ecx
            //   c1e006               | shl                 eax, 6
            //   0304b550914200       | add                 eax, dword ptr [esi*4 + 0x429150]
            //   59                   | pop                 ecx
            //   5e                   | pop                 esi
            //   eb05                 | jmp                 7
            //   b8????????           |                     

        $sequence_4 = { 3bf7 7461 56 8d4dd8 e8???????? c645fc03 8d4dd8 }
            // n = 7, score = 100
            //   3bf7                 | cmp                 esi, edi
            //   7461                 | je                  0x63
            //   56                   | push                esi
            //   8d4dd8               | lea                 ecx, [ebp - 0x28]
            //   e8????????           |                     
            //   c645fc03             | mov                 byte ptr [ebp - 4], 3
            //   8d4dd8               | lea                 ecx, [ebp - 0x28]

        $sequence_5 = { 8bec 83e4f8 51 53 56 8bf1 bb???????? }
            // n = 7, score = 100
            //   8bec                 | mov                 ebp, esp
            //   83e4f8               | and                 esp, 0xfffffff8
            //   51                   | push                ecx
            //   53                   | push                ebx
            //   56                   | push                esi
            //   8bf1                 | mov                 esi, ecx
            //   bb????????           |                     

        $sequence_6 = { 03c7 ebc6 5f 5e 5b 8be5 5d }
            // n = 7, score = 100
            //   03c7                 | add                 eax, edi
            //   ebc6                 | jmp                 0xffffffc8
            //   5f                   | pop                 edi
            //   5e                   | pop                 esi
            //   5b                   | pop                 ebx
            //   8be5                 | mov                 esp, ebp
            //   5d                   | pop                 ebp

        $sequence_7 = { e8???????? 56 8bd3 8bc8 e8???????? 59 }
            // n = 6, score = 100
            //   e8????????           |                     
            //   56                   | push                esi
            //   8bd3                 | mov                 edx, ebx
            //   8bc8                 | mov                 ecx, eax
            //   e8????????           |                     
            //   59                   | pop                 ecx

        $sequence_8 = { 6a00 f3a4 50 e8???????? 8bb5e0feffff 59 }
            // n = 6, score = 100
            //   6a00                 | push                0
            //   f3a4                 | rep movsb           byte ptr es:[edi], byte ptr [esi]
            //   50                   | push                eax
            //   e8????????           |                     
            //   8bb5e0feffff         | mov                 esi, dword ptr [ebp - 0x120]
            //   59                   | pop                 ecx

        $sequence_9 = { 7405 e8???????? dbe2 5d c3 b8???????? c705????????e1244100 }
            // n = 7, score = 100
            //   7405                 | je                  7
            //   e8????????           |                     
            //   dbe2                 | fnclex              
            //   5d                   | pop                 ebp
            //   c3                   | ret                 
            //   b8????????           |                     
            //   c705????????e1244100     |     

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