Analysis

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

    arch:x64arch:x86image:win10v2004-20250314-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28/03/2025, 07:56

General

  • Target

    Update.dll

  • Size

    2.1MB

  • MD5

    07ac1439cee26e090be31ecc0eedc02b

  • SHA1

    d225d63ee5bd082525192320296063cfa3576263

  • SHA256

    d036bf5f6400177e078f4b8bab5f817430eb4dbdf79461c6f273bd73f7c312c7

  • SHA512

    0ebb6aad4df9352c913f44fe57b909c27fe7e8a404c1a8af883e3edcb566b11f74929515b615879599f3c1685a2c263129aa69869d7d7a2717932aae0233ab2e

  • SSDEEP

    49152:nHJnQ8XCyid1PGtLm171zY5C0dZTI0OOoELGNp4G1XLxxDlupZ5:npQ8SyiddGtLixzY5dd9I07LLGNpN1X+

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
  • Blocklisted process makes network request 3 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 6 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 27 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 8 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Windows\system32\rundll32.exe
    rundll32.exe C:\Users\Admin\AppData\Local\Temp\Update.dll,#1
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:3628
    • C:\Windows\SysWOW64\rundll32.exe
      rundll32.exe C:\Users\Admin\AppData\Local\Temp\Update.dll,#1
      2⤵
      • Blocklisted process makes network request
      • Enumerates connected drives
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:2908
      • 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:2904
        • C:\Windows\SysWOW64\tasklist.exe
          tasklist /FI "IMAGENAME eq rundll32.exe"
          4⤵
          • Enumerates processes with tasklist
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          PID:4924
        • C:\Windows\SysWOW64\findstr.exe
          findstr /I "rundll32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:3016
        • C:\Windows\SysWOW64\timeout.exe
          timeout /t 30 /nobreak
          4⤵
          • System Location Discovery: System Language Discovery
          • Delays execution with timeout.exe
          PID:1360
        • C:\Windows\SysWOW64\tasklist.exe
          tasklist /FI "IMAGENAME eq rundll32.exe"
          4⤵
          • Enumerates processes with tasklist
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          PID:4784
        • C:\Windows\SysWOW64\findstr.exe
          findstr /I "rundll32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:2052
        • C:\Windows\SysWOW64\rundll32.exe
          "C:\Windows\SysWOW64\rundll32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:224
        • C:\Windows\SysWOW64\timeout.exe
          timeout /t 30 /nobreak
          4⤵
          • System Location Discovery: System Language Discovery
          • Delays execution with timeout.exe
          PID:2888
        • C:\Windows\SysWOW64\tasklist.exe
          tasklist /FI "IMAGENAME eq rundll32.exe"
          4⤵
          • Enumerates processes with tasklist
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          PID:4684
        • C:\Windows\SysWOW64\findstr.exe
          findstr /I "rundll32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:924
        • C:\Windows\SysWOW64\rundll32.exe
          "C:\Windows\SysWOW64\rundll32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:4888
        • C:\Windows\SysWOW64\timeout.exe
          timeout /t 30 /nobreak
          4⤵
          • System Location Discovery: System Language Discovery
          • Delays execution with timeout.exe
          PID:1936
        • C:\Windows\SysWOW64\tasklist.exe
          tasklist /FI "IMAGENAME eq rundll32.exe"
          4⤵
          • Enumerates processes with tasklist
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          PID:2372
        • C:\Windows\SysWOW64\findstr.exe
          findstr /I "rundll32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:1388
        • C:\Windows\SysWOW64\rundll32.exe
          "C:\Windows\SysWOW64\rundll32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:2008
        • C:\Windows\SysWOW64\timeout.exe
          timeout /t 30 /nobreak
          4⤵
          • System Location Discovery: System Language Discovery
          • Delays execution with timeout.exe
          PID:3668
        • C:\Windows\SysWOW64\tasklist.exe
          tasklist /FI "IMAGENAME eq rundll32.exe"
          4⤵
          • Enumerates processes with tasklist
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          PID:3028
        • C:\Windows\SysWOW64\findstr.exe
          findstr /I "rundll32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:1608
        • C:\Windows\SysWOW64\rundll32.exe
          "C:\Windows\SysWOW64\rundll32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:2768
        • C:\Windows\SysWOW64\timeout.exe
          timeout /t 30 /nobreak
          4⤵
          • System Location Discovery: System Language Discovery
          • Delays execution with timeout.exe
          PID:2764
        • C:\Windows\SysWOW64\tasklist.exe
          tasklist /FI "IMAGENAME eq rundll32.exe"
          4⤵
          • Enumerates processes with tasklist
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          PID:776
        • C:\Windows\SysWOW64\findstr.exe
          findstr /I "rundll32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:4928
      • 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:840
        • 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:3212
      • 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:5000
        • 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:1756

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

    bcd0608227c7c967e47e19452f86504f

    SHA1

    94d3583b22c1fe27345f96eecd8a9cf6ae46e2ea

    SHA256

    f798604ea462d28bbfbef5203d94935e37739bd2e688b7c6949bb69bb2b64458

    SHA512

    5665c301e28c8451a4a07e4fd33af60aacb1a2d0b11bed5c2a371cce3b3396d44d65dd45a9e586ed3035d795e46f3a01c1057e6eb3e98cd789693dfe02a52d66

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_1y1xrpdh.j4e.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

    Filesize

    765B

    MD5

    4f5c1e9e01ac73ec88ece7b68c5dab6b

    SHA1

    ef0d291f97778c5ad6b46b26fa6d515831204065

    SHA256

    05d1578d611521dfcc6f875bc24760327ae5e69139ba7868fe477bb4471c4cac

    SHA512

    050e04b39b8172cd745e1208443ff62f85f19bf2c3b8580b384711bca97504f3cdd1a11b6026ca4b3b52cced045e557325e92b7a73b22c5f4e4d8880b6e646b3

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

    Filesize

    151B

    MD5

    aa0e1012d3b7c24fad1be4806756c2cf

    SHA1

    fe0d130af9105d9044ff3d657d1abeaf0b750516

    SHA256

    fc47e1fa89397c3139d9047dc667531a9153a339f8e29ac713e518d51a995897

    SHA512

    15fae192951747a0c71059f608700f88548f3e60bb5c708b206bf793a7e3d059a278f2058d4ac86b86781b202037401a29602ee4d6c0cbaaff532cef311975f4

  • memory/1756-80-0x000000006FE30000-0x000000006FE7C000-memory.dmp

    Filesize

    304KB

  • memory/1756-63-0x0000000006800000-0x0000000006822000-memory.dmp

    Filesize

    136KB

  • memory/1756-62-0x0000000006760000-0x000000000677A000-memory.dmp

    Filesize

    104KB

  • memory/1756-61-0x00000000074B0000-0x0000000007546000-memory.dmp

    Filesize

    600KB

  • memory/1756-75-0x0000000007B00000-0x00000000080A4000-memory.dmp

    Filesize

    5.6MB

  • memory/1756-58-0x0000000006260000-0x000000000627E000-memory.dmp

    Filesize

    120KB

  • memory/1756-32-0x0000000002980000-0x00000000029B6000-memory.dmp

    Filesize

    216KB

  • memory/1756-81-0x0000000070220000-0x0000000070574000-memory.dmp

    Filesize

    3.3MB

  • memory/1756-35-0x00000000051B0000-0x00000000051D2000-memory.dmp

    Filesize

    136KB

  • memory/1756-37-0x0000000005BB0000-0x0000000005C16000-memory.dmp

    Filesize

    408KB

  • memory/1756-38-0x0000000005C20000-0x0000000005C86000-memory.dmp

    Filesize

    408KB

  • memory/2908-20-0x0000000003370000-0x00000000033A8000-memory.dmp

    Filesize

    224KB

  • memory/2908-15-0x0000000010000000-0x0000000010024000-memory.dmp

    Filesize

    144KB

  • memory/2908-25-0x0000000003370000-0x00000000033A8000-memory.dmp

    Filesize

    224KB

  • memory/2908-5-0x0000000010000000-0x0000000010024000-memory.dmp

    Filesize

    144KB

  • memory/2908-34-0x0000000003370000-0x00000000033A8000-memory.dmp

    Filesize

    224KB

  • memory/2908-24-0x0000000003370000-0x00000000033A8000-memory.dmp

    Filesize

    224KB

  • memory/2908-23-0x0000000010000000-0x0000000010024000-memory.dmp

    Filesize

    144KB

  • memory/2908-36-0x0000000003370000-0x00000000033A8000-memory.dmp

    Filesize

    224KB

  • memory/2908-22-0x0000000010000000-0x0000000010024000-memory.dmp

    Filesize

    144KB

  • memory/2908-21-0x0000000003370000-0x00000000033A8000-memory.dmp

    Filesize

    224KB

  • memory/2908-11-0x0000000002EC0000-0x0000000002EDD000-memory.dmp

    Filesize

    116KB

  • memory/2908-19-0x0000000003370000-0x00000000033A8000-memory.dmp

    Filesize

    224KB

  • memory/2908-95-0x0000000003370000-0x00000000033A8000-memory.dmp

    Filesize

    224KB

  • memory/2908-16-0x0000000003270000-0x00000000032A2000-memory.dmp

    Filesize

    200KB

  • memory/2908-17-0x0000000003370000-0x00000000033A8000-memory.dmp

    Filesize

    224KB

  • memory/2908-26-0x00000000044D0000-0x00000000044FF000-memory.dmp

    Filesize

    188KB

  • memory/2908-18-0x0000000003370000-0x00000000033A8000-memory.dmp

    Filesize

    224KB

  • memory/2908-12-0x0000000010000000-0x0000000010024000-memory.dmp

    Filesize

    144KB

  • memory/2908-13-0x0000000010000000-0x0000000010024000-memory.dmp

    Filesize

    144KB

  • memory/2908-14-0x0000000010000000-0x0000000010024000-memory.dmp

    Filesize

    144KB

  • memory/3212-76-0x0000000007160000-0x000000000717E000-memory.dmp

    Filesize

    120KB

  • memory/3212-77-0x0000000007190000-0x0000000007233000-memory.dmp

    Filesize

    652KB

  • memory/3212-78-0x0000000007B00000-0x000000000817A000-memory.dmp

    Filesize

    6.5MB

  • memory/3212-79-0x0000000007530000-0x000000000753A000-memory.dmp

    Filesize

    40KB

  • memory/3212-65-0x000000006FE30000-0x000000006FE7C000-memory.dmp

    Filesize

    304KB

  • memory/3212-64-0x0000000007120000-0x0000000007152000-memory.dmp

    Filesize

    200KB

  • memory/3212-82-0x00000000076C0000-0x00000000076D1000-memory.dmp

    Filesize

    68KB

  • memory/3212-59-0x00000000061E0000-0x000000000622C000-memory.dmp

    Filesize

    304KB

  • memory/3212-57-0x0000000005BA0000-0x0000000005EF4000-memory.dmp

    Filesize

    3.3MB

  • memory/3212-33-0x00000000053C0000-0x00000000059E8000-memory.dmp

    Filesize

    6.2MB