Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-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 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\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:2020
    • 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:3788
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\testsohkf" /XML "C:\Users\Admin\AppData\Local\Temp\tmp1424.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1476
    • 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:2144

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        file.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\file.exe.log
        • Size 1KB
        • SHA256 839fa1f9725719938ffa24533587b168bae2768f23ac09dccb3ad4ab8ae6abcd
        • MD5 SHA1 SHA512

        __PSScriptPolicyTest_j4aooeuu.psq.ps1

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

        tmp1424.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp1424.tmp
        • Size 1KB
        • SHA256 683c1f25f0185b8fcccd74d6381268743bd33b3c40790a040937a0a2341069d6
        • MD5 SHA1 SHA512

        memory/2020-136-0x0000000005160000-0x00000000051F2000-memory.dmp

        memory/2020-137-0x0000000005FB0000-0x000000000604C000-memory.dmp

        memory/2020-135-0x0000000005670000-0x0000000005C14000-memory.dmp

        memory/2020-134-0x00000000050B0000-0x00000000050C0000-memory.dmp

        memory/2020-133-0x0000000000640000-0x0000000000708000-memory.dmp

        memory/2144-189-0x0000000005290000-0x00000000052A0000-memory.dmp

        memory/2144-186-0x0000000006390000-0x000000000639A000-memory.dmp

        memory/2144-145-0x0000000000400000-0x0000000000426000-memory.dmp

        memory/2144-185-0x0000000006400000-0x00000000065C2000-memory.dmp

        memory/2144-163-0x0000000005290000-0x00000000052A0000-memory.dmp

        memory/3788-162-0x0000000005CE0000-0x0000000005CFE000-memory.dmp

        memory/3788-177-0x0000000007630000-0x0000000007CAA000-memory.dmp

        memory/3788-157-0x0000000000BC0000-0x0000000000BD0000-memory.dmp

        memory/3788-148-0x0000000004DB0000-0x0000000004E16000-memory.dmp

        memory/3788-150-0x00000000056A0000-0x0000000005706000-memory.dmp

        memory/3788-164-0x0000000000BC0000-0x0000000000BD0000-memory.dmp

        memory/3788-165-0x0000000006EA0000-0x0000000006ED2000-memory.dmp

        memory/3788-166-0x0000000071AB0000-0x0000000071AFC000-memory.dmp

        memory/3788-176-0x0000000006280000-0x000000000629E000-memory.dmp

        memory/3788-156-0x0000000000BC0000-0x0000000000BD0000-memory.dmp

        memory/3788-178-0x0000000006FF0000-0x000000000700A000-memory.dmp

        memory/3788-179-0x000000007EF30000-0x000000007EF40000-memory.dmp

        memory/3788-180-0x0000000007060000-0x000000000706A000-memory.dmp

        memory/3788-181-0x0000000007270000-0x0000000007306000-memory.dmp

        memory/3788-182-0x0000000007220000-0x000000000722E000-memory.dmp

        memory/3788-183-0x0000000007330000-0x000000000734A000-memory.dmp

        memory/3788-184-0x0000000007310000-0x0000000007318000-memory.dmp

        memory/3788-146-0x0000000004C10000-0x0000000004C32000-memory.dmp

        memory/3788-144-0x0000000004F00000-0x0000000005528000-memory.dmp

        memory/3788-142-0x00000000023E0000-0x0000000002416000-memory.dmp