Analysis

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

    arch:x64arch:x86image:win10v2004-20230703-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05/07/2023, 10:32

General

  • Target
    6402781254bfa77827a02ef77d702ea6ccf0f3f0e01a6fada69105ce23b931e4.exe
  • Size 739KB
  • Sample230705-mkyf3sdb31
  • SHA256 6402781254bfa77827a02ef77d702ea6ccf0f3f0e01a6fada69105ce23b931e4
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • snakekeylogger

C2
  • https://api.telegram.org/bot6178167079:AAF89EAU6cjADoO39gVxivh4p16vKLDEJ0g/sendMessage?chat_id=2015447474

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.

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

  • Suspicious behavior: EnumeratesProcesses 12 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\6402781254bfa77827a02ef77d702ea6ccf0f3f0e01a6fada69105ce23b931e4.exe
    "C:\Users\Admin\AppData\Local\Temp\6402781254bfa77827a02ef77d702ea6ccf0f3f0e01a6fada69105ce23b931e4.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3256
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\6402781254bfa77827a02ef77d702ea6ccf0f3f0e01a6fada69105ce23b931e4.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4836
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
      2⤵
        PID:4224
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
        2⤵
        • Accesses Microsoft Outlook profiles
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • outlook_office_path
        • outlook_win_path
        PID:4528

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          __PSScriptPolicyTest_p5ji1zyq.hlm.ps1

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

          memory/3256-134-0x0000000005A30000-0x0000000005FD4000-memory.dmp

          memory/3256-135-0x0000000005520000-0x00000000055B2000-memory.dmp

          memory/3256-136-0x00000000054E0000-0x00000000054EA000-memory.dmp

          memory/3256-137-0x0000000005710000-0x0000000005720000-memory.dmp

          memory/3256-138-0x0000000005710000-0x0000000005720000-memory.dmp

          memory/3256-139-0x0000000006DB0000-0x0000000006E4C000-memory.dmp

          memory/3256-133-0x0000000000A40000-0x0000000000AFE000-memory.dmp

          memory/4528-140-0x0000000000400000-0x0000000000426000-memory.dmp

          memory/4528-184-0x0000000004E00000-0x0000000004E10000-memory.dmp

          memory/4528-181-0x0000000006070000-0x0000000006232000-memory.dmp

          memory/4528-156-0x0000000004E00000-0x0000000004E10000-memory.dmp

          memory/4836-158-0x00000000023C0000-0x00000000023D0000-memory.dmp

          memory/4836-172-0x0000000006350000-0x000000000636E000-memory.dmp

          memory/4836-145-0x0000000005650000-0x00000000056B6000-memory.dmp

          memory/4836-157-0x00000000023C0000-0x00000000023D0000-memory.dmp

          memory/4836-144-0x0000000004DF0000-0x0000000004E12000-memory.dmp

          memory/4836-159-0x0000000005DC0000-0x0000000005DDE000-memory.dmp

          memory/4836-160-0x00000000023C0000-0x00000000023D0000-memory.dmp

          memory/4836-161-0x0000000006370000-0x00000000063A2000-memory.dmp

          memory/4836-162-0x0000000070DA0000-0x0000000070DEC000-memory.dmp

          memory/4836-151-0x0000000005770000-0x00000000057D6000-memory.dmp

          memory/4836-173-0x0000000007700000-0x0000000007D7A000-memory.dmp

          memory/4836-174-0x00000000070C0000-0x00000000070DA000-memory.dmp

          memory/4836-175-0x000000007F020000-0x000000007F030000-memory.dmp

          memory/4836-176-0x0000000007130000-0x000000000713A000-memory.dmp

          memory/4836-177-0x0000000007340000-0x00000000073D6000-memory.dmp

          memory/4836-178-0x00000000072F0000-0x00000000072FE000-memory.dmp

          memory/4836-179-0x0000000007400000-0x000000000741A000-memory.dmp

          memory/4836-180-0x00000000073E0000-0x00000000073E8000-memory.dmp

          memory/4836-143-0x0000000004E70000-0x0000000005498000-memory.dmp

          memory/4836-141-0x0000000004800000-0x0000000004836000-memory.dmp