Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16/05/2024, 02:50

General

  • Target
    f815285cda1f471dc22b3c4582d1c5fad00bacc7c5e76a08f289d7fae6a35bd4.exe
  • Size 588KB
  • Sample240516-dbne3sha9s
  • SHA256 f815285cda1f471dc22b3c4582d1c5fad00bacc7c5e76a08f289d7fae6a35bd4
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • snakekeylogger

Credentials
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 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.

  • Reads user/profile data of local email clients 2 TTPs

    Email clients store some user data on disk where infostealers will often target it.

  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

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

  • 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 11 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f815285cda1f471dc22b3c4582d1c5fad00bacc7c5e76a08f289d7fae6a35bd4.exe
    "C:\Users\Admin\AppData\Local\Temp\f815285cda1f471dc22b3c4582d1c5fad00bacc7c5e76a08f289d7fae6a35bd4.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3884
    • 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\f815285cda1f471dc22b3c4582d1c5fad00bacc7c5e76a08f289d7fae6a35bd4.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3868
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\EDqfTdWmvf.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1488
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\EDqfTdWmvf" /XML "C:\Users\Admin\AppData\Local\Temp\tmp8146.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2960
    • C:\Users\Admin\AppData\Local\Temp\f815285cda1f471dc22b3c4582d1c5fad00bacc7c5e76a08f289d7fae6a35bd4.exe
      "C:\Users\Admin\AppData\Local\Temp\f815285cda1f471dc22b3c4582d1c5fad00bacc7c5e76a08f289d7fae6a35bd4.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • outlook_office_path
      • outlook_win_path
      PID:5000

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 24d726ef4e75f37c5ea32ecc48dac2bd5a572a6d55e4ab4141eaafdf87d52a00
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_1ho3wa1j.tam.ps1

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

        tmp8146.tmp

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

        memory/1488-73-0x0000000007C20000-0x000000000829A000-memory.dmp

        memory/1488-79-0x0000000007820000-0x0000000007834000-memory.dmp

        memory/1488-78-0x0000000007810000-0x000000000781E000-memory.dmp

        memory/1488-76-0x0000000007860000-0x00000000078F6000-memory.dmp

        memory/1488-20-0x00000000752A0000-0x0000000075A50000-memory.dmp

        memory/1488-74-0x00000000075E0000-0x00000000075FA000-memory.dmp

        memory/1488-72-0x0000000007480000-0x0000000007523000-memory.dmp

        memory/1488-50-0x0000000007230000-0x0000000007262000-memory.dmp

        memory/1488-51-0x0000000075B30000-0x0000000075B7C000-memory.dmp

        memory/1488-62-0x0000000007210000-0x000000000722E000-memory.dmp

        memory/1488-80-0x0000000007920000-0x000000000793A000-memory.dmp

        memory/1488-25-0x00000000752A0000-0x0000000075A50000-memory.dmp

        memory/1488-88-0x00000000752A0000-0x0000000075A50000-memory.dmp

        memory/3868-17-0x0000000004BF0000-0x0000000005218000-memory.dmp

        memory/3868-22-0x0000000005220000-0x0000000005242000-memory.dmp

        memory/3868-19-0x00000000752A0000-0x0000000075A50000-memory.dmp

        memory/3868-18-0x00000000752A0000-0x0000000075A50000-memory.dmp

        memory/3868-87-0x00000000752A0000-0x0000000075A50000-memory.dmp

        memory/3868-31-0x00000000054D0000-0x0000000005824000-memory.dmp

        memory/3868-23-0x00000000052C0000-0x0000000005326000-memory.dmp

        memory/3868-75-0x0000000006E30000-0x0000000006E3A000-memory.dmp

        memory/3868-81-0x00000000070E0000-0x00000000070E8000-memory.dmp

        memory/3868-48-0x0000000005A80000-0x0000000005A9E000-memory.dmp

        memory/3868-49-0x0000000005B30000-0x0000000005B7C000-memory.dmp

        memory/3868-16-0x00000000752A0000-0x0000000075A50000-memory.dmp

        memory/3868-60-0x0000000075B30000-0x0000000075B7C000-memory.dmp

        memory/3868-77-0x0000000006FC0000-0x0000000006FD1000-memory.dmp

        memory/3868-15-0x0000000000D30000-0x0000000000D66000-memory.dmp

        memory/3868-24-0x0000000005460000-0x00000000054C6000-memory.dmp

        memory/3884-10-0x0000000008E90000-0x0000000008F2C000-memory.dmp

        memory/3884-4-0x00000000052B0000-0x00000000052BA000-memory.dmp

        memory/3884-9-0x0000000006790000-0x00000000067F8000-memory.dmp

        memory/3884-7-0x0000000005820000-0x0000000005830000-memory.dmp

        memory/3884-0-0x00000000752AE000-0x00000000752AF000-memory.dmp

        memory/3884-6-0x00000000055D0000-0x00000000055F0000-memory.dmp

        memory/3884-5-0x00000000752A0000-0x0000000075A50000-memory.dmp

        memory/3884-8-0x0000000005830000-0x0000000005846000-memory.dmp

        memory/3884-43-0x00000000752A0000-0x0000000075A50000-memory.dmp

        memory/3884-3-0x0000000005350000-0x00000000053E2000-memory.dmp

        memory/3884-2-0x0000000005860000-0x0000000005E04000-memory.dmp

        memory/3884-1-0x0000000000820000-0x00000000008BA000-memory.dmp

        memory/5000-32-0x0000000000400000-0x0000000000426000-memory.dmp

        memory/5000-89-0x0000000006740000-0x0000000006790000-memory.dmp

        memory/5000-90-0x0000000006960000-0x0000000006B22000-memory.dmp