Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/05/2023, 11:39

General

  • Target
    Rh95MTKkXe3KdYO.exe
  • Size 563KB
  • Sample230515-nsawesfb22
  • SHA256 27981353e3464d563e3395e623e4a3207f4f9bb968a4e207bc8e6cac2971af98
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • snakekeylogger

C2
  • https://api.telegram.org/bot5474174071:AAHlV4cw4zvSgwgRjR7s8E5ZbyzghXny9w4/sendMessage?chat_id=6143595836

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\Rh95MTKkXe3KdYO.exe
    "C:\Users\Admin\AppData\Local\Temp\Rh95MTKkXe3KdYO.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3344
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\EahJbcQtoPlapT.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5084
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\EahJbcQtoPlapT" /XML "C:\Users\Admin\AppData\Local\Temp\tmp513D.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2280
    • C:\Users\Admin\AppData\Local\Temp\Rh95MTKkXe3KdYO.exe
      "C:\Users\Admin\AppData\Local\Temp\Rh95MTKkXe3KdYO.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • outlook_office_path
      • outlook_win_path
      PID:3824

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_iu1p033k.eo1.ps1

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

        tmp513D.tmp

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

        memory/3344-139-0x0000000006840000-0x00000000068DC000-memory.dmp

        memory/3344-136-0x0000000004D80000-0x0000000004D90000-memory.dmp

        memory/3344-137-0x0000000004B30000-0x0000000004B3A000-memory.dmp

        memory/3344-138-0x0000000004D80000-0x0000000004D90000-memory.dmp

        memory/3344-135-0x0000000004BA0000-0x0000000004C32000-memory.dmp

        memory/3344-134-0x00000000050B0000-0x0000000005654000-memory.dmp

        memory/3344-133-0x0000000000210000-0x00000000002A4000-memory.dmp

        memory/3824-189-0x0000000005A80000-0x0000000005A90000-memory.dmp

        memory/3824-188-0x0000000006A50000-0x0000000006C12000-memory.dmp

        memory/3824-146-0x0000000000400000-0x0000000000426000-memory.dmp

        memory/3824-161-0x0000000005A80000-0x0000000005A90000-memory.dmp

        memory/5084-162-0x00000000049C0000-0x00000000049D0000-memory.dmp

        memory/5084-177-0x00000000049C0000-0x00000000049D0000-memory.dmp

        memory/5084-150-0x0000000004F60000-0x0000000004FC6000-memory.dmp

        memory/5084-149-0x0000000004EC0000-0x0000000004EE2000-memory.dmp

        memory/5084-163-0x00000000049C0000-0x00000000049D0000-memory.dmp

        memory/5084-164-0x0000000005E70000-0x0000000005E8E000-memory.dmp

        memory/5084-165-0x0000000006450000-0x0000000006482000-memory.dmp

        memory/5084-166-0x0000000070C70000-0x0000000070CBC000-memory.dmp

        memory/5084-176-0x0000000006430000-0x000000000644E000-memory.dmp

        memory/5084-156-0x0000000005860000-0x00000000058C6000-memory.dmp

        memory/5084-178-0x000000007FC40000-0x000000007FC50000-memory.dmp

        memory/5084-179-0x00000000077D0000-0x0000000007E4A000-memory.dmp

        memory/5084-180-0x0000000007180000-0x000000000719A000-memory.dmp

        memory/5084-181-0x00000000071F0000-0x00000000071FA000-memory.dmp

        memory/5084-182-0x0000000007400000-0x0000000007496000-memory.dmp

        memory/5084-183-0x00000000073B0000-0x00000000073BE000-memory.dmp

        memory/5084-184-0x00000000074C0000-0x00000000074DA000-memory.dmp

        memory/5084-185-0x00000000074A0000-0x00000000074A8000-memory.dmp

        memory/5084-147-0x0000000005000000-0x0000000005628000-memory.dmp

        memory/5084-144-0x0000000002560000-0x0000000002596000-memory.dmp