Analysis

  • max time kernel
    150s
  • max time network
    118s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-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 26 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 6 IoCs
  • Suspicious behavior: EnumeratesProcesses 52 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:2384
    • 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:2404
      • 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:1700
        • 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:2444
        • C:\Windows\SysWOW64\findstr.exe
          findstr /I "rundll32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:2160
        • C:\Windows\SysWOW64\timeout.exe
          timeout /t 30 /nobreak
          4⤵
          • System Location Discovery: System Language Discovery
          • Delays execution with timeout.exe
          PID:2468
        • 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:2964
        • C:\Windows\SysWOW64\findstr.exe
          findstr /I "rundll32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:3024
        • C:\Windows\SysWOW64\timeout.exe
          timeout /t 30 /nobreak
          4⤵
          • System Location Discovery: System Language Discovery
          • Delays execution with timeout.exe
          PID:2848
        • 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:2016
        • C:\Windows\SysWOW64\findstr.exe
          findstr /I "rundll32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:2036
        • C:\Windows\SysWOW64\timeout.exe
          timeout /t 30 /nobreak
          4⤵
          • System Location Discovery: System Language Discovery
          • Delays execution with timeout.exe
          PID:1984
        • 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:1764
        • C:\Windows\SysWOW64\findstr.exe
          findstr /I "rundll32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:1028
        • C:\Windows\SysWOW64\timeout.exe
          timeout /t 30 /nobreak
          4⤵
          • System Location Discovery: System Language Discovery
          • Delays execution with timeout.exe
          PID:1964
        • 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:2396
        • C:\Windows\SysWOW64\findstr.exe
          findstr /I "rundll32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:1720
        • C:\Windows\SysWOW64\rundll32.exe
          "C:\Windows\SysWOW64\rundll32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:2264
        • C:\Windows\SysWOW64\timeout.exe
          timeout /t 30 /nobreak
          4⤵
          • System Location Discovery: System Language Discovery
          • Delays execution with timeout.exe
          PID:1268
        • 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:2136
        • C:\Windows\SysWOW64\findstr.exe
          findstr /I "rundll32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:1304
        • C:\Windows\SysWOW64\rundll32.exe
          "C:\Windows\SysWOW64\rundll32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:2336
        • C:\Windows\SysWOW64\timeout.exe
          timeout /t 30 /nobreak
          4⤵
          • System Location Discovery: System Language Discovery
          • Delays execution with timeout.exe
          PID:2312
      • 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:2596
        • 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 behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:2316
      • 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:2616
        • 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 behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1396

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • 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

  • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\9G1LT0VVYYT88EDSKJEK.temp

    Filesize

    7KB

    MD5

    7b0a0b578878f8ff49450c0f432f7246

    SHA1

    21d0749235ea1df688ec1c573fd271191420feb9

    SHA256

    681ae75dcc24be571983a104ed94f4e1b36ac9c20ab87fb2485386c542bcc673

    SHA512

    1fd78b945cc8823941716ea361ddeefb0b1ed2cd9e8eccf636e79530371f5fd6e157cda172558ba357b5432dd1d1dcb2e10af9c81212761facb6ac7fe910c872

  • memory/2404-19-0x0000000002200000-0x0000000002238000-memory.dmp

    Filesize

    224KB

  • memory/2404-20-0x0000000002200000-0x0000000002238000-memory.dmp

    Filesize

    224KB

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

    Filesize

    144KB

  • memory/2404-16-0x0000000000A80000-0x0000000000AB2000-memory.dmp

    Filesize

    200KB

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

    Filesize

    144KB

  • memory/2404-17-0x0000000002200000-0x0000000002238000-memory.dmp

    Filesize

    224KB

  • memory/2404-18-0x0000000002200000-0x0000000002238000-memory.dmp

    Filesize

    224KB

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

    Filesize

    144KB

  • memory/2404-21-0x0000000002200000-0x0000000002238000-memory.dmp

    Filesize

    224KB

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

    Filesize

    144KB

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

    Filesize

    144KB

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

    Filesize

    144KB

  • memory/2404-24-0x0000000002200000-0x0000000002238000-memory.dmp

    Filesize

    224KB

  • memory/2404-25-0x0000000000900000-0x000000000092F000-memory.dmp

    Filesize

    188KB

  • memory/2404-11-0x0000000000110000-0x000000000012D000-memory.dmp

    Filesize

    116KB

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

    Filesize

    144KB

  • memory/2404-40-0x0000000002200000-0x0000000002238000-memory.dmp

    Filesize

    224KB

  • memory/2404-39-0x0000000002200000-0x0000000002238000-memory.dmp

    Filesize

    224KB

  • memory/2404-43-0x0000000002200000-0x0000000002238000-memory.dmp

    Filesize

    224KB

  • memory/2404-45-0x0000000002200000-0x0000000002238000-memory.dmp

    Filesize

    224KB