SYMBOLCOMMON_NAMEaka. SYNONYMS
win.lunchmoney (Back to overview)

LunchMoney

Actor(s): Leviathan


An uploader that can exfiltrate files to Dropbox.

References
2019-03-04FireEyeFred Plan, Nalani Fraser, Jacqueline O’Leary, Vincent Cannon, Ben Read
@online{plan:20190304:apt40:4f394e2, author = {Fred Plan and Nalani Fraser and Jacqueline O’Leary and Vincent Cannon and Ben Read}, title = {{APT40: Examining a China-Nexus Espionage Actor}}, date = {2019-03-04}, organization = {FireEye}, url = {https://www.fireeye.com/blog/threat-research/2019/03/apt40-examining-a-china-nexus-espionage-actor.html}, language = {English}, urldate = {2019-12-20} } APT40: Examining a China-Nexus Espionage Actor
LunchMoney Leviathan
2019-02-19Twitter (@MrDanPerez)Dan Perez
@online{perez:20190219:apt40:f6c06bb, author = {Dan Perez}, title = {{APT40 dropper}}, date = {2019-02-19}, organization = {Twitter (@MrDanPerez)}, url = {https://twitter.com/MrDanPerez/status/1097881406661902337}, language = {English}, urldate = {2019-10-23} } APT40 dropper
LunchMoney
Yara Rules
[TLP:WHITE] win_lunchmoney_auto (20201023 | autogenerated rule brought to you by yara-signator)
rule win_lunchmoney_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.lunchmoney"
        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 = { c20400 55 8bec 51 8365fc00 8d4130 }
            // n = 6, score = 100
            //   c20400               | ret                 4
            //   55                   | push                ebp
            //   8bec                 | mov                 ebp, esp
            //   51                   | push                ecx
            //   8365fc00             | and                 dword ptr [ebp - 4], 0
            //   8d4130               | lea                 eax, [ecx + 0x30]

        $sequence_1 = { 46 8a02 8b9524e5ffff 8b0c9d50914200 88440a34 8b049d50914200 }
            // n = 6, score = 100
            //   46                   | inc                 esi
            //   8a02                 | mov                 al, byte ptr [edx]
            //   8b9524e5ffff         | mov                 edx, dword ptr [ebp - 0x1adc]
            //   8b0c9d50914200       | mov                 ecx, dword ptr [ebx*4 + 0x429150]
            //   88440a34             | mov                 byte ptr [edx + ecx + 0x34], al
            //   8b049d50914200       | mov                 eax, dword ptr [ebx*4 + 0x429150]

        $sequence_2 = { a3???????? 890d???????? eb06 8b0d???????? 8b86c0000000 2bc1 }
            // n = 6, score = 100
            //   a3????????           |                     
            //   890d????????         |                     
            //   eb06                 | jmp                 8
            //   8b0d????????         |                     
            //   8b86c0000000         | mov                 eax, dword ptr [esi + 0xc0]
            //   2bc1                 | sub                 eax, ecx

        $sequence_3 = { 6a03 57 6a01 68000000c0 50 ff15???????? 8bf0 }
            // n = 7, score = 100
            //   6a03                 | push                3
            //   57                   | push                edi
            //   6a01                 | push                1
            //   68000000c0           | push                0xc0000000
            //   50                   | push                eax
            //   ff15????????         |                     
            //   8bf0                 | mov                 esi, eax

        $sequence_4 = { 8d4dd4 e8???????? e9???????? 837de808 8d45d4 6a00 }
            // n = 6, score = 100
            //   8d4dd4               | lea                 ecx, [ebp - 0x2c]
            //   e8????????           |                     
            //   e9????????           |                     
            //   837de808             | cmp                 dword ptr [ebp - 0x18], 8
            //   8d45d4               | lea                 eax, [ebp - 0x2c]
            //   6a00                 | push                0

        $sequence_5 = { 8b049d50914200 893407 33c0 5e eb16 e8???????? c70009000000 }
            // n = 7, score = 100
            //   8b049d50914200       | mov                 eax, dword ptr [ebx*4 + 0x429150]
            //   893407               | mov                 dword ptr [edi + eax], esi
            //   33c0                 | xor                 eax, eax
            //   5e                   | pop                 esi
            //   eb16                 | jmp                 0x18
            //   e8????????           |                     
            //   c70009000000         | mov                 dword ptr [eax], 9

        $sequence_6 = { 50 50 ff15???????? 89450c 85c0 }
            // n = 5, score = 100
            //   50                   | push                eax
            //   50                   | push                eax
            //   ff15????????         |                     
            //   89450c               | mov                 dword ptr [ebp + 0xc], eax
            //   85c0                 | test                eax, eax

        $sequence_7 = { 84db 7412 803d????????01 745c c605????????01 eb81 }
            // n = 6, score = 100
            //   84db                 | test                bl, bl
            //   7412                 | je                  0x14
            //   803d????????01       |                     
            //   745c                 | je                  0x5e
            //   c605????????01       |                     
            //   eb81                 | jmp                 0xffffff83

        $sequence_8 = { b800008000 0f45d0 837db808 52 0f434da4 8d450c 837d2008 }
            // n = 7, score = 100
            //   b800008000           | mov                 eax, 0x800000
            //   0f45d0               | cmovne              edx, eax
            //   837db808             | cmp                 dword ptr [ebp - 0x48], 8
            //   52                   | push                edx
            //   0f434da4             | cmovae              ecx, dword ptr [ebp - 0x5c]
            //   8d450c               | lea                 eax, [ebp + 0xc]
            //   837d2008             | cmp                 dword ptr [ebp + 0x20], 8

        $sequence_9 = { e8???????? 59 59 83f8ff 7407 }
            // n = 5, score = 100
            //   e8????????           |                     
            //   59                   | pop                 ecx
            //   59                   | pop                 ecx
            //   83f8ff               | cmp                 eax, -1
            //   7407                 | je                  9

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