Analysis

  • max time kernel
    55s
  • max time network
    154s
  • platform
    windows7_x64
  • resource
    win7-20230220-en
  • resource tags

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system
  • submitted
    07/03/2023, 12:27

General

  • Target
    file.exe
  • Size 774KB
  • Sample230307-pmrseshc81
  • SHA256 1896efa72cff54069401ed803a33765d3f6ca525aba0be3c5d7f27c9f9e02269
  • 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 6 IoCs
  • 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 3 IoCs
  • Suspicious use of WriteProcessMemory 21 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1948
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\testsohkf.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1424
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\testsohkf" /XML "C:\Users\Admin\AppData\Local\Temp\tmpF5F4.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:544
    • C:\Users\Admin\AppData\Local\Temp\file.exe
      "C:\Users\Admin\AppData\Local\Temp\file.exe"
      2⤵
        PID:2040
      • C:\Users\Admin\AppData\Local\Temp\file.exe
        "C:\Users\Admin\AppData\Local\Temp\file.exe"
        2⤵
        • Accesses Microsoft Outlook profiles
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • outlook_office_path
        • outlook_win_path
        PID:1676

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          tmpF5F4.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmpF5F4.tmp
          • Size 1KB
          • SHA256 55cd1cdf7cff3fc4b9cf9171461b9629da31e5cfc6e5f989353324f59bfb9228
          • MD5 SHA1 SHA512

          memory/1424-78-0x0000000002670000-0x00000000026B0000-memory.dmp

          memory/1676-71-0x0000000000400000-0x0000000000426000-memory.dmp

          memory/1676-72-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

          memory/1676-79-0x0000000004100000-0x0000000004140000-memory.dmp

          memory/1676-75-0x0000000000400000-0x0000000000426000-memory.dmp

          memory/1676-77-0x0000000000400000-0x0000000000426000-memory.dmp

          memory/1676-73-0x0000000000400000-0x0000000000426000-memory.dmp

          memory/1676-68-0x0000000000400000-0x0000000000426000-memory.dmp

          memory/1676-69-0x0000000000400000-0x0000000000426000-memory.dmp

          memory/1676-70-0x0000000000400000-0x0000000000426000-memory.dmp

          memory/1948-56-0x00000000003F0000-0x0000000000430000-memory.dmp

          memory/1948-54-0x0000000000100000-0x00000000001C8000-memory.dmp

          memory/1948-65-0x0000000004230000-0x0000000004258000-memory.dmp

          memory/1948-57-0x00000000003F0000-0x0000000000430000-memory.dmp

          memory/1948-59-0x00000000054A0000-0x0000000005540000-memory.dmp

          memory/1948-58-0x0000000000490000-0x000000000049C000-memory.dmp

          memory/1948-55-0x0000000000470000-0x0000000000486000-memory.dmp