Analysis
- max time kernel
292s - max time network
311s - platform
windows10-2004_x64 - resource
win10v2004-20240508-en - resource tags
arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system - submitted
09/06/2024, 15:50
Behavioral task
behavioral1
Sample
xylex.exe
Resource
win7-20240508-en
General
- Target xylex.exe
- Size 70KB
- Sample240609-taepjscg88
- SHA256 2d66f5076e6e2fdb521ce886a78fb2c29c8fa1392ad10265e78dc033b50afc91
- MD5 3b278b3c84fca4e19f616a6c45ab92e4
- SHA1 accce9f0e0582b0d83057dd93e502a4c9f02369f
- SHA512 c6b646839f5449a038ac4ba936f99a414ba416a796ee3da64f16a420d49f5cba35d0dbf050edf9adcd10084ca2591f40baaf0b837a21a730a16f3e383b8e0acf
- SSDEEP 1536:m1UCeQzhyKBC+ZhxbRKveAJ6NqOCzc8YvDKga:mGGjZhxbwGACqOCzcJva
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
xworm
-
medical-m.gl.at.ply.gg:28857
-
Install_directory
%ProgramData%
-
install_file
conhost.exe
Signatures
- Contains code to disable Windows Defender 1 IoCs
A .NET executable tasked with disabling Windows Defender capabilities such as realtime monitoring, blocking at first seen, etc.
resource yara_rule behavioral2/memory/748-87-0x000000001CF70000-0x000000001CF7E000-memory.dmp disable_win_def - Detect Xworm Payload 2 IoCs
resource yara_rule behavioral2/memory/748-1-0x0000000000CB0000-0x0000000000CC8000-memory.dmp family_xworm behavioral2/files/0x0008000000022ac3-63.dat family_xworm -
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ConsentPromptBehaviorAdmin = "0" xylex.exe - 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 408 powershell.exe 4872 powershell.exe 2264 powershell.exe 4856 powershell.exe - Modifies Installed Components in the registry 2 TTPs 1 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-1337824034-2731376981-3755436523-1000\Software\Microsoft\Active Setup\Installed Components explorer.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-1337824034-2731376981-3755436523-1000\Control Panel\International\Geo\Nation xylex.exe - Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\conhost.lnk xylex.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\conhost.lnk xylex.exe - Executes dropped EXE 4 IoCs
pid Process 2124 conhost.exe 1060 conhost.exe 3604 conhost.exe 3252 conhost.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1337824034-2731376981-3755436523-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\conhost = "C:\\ProgramData\\conhost.exe" xylex.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 17 ip-api.com - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Creates scheduled task(s) 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 1612 schtasks.exe - Modifies registry class 1 IoCs
description ioc Process Key created \REGISTRY\MACHINE\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\Deployment\Package\*\S-1-5-21-1337824034-2731376981-3755436523-1000\{14551BBA-A176-462F-9723-C2FD442CA366} explorer.exe - Suspicious behavior: EnumeratesProcesses 64 IoCs
pid Process 4856 powershell.exe 4856 powershell.exe 408 powershell.exe 408 powershell.exe 4872 powershell.exe 4872 powershell.exe 2264 powershell.exe 2264 powershell.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe 748 xylex.exe - Suspicious use of AdjustPrivilegeToken 16 IoCs
description pid Process Token: SeDebugPrivilege 748 xylex.exe Token: SeDebugPrivilege 4856 powershell.exe Token: SeDebugPrivilege 408 powershell.exe Token: SeDebugPrivilege 4872 powershell.exe Token: SeDebugPrivilege 2264 powershell.exe Token: SeDebugPrivilege 748 xylex.exe Token: SeDebugPrivilege 2124 conhost.exe Token: SeDebugPrivilege 3356 xylex.exe Token: SeDebugPrivilege 1680 xylex.exe Token: SeDebugPrivilege 1060 conhost.exe Token: SeDebugPrivilege 3604 conhost.exe Token: SeDebugPrivilege 3252 conhost.exe Token: SeShutdownPrivilege 1012 explorer.exe Token: SeCreatePagefilePrivilege 1012 explorer.exe Token: SeShutdownPrivilege 1012 explorer.exe Token: SeCreatePagefilePrivilege 1012 explorer.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 748 xylex.exe - Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 748 wrote to memory of 4856 748 xylex.exe 90 PID 748 wrote to memory of 4856 748 xylex.exe 90 PID 748 wrote to memory of 408 748 xylex.exe 92 PID 748 wrote to memory of 408 748 xylex.exe 92 PID 748 wrote to memory of 4872 748 xylex.exe 95 PID 748 wrote to memory of 4872 748 xylex.exe 95 PID 748 wrote to memory of 2264 748 xylex.exe 97 PID 748 wrote to memory of 2264 748 xylex.exe 97 PID 748 wrote to memory of 1612 748 xylex.exe 99 PID 748 wrote to memory of 1612 748 xylex.exe 99 - System policy modification 1 TTPs 2 IoCs
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ConsentPromptBehaviorAdmin = "0" xylex.exe Key created \REGISTRY\MACHINE\software\microsoft\windows\currentversion\policies\system xylex.exe - 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\xylex.exe"C:\Users\Admin\AppData\Local\Temp\xylex.exe"1⤵
- UAC bypass
- Checks computer location settings
- Drops startup file
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
- System policy modification
PID:748 -
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\xylex.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4856
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'xylex.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:408
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\ProgramData\conhost.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4872
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'conhost.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2264
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "conhost" /tr "C:\ProgramData\conhost.exe"2⤵
- Creates scheduled task(s)
PID:1612
-
-
C:\ProgramData\conhost.exeC:\ProgramData\conhost.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:2124
-
C:\Windows\System32\rundll32.exeC:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding1⤵PID:4208
-
C:\Users\Admin\AppData\Local\Temp\xylex.exe"C:\Users\Admin\AppData\Local\Temp\xylex.exe"1⤵
- Suspicious use of AdjustPrivilegeToken
PID:3356
-
C:\Users\Admin\AppData\Local\Temp\xylex.exe"C:\Users\Admin\AppData\Local\Temp\xylex.exe"1⤵
- Suspicious use of AdjustPrivilegeToken
PID:1680
-
C:\ProgramData\conhost.exeC:\ProgramData\conhost.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:1060
-
C:\ProgramData\conhost.exeC:\ProgramData\conhost.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:3604
-
C:\ProgramData\conhost.exeC:\ProgramData\conhost.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:3252
-
C:\Windows\explorer.exeexplorer.exe1⤵
- Modifies Installed Components in the registry
- Modifies registry class
- Suspicious use of AdjustPrivilegeToken
PID:1012
-
C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe"C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe" -ServerName:App.AppXywbrabmsek0gm3tkwpr5kwzbs55tkqay.mca1⤵PID:1684
-
C:\ProgramData\conhost.exeC:\ProgramData\conhost.exe1⤵PID:4428
-
C:\Windows\explorer.exeexplorer.exe1⤵PID:2064
-
C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe"C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe" -ServerName:App.AppXywbrabmsek0gm3tkwpr5kwzbs55tkqay.mca1⤵PID:3188
-
C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe"C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe" -ServerName:CortanaUI.AppX8z9r6jm96hw4bsbneegw0kyxx296wr9t.mca1⤵PID:2956
-
C:\Windows\explorer.exeexplorer.exe1⤵PID:3572
-
C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe"C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe" -ServerName:App.AppXywbrabmsek0gm3tkwpr5kwzbs55tkqay.mca1⤵PID:2640
-
C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe"C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe" -ServerName:CortanaUI.AppX8z9r6jm96hw4bsbneegw0kyxx296wr9t.mca1⤵PID:4876
-
C:\Windows\explorer.exeexplorer.exe1⤵PID:4176
-
C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe"C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe" -ServerName:App.AppXywbrabmsek0gm3tkwpr5kwzbs55tkqay.mca1⤵PID:3896
-
C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe"C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe" -ServerName:CortanaUI.AppX8z9r6jm96hw4bsbneegw0kyxx296wr9t.mca1⤵PID:1696
-
C:\Windows\explorer.exeexplorer.exe1⤵PID:3152
-
C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe"C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe" -ServerName:App.AppXywbrabmsek0gm3tkwpr5kwzbs55tkqay.mca1⤵PID:2240
-
C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe"C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe" -ServerName:CortanaUI.AppX8z9r6jm96hw4bsbneegw0kyxx296wr9t.mca1⤵PID:4568
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
2Registry Run Keys / Startup Folder
2Scheduled Task/Job
1Privilege Escalation
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Boot or Logon Autostart Execution
2Registry Run Keys / Startup Folder
2Scheduled Task/Job
1Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\ProgramData\conhost.exe
- Size 70KB
- SHA256 2d66f5076e6e2fdb521ce886a78fb2c29c8fa1392ad10265e78dc033b50afc91
- MD5 3b278b3c84fca4e19f616a6c45ab92e4
- SHA1 accce9f0e0582b0d83057dd93e502a4c9f02369f
- SHA512 c6b646839f5449a038ac4ba936f99a414ba416a796ee3da64f16a420d49f5cba35d0dbf050edf9adcd10084ca2591f40baaf0b837a21a730a16f3e383b8e0acf
- SSDEEP 1536:m1UCeQzhyKBC+ZhxbRKveAJ6NqOCzc8YvDKga:mGGjZhxbwGACqOCzcJva
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\LocalLow\Microsoft\CryptnetUrlCache\Content\E2C6CBAF0AF08CF203BA74BF0D0AB6D5_6372E0472AFF76BB926C97818BC773B9
- Size 471B
- SHA256 aaf1e76a55c2327473e1a8ee6cc39f4f0d7af335338644e324242981f0aca216
- MD5 654cc30c8f9de56c2231c474f81aa53b
- SHA1 628fc4d30d567c2f47e4bdca12cc6b03af3cc733
- SHA512 2fc25fed4605a503ea83027d742a222d3ff0c08c736b25769969b804243f1513fb7e0ed403f29ec7034010207c3e4fc4edea65a19360a3656a302b3ab7bdf0e9
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData\E2C6CBAF0AF08CF203BA74BF0D0AB6D5_6372E0472AFF76BB926C97818BC773B9
- Size 420B
- SHA256 33f0f4e407c9e2049a7a05f824591f0ea08480193635f045b6b3ff269ba27acb
- MD5 e8b95b5aa4e4611bbe61757654cac8a5
- SHA1 692a524a848ffb9ad99ad29f0f656d7b6ca98252
- SHA512 73c418c3dbfc915a5cebec66d74374f110cc6db2b57827971b8b791c9de3beb4599e5acfd6b9c3447ebb8251b816ba8462f3e1742e8e3e42844e1bf5dd5a398d
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\conhost.exe.log
- Size 654B
- SHA256 e1b91642d85d98124a6a31f710e137ab7fd90dec30e74a05ab7fcf3b7887dced
- MD5 2ff39f6c7249774be85fd60a8f9a245e
- SHA1 684ff36b31aedc1e587c8496c02722c6698c1c4e
- SHA512 1d7e8b92ef4afd463d62cfa7e8b9d1799db5bf2a263d3cd7840df2e0a1323d24eb595b5f8eb615c6cb15f9e3a7b4fc99f8dd6a3d34479222e966ec708998aed1
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
- Size 2KB
- SHA256 84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
- MD5 d85ba6ff808d9e5444a4b369f5bc2730
- SHA1 31aa9d96590fff6981b315e0b391b575e4c0804a
- SHA512 8c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 2360634e63e8f0b5748e2c56ebb8f4aa78e71008ea7b5c9ca1c49be03b49557d
- MD5 6d3e9c29fe44e90aae6ed30ccf799ca8
- SHA1 c7974ef72264bbdf13a2793ccf1aed11bc565dce
- SHA512 60c38c4367352537545d859f64b9c5cbada94240478d1d039fd27b5ecba4dc1c90051557c16d802269703b873546ead416279c0a80c6fd5e49ad361cef22596a
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 9f6fe2203df58ba90b512b436fd74f5eeb4f39f4f9f54a41e882fc54e5f35d51
- MD5 e25058a5d8ac6b42d8c7c9883c598303
- SHA1 bd9e6194a36a959772fc020f905244900ffc3d57
- SHA512 0146f2d1298acf189005217784e952d6e99bf7c8bf24ae9e9af1a2ca3d881dca39f19f3ecd06c7d0ad919bc929edaf6e97e0ab2d7f71733b9422527c594ea0c5
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 adad192fc86c2f939fd3f70cb9ad323139a4e100f7c90b4454e2c53bdbc9b705
- MD5 b1a1d8b05525b7b0c5babfd80488c1f2
- SHA1 c85bbd6b7d0143676916c20fd52720499c2bb5c6
- SHA512 346c6513c1373bab58439e37d3f75de1c5c587d7eb27076cf696e885a027b3b38d70b585839d1a2e7f2270cdcf0dac8c1fdff799f3b1158242ae9e3364c2a06e
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Packages\microsoft.windows.search_cw5n1h2txyewy\AC\Microsoft\Internet Explorer\DOMStore\92G8RFY9\microsoft.windows[1].xml
- Size 97B
- SHA256 bcd046aa48862e2cc160ed1dc72283cfeeffce82c66d4aae555664ae3043ac53
- MD5 154014c190bcc3ee57ed7e94a2f5d4b9
- SHA1 20848fea26d00af1a18c235031228444530ec9d4
- SHA512 91c232d6bb42bebe9f998bae5e1a08d9ea0a8ed86ead98ab733fcf8170ecb100f3294ba378ac4b07ed7b8023760a20324145fcd3884d8848334de81a718d8be5
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_thwlr5v2.krs.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512