Analysis

  • max time kernel
    91s
  • max time network
    141s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220812-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23/01/2023, 18:25

General

  • Target
    Shipping DOC.exe
  • Size 707KB
  • Sample230123-w2ly2see88
  • SHA256 bfa71d8dce5ab5e1891ccf16cb8f4d909560f0da154e4900be6663a4313c3f07
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • snakekeylogger

C2
  • https://api.telegram.org/bot5875198898:AAHb7cYwGrkdJdBq0_UiL6kYLg7WcXhadcM/sendMessage?chat_id=5279616630

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 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 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\Shipping DOC.exe
    "C:\Users\Admin\AppData\Local\Temp\Shipping DOC.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:4972
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\xgFfUgKPjBXAGZ.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1624
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\xgFfUgKPjBXAGZ" /XML "C:\Users\Admin\AppData\Local\Temp\tmp4631.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4608
    • C:\Users\Admin\AppData\Local\Temp\Shipping DOC.exe
      "C:\Users\Admin\AppData\Local\Temp\Shipping DOC.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • outlook_office_path
      • outlook_win_path
      PID:2320

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        tmp4631.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp4631.tmp
        • Size 1KB
        • SHA256 9ad45d5f7ec75c6895ec92af7da4de9a999a3a7cf99c2a2aa115110e1dfeb3b2
        • MD5 SHA1 SHA512

        memory/1624-150-0x0000000006740000-0x000000000675E000-memory.dmp

        memory/1624-152-0x00000000074C0000-0x00000000074DA000-memory.dmp

        memory/1624-157-0x00000000077E0000-0x00000000077E8000-memory.dmp

        memory/1624-156-0x0000000007800000-0x000000000781A000-memory.dmp

        memory/1624-146-0x0000000005BE0000-0x0000000005C46000-memory.dmp

        memory/1624-139-0x0000000002890000-0x00000000028C6000-memory.dmp

        memory/1624-154-0x0000000007740000-0x00000000077D6000-memory.dmp

        memory/1624-153-0x0000000007530000-0x000000000753A000-memory.dmp

        memory/1624-143-0x00000000054D0000-0x0000000005AF8000-memory.dmp

        memory/1624-145-0x0000000005B00000-0x0000000005B66000-memory.dmp

        memory/1624-144-0x0000000005200000-0x0000000005222000-memory.dmp

        memory/1624-147-0x00000000061C0000-0x00000000061DE000-memory.dmp

        memory/1624-155-0x00000000076F0000-0x00000000076FE000-memory.dmp

        memory/1624-151-0x0000000007B10000-0x000000000818A000-memory.dmp

        memory/1624-148-0x0000000006770000-0x00000000067A2000-memory.dmp

        memory/1624-149-0x0000000071960000-0x00000000719AC000-memory.dmp

        memory/2320-142-0x0000000000400000-0x0000000000426000-memory.dmp

        memory/2320-158-0x0000000006580000-0x0000000006742000-memory.dmp

        memory/4972-132-0x0000000000C10000-0x0000000000CC8000-memory.dmp

        memory/4972-134-0x0000000007B80000-0x0000000007C12000-memory.dmp

        memory/4972-133-0x0000000008090000-0x0000000008634000-memory.dmp

        memory/4972-136-0x000000000A1C0000-0x000000000A25C000-memory.dmp

        memory/4972-135-0x0000000007B60000-0x0000000007B6A000-memory.dmp