Analysis

  • user interaction
    yes
  • max time kernel
    142s
  • max time network
    156s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20260513-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20260513-enlocale:en-usos:windows10-2004-x64systemwindows
  • submitted
    15/07/2026, 03:30

General

  • Target
    XunLei12.8.exe
  • Size 118.3MB
  • Sample260715-d2p2laaz7l
  • SHA256 e38a77b86f9cead5ce4e3af21c8d6458b567c64e3fc5284161306924dfeb7117
  • MD5 SHA1 SHA512 SSDEEP TLSH

Malware Config

Extracted

Family
  • valleyrat_s2

Version
  • 1.0

C2
  • 27.124.18.166:63016

  • 27.124.18.166:63026

Attributes
  • campaign_date

    2026. 7. 4

Signatures

  • Family: DonutLoader

    DonutLoader is a position-independent code that enables in-memory execution of VBScript, JScript, EXE, DLL files and dotNET assemblies.

  • Family: ValleyRat

    ValleyRat stage2 is a backdoor written in C++.

  • Detects DonutLoader 1 IoCs
  • Drops file in Drivers directory 1 IoCs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Event Triggered Execution: Component Object Model Hijacking 1 TTPs

    Adversaries may establish persistence by executing malicious content triggered by hijacked references to Component Object Model (COM) objects.

  • Executes dropped EXE 4 IoCs
  • Loads dropped DLL 10 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Enumerates connected drives 3 TTPs 44 IoCs

    Attempts to read the root path of hard drives other than the default C: drive.

  • Writes to the Master Boot Record (MBR) 1 TTPs 1 IoCs

    Bootkits write to the MBR to gain persistence at a level below the operating system.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

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

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

  • System Network Configuration Discovery: Internet Connection Discovery 1 TTPs 2 IoCs

    Adversaries may check for Internet connectivity on compromised systems.

  • Modifies registry class 5 IoCs
  • Runs ping.exe 1 TTPs 1 IoCs
  • Script User-Agent 1 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 2 IoCs
  • Suspicious behavior: LoadsDriver 1 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 7 IoCs
  • Uses Task Scheduler COM API 1 TTPs

    The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.

  • Uses Volume Shadow Copy WMI provider

    The Volume Shadow Copy service is used to manage backups/snapshots.

  • Uses Volume Shadow Copy service COM API

    The Volume Shadow Copy service is used to manage backups/snapshots.

Processes

  • C:\Users\Admin\AppData\Local\Temp\XunLei12.8.exe
    "C:\Users\Admin\AppData\Local\Temp\XunLei12.8.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5344
    • C:\cygwin\Bio74\DMPDO\msupd_35107\vhtkjffr.exe
      "C:\cygwin\Bio74\DMPDO\msupd_35107\vhtkjffr.exe"
      2⤵
      • Checks computer location settings
      • Executes dropped EXE
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of WriteProcessMemory
      PID:5788
      • C:\winget\hDqF\bR80\NyQV\diag_823B\runtimeutil.exe
        "C:\winget\hDqF\bR80\NyQV\diag_823B\runtimeutil.exe"
        3⤵
        • Executes dropped EXE
        • Loads dropped DLL
        • Adds Run key to start application
        • Enumerates connected drives
        • Suspicious use of SetThreadContext
        • Modifies registry class
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious behavior: GetForegroundWindowSpam
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:1236
        • C:\windows\system32\svchost.exe
          C:\windows\system32\svchost.exe
          4⤵
          • Drops file in Drivers directory
          • Enumerates connected drives
          • Suspicious behavior: GetForegroundWindowSpam
          • Suspicious use of SetWindowsHookEx
          PID:5276
    • C:\Users\Admin\AppData\Local\Temp\XunLeiWebSetup12.4.10.3940gw.exe
      "C:\Users\Admin\AppData\Local\Temp\XunLeiWebSetup12.4.10.3940gw.exe"
      2⤵
      • Executes dropped EXE
      • Loads dropped DLL
      • Writes to the Master Boot Record (MBR)
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of WriteProcessMemory
      PID:5776
      • C:\Windows\SysWOW64\netsh.exe
        netsh advfirewall firewall add rule name="DownloadSDKServer" dir=in action=allow program=C:\Users\Admin\AppData\Local\Temp\OnlineInstall\12.4.10.3940\SDK\DownloadSDKServer.exe enable=yes
        3⤵
        • Modifies Windows Firewall
        • Event Triggered Execution: Netsh Helper DLL
        • System Location Discovery: System Language Discovery
        PID:440
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /c ping -n 3 127.0.0.1 > nul & del "C:\Users\Admin\AppData\Local\Temp\XunLei12.8.exe"
      2⤵
      • System Location Discovery: System Language Discovery
      • System Network Configuration Discovery: Internet Connection Discovery
      • Suspicious use of WriteProcessMemory
      PID:5744
      • C:\Windows\SysWOW64\PING.EXE
        ping -n 3 127.0.0.1
        3⤵
        • System Location Discovery: System Language Discovery
        • System Network Configuration Discovery: Internet Connection Discovery
        • Runs ping.exe
        PID:6068
  • C:\winget\hDqF\bR80\NyQV\diag_823B\runtimeutil.exe
    C:\winget\hDqF\bR80\NyQV\diag_823B\runtimeutil.exe
    1⤵
    • Executes dropped EXE
    • Loads dropped DLL
    PID:4548

Network

        MITRE ATT&CK Enterprise v16

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        DisplaySessionContainers.log

        • Path C:\ProgramData\DisplaySessionContainers.log
        • Size 88B
        • SHA256 837b781d10d5b587abc71ed3e8b916b85e9b8d979dd5785e638e8d6415d67d43
        • MD5 SHA1 SHA512 TLSH

        DisplaySessionContainers.log

        • Path C:\ProgramData\DisplaySessionContainers.log
        • Size 442B
        • SHA256 fcc34ce6187797283248f842d85d132e7b1887dc39e2595a82d12441e49249a2
        • MD5 SHA1 SHA512 TLSH

        DisplaySessionContainers.log

        • Path C:\ProgramData\DisplaySessionContainers.log
        • Size 622B
        • SHA256 939273b547df7eb33f74c5ece1de99e9e3807d8d5882a3b474374b84d38a2d76
        • MD5 SHA1 SHA512 TLSH

        pub_store.dat

        • Path C:\ProgramData\Thunder Network\DownloadLib\pub_store.dat
        • Size 133B
        • SHA256 12051637bdf594bdec6507df5a9f9cee7da56c4160173d3fb033433fb873ca26
        • MD5 SHA1 SHA512 TLSH

        0DA515F703BB9B49479E8697ADB0B955_4136D3715888E22D65EBE484B233D81B

        • Path C:\Users\Admin\AppData\LocalLow\Microsoft\CryptnetUrlCache\Content\0DA515F703BB9B49479E8697ADB0B955_4136D3715888E22D65EBE484B233D81B
        • Size 1KB
        • SHA256 872ad3150d9e608629befaad8e971e684b557e7043a186af9d10c5f769fe7e07
        • MD5 SHA1 SHA512 TLSH

        0DA515F703BB9B49479E8697ADB0B955_4136D3715888E22D65EBE484B233D81B

        • Path C:\Users\Admin\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData\0DA515F703BB9B49479E8697ADB0B955_4136D3715888E22D65EBE484B233D81B
        • Size 508B
        • SHA256 3af1a7b0ac81006e0a10c61ecc1dc964df27c63ba04705b2d6a861768e8fd599
        • MD5 SHA1 SHA512 TLSH

        InstallEntry.dll

        • Path C:\Users\Admin\AppData\Local\Temp\OnlineInstall\12.4.10.3940\OnlineResource\InstallEntry.dll
        • Size 1.1MB
        • SHA256 2c23da796b9bcfecb3e6d4fdde0ce948b458a593e95c6aa19512f19c920d7a4b
        • MD5 SHA1 SHA512 SSDEEP TLSH

        libcurl.dll

        • Path C:\Users\Admin\AppData\Local\Temp\OnlineInstall\12.4.10.3940\OnlineResource\libcurl.dll
        • Size 706KB
        • SHA256 8fbb6e1c42d6ea9fb1f5651d0cad370cbd36fda89035568c460193b1ae316cdc
        • MD5 SHA1 SHA512 SSDEEP TLSH

        libeay32.dll

        • Path C:\Users\Admin\AppData\Local\Temp\OnlineInstall\12.4.10.3940\OnlineResource\libeay32.dll
        • Size 1.4MB
        • SHA256 e1fbb97ff3607d569d584f78ce77a9dd2cf64dca05aebdbf3e55c9711e07b3be
        • MD5 SHA1 SHA512 SSDEEP TLSH

        libexpat.dll

        • Path C:\Users\Admin\AppData\Local\Temp\OnlineInstall\12.4.10.3940\OnlineResource\libexpat.dll
        • Size 473KB
        • SHA256 34bc73bef3ee2436c0b4470699dd5b324d92486f0215c34393afff20b74ba52a
        • MD5 SHA1 SHA512 SSDEEP TLSH
        • Path C:\Users\Admin\AppData\Local\Temp\OnlineInstall\12.4.10.3940\OnlineResource\resource\[email protected]
        • Size 1KB
        • SHA256 771391eaeea31ab1debc547ce1fa14c52302073794a06bacc548bed427ec568e
        • MD5 SHA1 SHA512 TLSH
        • Path C:\Users\Admin\AppData\Local\Temp\OnlineInstall\12.4.10.3940\OnlineResource\resource\[email protected]
        • Size 1KB
        • SHA256 f94a832248565569da61bfe475617278b6ae428c2e09b4ae26348ac8ad87df2f
        • MD5 SHA1 SHA512 TLSH

        install_bkg.png

        • Path C:\Users\Admin\AppData\Local\Temp\OnlineInstall\12.4.10.3940\OnlineResource\resource\install_bkg.png
        • Size 712KB
        • SHA256 7f49606de40353b0133028433c82995653a6d4d47f5deb0355320a37adf14d74
        • MD5 SHA1 SHA512 SSDEEP TLSH
        • Path C:\Users\Admin\AppData\Local\Temp\OnlineInstall\12.4.10.3940\OnlineResource\resource\[email protected]
        • Size 3KB
        • SHA256 7a5a05255450f34bffd39d76bc7d41b45cba7744cc562becbeb7572b32bc11a1
        • MD5 SHA1 SHA512 TLSH
        • Path C:\Users\Admin\AppData\Local\Temp\OnlineInstall\12.4.10.3940\OnlineResource\resource\[email protected]
        • Size 57KB
        • SHA256 d6be90ee217ce5e04acccbe8d9f3d2d84885614b9a06f7e018961d6a1e876b9e
        • MD5 SHA1 SHA512 SSDEEP TLSH
        • Path C:\Users\Admin\AppData\Local\Temp\OnlineInstall\12.4.10.3940\OnlineResource\resource\[email protected]
        • Size 401B
        • SHA256 225be85473e09b7d08f8a58ccbe32bd39eb81547bdd703ca371115f9bfbe9c2c
        • MD5 SHA1 SHA512 TLSH
        • Path C:\Users\Admin\AppData\Local\Temp\OnlineInstall\12.4.10.3940\OnlineResource\resource\[email protected]
        • Size 1KB
        • SHA256 37cce4c15fcfd9b396db672e6f4f3e76ec38b0475193520b7a0873d9a79a8552
        • MD5 SHA1 SHA512 TLSH
        • Path C:\Users\Admin\AppData\Local\Temp\OnlineInstall\12.4.10.3940\OnlineResource\resource\[email protected]
        • Size 1KB
        • SHA256 ced1e2b2d1c750d4a50517228f3b5701e8ead8baa7d7b85f218b4c9f7d37c400
        • MD5 SHA1 SHA512 TLSH

        ssleay32.dll

        • Path C:\Users\Admin\AppData\Local\Temp\OnlineInstall\12.4.10.3940\OnlineResource\ssleay32.dll
        • Size 371KB
        • SHA256 f3a288c5455b074fe9c9d5a160adeb49e84bbe1832b5fcbe8f26093215192f65
        • MD5 SHA1 SHA512 SSDEEP TLSH

        xlstat4.dll

        • Path C:\Users\Admin\AppData\Local\Temp\OnlineInstall\12.4.10.3940\OnlineResource\xlstat4.dll
        • Size 564KB
        • SHA256 8e4feca684aa39fb98b6695bc53c7414e5626304a9e3c57f6ce665a53cbffe5d
        • MD5 SHA1 SHA512 SSDEEP TLSH

        zlib1.dll

        • Path C:\Users\Admin\AppData\Local\Temp\OnlineInstall\12.4.10.3940\OnlineResource\zlib1.dll
        • Size 431KB
        • SHA256 18618480bc15ffbf1c4a19e1b90050f65a5de04e611d34d9c882df45a78e6bc4
        • MD5 SHA1 SHA512 SSDEEP TLSH

        XunLeiWebSetup12.4.10.3940gw.exe

        • Path C:\Users\Admin\AppData\Local\Temp\XunLeiWebSetup12.4.10.3940gw.exe
        • Size 7.9MB
        • SHA256 129ea23ceac5b3f72516552ab32b2142f1dce8b6f14a745e4a866a842ce76870
        • MD5 SHA1 SHA512 SSDEEP TLSH

        Queen_config.dat

        • Path C:\Users\Public\Documents\Queen_config.dat
        • Size 210B
        • SHA256 6ad77f828214f53b4990962f76f73cd82242f665a04ffbcc7bb22f1f61f10550
        • MD5 SHA1 SHA512 TLSH

        vhtkjffr.exe

        • Path C:\cygwin\Bio74\DMPDO\msupd_35107\vhtkjffr.exe
        • Size 21.5MB
        • SHA256 55f145ea84d113fa91440da859f65cf1d07de3318770393ade2bdcaa87df6803
        • MD5 SHA1 SHA512 SSDEEP TLSH

        AliyunConfig.ini

        • Path C:\winget\hDqF\bR80\NyQV\diag_823B\AliyunConfig.ini
        • Size 2B
        • SHA256 b3d510ef04275ca8e698e5b3cbb0ece3949ef9252f0cdc839e9ee347409a2209
        • MD5 SHA1 SHA512

        AliyunWrap.dll

        • Path C:\winget\hDqF\bR80\NyQV\diag_823B\AliyunWrap.dll
        • Size 131KB
        • SHA256 d188594764cfa56c7a1382211f31a982dbda1b1e51792901a29af11f7f93a56e
        • MD5 SHA1 SHA512 SSDEEP TLSH

        AliyunWrap_original.dll

        • Path C:\winget\hDqF\bR80\NyQV\diag_823B\AliyunWrap_original.dll
        • Size 570KB
        • SHA256 bc01d5edd77abd191d7e1587da951297b777ba9a35df7742d4e57e30b1d2043e
        • MD5 SHA1 SHA512 SSDEEP TLSH

        edge_prefs.dat

        • Path C:\winget\hDqF\bR80\NyQV\diag_823B\edge_prefs.dat
        • Size 104B
        • SHA256 bf96878c4f916e07c8ec387c9d0545525e6dfc2b78e529bf0263ffef8fc22322
        • MD5 SHA1 SHA512 TLSH

        edgestore.dll

        • Path C:\winget\hDqF\bR80\NyQV\diag_823B\edgestore.dll
        • Size 129KB
        • SHA256 830bc700ab043b4801bae79e7c4b076ea7ae9c0c6298d63f9ad06b3bd6007c75
        • MD5 SHA1 SHA512 SSDEEP TLSH

        res_bg.bmp

        • Path C:\winget\hDqF\bR80\NyQV\diag_823B\res_bg.bmp
        • Size 132KB
        • SHA256 84eee01615e0b0bee0a26537f1a9d25ccbc8f6104b72dfb0a8945da909c02ce2
        • MD5 SHA1 SHA512 SSDEEP TLSH

        res_icon.bmp

        • Path C:\winget\hDqF\bR80\NyQV\diag_823B\res_icon.bmp
        • Size 209KB
        • SHA256 8fff784180df4d3345c44d7da9abd6bac15f3726b95ec680b4f95e624486fdc2
        • MD5 SHA1 SHA512 SSDEEP TLSH

        runtimeutil.exe

        • Path C:\winget\hDqF\bR80\NyQV\diag_823B\runtimeutil.exe
        • Size 178KB
        • SHA256 c2972fba53e166eb94af5d086b6643fa60632f12bf976fcb25304ce0803d9231
        • MD5 SHA1 SHA512 SSDEEP TLSH

        memory/1236-288-0x0000021CB6680000-0x0000021CB66B4000-memory.dmp

        memory/1236-308-0x0000021CB6920000-0x0000021CB6979000-memory.dmp

        memory/1236-291-0x0000021CB6680000-0x0000021CB66B4000-memory.dmp

        memory/1236-292-0x0000021CB6680000-0x0000021CB66B4000-memory.dmp

        memory/1236-296-0x0000021CB6920000-0x0000021CB6979000-memory.dmp

        memory/1236-295-0x0000021CB6680000-0x0000021CB66B4000-memory.dmp

        memory/1236-294-0x0000021CB6680000-0x0000021CB66B4000-memory.dmp

        memory/1236-293-0x0000021CB68C0000-0x0000021CB6912000-memory.dmp

        memory/1236-297-0x0000021CB6920000-0x0000021CB6979000-memory.dmp

        memory/1236-298-0x0000021CB6920000-0x0000021CB6979000-memory.dmp

        memory/1236-301-0x0000021CB6920000-0x0000021CB6979000-memory.dmp

        memory/1236-303-0x0000021CB6920000-0x0000021CB6979000-memory.dmp

        memory/1236-302-0x0000021CB6920000-0x0000021CB6979000-memory.dmp

        memory/1236-306-0x0000021CB6920000-0x0000021CB6979000-memory.dmp

        memory/1236-307-0x00007FFD1B910000-0x00007FFD1BB05000-memory.dmp

        memory/1236-289-0x0000021CB6680000-0x0000021CB66B4000-memory.dmp

        memory/1236-311-0x0000021CB6920000-0x0000021CB6979000-memory.dmp

        memory/1236-312-0x0000021CB6920000-0x0000021CB6979000-memory.dmp

        memory/1236-313-0x0000021CB6780000-0x0000021CB67A7000-memory.dmp

        memory/1236-327-0x0000021CB6920000-0x0000021CB6979000-memory.dmp

        memory/1236-326-0x0000021CB6920000-0x0000021CB6979000-memory.dmp

        memory/1236-282-0x0000021CB6680000-0x0000021CB66B4000-memory.dmp

        memory/1236-261-0x0000000180000000-0x0000000180020000-memory.dmp

        memory/1236-268-0x0000000180000000-0x0000000180020000-memory.dmp

        memory/1236-269-0x0000000180000000-0x0000000180020000-memory.dmp

        memory/1236-266-0x0000000180000000-0x0000000180020000-memory.dmp

        memory/1236-267-0x0000000180000000-0x0000000180020000-memory.dmp

        memory/5276-344-0x000002BEAE0B0000-0x000002BEAE167000-memory.dmp

        memory/5276-343-0x000002BEAC180000-0x000002BEAC1E9000-memory.dmp