Analysis

  • max time kernel
    94s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240426-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04/06/2024, 14:49

General

  • Target
    3d42be817eb0a150a642713d3234847e943dce60e98a3e9722d9fa01d5c880c4.exe
  • Size 610KB
  • Sample240604-r65jqsbc53
  • SHA256 3d42be817eb0a150a642713d3234847e943dce60e98a3e9722d9fa01d5c880c4
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • snakekeylogger

Credentials
  • Protocol

    smtp

  • Host

    mail.remfryson.com

  • Port

    587

  • Password

    CnG_23*NMA

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\3d42be817eb0a150a642713d3234847e943dce60e98a3e9722d9fa01d5c880c4.exe
    "C:\Users\Admin\AppData\Local\Temp\3d42be817eb0a150a642713d3234847e943dce60e98a3e9722d9fa01d5c880c4.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:3788
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\ZcRNvydKELvaL.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3384
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\ZcRNvydKELvaL" /XML "C:\Users\Admin\AppData\Local\Temp\tmp70CB.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:828
    • C:\Users\Admin\AppData\Local\Temp\3d42be817eb0a150a642713d3234847e943dce60e98a3e9722d9fa01d5c880c4.exe
      "C:\Users\Admin\AppData\Local\Temp\3d42be817eb0a150a642713d3234847e943dce60e98a3e9722d9fa01d5c880c4.exe"
      2⤵
      • Checks computer location settings
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1092
      • 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\3d42be817eb0a150a642713d3234847e943dce60e98a3e9722d9fa01d5c880c4.exe"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:4072
        • C:\Windows\SysWOW64\choice.exe
          choice /C Y /N /D Y /T 3
          4⤵
            PID:1876

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          3d42be817eb0a150a642713d3234847e943dce60e98a3e9722d9fa01d5c880c4.exe.log

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

          __PSScriptPolicyTest_zdygmd2j.kow.ps1

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

          tmp70CB.tmp

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

          memory/1092-67-0x0000000074430000-0x0000000074BE0000-memory.dmp

          memory/1092-25-0x0000000074430000-0x0000000074BE0000-memory.dmp

          memory/1092-23-0x0000000074430000-0x0000000074BE0000-memory.dmp

          memory/1092-19-0x0000000000400000-0x0000000000426000-memory.dmp

          memory/3384-28-0x0000000004F80000-0x0000000004FE6000-memory.dmp

          memory/3384-39-0x0000000005D10000-0x0000000005D2E000-memory.dmp

          memory/3384-65-0x0000000074430000-0x0000000074BE0000-memory.dmp

          memory/3384-62-0x0000000007360000-0x0000000007368000-memory.dmp

          memory/3384-15-0x0000000000FA0000-0x0000000000FD6000-memory.dmp

          memory/3384-61-0x0000000007380000-0x000000000739A000-memory.dmp

          memory/3384-18-0x0000000005190000-0x00000000057B8000-memory.dmp

          memory/3384-17-0x0000000074430000-0x0000000074BE0000-memory.dmp

          memory/3384-20-0x0000000074430000-0x0000000074BE0000-memory.dmp

          memory/3384-60-0x0000000007280000-0x0000000007294000-memory.dmp

          memory/3384-22-0x0000000074430000-0x0000000074BE0000-memory.dmp

          memory/3384-59-0x0000000007270000-0x000000000727E000-memory.dmp

          memory/3384-58-0x0000000007240000-0x0000000007251000-memory.dmp

          memory/3384-57-0x00000000072C0000-0x0000000007356000-memory.dmp

          memory/3384-26-0x0000000004E70000-0x0000000004E92000-memory.dmp

          memory/3384-56-0x00000000070B0000-0x00000000070BA000-memory.dmp

          memory/3384-54-0x0000000007680000-0x0000000007CFA000-memory.dmp

          memory/3384-27-0x0000000004F10000-0x0000000004F76000-memory.dmp

          memory/3384-38-0x00000000057C0000-0x0000000005B14000-memory.dmp

          memory/3384-55-0x0000000007040000-0x000000000705A000-memory.dmp

          memory/3384-40-0x0000000005D50000-0x0000000005D9C000-memory.dmp

          memory/3384-52-0x00000000062F0000-0x000000000630E000-memory.dmp

          memory/3384-42-0x0000000070000000-0x000000007004C000-memory.dmp

          memory/3384-41-0x0000000006310000-0x0000000006342000-memory.dmp

          memory/3384-53-0x0000000006F40000-0x0000000006FE3000-memory.dmp

          memory/3788-8-0x0000000005100000-0x0000000005110000-memory.dmp

          memory/3788-3-0x00000000056D0000-0x0000000005762000-memory.dmp

          memory/3788-0-0x000000007443E000-0x000000007443F000-memory.dmp

          memory/3788-4-0x00000000057A0000-0x00000000057AA000-memory.dmp

          memory/3788-5-0x0000000074430000-0x0000000074BE0000-memory.dmp

          memory/3788-24-0x0000000074430000-0x0000000074BE0000-memory.dmp

          memory/3788-6-0x00000000068F0000-0x0000000006912000-memory.dmp

          memory/3788-7-0x0000000005AA0000-0x0000000005AAC000-memory.dmp

          memory/3788-10-0x0000000009390000-0x000000000942C000-memory.dmp

          memory/3788-9-0x0000000008280000-0x00000000082E8000-memory.dmp

          memory/3788-2-0x0000000005D40000-0x00000000062E4000-memory.dmp

          memory/3788-1-0x0000000000C60000-0x0000000000CFE000-memory.dmp