Analysis
- max time kernel
148s - max time network
150s - platform
windows10-2004_x64 - resource
win10v2004-20240426-en - resource tags
arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system - submitted
11/06/2024, 12:16
Behavioral task
behavioral1
Sample
debugger.exe
Resource
win7-20240220-en
14 signatures
150 seconds
General
- Target debugger.exe
- Size 74KB
- Sample240611-pfty7swfla
- SHA256 6ccecee175a177e93bff4f77f88f47abd62ca4377964a6bcc388e36a752ac556
- MD5 dfacb756add30b5288f64e388ba388fc
- SHA1 80d30dd2d719febb851b27c65e1cbb2f250a9cad
- SHA512 186391e7e0dbf1e74bf62213907e7cd0106d0646f5edd0e22c48cbfc725f9475b81f1eaf67366632f4caaf370b226aabdf8ff99bff056689c2bdf042e06291e3
- SSDEEP 1536:SQ4jlEFINSMB9Z9/9lClbUHnk9LEvjRlH6OPeHZOY0EfHu:S/ltdzZ9VibUHdvjGOTgHu
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
Family
-
xworm
C2
-
0.tcp.ap.ngrok.io:12433
Attributes
-
Install_directory
%AppData%
-
install_file
svchost.exe
Signatures
- Detect Xworm Payload 2 IoCs
resource yara_rule behavioral2/memory/2984-1-0x0000000000810000-0x0000000000828000-memory.dmp family_xworm behavioral2/files/0x000b00000002341e-59.dat family_xworm - 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 1132 powershell.exe 1592 powershell.exe 2764 powershell.exe 2280 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-1162180587-977231257-2194346871-1000\Control Panel\International\Geo\Nation debugger.exe - Drops startup file 2 IoCs
description ioc Process File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\svchost.lnk debugger.exe File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\svchost.lnk debugger.exe - Executes dropped EXE 2 IoCs
pid Process 1860 svchost.exe 4080 svchost.exe - Legitimate hosting services abused for malware hosting/C2 1 TTPs 3 IoCs
flow ioc 22 0.tcp.ap.ngrok.io 42 0.tcp.ap.ngrok.io 53 0.tcp.ap.ngrok.io - 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 14 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 3696 schtasks.exe - Suspicious behavior: EnumeratesProcesses 9 IoCs
pid Process 2280 powershell.exe 2280 powershell.exe 1132 powershell.exe 1132 powershell.exe 1592 powershell.exe 1592 powershell.exe 2764 powershell.exe 2764 powershell.exe 2984 debugger.exe - Suspicious use of AdjustPrivilegeToken 8 IoCs
description pid Process Token: SeDebugPrivilege 2984 debugger.exe Token: SeDebugPrivilege 2280 powershell.exe Token: SeDebugPrivilege 1132 powershell.exe Token: SeDebugPrivilege 1592 powershell.exe Token: SeDebugPrivilege 2764 powershell.exe Token: SeDebugPrivilege 2984 debugger.exe Token: SeDebugPrivilege 1860 svchost.exe Token: SeDebugPrivilege 4080 svchost.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 2984 debugger.exe - Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 2984 wrote to memory of 2280 2984 debugger.exe 84 PID 2984 wrote to memory of 2280 2984 debugger.exe 84 PID 2984 wrote to memory of 1132 2984 debugger.exe 86 PID 2984 wrote to memory of 1132 2984 debugger.exe 86 PID 2984 wrote to memory of 1592 2984 debugger.exe 88 PID 2984 wrote to memory of 1592 2984 debugger.exe 88 PID 2984 wrote to memory of 2764 2984 debugger.exe 91 PID 2984 wrote to memory of 2764 2984 debugger.exe 91 PID 2984 wrote to memory of 3696 2984 debugger.exe 93 PID 2984 wrote to memory of 3696 2984 debugger.exe 93 - 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\debugger.exe"C:\Users\Admin\AppData\Local\Temp\debugger.exe"1⤵
- Checks computer location settings
- Drops startup file
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:2984 -
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\debugger.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2280
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'debugger.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1132
-
-
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\svchost.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1592
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'svchost.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2764
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "svchost" /tr "C:\Users\Admin\AppData\Roaming\svchost.exe"2⤵
- Creates scheduled task(s)
PID:3696
-
-
C:\Users\Admin\AppData\Roaming\svchost.exeC:\Users\Admin\AppData\Roaming\svchost.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:1860
-
C:\Users\Admin\AppData\Roaming\svchost.exeC:\Users\Admin\AppData\Roaming\svchost.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:4080
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- 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\CLR_v4.0\UsageLogs\svchost.exe.log
- Size 654B
- SHA256 e1b91642d85d98124a6a31f710e137ab7fd90dec30e74a05ab7fcf3b7887dced
- MD5 2ff39f6c7249774be85fd60a8f9a245e
- SHA1 684ff36b31aedc1e587c8496c02722c6698c1c4e
- SHA512 1d7e8b92ef4afd463d62cfa7e8b9d1799db5bf2a263d3cd7840df2e0a1323d24eb595b5f8eb615c6cb15f9e3a7b4fc99f8dd6a3d34479222e966ec708998aed1
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 f97ff12a8abf4bf88bb6497bd2ac2da12628c8847a8ba5a9026bdbb76507cdfb
- MD5 77d622bb1a5b250869a3238b9bc1402b
- SHA1 d47f4003c2554b9dfc4c16f22460b331886b191b
- SHA512 d6789b5499f23c9035375a102271e17a8a82e57d6f5312fa24242e08a83efdeb8becb7622f55c4cf1b89c7d864b445df11f4d994cf7e2f87a900535bcca12fd9
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 fb0b3c822d300abbb892e6f218d6b4b62b80bb26d9184d1f4c731600053a3fc4
- MD5 4165c906a376e655973cef247b5128f1
- SHA1 c6299b6ab8b2db841900de376e9c4d676d61131e
- SHA512 15783f2d3687388339c06423bd18c17a5704cd367bf1a1d08e436088984c0b5c52dc88d3b8455495a8051ba9f977aae34b69453e5ee252d928e74dcdebd4a11a
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 944B
- SHA256 fd7092b4e273314186bad6ce71aa4cd69450736b6ec6cc746868997ff82a7532
- MD5 04114c0529b116bf66d764ff6a5a8fe3
- SHA1 0caeff17d1b2190f76c9bf539105f6c40c92bd14
- SHA512 6a718c330824346606ef24f71cca6be0bfafc626b1d2b060b36e919ab07f3d6a345f56cace8a5a84ffbe2183976eb197842c9fd2f3e3b8c8dd307057d59d6f26
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_crdjkppj.lq1.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Roaming\svchost.exe
- Size 74KB
- SHA256 6ccecee175a177e93bff4f77f88f47abd62ca4377964a6bcc388e36a752ac556
- MD5 dfacb756add30b5288f64e388ba388fc
- SHA1 80d30dd2d719febb851b27c65e1cbb2f250a9cad
- SHA512 186391e7e0dbf1e74bf62213907e7cd0106d0646f5edd0e22c48cbfc725f9475b81f1eaf67366632f4caaf370b226aabdf8ff99bff056689c2bdf042e06291e3
- SSDEEP 1536:SQ4jlEFINSMB9Z9/9lClbUHnk9LEvjRlH6OPeHZOY0EfHu:S/ltdzZ9VibUHdvjGOTgHu
- MD5 SHA1 SHA512 SSDEEP