Analysis

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

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27/10/2022, 16:00

General

  • Target
    invoice.exe
  • Size 850KB
  • Sample221027-tfnjmscfe5
  • SHA256 e9e4317a89ca227ca7a5cec8b3b1a0dc86285373ef067159f6db934ea0bda8e3
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • snakekeylogger

C2
  • https://api.telegram.org/bot1644755040:AAGRTnph6BdO8-t1bJaOyVu9aeuJErmisqs/sendMessage?chat_id=1637651323

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.

  • Reads data files stored by FTP clients 2 TTPs

    Tries to access configuration files associated with programs like FileZilla.

  • Reads user/profile data of local email clients 2 TTPs

    Email clients store some user data on disk where infostealers will often target it.

  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • 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 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 11 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\invoice.exe
    "C:\Users\Admin\AppData\Local\Temp\invoice.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1984
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\GnNqNmO" /XML "C:\Users\Admin\AppData\Local\Temp\tmp6E4A.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1860
    • C:\Users\Admin\AppData\Local\Temp\invoice.exe
      "{path}"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • outlook_office_path
      • outlook_win_path
      PID:5008

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        invoice.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\invoice.exe.log
        • Size 1KB
        • SHA256 e16024b092a026a9dc00df69d4b9bbcab7b2dc178dc5291fc308a1abc9304a99
        • MD5 SHA1 SHA512

        tmp6E4A.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp6E4A.tmp
        • Size 1KB
        • SHA256 2e5520461423a9e3ba2055c3511734a088b873955803a762bffb2a797d8cc779
        • MD5 SHA1 SHA512

        memory/1984-132-0x0000000000F70000-0x000000000104A000-memory.dmp

        memory/1984-133-0x0000000006040000-0x00000000065E4000-memory.dmp

        memory/1984-134-0x00000000059D0000-0x0000000005A62000-memory.dmp

        memory/1984-135-0x0000000005B30000-0x0000000005BCC000-memory.dmp

        memory/1984-136-0x0000000005A90000-0x0000000005A9A000-memory.dmp

        memory/5008-140-0x0000000000400000-0x0000000000426000-memory.dmp

        memory/5008-142-0x0000000006F80000-0x0000000007142000-memory.dmp