Analysis

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

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30/01/2023, 12:34

General

  • Target
    Maersk Shipping Docs.exe
  • Size 618KB
  • Sample230130-prryzsca4w
  • SHA256 f9aa33269f7d56d6a16db1c91b5ce0df11fbe25c50d2c3f2222e07b83098d212
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • snakekeylogger

Credentials
C2
  • https://api.telegram.org/bot5839027687:AAGrC4UWgd0JQxMHOf1dCehA-oSrYF_Bez8/sendMessage?chat_id=1094077450

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 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Maersk Shipping Docs.exe
    "C:\Users\Admin\AppData\Local\Temp\Maersk Shipping Docs.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:5056
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\laYtZHUX.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1088
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\laYtZHUX" /XML "C:\Users\Admin\AppData\Local\Temp\tmp177F.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1280
    • C:\Users\Admin\AppData\Local\Temp\Maersk Shipping Docs.exe
      "C:\Users\Admin\AppData\Local\Temp\Maersk Shipping Docs.exe"
      2⤵
        PID:3644
      • C:\Users\Admin\AppData\Local\Temp\Maersk Shipping Docs.exe
        "C:\Users\Admin\AppData\Local\Temp\Maersk Shipping Docs.exe"
        2⤵
        • Accesses Microsoft Outlook profiles
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • outlook_office_path
        • outlook_win_path
        PID:3504

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          tmp177F.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp177F.tmp
          • Size 1KB
          • SHA256 0401eb126c7a680f6f7a5edde3ee3d69841b65f094e06ff34bfbfdf07a0fca0c
          • MD5 SHA1 SHA512

          memory/1088-153-0x0000000007670000-0x000000000767A000-memory.dmp

          memory/1088-152-0x0000000007600000-0x000000000761A000-memory.dmp

          memory/1088-146-0x0000000005CE0000-0x0000000005D46000-memory.dmp

          memory/1088-137-0x00000000029E0000-0x0000000002A16000-memory.dmp

          memory/1088-156-0x0000000007940000-0x000000000795A000-memory.dmp

          memory/1088-155-0x0000000007830000-0x000000000783E000-memory.dmp

          memory/1088-154-0x0000000007880000-0x0000000007916000-memory.dmp

          memory/1088-145-0x0000000005C00000-0x0000000005C66000-memory.dmp

          memory/1088-142-0x0000000005560000-0x0000000005B88000-memory.dmp

          memory/1088-143-0x0000000005330000-0x0000000005352000-memory.dmp

          memory/1088-147-0x00000000062F0000-0x000000000630E000-memory.dmp

          memory/1088-151-0x0000000007C40000-0x00000000082BA000-memory.dmp

          memory/1088-157-0x0000000007920000-0x0000000007928000-memory.dmp

          memory/1088-150-0x0000000006890000-0x00000000068AE000-memory.dmp

          memory/1088-148-0x00000000068B0000-0x00000000068E2000-memory.dmp

          memory/1088-149-0x00000000702B0000-0x00000000702FC000-memory.dmp

          memory/3504-144-0x0000000005AD0000-0x0000000006074000-memory.dmp

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

          memory/3504-158-0x0000000006890000-0x0000000006A52000-memory.dmp

          memory/3504-159-0x0000000006840000-0x000000000684A000-memory.dmp

          memory/5056-134-0x00000000050C0000-0x000000000515C000-memory.dmp

          memory/5056-132-0x00000000001B0000-0x0000000000250000-memory.dmp

          memory/5056-133-0x0000000004D80000-0x0000000004E12000-memory.dmp