Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20-10-2024 03:56

General

  • Target

    SCANNED_DOCUMENT_8D23259F053446A0A1C0ED3F526B0C7B_PDF.exe

  • Size

    886KB

  • MD5

    e22f1bbf54fbbd8d0135772dac71ac13

  • SHA1

    b44ed322c53cb34c9eb7988c65be76eb7c78f089

  • SHA256

    9e4e77d4f212e5aad71c2a0409c801b64e89b9f92a0ce4e2903b587bc5a70485

  • SHA512

    2e577425a1d81e682777ae7b8c0dd9718923f6c0b2367a0096b7aa803bfb21eb02a4ded17600f6f9767b5ab853ddff56ebd8b39dd0ab8da341257d2e50aa3d58

  • SSDEEP

    24576:14njPTfWh2y0ukcncNmGgvYTDn2KSQjHT5GA2ekyFh3C0cq:mmGhDneeQHMh3C0cq

Malware Config

Extracted

Family

snakekeylogger

Credentials
C2

https://api.telegram.org/bot1865023387:AAFbWPISsv486p_o9A4CIDR1FBfAq1W7nUc/sendMessage?chat_id=1788371409

Signatures

  • Snake Keylogger

    Keylogger and Infostealer first seen in November 2020.

  • Snake Keylogger payload 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 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.

  • Looks up external IP address via web service 3 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).

  • Program crash 1 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 6 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 4 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\SCANNED_DOCUMENT_8D23259F053446A0A1C0ED3F526B0C7B_PDF.exe
    "C:\Users\Admin\AppData\Local\Temp\SCANNED_DOCUMENT_8D23259F053446A0A1C0ED3F526B0C7B_PDF.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3504
    • 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\SCANNED_DOCUMENT_8D23259F053446A0A1C0ED3F526B0C7B_PDF.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4868
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\NEQcsxsAehXEc.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2444
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\NEQcsxsAehXEc" /XML "C:\Users\Admin\AppData\Local\Temp\tmp77BB.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      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\Roaming\NEQcsxsAehXEc.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2056
    • C:\Users\Admin\AppData\Local\Temp\SCANNED_DOCUMENT_8D23259F053446A0A1C0ED3F526B0C7B_PDF.exe
      "C:\Users\Admin\AppData\Local\Temp\SCANNED_DOCUMENT_8D23259F053446A0A1C0ED3F526B0C7B_PDF.exe"
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3888
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -u -p 3888 -s 1472
        3⤵
        • Program crash
        PID:376
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3888 -ip 3888
    1⤵
      PID:1896

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log

      Filesize

      2KB

      MD5

      968cb9309758126772781b83adb8a28f

      SHA1

      8da30e71accf186b2ba11da1797cf67f8f78b47c

      SHA256

      92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a

      SHA512

      4bd50732f8af4d688d95999bddfd296115d7033ddc38f86c9fb1f47fde202bffa27e9088bebcaa3064ca946af2f5c1ca6cbde49d0907f0005c7ab42874515dd3

    • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

      Filesize

      18KB

      MD5

      24f4195ae3834e8603a938ffffec95a2

      SHA1

      9a3913301c35f3f3fefc0d0402fab8d07396e18d

      SHA256

      6d05f2148ca7dd27f9c798955c516ddd21e8c3236c434b39cab7d6d513fa4224

      SHA512

      9f9fd5f236cded84cbf6f3e1bdc5b4c1211afca3ff3df1c6f9a7b768af4f51c9c39b7c991badaa0e0a7bb6ce88ce44b8921fe64e9ac61612ee79ddc8514239ec

    • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

      Filesize

      18KB

      MD5

      33c704ba19a50872dfef50ea2e29eb98

      SHA1

      b650d599e3a4c0cdbfdd1e5f4cbabf498e0a6e0b

      SHA256

      aa8676a76504e7233b422f01183852f664e0611f881fc56b3ec2e3efab7a7811

      SHA512

      5ecc4b97f700219e9eea74f8d30bafac1c9831759bc4618f29914fa616b2eb168fb0725ed7044e3fa90fd25dd57a29a63c1183dbd92a34cdefbeb99fd7f111fe

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_ysdx2upv.3eg.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • C:\Users\Admin\AppData\Local\Temp\tmp77BB.tmp

      Filesize

      1KB

      MD5

      2631d79434a4c4d07c9180cb5957c0cf

      SHA1

      b9862648561b73bd32e8a7401fccd106984a395e

      SHA256

      0b26a2597e51e32387d629211f196a5a483b94a545d497e08c7264542b991b6a

      SHA512

      c3d9b4b0f80fdbd435d533efa8a6a0e924be02b8d0adcfb40f6d027f27adc7d14af3915d479d2e50772b2c58f19df229e2ac39be38ebf2ad8f23eeeeb393f184

    • memory/2056-88-0x0000000070CF0000-0x0000000070D3C000-memory.dmp

      Filesize

      304KB

    • memory/2444-102-0x00000000072A0000-0x00000000072A8000-memory.dmp

      Filesize

      32KB

    • memory/2444-82-0x0000000006BC0000-0x0000000006BDE000-memory.dmp

      Filesize

      120KB

    • memory/2444-99-0x00000000071B0000-0x00000000071BE000-memory.dmp

      Filesize

      56KB

    • memory/2444-98-0x0000000007180000-0x0000000007191000-memory.dmp

      Filesize

      68KB

    • memory/2444-101-0x00000000072C0000-0x00000000072DA000-memory.dmp

      Filesize

      104KB

    • memory/2444-84-0x00000000075D0000-0x0000000007C4A000-memory.dmp

      Filesize

      6.5MB

    • memory/2444-85-0x0000000006F80000-0x0000000006F9A000-memory.dmp

      Filesize

      104KB

    • memory/2444-100-0x00000000071C0000-0x00000000071D4000-memory.dmp

      Filesize

      80KB

    • memory/2444-83-0x0000000006E30000-0x0000000006ED3000-memory.dmp

      Filesize

      652KB

    • memory/2444-62-0x0000000070CF0000-0x0000000070D3C000-memory.dmp

      Filesize

      304KB

    • memory/2444-61-0x0000000006BE0000-0x0000000006C12000-memory.dmp

      Filesize

      200KB

    • memory/2444-27-0x0000000074510000-0x0000000074CC0000-memory.dmp

      Filesize

      7.7MB

    • memory/2444-21-0x0000000074510000-0x0000000074CC0000-memory.dmp

      Filesize

      7.7MB

    • memory/2444-105-0x0000000074510000-0x0000000074CC0000-memory.dmp

      Filesize

      7.7MB

    • memory/3504-12-0x000000000C810000-0x000000000C836000-memory.dmp

      Filesize

      152KB

    • memory/3504-7-0x0000000007980000-0x00000000079D6000-memory.dmp

      Filesize

      344KB

    • memory/3504-1-0x00000000009C0000-0x0000000000AA4000-memory.dmp

      Filesize

      912KB

    • memory/3504-2-0x0000000007840000-0x00000000078DC000-memory.dmp

      Filesize

      624KB

    • memory/3504-3-0x0000000007E90000-0x0000000008434000-memory.dmp

      Filesize

      5.6MB

    • memory/3504-49-0x0000000074510000-0x0000000074CC0000-memory.dmp

      Filesize

      7.7MB

    • memory/3504-4-0x00000000078E0000-0x0000000007972000-memory.dmp

      Filesize

      584KB

    • memory/3504-5-0x0000000004E30000-0x0000000004E3A000-memory.dmp

      Filesize

      40KB

    • memory/3504-6-0x0000000074510000-0x0000000074CC0000-memory.dmp

      Filesize

      7.7MB

    • memory/3504-8-0x0000000008B40000-0x0000000008B56000-memory.dmp

      Filesize

      88KB

    • memory/3504-9-0x000000007451E000-0x000000007451F000-memory.dmp

      Filesize

      4KB

    • memory/3504-10-0x0000000074510000-0x0000000074CC0000-memory.dmp

      Filesize

      7.7MB

    • memory/3504-11-0x00000000092F0000-0x000000000937E000-memory.dmp

      Filesize

      568KB

    • memory/3504-0-0x000000007451E000-0x000000007451F000-memory.dmp

      Filesize

      4KB

    • memory/3888-29-0x0000000000400000-0x0000000000424000-memory.dmp

      Filesize

      144KB

    • memory/4868-26-0x0000000005920000-0x0000000005986000-memory.dmp

      Filesize

      408KB

    • memory/4868-50-0x0000000005FB0000-0x0000000005FCE000-memory.dmp

      Filesize

      120KB

    • memory/4868-86-0x0000000007340000-0x000000000734A000-memory.dmp

      Filesize

      40KB

    • memory/4868-87-0x0000000007550000-0x00000000075E6000-memory.dmp

      Filesize

      600KB

    • memory/4868-18-0x0000000074510000-0x0000000074CC0000-memory.dmp

      Filesize

      7.7MB

    • memory/4868-20-0x0000000074510000-0x0000000074CC0000-memory.dmp

      Filesize

      7.7MB

    • memory/4868-19-0x00000000050A0000-0x00000000056C8000-memory.dmp

      Filesize

      6.2MB

    • memory/4868-72-0x0000000070CF0000-0x0000000070D3C000-memory.dmp

      Filesize

      304KB

    • memory/4868-51-0x0000000006450000-0x000000000649C000-memory.dmp

      Filesize

      304KB

    • memory/4868-24-0x0000000005710000-0x0000000005732000-memory.dmp

      Filesize

      136KB

    • memory/4868-25-0x00000000058B0000-0x0000000005916000-memory.dmp

      Filesize

      408KB

    • memory/4868-23-0x0000000074510000-0x0000000074CC0000-memory.dmp

      Filesize

      7.7MB

    • memory/4868-28-0x0000000005990000-0x0000000005CE4000-memory.dmp

      Filesize

      3.3MB

    • memory/4868-109-0x0000000074510000-0x0000000074CC0000-memory.dmp

      Filesize

      7.7MB

    • memory/4868-17-0x00000000026C0000-0x00000000026F6000-memory.dmp

      Filesize

      216KB