Analysis
-
max time kernel
55s -
max time network
66s -
platform
windows11-21h2_x64 -
resource
win11-20241023-en -
resource tags
arch:x64arch:x86image:win11-20241023-enlocale:en-usos:windows11-21h2-x64system -
submitted
09-11-2024 09:52
Behavioral task
behavioral1
Sample
test2.exe
Resource
win11-20241023-en
General
-
Target
test2.exe
-
Size
77KB
-
MD5
bf48a7928ec32e594ee49cfee2c91414
-
SHA1
73c8202dd8a175d68094a8113daafe1f8ed5b45e
-
SHA256
9711bbfc8a0ce69d749fc22b8d4e484de5c96c5d667c0f62910b930afa491587
-
SHA512
dc4aabc93fe82427acc3f231e1db1a2b2286cde288a33eb00ebbd4c816677d35ebfed015b8a9ae3731536f8e1d0a8b0611f404a7601bd901edf5efcb00ca00b4
-
SSDEEP
1536:jzxKxF1kLHgDhMfDcNIolG9TEN+b1L99dFlxzz6DlP6Om7OH6EwaDF:j1q6fwNo1EN+b999lFAnm7OarCF
Malware Config
Extracted
xworm
0.tcp.ap.ngrok.io:4411
-
Install_directory
%Public%
-
install_file
hh.exe
Signatures
-
Detect Xworm Payload 2 IoCs
resource yara_rule behavioral1/memory/948-1-0x0000000000E60000-0x0000000000E7A000-memory.dmp family_xworm behavioral1/files/0x000a00000002a868-57.dat 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 3808 powershell.exe 2312 powershell.exe 1012 powershell.exe 3060 powershell.exe -
Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\hh.lnk test2.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\hh.lnk test2.exe -
Executes dropped EXE 1 IoCs
pid Process 4988 hh.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-4248760313-3670024077-2384670640-1000\Software\Microsoft\Windows\CurrentVersion\Run\hh = "C:\\Users\\Public\\hh.exe" test2.exe -
Legitimate hosting services abused for malware hosting/C2 1 TTPs 1 IoCs
flow ioc 1 0.tcp.ap.ngrok.io -
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 3148 schtasks.exe -
Suspicious behavior: EnumeratesProcesses 9 IoCs
pid Process 3808 powershell.exe 3808 powershell.exe 2312 powershell.exe 2312 powershell.exe 1012 powershell.exe 1012 powershell.exe 3060 powershell.exe 3060 powershell.exe 948 test2.exe -
Suspicious use of AdjustPrivilegeToken 7 IoCs
description pid Process Token: SeDebugPrivilege 948 test2.exe Token: SeDebugPrivilege 3808 powershell.exe Token: SeDebugPrivilege 2312 powershell.exe Token: SeDebugPrivilege 1012 powershell.exe Token: SeDebugPrivilege 3060 powershell.exe Token: SeDebugPrivilege 948 test2.exe Token: SeDebugPrivilege 4988 hh.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 948 test2.exe -
Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 948 wrote to memory of 3808 948 test2.exe 81 PID 948 wrote to memory of 3808 948 test2.exe 81 PID 948 wrote to memory of 2312 948 test2.exe 83 PID 948 wrote to memory of 2312 948 test2.exe 83 PID 948 wrote to memory of 1012 948 test2.exe 85 PID 948 wrote to memory of 1012 948 test2.exe 85 PID 948 wrote to memory of 3060 948 test2.exe 87 PID 948 wrote to memory of 3060 948 test2.exe 87 PID 948 wrote to memory of 3148 948 test2.exe 89 PID 948 wrote to memory of 3148 948 test2.exe 89 -
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\test2.exe"C:\Users\Admin\AppData\Local\Temp\test2.exe"1⤵
- Drops startup file
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:948 -
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\test2.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3808
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'test2.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2312
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Public\hh.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1012
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'hh.exe'2⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3060
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "hh" /tr "C:\Users\Public\hh.exe"2⤵
- Scheduled Task/Job: Scheduled Task
PID:3148
-
-
C:\Users\Public\hh.exeC:\Users\Public\hh.exe1⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:4988
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
-
Filesize
2KB
MD5627073ee3ca9676911bee35548eff2b8
SHA14c4b68c65e2cab9864b51167d710aa29ebdcff2e
SHA25685b280a39fc31ba1e15fb06102a05b8405ff3b82feb181d4170f04e466dd647c
SHA5123c5f6c03e253b83c57e8d6f0334187dbdcdf4fa549eecd36cbc1322dca6d3ca891dc6a019c49ec2eafb88f82d0434299c31e4dfaab123acb42e0546218f311fb
-
Filesize
944B
MD52e8eb51096d6f6781456fef7df731d97
SHA1ec2aaf851a618fb43c3d040a13a71997c25bda43
SHA25696bfd9dd5883329927fe8c08b8956355a1a6ceb30ceeb5d4252b346df32bc864
SHA5120a73dc9a49f92d9dd556c2ca2e36761890b3538f355ee1f013e7cf648d8c4d065f28046cd4a167db3dea304d1fbcbcea68d11ce6e12a3f20f8b6c018a60422d2
-
Filesize
944B
MD5190b28f40c0edd3cc08d0fd3aca4779a
SHA1425b98532b6a18aa2baece47605f1cf6c8cfbd11
SHA2568a2c650430d93841587c726ffff72fb64e02d2da24c9d8df17e835d1124d53ce
SHA5128d1c7a20b324937face0e0c9249d635b3dfcfbad004928de731baf0d72df9ee64fb3f482451d20eb55fa0364311a9806e9d49ae4eafca38d6b58a988f8807110
-
Filesize
944B
MD5cad6ee71e2f46608490520923ec5d2ff
SHA1e975523ab16e08c69c671db25eb18a17ebeddeae
SHA256a844aef1c1a30f44b01052bc36aa683e0f5a62b1b98bd4db09350630a223a753
SHA5125fcd17d2ea19c1882d20471a2b9ae35eb0e46f3a34346447ce0f29ce193cc52d61fc77c5998e47c3a82c00cd6445a45a3083aa041c9b247397fce79ebeda9163
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
Filesize
77KB
MD5bf48a7928ec32e594ee49cfee2c91414
SHA173c8202dd8a175d68094a8113daafe1f8ed5b45e
SHA2569711bbfc8a0ce69d749fc22b8d4e484de5c96c5d667c0f62910b930afa491587
SHA512dc4aabc93fe82427acc3f231e1db1a2b2286cde288a33eb00ebbd4c816677d35ebfed015b8a9ae3731536f8e1d0a8b0611f404a7601bd901edf5efcb00ca00b4