Analysis

  • max time kernel
    116s
  • max time network
    135s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09/08/2024, 09:09

General

  • Target
    sahost.exe
  • Size 635KB
  • Sample240809-k4h5dssemf
  • SHA256 d9863b7b710599bc2b308a0b78970da8c42ee5bc6d3dcda05c2de52a88125726
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • snakekeylogger

Credentials

Signatures

  • Snake Keylogger

    Keylogger and Infostealer first seen in November 2020.

  • Snake Keylogger payload 1 IoCs
  • Credentials from Password Stores: Credentials from Web Browsers 1 TTPs

    Malicious Access or copy of Web Browser Credential store.

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

  • System Location Discovery: System Language Discovery 1 TTPs 4 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 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\sahost.exe
    "C:\Users\Admin\AppData\Local\Temp\sahost.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:1576
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\gApdcwqSVchd.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4264
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\gApdcwqSVchd" /XML "C:\Users\Admin\AppData\Local\Temp\tmpD2D1.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:4240
    • C:\Users\Admin\AppData\Local\Temp\sahost.exe
      "C:\Users\Admin\AppData\Local\Temp\sahost.exe"
      2⤵
        PID:724
      • C:\Users\Admin\AppData\Local\Temp\sahost.exe
        "C:\Users\Admin\AppData\Local\Temp\sahost.exe"
        2⤵
          PID:2616
        • C:\Users\Admin\AppData\Local\Temp\sahost.exe
          "C:\Users\Admin\AppData\Local\Temp\sahost.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:2204

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            __PSScriptPolicyTest_aqc2tlii.ref.ps1

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

            tmpD2D1.tmp

            • Path C:\Users\Admin\AppData\Local\Temp\tmpD2D1.tmp
            • Size 1KB
            • SHA256 7e39a927c235457588d243e995cda3b4dbf9b28b23c552a580d3d7a59c60f80e
            • MD5 SHA1 SHA512

            memory/1576-8-0x0000000006AA0000-0x0000000006AAE000-memory.dmp

            memory/1576-0-0x00000000747EE000-0x00000000747EF000-memory.dmp

            memory/1576-4-0x00000000056B0000-0x00000000056BA000-memory.dmp

            memory/1576-5-0x00000000747E0000-0x0000000074F90000-memory.dmp

            memory/1576-6-0x00000000058D0000-0x000000000596C000-memory.dmp

            memory/1576-7-0x0000000006A70000-0x0000000006A8A000-memory.dmp

            memory/1576-2-0x0000000005CB0000-0x0000000006254000-memory.dmp

            memory/1576-9-0x0000000006AB0000-0x0000000006AC6000-memory.dmp

            memory/1576-10-0x000000000A9D0000-0x000000000AA38000-memory.dmp

            memory/1576-3-0x0000000005610000-0x00000000056A2000-memory.dmp

            memory/1576-28-0x00000000747E0000-0x0000000074F90000-memory.dmp

            memory/1576-1-0x0000000000B70000-0x0000000000C14000-memory.dmp

            memory/2204-66-0x0000000006910000-0x0000000006AD2000-memory.dmp

            memory/2204-65-0x00000000066F0000-0x0000000006740000-memory.dmp

            memory/2204-27-0x00000000747E0000-0x0000000074F90000-memory.dmp

            memory/2204-67-0x00000000747E0000-0x0000000074F90000-memory.dmp

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

            memory/4264-15-0x0000000004490000-0x00000000044C6000-memory.dmp

            memory/4264-54-0x0000000006D50000-0x0000000006D6A000-memory.dmp

            memory/4264-20-0x0000000004960000-0x0000000004982000-memory.dmp

            memory/4264-26-0x0000000005400000-0x0000000005754000-memory.dmp

            memory/4264-21-0x0000000004B00000-0x0000000004B66000-memory.dmp

            memory/4264-22-0x0000000004B70000-0x0000000004BD6000-memory.dmp

            memory/4264-38-0x0000000005A30000-0x0000000005A4E000-memory.dmp

            memory/4264-39-0x0000000005AC0000-0x0000000005B0C000-memory.dmp

            memory/4264-40-0x0000000006010000-0x0000000006042000-memory.dmp

            memory/4264-41-0x0000000070670000-0x00000000706BC000-memory.dmp

            memory/4264-51-0x0000000005FD0000-0x0000000005FEE000-memory.dmp

            memory/4264-52-0x0000000006A10000-0x0000000006AB3000-memory.dmp

            memory/4264-53-0x0000000007390000-0x0000000007A0A000-memory.dmp

            memory/4264-23-0x00000000747E0000-0x0000000074F90000-memory.dmp

            memory/4264-55-0x0000000006DC0000-0x0000000006DCA000-memory.dmp

            memory/4264-56-0x0000000006FD0000-0x0000000007066000-memory.dmp

            memory/4264-57-0x0000000006F50000-0x0000000006F61000-memory.dmp

            memory/4264-58-0x0000000006F80000-0x0000000006F8E000-memory.dmp

            memory/4264-59-0x0000000006F90000-0x0000000006FA4000-memory.dmp

            memory/4264-60-0x0000000007090000-0x00000000070AA000-memory.dmp

            memory/4264-61-0x0000000007070000-0x0000000007078000-memory.dmp

            memory/4264-64-0x00000000747E0000-0x0000000074F90000-memory.dmp

            memory/4264-19-0x00000000747E0000-0x0000000074F90000-memory.dmp

            memory/4264-17-0x0000000004C50000-0x0000000005278000-memory.dmp

            memory/4264-16-0x00000000747E0000-0x0000000074F90000-memory.dmp