Analysis

  • max time kernel
    96s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230220-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27/02/2023, 16:15

General

  • Target
    NEW SHIPMENTS HO CHI MINH-IZMIT-2X40'NOR SPDSI2300303.exe
  • Size 1.0MB
  • Sample230227-tp8aeaed92
  • SHA256 b6ccf763bb38649f95ffb2bc6311ecf8d6cca7b6488d76a545b3c584192918ea
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • snakekeylogger

Credentials
C2
  • https://api.telegram.org/bot6166695280:AAFYAmHtNxka4VVDE564YnB1MkmT68AnzXY/sendMessage?chat_id=5981442240

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\NEW SHIPMENTS HO CHI MINH-IZMIT-2X40'NOR SPDSI2300303.exe
    "C:\Users\Admin\AppData\Local\Temp\NEW SHIPMENTS HO CHI MINH-IZMIT-2X40'NOR SPDSI2300303.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:4136
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\StaspOFXjFwO.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:544
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\StaspOFXjFwO" /XML "C:\Users\Admin\AppData\Local\Temp\tmp3808.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4084
    • C:\Users\Admin\AppData\Local\Temp\NEW SHIPMENTS HO CHI MINH-IZMIT-2X40'NOR SPDSI2300303.exe
      "C:\Users\Admin\AppData\Local\Temp\NEW SHIPMENTS HO CHI MINH-IZMIT-2X40'NOR SPDSI2300303.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • outlook_office_path
      • outlook_win_path
      PID:4372

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_rikh3xma.3rv.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_rikh3xma.3rv.ps1
        • Size 60B
        • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
        • MD5 SHA1 SHA512

        tmp3808.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp3808.tmp
        • Size 1KB
        • SHA256 169f095c1ee16b8ffed8a1e78951542c26f68ee8babe3f1349de905c6972e0f4
        • MD5 SHA1 SHA512

        memory/544-162-0x00000000023D0000-0x00000000023E0000-memory.dmp

        memory/544-179-0x0000000006F20000-0x0000000006F3A000-memory.dmp

        memory/544-185-0x0000000007250000-0x0000000007258000-memory.dmp

        memory/544-184-0x0000000007270000-0x000000000728A000-memory.dmp

        memory/544-183-0x0000000007160000-0x000000000716E000-memory.dmp

        memory/544-144-0x0000000002300000-0x0000000002336000-memory.dmp

        memory/544-182-0x00000000071A0000-0x0000000007236000-memory.dmp

        memory/544-146-0x0000000004D90000-0x00000000053B8000-memory.dmp

        memory/544-181-0x0000000006F90000-0x0000000006F9A000-memory.dmp

        memory/544-149-0x0000000004D60000-0x0000000004D82000-memory.dmp

        memory/544-150-0x0000000005530000-0x0000000005596000-memory.dmp

        memory/544-151-0x00000000055A0000-0x0000000005606000-memory.dmp

        memory/544-180-0x000000007F830000-0x000000007F840000-memory.dmp

        memory/544-178-0x0000000007570000-0x0000000007BEA000-memory.dmp

        memory/544-177-0x00000000061D0000-0x00000000061EE000-memory.dmp

        memory/544-164-0x0000000005C20000-0x0000000005C3E000-memory.dmp

        memory/544-166-0x00000000061F0000-0x0000000006222000-memory.dmp

        memory/544-165-0x00000000023D0000-0x00000000023E0000-memory.dmp

        memory/544-163-0x00000000023D0000-0x00000000023E0000-memory.dmp

        memory/544-167-0x0000000070690000-0x00000000706DC000-memory.dmp

        memory/4136-136-0x0000000005AD0000-0x0000000005ADA000-memory.dmp

        memory/4136-133-0x0000000000E70000-0x0000000000F7A000-memory.dmp

        memory/4136-134-0x0000000005E40000-0x00000000063E4000-memory.dmp

        memory/4136-135-0x0000000005930000-0x00000000059C2000-memory.dmp

        memory/4136-139-0x00000000096B0000-0x000000000974C000-memory.dmp

        memory/4136-138-0x0000000005B10000-0x0000000005B20000-memory.dmp

        memory/4136-137-0x0000000005B10000-0x0000000005B20000-memory.dmp

        memory/4372-161-0x0000000005410000-0x0000000005420000-memory.dmp

        memory/4372-147-0x0000000000400000-0x0000000000426000-memory.dmp

        memory/4372-186-0x00000000063E0000-0x00000000065A2000-memory.dmp

        memory/4372-189-0x0000000005410000-0x0000000005420000-memory.dmp