Analysis

  • max time kernel
    128s
  • max time network
    142s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250217-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250217-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18/02/2025, 22:25

General

  • Target
    new purchase order21125.bat.exe
  • Size 710KB
  • Sample250218-2b2vgasmz8
  • SHA256 ae1a70825040f157d78228d5668ffa7f2759fdf83293e35c351e5b4e8d035c4f
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • snakekeylogger

C2
  • https://api.telegram.org/bot7775393615:AAHn5BUezoc-Je4U55mzXmsPfsuGEAoG2EA/sendMessage?chat_id=2135869667

Signatures

  • Snake Keylogger

    Keylogger and Infostealer first seen in November 2020.

  • Snake Keylogger payload 1 IoCs
  • Snakekeylogger family
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

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

  • System Location Discovery: System Language Discovery 1 TTPs 5 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 10 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\new purchase order21125.bat.exe
    "C:\Users\Admin\AppData\Local\Temp\new purchase order21125.bat.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1588
    • 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\new purchase order21125.bat.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3988
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\IPzgiZQdhTbS.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1376
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\IPzgiZQdhTbS" /XML "C:\Users\Admin\AppData\Local\Temp\tmp123B.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:2520
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
      2⤵
        PID:1960
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
        2⤵
        • Accesses Microsoft Outlook profiles
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • outlook_office_path
        • outlook_win_path
        PID:3168

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          powershell.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log
          • Size 2KB
          • SHA256 92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 18KB
          • SHA256 efb12eb06b831845db1a7b0574b6278ba2c09ae1b735570b201e9c0af43f4cc7
          • MD5 SHA1 SHA512 SSDEEP

          __PSScriptPolicyTest_bw5w4stw.2tp.ps1

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

          tmp123B.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp123B.tmp
          • Size 1KB
          • SHA256 9ed2be1b9a2a0cfc8ebf1c56660caf2cd3efd8d0f0cafd1254d94c869b3fbe64
          • MD5 SHA1 SHA512

          memory/1376-76-0x0000000007810000-0x00000000078A6000-memory.dmp

          memory/1376-78-0x00000000077C0000-0x00000000077CE000-memory.dmp

          memory/1376-19-0x0000000074900000-0x00000000750B0000-memory.dmp

          memory/1376-74-0x0000000007590000-0x00000000075AA000-memory.dmp

          memory/1376-73-0x0000000007BD0000-0x000000000824A000-memory.dmp

          memory/1376-51-0x0000000071070000-0x00000000710BC000-memory.dmp

          memory/1376-50-0x0000000007410000-0x0000000007442000-memory.dmp

          memory/1376-79-0x00000000077D0000-0x00000000077E4000-memory.dmp

          memory/1376-21-0x0000000074900000-0x00000000750B0000-memory.dmp

          memory/1376-87-0x0000000074900000-0x00000000750B0000-memory.dmp

          memory/1588-47-0x0000000074900000-0x00000000750B0000-memory.dmp

          memory/1588-3-0x0000000004E00000-0x0000000004E92000-memory.dmp

          memory/1588-10-0x000000000C170000-0x000000000C20C000-memory.dmp

          memory/1588-8-0x0000000074900000-0x00000000750B0000-memory.dmp

          memory/1588-1-0x0000000000450000-0x0000000000504000-memory.dmp

          memory/1588-2-0x00000000053B0000-0x0000000005954000-memory.dmp

          memory/1588-7-0x000000007490E000-0x000000007490F000-memory.dmp

          memory/1588-9-0x0000000000E70000-0x0000000000EDC000-memory.dmp

          memory/1588-5-0x0000000074900000-0x00000000750B0000-memory.dmp

          memory/1588-4-0x0000000004DB0000-0x0000000004DBA000-memory.dmp

          memory/1588-0-0x000000007490E000-0x000000007490F000-memory.dmp

          memory/1588-6-0x0000000005F60000-0x0000000005F7E000-memory.dmp

          memory/3168-31-0x0000000000400000-0x0000000000426000-memory.dmp

          memory/3168-89-0x00000000065D0000-0x0000000006620000-memory.dmp

          memory/3168-90-0x00000000067F0000-0x00000000069B2000-memory.dmp

          memory/3988-24-0x0000000005A00000-0x0000000005A66000-memory.dmp

          memory/3988-18-0x0000000074900000-0x00000000750B0000-memory.dmp

          memory/3988-71-0x00000000066D0000-0x00000000066EE000-memory.dmp

          memory/3988-72-0x00000000072E0000-0x0000000007383000-memory.dmp

          memory/3988-49-0x0000000006570000-0x00000000065BC000-memory.dmp

          memory/3988-48-0x0000000005FD0000-0x0000000005FEE000-memory.dmp

          memory/3988-75-0x0000000007460000-0x000000000746A000-memory.dmp

          memory/3988-23-0x0000000005960000-0x0000000005982000-memory.dmp

          memory/3988-77-0x00000000075F0000-0x0000000007601000-memory.dmp

          memory/3988-56-0x0000000071070000-0x00000000710BC000-memory.dmp

          memory/3988-37-0x0000000005BE0000-0x0000000005F34000-memory.dmp

          memory/3988-80-0x0000000007730000-0x000000000774A000-memory.dmp

          memory/3988-81-0x0000000007710000-0x0000000007718000-memory.dmp

          memory/3988-15-0x00000000027D0000-0x0000000002806000-memory.dmp

          memory/3988-30-0x0000000005A70000-0x0000000005AD6000-memory.dmp

          memory/3988-22-0x0000000074900000-0x00000000750B0000-memory.dmp

          memory/3988-88-0x0000000074900000-0x00000000750B0000-memory.dmp

          memory/3988-17-0x0000000074900000-0x00000000750B0000-memory.dmp

          memory/3988-16-0x0000000005300000-0x0000000005928000-memory.dmp