Analysis

  • max time kernel
    150s
  • max time network
    155s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20260513-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20260513-enlocale:en-usos:windows10-2004-x64systemwindows
  • submitted
    06/07/2026, 04:23

General

  • Target
    21169e5a0b4a1d0b7bac5b335139c7de57b33229fd26a383e0948938a76d5863.exe
  • Size 1.9MB
  • Sample260706-e1bcgshx6v
  • SHA256 21169e5a0b4a1d0b7bac5b335139c7de57b33229fd26a383e0948938a76d5863
  • MD5 SHA1 SHA512 SSDEEP TLSH

Malware Config

Extracted

Family
  • valleyrat_s2

Version
  • 1.0

C2
  • 154.12.19.70:22011

  • 154.12.19.70:22012

Signatures

  • Family: ValleyRat

    ValleyRat stage2 is a backdoor written in C++.

  • Detects ValleyRAT payload 4 IoCs
  • Modifies Windows Defender Real-time Protection settings 3 TTPs 32 IoCs
  • Modifies Windows Defender TamperProtection settings 3 TTPs 2 IoCs
  • Modifies Windows Defender notification settings 3 TTPs 6 IoCs
  • Modifies firewall policy service 3 TTPs 1 IoCs
  • Modifies security service 2 TTPs 1 IoCs
  • UAC bypass 3 TTPs 3 IoCs
  • Windows security bypass 2 TTPs 4 IoCs
  • Disables use of System Restore points 1 TTPs
  • Drops file in Drivers directory 1 IoCs
  • Modifies Windows Firewall 2 TTPs 12 IoCs
  • Server Software Component: Terminal Services DLL 1 TTPs 1 IoCs
  • Boot or Logon Autostart Execution: LSASS Driver 2 TTPs 2 IoCs

    Adversaries may modify or add LSASS drivers to obtain persistence on compromised systems.

  • Executes dropped EXE 2 IoCs
  • Loads dropped DLL 2 IoCs
  • Windows security modification 2 TTPs 8 IoCs
  • Checks installed software on the system 1 TTPs

    Looks up Uninstall key entries in the registry to enumerate software on the system.

  • Checks whether UAC is enabled 1 TTPs 1 IoCs
  • Enumerates connected drives 3 TTPs 22 IoCs

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

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 36 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 Network Configuration Discovery: Internet Connection Discovery 1 TTPs 2 IoCs

    Adversaries may check for Internet connectivity on compromised systems.

  • Modifies data under HKEY_USERS 19 IoCs
  • Modifies registry class 12 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious behavior: LoadsDriver 3 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of FindShellTrayWindow 2 IoCs
  • Suspicious use of SendNotifyMessage 2 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 35 IoCs
  • System policy modification 1 TTPs 3 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\21169e5a0b4a1d0b7bac5b335139c7de57b33229fd26a383e0948938a76d5863.exe
    "C:\Users\Admin\AppData\Local\Temp\21169e5a0b4a1d0b7bac5b335139c7de57b33229fd26a383e0948938a76d5863.exe"
    1⤵
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of WriteProcessMemory
    PID:732
    • C:\Users\Admin\AppData\Local\Temp\21169e5a0b4a1d0b7bac5b335139c7de57b33229fd26a383e0948938a76d5863.exe
      "C:\Users\Admin\AppData\Local\Temp\21169e5a0b4a1d0b7bac5b335139c7de57b33229fd26a383e0948938a76d5863.exe"
      2⤵
      • Modifies Windows Defender Real-time Protection settings
      • Modifies Windows Defender TamperProtection settings
      • Modifies Windows Defender notification settings
      • Modifies firewall policy service
      • Modifies security service
      • UAC bypass
      • Windows security bypass
      • Drops file in Drivers directory
      • Server Software Component: Terminal Services DLL
      • Boot or Logon Autostart Execution: LSASS Driver
      • Loads dropped DLL
      • Windows security modification
      • Checks whether UAC is enabled
      • Modifies registry class
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of FindShellTrayWindow
      • Suspicious use of SendNotifyMessage
      • Suspicious use of WriteProcessMemory
      • System policy modification
      PID:3384
      • C:\Windows\SYSTEM32\cmd.exe
        cmd.exe /c "gpupdate /force"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:2448
        • C:\Windows\system32\gpupdate.exe
          gpupdate /force
          4⤵
            PID:4812
        • C:\Windows\SYSTEM32\cmd.exe
          cmd.exe /c "gpupdate /force"
          3⤵
          • Suspicious use of WriteProcessMemory
          PID:5292
          • C:\Windows\system32\gpupdate.exe
            gpupdate /force
            4⤵
              PID:1700
          • C:\Windows\SYSTEM32\cmd.exe
            cmd.exe /c "netsh advfirewall firewall add rule name="Block WU - windowsupdate.microsoft.com" dir=out action=block remoteip=windowsupdate.microsoft.com enable=yes"
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:2268
            • C:\Windows\system32\netsh.exe
              netsh advfirewall firewall add rule name="Block WU - windowsupdate.microsoft.com" dir=out action=block remoteip=windowsupdate.microsoft.com enable=yes
              4⤵
              • Modifies Windows Firewall
              • Event Triggered Execution: Netsh Helper DLL
              PID:5748
          • C:\Windows\SYSTEM32\cmd.exe
            cmd.exe /c "netsh advfirewall firewall add rule name="Block WU - update.microsoft.com" dir=out action=block remoteip=update.microsoft.com enable=yes"
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:2248
            • C:\Windows\system32\netsh.exe
              netsh advfirewall firewall add rule name="Block WU - update.microsoft.com" dir=out action=block remoteip=update.microsoft.com enable=yes
              4⤵
              • Modifies Windows Firewall
              • Event Triggered Execution: Netsh Helper DLL
              PID:5480
          • C:\Windows\SYSTEM32\cmd.exe
            cmd.exe /c "netsh advfirewall firewall add rule name="Block WU - download.windowsupdate.com" dir=out action=block remoteip=download.windowsupdate.com enable=yes"
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:560
            • C:\Windows\system32\netsh.exe
              netsh advfirewall firewall add rule name="Block WU - download.windowsupdate.com" dir=out action=block remoteip=download.windowsupdate.com enable=yes
              4⤵
              • Modifies Windows Firewall
              • Event Triggered Execution: Netsh Helper DLL
              PID:3304
          • C:\Windows\SYSTEM32\cmd.exe
            cmd.exe /c "netsh advfirewall firewall add rule name="Block WU - download.microsoft.com" dir=out action=block remoteip=download.microsoft.com enable=yes"
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:3504
            • C:\Windows\system32\netsh.exe
              netsh advfirewall firewall add rule name="Block WU - download.microsoft.com" dir=out action=block remoteip=download.microsoft.com enable=yes
              4⤵
              • Modifies Windows Firewall
              • Event Triggered Execution: Netsh Helper DLL
              PID:3160
          • C:\Windows\SYSTEM32\cmd.exe
            cmd.exe /c "netsh advfirewall firewall add rule name="Block WU - wustat.windows.com" dir=out action=block remoteip=wustat.windows.com enable=yes"
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:4164
            • C:\Windows\system32\netsh.exe
              netsh advfirewall firewall add rule name="Block WU - wustat.windows.com" dir=out action=block remoteip=wustat.windows.com enable=yes
              4⤵
              • Modifies Windows Firewall
              • Event Triggered Execution: Netsh Helper DLL
              PID:2888
          • C:\Windows\SYSTEM32\cmd.exe
            cmd.exe /c "netsh advfirewall firewall add rule name="Block WU - ntservicepack.microsoft.com" dir=out action=block remoteip=ntservicepack.microsoft.com enable=yes"
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:4020
            • C:\Windows\system32\netsh.exe
              netsh advfirewall firewall add rule name="Block WU - ntservicepack.microsoft.com" dir=out action=block remoteip=ntservicepack.microsoft.com enable=yes
              4⤵
              • Modifies Windows Firewall
              • Event Triggered Execution: Netsh Helper DLL
              PID:3964
          • C:\Windows\SYSTEM32\cmd.exe
            cmd.exe /c "netsh advfirewall firewall add rule name="Block WU - stats.microsoft.com" dir=out action=block remoteip=stats.microsoft.com enable=yes"
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:4268
            • C:\Windows\system32\netsh.exe
              netsh advfirewall firewall add rule name="Block WU - stats.microsoft.com" dir=out action=block remoteip=stats.microsoft.com enable=yes
              4⤵
              • Modifies Windows Firewall
              • Event Triggered Execution: Netsh Helper DLL
              PID:5604
          • C:\Windows\SYSTEM32\cmd.exe
            cmd.exe /c "netsh advfirewall firewall add rule name="Block WU - ars.smartscreen.microsoft.com" dir=out action=block remoteip=ars.smartscreen.microsoft.com enable=yes"
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:3092
            • C:\Windows\system32\netsh.exe
              netsh advfirewall firewall add rule name="Block WU - ars.smartscreen.microsoft.com" dir=out action=block remoteip=ars.smartscreen.microsoft.com enable=yes
              4⤵
              • Modifies Windows Firewall
              • Event Triggered Execution: Netsh Helper DLL
              PID:1128
          • C:\Windows\SYSTEM32\cmd.exe
            cmd.exe /c "netsh advfirewall firewall add rule name="Block WU - fe2.update.microsoft.com" dir=out action=block remoteip=fe2.update.microsoft.com enable=yes"
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:1540
            • C:\Windows\system32\netsh.exe
              netsh advfirewall firewall add rule name="Block WU - fe2.update.microsoft.com" dir=out action=block remoteip=fe2.update.microsoft.com enable=yes
              4⤵
              • Modifies Windows Firewall
              • Event Triggered Execution: Netsh Helper DLL
              PID:4892
          • C:\Windows\SYSTEM32\cmd.exe
            cmd.exe /c "netsh advfirewall firewall add rule name="Block WU - fe3.delivery.mp.microsoft.com" dir=out action=block remoteip=fe3.delivery.mp.microsoft.com enable=yes"
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:3848
            • C:\Windows\system32\netsh.exe
              netsh advfirewall firewall add rule name="Block WU - fe3.delivery.mp.microsoft.com" dir=out action=block remoteip=fe3.delivery.mp.microsoft.com enable=yes
              4⤵
              • Modifies Windows Firewall
              • Event Triggered Execution: Netsh Helper DLL
              PID:1336
          • C:\Windows\SYSTEM32\cmd.exe
            cmd.exe /c "netsh advfirewall firewall add rule name="Block WU - tsfe.trafficshaping.dsp.mp.microsoft.com" dir=out action=block remoteip=tsfe.trafficshaping.dsp.mp.microsoft.com enable=yes"
            3⤵
            • System Network Configuration Discovery: Internet Connection Discovery
            • Suspicious use of WriteProcessMemory
            PID:2512
            • C:\Windows\system32\netsh.exe
              netsh advfirewall firewall add rule name="Block WU - tsfe.trafficshaping.dsp.mp.microsoft.com" dir=out action=block remoteip=tsfe.trafficshaping.dsp.mp.microsoft.com enable=yes
              4⤵
              • Modifies Windows Firewall
              • Event Triggered Execution: Netsh Helper DLL
              • System Network Configuration Discovery: Internet Connection Discovery
              PID:3156
          • C:\Windows\SYSTEM32\cmd.exe
            cmd.exe /c "netsh advfirewall firewall add rule name="Block Windows Update Service" dir=out action=block program="C:\Windows\system32\svchost.exe" service=wuauserv enable=yes"
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:3524
            • C:\Windows\system32\netsh.exe
              netsh advfirewall firewall add rule name="Block Windows Update Service" dir=out action=block program="C:\Windows\system32\svchost.exe" service=wuauserv enable=yes
              4⤵
              • Modifies Windows Firewall
              • Event Triggered Execution: Netsh Helper DLL
              PID:3280
      • C:\Users\Admin\AppData\Local\Temp\drv_BootRepair.sys
        C:\Users\Admin\AppData\Local\Temp\drv_BootRepair.sys
        1⤵
        • Executes dropped EXE
        PID:2612
      • C:\Windows\system32\svchost.exe
        C:\Windows\system32\svchost.exe -k KillService -s KillService
        1⤵
        • Modifies Windows Defender Real-time Protection settings
        • Modifies Windows Defender TamperProtection settings
        • Modifies Windows Defender notification settings
        • Windows security bypass
        • Boot or Logon Autostart Execution: LSASS Driver
        • Loads dropped DLL
        • Modifies data under HKEY_USERS
        • Suspicious use of WriteProcessMemory
        PID:3480
        • C:\Windows\system32\conhost.exe
          "C:\Windows\system32\conhost.exe"
          2⤵
          • Enumerates connected drives
          • Suspicious behavior: GetForegroundWindowSpam
          • Suspicious use of SetWindowsHookEx
          • Suspicious use of WriteProcessMemory
          PID:3204
          • C:\Windows\system32\cmd.exe
            C:\Windows\system32\cmd.exe
            3⤵
              PID:820
          • C:\Windows\system32\cmd.exe
            cmd.exe /c "gpupdate /force"
            2⤵
            • Suspicious use of WriteProcessMemory
            PID:3884
            • C:\Windows\system32\gpupdate.exe
              gpupdate /force
              3⤵
                PID:1584
          • C:\Windows\TEMP\drv_BootRepair.sys
            C:\Windows\TEMP\drv_BootRepair.sys
            1⤵
            • Executes dropped EXE
            PID:6028

          Network

                MITRE ATT&CK Enterprise v16

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                Svchost.dll

                • Path C:\ProgramData\OpenraVPN\Svchost.dll
                • Size 1.0MB
                • SHA256 b36076e014dd3ab2b7917a0a9d1c3e1669e33cde68e16110d25f13de7c9dfb9a
                • MD5 SHA1 SHA512 SSDEEP TLSH

                drv_BootRepair.sys

                • Path C:\Users\Admin\AppData\Local\Temp\drv_BootRepair.sys
                • Size 29KB
                • SHA256 5ab36c116767eaae53a466fbc2dae7cfd608ed77721f65e83312037fbd57c946
                • MD5 SHA1 SHA512 SSDEEP TLSH

                memory/3204-17-0x0000017619EC0000-0x0000017619EC1000-memory.dmp

                memory/3204-14-0x0000017619E80000-0x0000017619EA9000-memory.dmp

                memory/3204-15-0x0000017619E80000-0x0000017619EA9000-memory.dmp

                memory/3204-16-0x0000017619E80000-0x0000017619EA9000-memory.dmp

                memory/3204-13-0x0000017618520000-0x0000017618521000-memory.dmp

                memory/3204-18-0x0000017619E80000-0x0000017619EA9000-memory.dmp

                memory/3204-19-0x000001761C9F0000-0x000001761CA3D000-memory.dmp

                memory/3204-20-0x000001761C9F0000-0x000001761CA3D000-memory.dmp

                memory/3204-24-0x000001761C9F0000-0x000001761CA3D000-memory.dmp

                memory/3204-23-0x000001761C9F0000-0x000001761CA3D000-memory.dmp

                memory/3204-26-0x0000017619E80000-0x0000017619EA9000-memory.dmp

                memory/3204-25-0x0000017619E80000-0x0000017619EA9000-memory.dmp