Analysis
- max time kernel
134s - max time network
151s - platform
windows10-2004_x64 - resource
win10v2004-20241007-en - resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system - submitted
29/10/2024, 14:36
Static task
static1
1 signatures
Behavioral task
behavioral1
Sample
4.exe
Resource
win7-20241010-en
14 signatures
150 seconds
General
- Target 4.exe
- Size 1.1MB
- Sample241029-ryqqlswdrj
- SHA256 3721299ab8cab7453d4781c5d3acc4304dffd8335164fbdfc31c80959cb0b35b
- MD5 b1409192281b85ae112868f828087864
- SHA1 a6e85b73dfbc0494f435fe2e78bdb4977a4a2fe5
- SHA512 509ad61d75da81b46ce50ab32f787b6bbf0763a5dfe9e7c2ce0791b7a5006af8529c3b54fb3ec76a3709dbf8b9562b1150fae50a59bf9eb2f56529b98ea56ebf
- SSDEEP 12288:1CaR45KgL9fLyT+o2+gmuQIIq65/PKtfCnbMtqL:c2gBfLxHBQIf6pihCIc
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
Family
-
xworm
Version
-
3.1
C2
-
176.9.162.125:4060
Mutex
-
4ZrqftQk1xSTve1a
Attributes
-
Install_directory
%AppData%
-
install_file
USB.exe
aes.plain
Signatures
- Detect Xworm Payload 1 IoCs
resource yara_rule behavioral2/memory/2492-4-0x0000000000400000-0x0000000000410000-memory.dmp family_xworm - Xworm family
- Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
pid Process 4816 powershell.exe 4672 powershell.exe 3412 powershell.exe - Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\AddInProcess32.lnk AddInProcess32.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\AddInProcess32.lnk AddInProcess32.exe - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 3008 set thread context of 2492 3008 4.exe 88 - System Location Discovery: System Language Discovery 1 TTPs 4 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language AddInProcess32.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe - Suspicious behavior: EnumeratesProcesses 7 IoCs
pid Process 4816 powershell.exe 4816 powershell.exe 4672 powershell.exe 4672 powershell.exe 3412 powershell.exe 3412 powershell.exe 2492 AddInProcess32.exe - Suspicious use of AdjustPrivilegeToken 5 IoCs
description pid Process Token: SeDebugPrivilege 3008 4.exe Token: SeDebugPrivilege 2492 AddInProcess32.exe Token: SeDebugPrivilege 4816 powershell.exe Token: SeDebugPrivilege 4672 powershell.exe Token: SeDebugPrivilege 3412 powershell.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 2492 AddInProcess32.exe - Suspicious use of WriteProcessMemory 20 IoCs
description pid Process procid_target PID 3008 wrote to memory of 2492 3008 4.exe 88 PID 3008 wrote to memory of 2492 3008 4.exe 88 PID 3008 wrote to memory of 2492 3008 4.exe 88 PID 3008 wrote to memory of 2492 3008 4.exe 88 PID 3008 wrote to memory of 2492 3008 4.exe 88 PID 3008 wrote to memory of 2492 3008 4.exe 88 PID 3008 wrote to memory of 2492 3008 4.exe 88 PID 3008 wrote to memory of 2492 3008 4.exe 88 PID 3008 wrote to memory of 4564 3008 4.exe 89 PID 3008 wrote to memory of 4564 3008 4.exe 89 PID 3008 wrote to memory of 4564 3008 4.exe 89 PID 2492 wrote to memory of 4816 2492 AddInProcess32.exe 96 PID 2492 wrote to memory of 4816 2492 AddInProcess32.exe 96 PID 2492 wrote to memory of 4816 2492 AddInProcess32.exe 96 PID 2492 wrote to memory of 4672 2492 AddInProcess32.exe 101 PID 2492 wrote to memory of 4672 2492 AddInProcess32.exe 101 PID 2492 wrote to memory of 4672 2492 AddInProcess32.exe 101 PID 2492 wrote to memory of 3412 2492 AddInProcess32.exe 103 PID 2492 wrote to memory of 3412 2492 AddInProcess32.exe 103 PID 2492 wrote to memory of 3412 2492 AddInProcess32.exe 103
Processes
-
C:\Users\Admin\AppData\Local\Temp\4.exe"C:\Users\Admin\AppData\Local\Temp\4.exe"1⤵
- Suspicious use of SetThreadContext
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:3008 -
C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"2⤵
- Drops startup file
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:2492 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe'3⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4816
-
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'AddInProcess32.exe'3⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4672
-
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Roaming\AddInProcess32.exe'3⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3412
-
-
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"2⤵PID:4564
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log
- Size 2KB
- SHA256 92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
- MD5 968cb9309758126772781b83adb8a28f
- SHA1 8da30e71accf186b2ba11da1797cf67f8f78b47c
- SHA512 4bd50732f8af4d688d95999bddfd296115d7033ddc38f86c9fb1f47fde202bffa27e9088bebcaa3064ca946af2f5c1ca6cbde49d0907f0005c7ab42874515dd3
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 18KB
- SHA256 bace00fbf02209bc56668ba6acd645a215c16bffb04d4c0475c2bc9aca8833ff
- MD5 9ff3b84e231ba2d82a41d966428c1bd1
- SHA1 df6b9455a531c5f05e46b296be15b9914832846c
- SHA512 ef009bca28d4adfa63bdb0c5a08ffa4b7b258c2475db2d914acae7e9385112e6fae39273ca6abda292d1250048cc095611312b668cc79c5aeab0172677906c93
- SSDEEP 384:rsf+Bo9i+3gDlipJ1mXckopToX4K6seYwMEV03SoZBfYSg8jEDkGQ0gdMtkKhD:wf+wSpopToX4NfrmSUWiED7Cm3
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 18KB
- SHA256 6a66c7e2c4e10864870a804e88c8cdbaaccfd57a27e7259856884f9a9a71f223
- MD5 91c47c45ac0c9bd2ef97cdc469a975d2
- SHA1 d5fc1240bab120770605ffbc2fc185b59804063f
- SHA512 3ca671d7519752b48409adf0c6f0123343c07414d16cfd2621b2bfa5af6a81ffc6bf1f5c4a9a29f9f07032d9d5352d3bb32ef1b3df679bed8c8076b24db0ec1c
- SSDEEP 384:Csf+Bz991zEAHuBbsBiNsNY19LG3oUZ+nL+nFVkki0SO1:ff6RO6oNsNAmfZ+KFiki0H
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_scn1fs3c.1ni.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512