Analysis

  • max time kernel
    117s
  • max time network
    118s
  • platform
    windows7_x64
  • resource
    win7-20240508-en
  • resource tags

    arch:x64arch:x86image:win7-20240508-enlocale:en-usos:windows7-x64system
  • submitted
    03/06/2024, 12:08

General

  • Target
    f801b09d24cdce0bbcbe6787af8881bf78a7d3e7dd807610d7f0766505d9a380.exe
  • Size 612KB
  • Sample240603-pavzbafb49
  • SHA256 f801b09d24cdce0bbcbe6787af8881bf78a7d3e7dd807610d7f0766505d9a380
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • snakekeylogger

Credentials
  • Protocol

    smtp

  • Host

    mail.stpgig.com

  • Port

    587

  • Password

    Stpgig#Login21

C2
  • https://scratchdreams.tk

Signatures

  • Snake Keylogger

    Keylogger and Infostealer first seen in November 2020.

  • Snake Keylogger payload 5 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

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

  • Deletes itself 1 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 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 25 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f801b09d24cdce0bbcbe6787af8881bf78a7d3e7dd807610d7f0766505d9a380.exe
    "C:\Users\Admin\AppData\Local\Temp\f801b09d24cdce0bbcbe6787af8881bf78a7d3e7dd807610d7f0766505d9a380.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:2168
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\uzwgZUY.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1388
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\uzwgZUY" /XML "C:\Users\Admin\AppData\Local\Temp\tmp4EBC.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2732
    • C:\Users\Admin\AppData\Local\Temp\f801b09d24cdce0bbcbe6787af8881bf78a7d3e7dd807610d7f0766505d9a380.exe
      "C:\Users\Admin\AppData\Local\Temp\f801b09d24cdce0bbcbe6787af8881bf78a7d3e7dd807610d7f0766505d9a380.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2804
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C choice /C Y /N /D Y /T 3 & Del "C:\Users\Admin\AppData\Local\Temp\f801b09d24cdce0bbcbe6787af8881bf78a7d3e7dd807610d7f0766505d9a380.exe"
        3⤵
        • Deletes itself
        • Suspicious use of WriteProcessMemory
        PID:2980
        • C:\Windows\SysWOW64\choice.exe
          choice /C Y /N /D Y /T 3
          4⤵
            PID:1924

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          tmp4EBC.tmp

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

          memory/2168-26-0x00000000742E0000-0x00000000749CE000-memory.dmp

          memory/2168-1-0x0000000001250000-0x00000000012EE000-memory.dmp

          memory/2168-2-0x00000000742E0000-0x00000000749CE000-memory.dmp

          memory/2168-3-0x0000000000380000-0x0000000000398000-memory.dmp

          memory/2168-4-0x0000000000330000-0x000000000033E000-memory.dmp

          memory/2168-5-0x00000000003A0000-0x00000000003B4000-memory.dmp

          memory/2168-6-0x0000000004E50000-0x0000000004EB8000-memory.dmp

          memory/2168-0-0x00000000742EE000-0x00000000742EF000-memory.dmp

          memory/2804-23-0x0000000000400000-0x0000000000426000-memory.dmp

          memory/2804-24-0x0000000000400000-0x0000000000426000-memory.dmp

          memory/2804-22-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

          memory/2804-20-0x0000000000400000-0x0000000000426000-memory.dmp

          memory/2804-18-0x0000000000400000-0x0000000000426000-memory.dmp

          memory/2804-25-0x0000000000400000-0x0000000000426000-memory.dmp

          memory/2804-14-0x0000000000400000-0x0000000000426000-memory.dmp

          memory/2804-16-0x0000000000400000-0x0000000000426000-memory.dmp