Analysis

  • max time kernel
    149s
  • max time network
    141s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250314-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250314-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30/03/2025, 15:10

General

  • Target

    0d3cc26534eee5d7d387f1e718299e30909cc192858f6a46646d2b0c85debe8b.exe

  • Size

    2.7MB

  • MD5

    2c54a502a6e895067b44c10518cc526b

  • SHA1

    be97549d3a00f0e33787998145d4498b1bb06860

  • SHA256

    0d3cc26534eee5d7d387f1e718299e30909cc192858f6a46646d2b0c85debe8b

  • SHA512

    720862858a1d9f428772e940ab9a15cf4b915afb15ae983a532bb27e1c59671cd28a7f1ffc7fffb3ce45b0c91697739d5c07338c3e9b15e566d8376aceee1025

  • SSDEEP

    49152:m1dJHUNmnJgPa4g5X9IrE76Iech3cfxVfCzhJTzkaNogFZDqVnDnE:m1P0NAJgar5tIrOFech3cfvfCtJTzkIR

Malware Config

Extracted

Family

valleyrat_s2

Version

1.0

C2

154.44.8.39:443

154.44.8.39:80

154.44.8.39:8011

Attributes
  • campaign_date

    2025. 3. 7

Signatures

  • ValleyRat

    ValleyRat stage2 is a backdoor written in C++.

  • Valleyrat_s2 family
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 1 IoCs
  • Loads dropped DLL 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Using powershell.exe command.

  • Enumerates connected drives 3 TTPs 22 IoCs

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

  • Enumerates processes with tasklist 1 TTPs 5 IoCs
  • Enumerates physical storage devices 1 TTPs

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

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

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

  • Delays execution with timeout.exe 5 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious use of AdjustPrivilegeToken 7 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 63 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\0d3cc26534eee5d7d387f1e718299e30909cc192858f6a46646d2b0c85debe8b.exe
    "C:\Users\Admin\AppData\Local\Temp\0d3cc26534eee5d7d387f1e718299e30909cc192858f6a46646d2b0c85debe8b.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:1644
    • C:\Users\Admin\AppData\Roaming\Update.exe
      "C:\Users\Admin\AppData\Roaming\Update.exe"
      2⤵
      • Executes dropped EXE
      • Loads dropped DLL
      • Enumerates connected drives
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:4844
      • C:\Windows\SysWOW64\cmd.exe
        cmd.exe /B /c "C:\Users\Admin\AppData\Local\Temp\\monitor.bat"
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:5024
        • C:\Windows\SysWOW64\tasklist.exe
          tasklist /FI "IMAGENAME eq Update.exe"
          4⤵
          • Enumerates processes with tasklist
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          PID:3680
        • C:\Windows\SysWOW64\findstr.exe
          findstr /I "Update.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:3360
        • C:\Windows\SysWOW64\timeout.exe
          timeout /t 30 /nobreak
          4⤵
          • System Location Discovery: System Language Discovery
          • Delays execution with timeout.exe
          PID:5416
        • C:\Windows\SysWOW64\tasklist.exe
          tasklist /FI "IMAGENAME eq Update.exe"
          4⤵
          • Enumerates processes with tasklist
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          PID:4680
        • C:\Windows\SysWOW64\findstr.exe
          findstr /I "Update.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:692
        • C:\Windows\SysWOW64\timeout.exe
          timeout /t 30 /nobreak
          4⤵
          • System Location Discovery: System Language Discovery
          • Delays execution with timeout.exe
          PID:5012
        • C:\Windows\SysWOW64\tasklist.exe
          tasklist /FI "IMAGENAME eq Update.exe"
          4⤵
          • Enumerates processes with tasklist
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          PID:5808
        • C:\Windows\SysWOW64\findstr.exe
          findstr /I "Update.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:2280
        • C:\Windows\SysWOW64\timeout.exe
          timeout /t 30 /nobreak
          4⤵
          • System Location Discovery: System Language Discovery
          • Delays execution with timeout.exe
          PID:3360
        • C:\Windows\SysWOW64\tasklist.exe
          tasklist /FI "IMAGENAME eq Update.exe"
          4⤵
          • Enumerates processes with tasklist
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          PID:2448
        • C:\Windows\SysWOW64\findstr.exe
          findstr /I "Update.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:2120
        • C:\Windows\SysWOW64\timeout.exe
          timeout /t 30 /nobreak
          4⤵
          • System Location Discovery: System Language Discovery
          • Delays execution with timeout.exe
          PID:208
        • C:\Windows\SysWOW64\tasklist.exe
          tasklist /FI "IMAGENAME eq Update.exe"
          4⤵
          • Enumerates processes with tasklist
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          PID:5968
        • C:\Windows\SysWOW64\findstr.exe
          findstr /I "Update.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:4008
        • C:\Windows\SysWOW64\timeout.exe
          timeout /t 30 /nobreak
          4⤵
          • System Location Discovery: System Language Discovery
          • Delays execution with timeout.exe
          PID:4848
      • C:\Windows\SysWOW64\cmd.exe
        cmd.exe /C powershell -Command "Set-ExecutionPolicy Unrestricted -Scope CurrentUser"
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:5332
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          powershell -Command "Set-ExecutionPolicy Unrestricted -Scope CurrentUser"
          4⤵
          • Command and Scripting Interpreter: PowerShell
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          PID:2260
      • C:\Windows\SysWOW64\cmd.exe
        cmd.exe /C powershell -ExecutionPolicy Bypass -File C:\Users\Admin\AppData\Local\updated.ps1
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:5868
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          powershell -ExecutionPolicy Bypass -File C:\Users\Admin\AppData\Local\updated.ps1
          4⤵
          • Command and Scripting Interpreter: PowerShell
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          PID:5036

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

    74beabd4347b1ecc24fdc6cd9bb2ec64

    SHA1

    b793909bd2bf91d40eafb71194cc3eeb0c057110

    SHA256

    80d19c23e407ccffe9f5b43087c752b2157294a1e42d887705b9924ceb9e6af9

    SHA512

    f36be6d71e6ae79ffa79e9bc8d57e79cc14ace932fcc2106ab4df8f4ba99506dac3c007d986dfe3bf8884977a411ba1faa713489dc27b25c23bec49d42abd802

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

    Filesize

    20KB

    MD5

    09eb36b2d63007098491e22c6ad0794e

    SHA1

    fd53897fac4e2a8d0988f51090e88f2aa706dabc

    SHA256

    5b28de0f443a4c9b73251a8d315c8acceaf734cb3b7ae25b6e00dde23bad4fdc

    SHA512

    9a43add61b402493080871fa872ba751a9549ce9f613e25b56583aed6466ab8be983611039cd9120d535df07ea6a2bcca9756e53162187e3249c2cb7337f854d

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_iucsouey.2xj.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\Users\Admin\AppData\Local\Temp\monitor.bat

    Filesize

    769B

    MD5

    4c78bd444198aee8dd650c726ed3e447

    SHA1

    fd2179a144c227875fa2245b324760f1ed4aa455

    SHA256

    2fee95571c2580a70ad950c5e5c5e7b36a1f6a183542d4002a8123974fef53f5

    SHA512

    48a11502ed05a44e209d0474e5303062cffe2b6b8489489cf241da9ff01d1774b639d01293d82ebfe3017fbba158047b4bc39a5f66ea1265819d00c42268b82b

  • C:\Users\Admin\AppData\Local\updated.ps1

    Filesize

    151B

    MD5

    aa0e1012d3b7c24fad1be4806756c2cf

    SHA1

    fe0d130af9105d9044ff3d657d1abeaf0b750516

    SHA256

    fc47e1fa89397c3139d9047dc667531a9153a339f8e29ac713e518d51a995897

    SHA512

    15fae192951747a0c71059f608700f88548f3e60bb5c708b206bf793a7e3d059a278f2058d4ac86b86781b202037401a29602ee4d6c0cbaaff532cef311975f4

  • C:\Users\Admin\AppData\Roaming\Update.dll

    Filesize

    2.1MB

    MD5

    07ac1439cee26e090be31ecc0eedc02b

    SHA1

    d225d63ee5bd082525192320296063cfa3576263

    SHA256

    d036bf5f6400177e078f4b8bab5f817430eb4dbdf79461c6f273bd73f7c312c7

    SHA512

    0ebb6aad4df9352c913f44fe57b909c27fe7e8a404c1a8af883e3edcb566b11f74929515b615879599f3c1685a2c263129aa69869d7d7a2717932aae0233ab2e

  • C:\Users\Admin\AppData\Roaming\Update.exe

    Filesize

    386KB

    MD5

    fb325c945a08d06fe91681179bdccc66

    SHA1

    f5d91b7d75d34e156066ab4099e0fd0df9227b32

    SHA256

    0c2cc4513ec9101a28a7988c72a46175efd82f387bb3bcfb2612e808804282b5

    SHA512

    2bb588ebe2fa35d03652aec4e5d51dabd3a24e996336a4d5ec9c762d6084862d5cd5f530f1da0b98d2887ba88f4e077697d128071ff497d2967f9f42adc2f533

  • memory/2260-78-0x000000006F170000-0x000000006F1BC000-memory.dmp

    Filesize

    304KB

  • memory/2260-93-0x0000000007A30000-0x0000000007A41000-memory.dmp

    Filesize

    68KB

  • memory/2260-89-0x0000000007510000-0x00000000075B3000-memory.dmp

    Filesize

    652KB

  • memory/2260-92-0x00000000078A0000-0x00000000078AA000-memory.dmp

    Filesize

    40KB

  • memory/2260-91-0x0000000007E70000-0x00000000084EA000-memory.dmp

    Filesize

    6.5MB

  • memory/2260-77-0x0000000006A60000-0x0000000006A92000-memory.dmp

    Filesize

    200KB

  • memory/2260-66-0x0000000005F40000-0x0000000006294000-memory.dmp

    Filesize

    3.3MB

  • memory/2260-47-0x0000000002F30000-0x0000000002F66000-memory.dmp

    Filesize

    216KB

  • memory/2260-50-0x0000000005E60000-0x0000000005EC6000-memory.dmp

    Filesize

    408KB

  • memory/2260-51-0x0000000005ED0000-0x0000000005F36000-memory.dmp

    Filesize

    408KB

  • memory/2260-88-0x0000000006B30000-0x0000000006B4E000-memory.dmp

    Filesize

    120KB

  • memory/4844-29-0x0000000010000000-0x0000000010024000-memory.dmp

    Filesize

    144KB

  • memory/4844-34-0x0000000002CD0000-0x0000000002D08000-memory.dmp

    Filesize

    224KB

  • memory/4844-44-0x0000000002CD0000-0x0000000002D08000-memory.dmp

    Filesize

    224KB

  • memory/4844-39-0x0000000002ED0000-0x0000000002EFF000-memory.dmp

    Filesize

    188KB

  • memory/4844-38-0x0000000002CD0000-0x0000000002D08000-memory.dmp

    Filesize

    224KB

  • memory/4844-112-0x0000000002CD0000-0x0000000002D08000-memory.dmp

    Filesize

    224KB

  • memory/4844-37-0x0000000010000000-0x0000000010024000-memory.dmp

    Filesize

    144KB

  • memory/4844-36-0x0000000010000000-0x0000000010024000-memory.dmp

    Filesize

    144KB

  • memory/4844-35-0x0000000002CD0000-0x0000000002D08000-memory.dmp

    Filesize

    224KB

  • memory/4844-45-0x0000000002CD0000-0x0000000002D08000-memory.dmp

    Filesize

    224KB

  • memory/4844-33-0x0000000002CD0000-0x0000000002D08000-memory.dmp

    Filesize

    224KB

  • memory/4844-32-0x0000000002CD0000-0x0000000002D08000-memory.dmp

    Filesize

    224KB

  • memory/4844-31-0x0000000002CD0000-0x0000000002D08000-memory.dmp

    Filesize

    224KB

  • memory/4844-30-0x0000000002B50000-0x0000000002B82000-memory.dmp

    Filesize

    200KB

  • memory/4844-28-0x0000000010000000-0x0000000010024000-memory.dmp

    Filesize

    144KB

  • memory/4844-27-0x0000000010000000-0x0000000010024000-memory.dmp

    Filesize

    144KB

  • memory/4844-26-0x0000000010000000-0x0000000010024000-memory.dmp

    Filesize

    144KB

  • memory/4844-21-0x0000000002530000-0x000000000254D000-memory.dmp

    Filesize

    116KB

  • memory/4844-19-0x0000000010000000-0x0000000010024000-memory.dmp

    Filesize

    144KB

  • memory/5036-48-0x0000000004E50000-0x0000000005478000-memory.dmp

    Filesize

    6.2MB

  • memory/5036-90-0x0000000007310000-0x00000000078B4000-memory.dmp

    Filesize

    5.6MB

  • memory/5036-75-0x0000000006130000-0x000000000614A000-memory.dmp

    Filesize

    104KB

  • memory/5036-76-0x00000000061A0000-0x00000000061C2000-memory.dmp

    Filesize

    136KB

  • memory/5036-74-0x0000000006CC0000-0x0000000006D56000-memory.dmp

    Filesize

    600KB

  • memory/5036-96-0x000000006F170000-0x000000006F1BC000-memory.dmp

    Filesize

    304KB

  • memory/5036-97-0x000000006F8F0000-0x000000006FC44000-memory.dmp

    Filesize

    3.3MB

  • memory/5036-71-0x0000000005C80000-0x0000000005C9E000-memory.dmp

    Filesize

    120KB

  • memory/5036-72-0x0000000005CB0000-0x0000000005CFC000-memory.dmp

    Filesize

    304KB

  • memory/5036-49-0x0000000004CA0000-0x0000000004CC2000-memory.dmp

    Filesize

    136KB