Analysis
-
max time kernel
150s -
max time network
116s -
platform
windows7_x64 -
resource
win7-20230220-en -
resource tags
arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system -
submitted
19-05-2023 06:41
Static task
static1
Behavioral task
behavioral1
Sample
Spec00301.js
Resource
win7-20230220-en
Behavioral task
behavioral2
Sample
Spec00301.js
Resource
win10v2004-20230221-en
General
-
Target
Spec00301.js
-
Size
1.1MB
-
MD5
2640b5851d4ff75bfc5c3ddf9cea67c7
-
SHA1
377210fc1a662564fc2c88e0ee974b992bd396eb
-
SHA256
51dd8819906a735ebf6cc646da4d4ed23937e66b39a55b0dca5b01e7a0ce3f6d
-
SHA512
35ac8196a02b9e1a70cb8cc144b668f38eea87ba5645d102f384e7888423304108fe40d0b762e51d813cf1dbfbec1554c4dd1ef08f89718e17de6bc2a8821615
-
SSDEEP
3072:znsMGGRlz5Hay9mgUAbud4dGkgvsGHgke6K7lV:R9ml4dGUmK7D
Malware Config
Extracted
wshrat
http://45.90.222.125:7121
Signatures
-
Blocklisted process makes network request 9 IoCs
flow pid Process 2 2016 wscript.exe 3 740 wscript.exe 7 740 wscript.exe 8 740 wscript.exe 10 740 wscript.exe 11 740 wscript.exe 12 740 wscript.exe 13 740 wscript.exe 15 740 wscript.exe -
Drops startup file 2 IoCs
description ioc Process File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Spec00301.js wscript.exe File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Spec00301.js wscript.exe -
Adds Run key to start application 2 TTPs 8 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3499517378-2376672570-1134980332-1000\Software\Microsoft\Windows\CurrentVersion\Run\Spec00301 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Spec00301.js\"" wscript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Spec00301 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Spec00301.js\"" wscript.exe Key created \REGISTRY\USER\S-1-5-21-3499517378-2376672570-1134980332-1000\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\USER\S-1-5-21-3499517378-2376672570-1134980332-1000\Software\Microsoft\Windows\CurrentVersion\Run\Spec00301 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Spec00301.js\"" wscript.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\run wscript.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Spec00301 = "wscript.exe //B \"C:\\Users\\Admin\\AppData\\Roaming\\Spec00301.js\"" wscript.exe Key created \REGISTRY\USER\S-1-5-21-3499517378-2376672570-1134980332-1000\software\microsoft\windows\currentversion\run wscript.exe -
Looks up external IP address via web service 1 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 6 ip-api.com -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Script User-Agent 6 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 10 WSHRAT|C0585B3B|MLXLFKOI|Admin|Microsoft Windows 7 Ultimate |plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 11 WSHRAT|C0585B3B|MLXLFKOI|Admin|Microsoft Windows 7 Ultimate |plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 12 WSHRAT|C0585B3B|MLXLFKOI|Admin|Microsoft Windows 7 Ultimate |plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 13 WSHRAT|C0585B3B|MLXLFKOI|Admin|Microsoft Windows 7 Ultimate |plus|nan-av|false - 19/5/2023|JavaScript-v3.4|IN:India HTTP User-Agent header 2 Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5) HTTP User-Agent header 3 Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5) -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 2016 wrote to memory of 740 2016 wscript.exe 29 PID 2016 wrote to memory of 740 2016 wscript.exe 29 PID 2016 wrote to memory of 740 2016 wscript.exe 29 -
Uses Task Scheduler COM API 1 TTPs
The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.
-
Uses Volume Shadow Copy WMI provider
The Volume Shadow Copy service is used to manage backups/snapshots.
-
Uses Volume Shadow Copy service COM API
The Volume Shadow Copy service is used to manage backups/snapshots.
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\Spec00301.js1⤵
- Blocklisted process makes network request
- Drops startup file
- Adds Run key to start application
- Suspicious use of WriteProcessMemory
PID:2016 -
C:\Windows\System32\wscript.exe"C:\Windows\System32\wscript.exe" //B "C:\Users\Admin\AppData\Roaming\Spec00301.js"2⤵
- Blocklisted process makes network request
- Drops startup file
- Adds Run key to start application
PID:740
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
1.1MB
MD52640b5851d4ff75bfc5c3ddf9cea67c7
SHA1377210fc1a662564fc2c88e0ee974b992bd396eb
SHA25651dd8819906a735ebf6cc646da4d4ed23937e66b39a55b0dca5b01e7a0ce3f6d
SHA51235ac8196a02b9e1a70cb8cc144b668f38eea87ba5645d102f384e7888423304108fe40d0b762e51d813cf1dbfbec1554c4dd1ef08f89718e17de6bc2a8821615
-
Filesize
1.1MB
MD52640b5851d4ff75bfc5c3ddf9cea67c7
SHA1377210fc1a662564fc2c88e0ee974b992bd396eb
SHA25651dd8819906a735ebf6cc646da4d4ed23937e66b39a55b0dca5b01e7a0ce3f6d
SHA51235ac8196a02b9e1a70cb8cc144b668f38eea87ba5645d102f384e7888423304108fe40d0b762e51d813cf1dbfbec1554c4dd1ef08f89718e17de6bc2a8821615
-
Filesize
1.1MB
MD52640b5851d4ff75bfc5c3ddf9cea67c7
SHA1377210fc1a662564fc2c88e0ee974b992bd396eb
SHA25651dd8819906a735ebf6cc646da4d4ed23937e66b39a55b0dca5b01e7a0ce3f6d
SHA51235ac8196a02b9e1a70cb8cc144b668f38eea87ba5645d102f384e7888423304108fe40d0b762e51d813cf1dbfbec1554c4dd1ef08f89718e17de6bc2a8821615
-
Filesize
12.4MB
MD5d9a63dfd8b73629421bb44bcde09f312
SHA17855575c12eaee0e734f3901ca1da2931e9b587a
SHA2569d5bb028794410fda9d1b3e0f8deb6beee5bd4e1e55340bd375a209c81dc98eb
SHA512df195c22f7818569cc92e995846ab507caa30f341ac902cc8afe6f06ae4493709e7f80357c91cf14b21e58e2154e0b35f2154d8a313bf36fcff0b72b3a539cf8
-
Filesize
1KB
MD5ca2cc8e73bbca371935bbc92ed18d567
SHA11adb458919e842cd78c72b1ff00e5e93cb6ef75e
SHA256bea3f797921992fda45c19db41e10e3b325bcdd3ea35d35c1fa70535477ad9c1
SHA512b63df3bad9272f45ba0f50e2c50aaed7a04eb1b000d5855d9f3a8e5c5f2d381c667b1e9c1e1f03f80584a7941a96992838664ae9dd25e1b8320e026da35b8223