Analysis

  • max time kernel
    102s
  • max time network
    108s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25/10/2024, 15:24

General

  • Target
    a6d9ae46c1687dfe220b7a8295c3b3cb0e955b2a51581ee68e7443d8f87af4c4N.exe
  • Size 529KB
  • Sample241025-stblkasdln
  • SHA256 a6d9ae46c1687dfe220b7a8295c3b3cb0e955b2a51581ee68e7443d8f87af4c4
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • snakekeylogger

C2
  • https://api.telegram.org/bot6758088233:AAFj4Y2Zn6GDp8qtYIlHf1VVN4k4QQ5uaio/sendMessage?chat_id=5117030493

Signatures

  • Snake Keylogger

    Keylogger and Infostealer first seen in November 2020.

  • Snake Keylogger payload 1 IoCs
  • Snakekeylogger family
  • 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 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).

  • System Location Discovery: System Language Discovery 1 TTPs 7 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 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 26 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\a6d9ae46c1687dfe220b7a8295c3b3cb0e955b2a51581ee68e7443d8f87af4c4N.exe
    "C:\Users\Admin\AppData\Local\Temp\a6d9ae46c1687dfe220b7a8295c3b3cb0e955b2a51581ee68e7443d8f87af4c4N.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:4084
    • 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\a6d9ae46c1687dfe220b7a8295c3b3cb0e955b2a51581ee68e7443d8f87af4c4N.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3332
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\YrWafbx.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:628
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\YrWafbx" /XML "C:\Users\Admin\AppData\Local\Temp\tmp56A7.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:4952
    • C:\Users\Admin\AppData\Local\Temp\a6d9ae46c1687dfe220b7a8295c3b3cb0e955b2a51581ee68e7443d8f87af4c4N.exe
      "C:\Users\Admin\AppData\Local\Temp\a6d9ae46c1687dfe220b7a8295c3b3cb0e955b2a51581ee68e7443d8f87af4c4N.exe"
      2⤵
        PID:5096
      • C:\Users\Admin\AppData\Local\Temp\a6d9ae46c1687dfe220b7a8295c3b3cb0e955b2a51581ee68e7443d8f87af4c4N.exe
        "C:\Users\Admin\AppData\Local\Temp\a6d9ae46c1687dfe220b7a8295c3b3cb0e955b2a51581ee68e7443d8f87af4c4N.exe"
        2⤵
        • Checks computer location settings
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:1312
        • 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\a6d9ae46c1687dfe220b7a8295c3b3cb0e955b2a51581ee68e7443d8f87af4c4N.exe"
          3⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:4728
          • C:\Windows\SysWOW64\choice.exe
            choice /C Y /N /D Y /T 3
            4⤵
            • System Location Discovery: System Language Discovery
            PID:4404

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          a6d9ae46c1687dfe220b7a8295c3b3cb0e955b2a51581ee68e7443d8f87af4c4N.exe.log

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

          powershell.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log
          • Size 2KB
          • SHA256 6f8fd1b8d9788ad54eaeee329232187e24b7b43393a01aeba2d6e9675231fb69
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 18KB
          • SHA256 faf1b0d755f87627df23e9385e01e2fbf1724b73d49e55bf474d79f721b91130
          • MD5 SHA1 SHA512 SSDEEP

          __PSScriptPolicyTest_a4xf4ozf.ljr.ps1

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

          tmp56A7.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp56A7.tmp
          • Size 1KB
          • SHA256 33412e372e4473a43aeb299985e216c1c16d71c7e156c11cd1e7308e1c7870b3
          • MD5 SHA1 SHA512

          memory/628-75-0x00000000073A0000-0x00000000073BA000-memory.dmp

          memory/628-80-0x00000000075E0000-0x00000000075F4000-memory.dmp

          memory/628-78-0x00000000075A0000-0x00000000075B1000-memory.dmp

          memory/628-51-0x0000000006640000-0x0000000006672000-memory.dmp

          memory/628-52-0x00000000701C0000-0x000000007020C000-memory.dmp

          memory/628-63-0x00000000066B0000-0x00000000066CE000-memory.dmp

          memory/628-50-0x00000000060B0000-0x00000000060FC000-memory.dmp

          memory/628-82-0x00000000076C0000-0x00000000076C8000-memory.dmp

          memory/628-20-0x0000000074540000-0x0000000074CF0000-memory.dmp

          memory/628-89-0x0000000074540000-0x0000000074CF0000-memory.dmp

          memory/628-29-0x0000000074540000-0x0000000074CF0000-memory.dmp

          memory/628-22-0x0000000074540000-0x0000000074CF0000-memory.dmp

          memory/1312-21-0x0000000000400000-0x0000000000426000-memory.dmp

          memory/3332-35-0x00000000056E0000-0x0000000005A34000-memory.dmp

          memory/3332-73-0x0000000006C90000-0x0000000006D33000-memory.dmp

          memory/3332-18-0x0000000074540000-0x0000000074CF0000-memory.dmp

          memory/3332-17-0x0000000074540000-0x0000000074CF0000-memory.dmp

          memory/3332-28-0x0000000005670000-0x00000000056D6000-memory.dmp

          memory/3332-27-0x0000000005600000-0x0000000005666000-memory.dmp

          memory/3332-88-0x0000000074540000-0x0000000074CF0000-memory.dmp

          memory/3332-26-0x0000000004EE0000-0x0000000004F02000-memory.dmp

          memory/3332-24-0x0000000074540000-0x0000000074CF0000-memory.dmp

          memory/3332-49-0x0000000005CA0000-0x0000000005CBE000-memory.dmp

          memory/3332-16-0x0000000004FD0000-0x00000000055F8000-memory.dmp

          memory/3332-15-0x0000000002390000-0x00000000023C6000-memory.dmp

          memory/3332-60-0x00000000701C0000-0x000000007020C000-memory.dmp

          memory/3332-81-0x0000000007310000-0x000000000732A000-memory.dmp

          memory/3332-79-0x0000000007200000-0x000000000720E000-memory.dmp

          memory/3332-77-0x0000000007250000-0x00000000072E6000-memory.dmp

          memory/3332-76-0x0000000007040000-0x000000000704A000-memory.dmp

          memory/3332-74-0x0000000007610000-0x0000000007C8A000-memory.dmp

          memory/4084-8-0x00000000053B0000-0x00000000053C2000-memory.dmp

          memory/4084-25-0x0000000074540000-0x0000000074CF0000-memory.dmp

          memory/4084-7-0x0000000074540000-0x0000000074CF0000-memory.dmp

          memory/4084-9-0x0000000007A80000-0x0000000007AE8000-memory.dmp

          memory/4084-6-0x000000007454E000-0x000000007454F000-memory.dmp

          memory/4084-10-0x000000000A210000-0x000000000A2AC000-memory.dmp

          memory/4084-5-0x0000000074540000-0x0000000074CF0000-memory.dmp

          memory/4084-4-0x0000000004EB0000-0x0000000004EBA000-memory.dmp

          memory/4084-3-0x0000000004EC0000-0x0000000004F52000-memory.dmp

          memory/4084-2-0x00000000053D0000-0x0000000005974000-memory.dmp

          memory/4084-0-0x000000007454E000-0x000000007454F000-memory.dmp

          memory/4084-1-0x0000000000420000-0x00000000004AA000-memory.dmp