Analysis

  • max time kernel
    64s
  • max time network
    136s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220901-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19/10/2022, 12:26

General

  • Target
    new invoice.exe
  • Size 774KB
  • Sample221019-pl7ggsfeb8
  • SHA256 261f0d52f46daeb7c9f3a5cdfeb16eff3bd590b7bf87a38a5bbd8c2b390bab88
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • snakekeylogger

C2
  • https://api.telegram.org/bot5495243543:AAG3XPeGW7yqfXF6_EXjGSfO9SWHJTpqVsU/sendMessage?chat_id=1128973051

Signatures

  • Snake Keylogger

    Keylogger and Infostealer first seen in November 2020.

  • Snake Keylogger payload 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\new invoice.exe
    "C:\Users\Admin\AppData\Local\Temp\new invoice.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:2396
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\CBTINGIXoeDI" /XML "C:\Users\Admin\AppData\Local\Temp\tmp42E5.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:3808
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
      "{path}"
      2⤵
        PID:3760
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
        "{path}"
        2⤵
        • Accesses Microsoft Outlook profiles
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • outlook_office_path
        • outlook_win_path
        PID:4956

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          tmp42E5.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp42E5.tmp
          • Size 1KB
          • SHA256 d2b72c725f92d7962bfda8d30d56e53a09059b44ea46f050826eb43153d4e169
          • MD5 SHA1 SHA512

          memory/2396-132-0x0000000000360000-0x0000000000428000-memory.dmp

          memory/2396-133-0x0000000005380000-0x0000000005924000-memory.dmp

          memory/2396-134-0x0000000004DD0000-0x0000000004E62000-memory.dmp

          memory/2396-135-0x0000000004F10000-0x0000000004FAC000-memory.dmp

          memory/2396-136-0x0000000004E70000-0x0000000004E7A000-memory.dmp

          memory/4956-141-0x0000000000400000-0x0000000000426000-memory.dmp

          memory/4956-142-0x0000000006830000-0x00000000069F2000-memory.dmp