Analysis
-
max time kernel
299s -
max time network
299s -
platform
windows7_x64 -
resource
win7-20240729-en -
resource tags
arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system -
submitted
26/01/2025, 07:29
Behavioral task
behavioral1
Sample
midnight cs2.exe
Resource
win7-20240729-en
Behavioral task
behavioral2
Sample
midnight cs2.exe
Resource
win10v2004-20241007-en
General
-
Target
midnight cs2.exe
-
Size
186KB
-
MD5
a8215742a95e9c168ccfc61b3b7e3499
-
SHA1
28125198889769fc28930a6ae8177de58ff99e75
-
SHA256
d42086188d177a3efbfa0d70daef5b9afc83313635c0bd792e865e537048f085
-
SHA512
7313357cbf14d574b4a17c0139098e4e2a91457a086707b3cda5de0d7bd028a37e55a220eab8108fe8a5fb27529c36944c105b0732ec32d258ba84844e2734b0
-
SSDEEP
3072:KiP2xSwpN+UzbEI7NO3n3GU9UYPziDfu7o:Kz7+UzbR7O9UYPym7
Malware Config
Extracted
xworm
its-definitely.gl.at.ply.gg:32735
-
Install_directory
%AppData%
-
install_file
XClient.exe
Signatures
-
Detect Xworm Payload 6 IoCs
resource yara_rule behavioral1/memory/2232-1-0x0000000000250000-0x0000000000284000-memory.dmp family_xworm behavioral1/files/0x000d0000000122cf-36.dat family_xworm behavioral1/memory/288-38-0x0000000000E70000-0x0000000000EA4000-memory.dmp family_xworm behavioral1/memory/2944-42-0x0000000000FE0000-0x0000000001014000-memory.dmp family_xworm behavioral1/memory/1136-44-0x0000000000020000-0x0000000000054000-memory.dmp family_xworm behavioral1/memory/672-46-0x00000000002F0000-0x0000000000324000-memory.dmp family_xworm -
Xworm family
-
Command and Scripting Interpreter: PowerShell 1 TTPs 4 IoCs
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
pid Process 2788 powershell.exe 2548 powershell.exe 3040 powershell.exe 1112 powershell.exe -
Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\XClient.lnk midnight cs2.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\XClient.lnk midnight cs2.exe -
Executes dropped EXE 5 IoCs
pid Process 288 XClient.exe 1688 XClient.exe 2944 XClient.exe 1136 XClient.exe 672 XClient.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2703099537-420551529-3771253338-1000\Software\Microsoft\Windows\CurrentVersion\Run\XClient = "C:\\Users\\Admin\\AppData\\Roaming\\XClient.exe" midnight cs2.exe -
Looks up external IP address via web service 1 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 4 ip-api.com -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
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 772 schtasks.exe -
Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 2788 powershell.exe 2548 powershell.exe 3040 powershell.exe 1112 powershell.exe -
Suspicious use of AdjustPrivilegeToken 11 IoCs
description pid Process Token: SeDebugPrivilege 2232 midnight cs2.exe Token: SeDebugPrivilege 2788 powershell.exe Token: SeDebugPrivilege 2548 powershell.exe Token: SeDebugPrivilege 3040 powershell.exe Token: SeDebugPrivilege 1112 powershell.exe Token: SeDebugPrivilege 2232 midnight cs2.exe Token: SeDebugPrivilege 288 XClient.exe Token: SeDebugPrivilege 1688 XClient.exe Token: SeDebugPrivilege 2944 XClient.exe Token: SeDebugPrivilege 1136 XClient.exe Token: SeDebugPrivilege 672 XClient.exe -
Suspicious use of WriteProcessMemory 30 IoCs
description pid Process procid_target PID 2232 wrote to memory of 2788 2232 midnight cs2.exe 32 PID 2232 wrote to memory of 2788 2232 midnight cs2.exe 32 PID 2232 wrote to memory of 2788 2232 midnight cs2.exe 32 PID 2232 wrote to memory of 2548 2232 midnight cs2.exe 34 PID 2232 wrote to memory of 2548 2232 midnight cs2.exe 34 PID 2232 wrote to memory of 2548 2232 midnight cs2.exe 34 PID 2232 wrote to memory of 3040 2232 midnight cs2.exe 36 PID 2232 wrote to memory of 3040 2232 midnight cs2.exe 36 PID 2232 wrote to memory of 3040 2232 midnight cs2.exe 36 PID 2232 wrote to memory of 1112 2232 midnight cs2.exe 38 PID 2232 wrote to memory of 1112 2232 midnight cs2.exe 38 PID 2232 wrote to memory of 1112 2232 midnight cs2.exe 38 PID 2232 wrote to memory of 772 2232 midnight cs2.exe 40 PID 2232 wrote to memory of 772 2232 midnight cs2.exe 40 PID 2232 wrote to memory of 772 2232 midnight cs2.exe 40 PID 1092 wrote to memory of 288 1092 taskeng.exe 43 PID 1092 wrote to memory of 288 1092 taskeng.exe 43 PID 1092 wrote to memory of 288 1092 taskeng.exe 43 PID 1092 wrote to memory of 1688 1092 taskeng.exe 44 PID 1092 wrote to memory of 1688 1092 taskeng.exe 44 PID 1092 wrote to memory of 1688 1092 taskeng.exe 44 PID 1092 wrote to memory of 2944 1092 taskeng.exe 45 PID 1092 wrote to memory of 2944 1092 taskeng.exe 45 PID 1092 wrote to memory of 2944 1092 taskeng.exe 45 PID 1092 wrote to memory of 1136 1092 taskeng.exe 46 PID 1092 wrote to memory of 1136 1092 taskeng.exe 46 PID 1092 wrote to memory of 1136 1092 taskeng.exe 46 PID 1092 wrote to memory of 672 1092 taskeng.exe 47 PID 1092 wrote to memory of 672 1092 taskeng.exe 47 PID 1092 wrote to memory of 672 1092 taskeng.exe 47 -
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:\Users\Admin\AppData\Local\Temp\midnight cs2.exe"C:\Users\Admin\AppData\Local\Temp\midnight cs2.exe"1⤵
- Drops startup file
- Adds Run key to start application
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2232 -
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\Local\Temp\midnight cs2.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2788
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'midnight cs2.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2548
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Roaming\XClient.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3040
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'XClient.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1112
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "XClient" /tr "C:\Users\Admin\AppData\Roaming\XClient.exe"2⤵
- Scheduled Task/Job: Scheduled Task
PID:772
-
-
C:\Windows\system32\taskeng.exetaskeng.exe {2F0C0E7C-595C-460F-8213-AE57D00E4245} S-1-5-21-2703099537-420551529-3771253338-1000:XECUDNCD\Admin:Interactive:[1]1⤵
- Suspicious use of WriteProcessMemory
PID:1092 -
C:\Users\Admin\AppData\Roaming\XClient.exeC:\Users\Admin\AppData\Roaming\XClient.exe2⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:288
-
-
C:\Users\Admin\AppData\Roaming\XClient.exeC:\Users\Admin\AppData\Roaming\XClient.exe2⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:1688
-
-
C:\Users\Admin\AppData\Roaming\XClient.exeC:\Users\Admin\AppData\Roaming\XClient.exe2⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:2944
-
-
C:\Users\Admin\AppData\Roaming\XClient.exeC:\Users\Admin\AppData\Roaming\XClient.exe2⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:1136
-
-
C:\Users\Admin\AppData\Roaming\XClient.exeC:\Users\Admin\AppData\Roaming\XClient.exe2⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:672
-
Network
MITRE ATT&CK Enterprise v15
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
-
C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\ALJLI94Z5P3VQ9EDERUO.temp
Filesize7KB
MD534302f48a47729fde42b33d949fa28db
SHA1590b1b8192ce5b6332ed7004494ed2561c26b891
SHA256fd600fb18e91a75b0a3ca88349315edb0d36540feed2e37d18562780e5b172d6
SHA512e2b58893eaf4b6261eea69e81371a0d46c0db51429e495c103dc47d387b654f9fdf445f74c0a21fdbb1e8f682c8a8a7e025d85dd07fb73ab097a9b82d482abdb
-
Filesize
186KB
MD5a8215742a95e9c168ccfc61b3b7e3499
SHA128125198889769fc28930a6ae8177de58ff99e75
SHA256d42086188d177a3efbfa0d70daef5b9afc83313635c0bd792e865e537048f085
SHA5127313357cbf14d574b4a17c0139098e4e2a91457a086707b3cda5de0d7bd028a37e55a220eab8108fe8a5fb27529c36944c105b0732ec32d258ba84844e2734b0