Analysis

  • max time kernel
    134s
  • max time network
    124s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-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 1 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.

  • Checks computer location settings 2 TTPs 2 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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 3 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f801b09d24cdce0bbcbe6787af8881bf78a7d3e7dd807610d7f0766505d9a380.exe
    "C:\Users\Admin\AppData\Local\Temp\f801b09d24cdce0bbcbe6787af8881bf78a7d3e7dd807610d7f0766505d9a380.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:3164
    • 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:880
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\uzwgZUY" /XML "C:\Users\Admin\AppData\Local\Temp\tmpB9BB.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:5044
    • C:\Users\Admin\AppData\Local\Temp\f801b09d24cdce0bbcbe6787af8881bf78a7d3e7dd807610d7f0766505d9a380.exe
      "C:\Users\Admin\AppData\Local\Temp\f801b09d24cdce0bbcbe6787af8881bf78a7d3e7dd807610d7f0766505d9a380.exe"
      2⤵
      • Checks computer location settings
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:3764
      • 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⤵
        • Suspicious use of WriteProcessMemory
        PID:4652
        • C:\Windows\SysWOW64\choice.exe
          choice /C Y /N /D Y /T 3
          4⤵
            PID:2768

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          f801b09d24cdce0bbcbe6787af8881bf78a7d3e7dd807610d7f0766505d9a380.exe.log

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

          __PSScriptPolicyTest_t1g2puex.uvu.ps1

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

          tmpB9BB.tmp

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

          memory/880-52-0x0000000007630000-0x00000000076D3000-memory.dmp

          memory/880-53-0x0000000007DC0000-0x000000000843A000-memory.dmp

          memory/880-65-0x0000000074B00000-0x00000000752B0000-memory.dmp

          memory/880-62-0x0000000007AA0000-0x0000000007AA8000-memory.dmp

          memory/880-61-0x0000000007AC0000-0x0000000007ADA000-memory.dmp

          memory/880-60-0x00000000079D0000-0x00000000079E4000-memory.dmp

          memory/880-59-0x00000000079C0000-0x00000000079CE000-memory.dmp

          memory/880-58-0x0000000007980000-0x0000000007991000-memory.dmp

          memory/880-15-0x0000000004EA0000-0x0000000004ED6000-memory.dmp

          memory/880-16-0x00000000055A0000-0x0000000005BC8000-memory.dmp

          memory/880-57-0x0000000007A00000-0x0000000007A96000-memory.dmp

          memory/880-18-0x0000000074B00000-0x00000000752B0000-memory.dmp

          memory/880-19-0x0000000074B00000-0x00000000752B0000-memory.dmp

          memory/880-23-0x0000000005DF0000-0x0000000005E56000-memory.dmp

          memory/880-22-0x0000000005D80000-0x0000000005DE6000-memory.dmp

          memory/880-55-0x00000000077F0000-0x00000000077FA000-memory.dmp

          memory/880-54-0x0000000007780000-0x000000000779A000-memory.dmp

          memory/880-51-0x0000000006A10000-0x0000000006A2E000-memory.dmp

          memory/880-41-0x0000000070BF0000-0x0000000070C3C000-memory.dmp

          memory/880-21-0x00000000054B0000-0x00000000054D2000-memory.dmp

          memory/880-39-0x00000000067E0000-0x000000000682C000-memory.dmp

          memory/880-26-0x0000000005EC0000-0x0000000006214000-memory.dmp

          memory/880-38-0x0000000006440000-0x000000000645E000-memory.dmp

          memory/880-40-0x0000000006A30000-0x0000000006A62000-memory.dmp

          memory/3164-3-0x0000000005650000-0x00000000056E2000-memory.dmp

          memory/3164-7-0x0000000005AB0000-0x0000000005ABE000-memory.dmp

          memory/3164-2-0x0000000005B00000-0x00000000060A4000-memory.dmp

          memory/3164-0-0x0000000074B0E000-0x0000000074B0F000-memory.dmp

          memory/3164-5-0x0000000074B00000-0x00000000752B0000-memory.dmp

          memory/3164-1-0x0000000000BE0000-0x0000000000C7E000-memory.dmp

          memory/3164-4-0x0000000005710000-0x000000000571A000-memory.dmp

          memory/3164-9-0x000000000A940000-0x000000000A9A8000-memory.dmp

          memory/3164-28-0x0000000074B00000-0x00000000752B0000-memory.dmp

          memory/3164-10-0x000000000DA50000-0x000000000DAEC000-memory.dmp

          memory/3164-6-0x0000000005A80000-0x0000000005A98000-memory.dmp

          memory/3164-8-0x0000000005AD0000-0x0000000005AE4000-memory.dmp

          memory/3764-27-0x0000000074B00000-0x00000000752B0000-memory.dmp

          memory/3764-56-0x0000000074B00000-0x00000000752B0000-memory.dmp

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