Analysis

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

    arch:x64arch:x86image:win10v2004-20230221-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25/02/2023, 07:57

General

  • Target
    606274728cade4d712e94215b1260156.exe
  • Size 665KB
  • Sample230225-js9mjacf23
  • SHA256 bde58e12d41cd833eb907de3955528c3ba4ea45f7e825b6ca038f74eaf594d26
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • snakekeylogger

C2
  • https://api.telegram.org/bot5122580304:AAHkCWB9EFavZMQfS6pgdGmtEGk1zc21s0Q/sendMessage?chat_id=5138702702

Signatures

  • Snake Keylogger

    Keylogger and Infostealer first seen in November 2020.

  • Snake Keylogger payload 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Reads data files stored by FTP clients 2 TTPs

    Tries to access configuration files associated with programs like FileZilla.

  • 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). Likely ransomware behaviour.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\606274728cade4d712e94215b1260156.exe
    "C:\Users\Admin\AppData\Local\Temp\606274728cade4d712e94215b1260156.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:4584
    • 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\606274728cade4d712e94215b1260156.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1856
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\hvniEOu.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3592
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\hvniEOu" /XML "C:\Users\Admin\AppData\Local\Temp\tmp6959.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1784
    • C:\Users\Admin\AppData\Local\Temp\606274728cade4d712e94215b1260156.exe
      "C:\Users\Admin\AppData\Local\Temp\606274728cade4d712e94215b1260156.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • outlook_office_path
      • outlook_win_path
      PID:1484

Network

        MITRE ATT&CK Enterprise v6

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

        __PSScriptPolicyTest_tmglmjz4.tni.ps1

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

        tmp6959.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp6959.tmp
        • Size 1KB
        • SHA256 4a23a80c865065ee196c7bc54b8a6276d3f1c7ed9bd00eb998d3e2cad65f6a47
        • MD5 SHA1 SHA512

        memory/1484-214-0x00000000058D0000-0x00000000058E0000-memory.dmp

        memory/1484-213-0x0000000006C10000-0x0000000006DD2000-memory.dmp

        memory/1484-175-0x00000000058D0000-0x00000000058E0000-memory.dmp

        memory/1484-154-0x0000000000400000-0x0000000000426000-memory.dmp

        memory/1856-146-0x0000000004A90000-0x0000000004AA0000-memory.dmp

        memory/1856-178-0x00000000715B0000-0x00000000715FC000-memory.dmp

        memory/1856-202-0x00000000071C0000-0x00000000071DA000-memory.dmp

        memory/1856-201-0x0000000007810000-0x0000000007E8A000-memory.dmp

        memory/1856-145-0x00000000050D0000-0x00000000056F8000-memory.dmp

        memory/1856-150-0x0000000004A90000-0x0000000004AA0000-memory.dmp

        memory/1856-200-0x000000007F5F0000-0x000000007F600000-memory.dmp

        memory/1856-198-0x0000000004A90000-0x0000000004AA0000-memory.dmp

        memory/1856-144-0x00000000025A0000-0x00000000025D6000-memory.dmp

        memory/1856-152-0x00000000057D0000-0x0000000005836000-memory.dmp

        memory/1856-176-0x0000000007070000-0x00000000070A2000-memory.dmp

        memory/3592-188-0x0000000006960000-0x000000000697E000-memory.dmp

        memory/3592-205-0x00000000078F0000-0x00000000078FE000-memory.dmp

        memory/3592-177-0x00000000715B0000-0x00000000715FC000-memory.dmp

        memory/3592-174-0x00000000063C0000-0x00000000063DE000-memory.dmp

        memory/3592-207-0x00000000079E0000-0x00000000079E8000-memory.dmp

        memory/3592-206-0x0000000007A00000-0x0000000007A1A000-memory.dmp

        memory/3592-153-0x0000000005D80000-0x0000000005DE6000-memory.dmp

        memory/3592-199-0x0000000002A20000-0x0000000002A30000-memory.dmp

        memory/3592-151-0x00000000052E0000-0x0000000005302000-memory.dmp

        memory/3592-148-0x0000000002A20000-0x0000000002A30000-memory.dmp

        memory/3592-149-0x0000000002A20000-0x0000000002A30000-memory.dmp

        memory/3592-203-0x0000000007730000-0x000000000773A000-memory.dmp

        memory/3592-204-0x0000000007940000-0x00000000079D6000-memory.dmp

        memory/4584-138-0x0000000004D90000-0x0000000004DA0000-memory.dmp

        memory/4584-139-0x0000000006290000-0x000000000632C000-memory.dmp

        memory/4584-133-0x0000000000390000-0x000000000043C000-memory.dmp

        memory/4584-137-0x0000000004D90000-0x0000000004DA0000-memory.dmp

        memory/4584-136-0x0000000004E00000-0x0000000004E0A000-memory.dmp

        memory/4584-135-0x0000000004E80000-0x0000000004F12000-memory.dmp

        memory/4584-134-0x0000000005430000-0x00000000059D4000-memory.dmp