Analysis

  • max time kernel
    140s
  • max time network
    126s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240611-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21/06/2024, 00:03

General

  • Target
    x5gsmVkSF7JmGXd.exe
  • Size 849KB
  • Sample240621-ab2e6ashra
  • SHA256 2497f324ae5abfa05c6910d020b362d445fbca42cc1e320f0c34ae9851a7efb9
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.pgsu.co.id

  • Port

    587

  • Password

    Vecls16@Vezs

Extracted

Family
  • agenttesla

Credentials

Signatures

  • AgentTesla

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

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • 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 2 TTPs

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

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\x5gsmVkSF7JmGXd.exe
    "C:\Users\Admin\AppData\Local\Temp\x5gsmVkSF7JmGXd.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:552
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\OqLGryksqvTc.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3476
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\OqLGryksqvTc" /XML "C:\Users\Admin\AppData\Local\Temp\tmp7F32.tmp"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:2656
    • C:\Users\Admin\AppData\Local\Temp\x5gsmVkSF7JmGXd.exe
      "C:\Users\Admin\AppData\Local\Temp\x5gsmVkSF7JmGXd.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:1400

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_g3crz3io.npn.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_g3crz3io.npn.ps1
        • Size 60B
        • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
        • MD5 SHA1 SHA512

        tmp7F32.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp7F32.tmp
        • Size 1KB
        • SHA256 a62ce9fa38d0fe8c12dcc6acbd0c6e1edf16c13d2757aa5594922aef44cf0066
        • MD5 SHA1 SHA512

        memory/552-8-0x00000000068B0000-0x00000000068BE000-memory.dmp

        memory/552-11-0x0000000009170000-0x000000000920C000-memory.dmp

        memory/552-4-0x00000000053B0000-0x0000000005704000-memory.dmp

        memory/552-5-0x0000000075000000-0x00000000757B0000-memory.dmp

        memory/552-6-0x00000000057D0000-0x00000000057DA000-memory.dmp

        memory/552-7-0x0000000006080000-0x0000000006096000-memory.dmp

        memory/552-0-0x000000007500E000-0x000000007500F000-memory.dmp

        memory/552-9-0x00000000068C0000-0x00000000068D0000-memory.dmp

        memory/552-10-0x0000000006930000-0x00000000069B2000-memory.dmp

        memory/552-3-0x0000000005310000-0x00000000053A2000-memory.dmp

        memory/552-28-0x0000000075000000-0x00000000757B0000-memory.dmp

        memory/552-2-0x0000000005820000-0x0000000005DC4000-memory.dmp

        memory/552-1-0x00000000007F0000-0x00000000008CA000-memory.dmp

        memory/1400-22-0x0000000000400000-0x0000000000440000-memory.dmp

        memory/1400-58-0x00000000062D0000-0x0000000006320000-memory.dmp

        memory/1400-66-0x0000000075000000-0x00000000757B0000-memory.dmp

        memory/1400-27-0x0000000075000000-0x00000000757B0000-memory.dmp

        memory/3476-26-0x0000000005CE0000-0x0000000005D46000-memory.dmp

        memory/3476-52-0x0000000007310000-0x00000000073B3000-memory.dmp

        memory/3476-19-0x0000000075000000-0x00000000757B0000-memory.dmp

        memory/3476-21-0x0000000075000000-0x00000000757B0000-memory.dmp

        memory/3476-25-0x0000000005B70000-0x0000000005BD6000-memory.dmp

        memory/3476-20-0x0000000005540000-0x0000000005B68000-memory.dmp

        memory/3476-38-0x0000000006320000-0x000000000633E000-memory.dmp

        memory/3476-39-0x00000000063B0000-0x00000000063FC000-memory.dmp

        memory/3476-41-0x0000000075860000-0x00000000758AC000-memory.dmp

        memory/3476-40-0x00000000072D0000-0x0000000007302000-memory.dmp

        memory/3476-51-0x00000000072B0000-0x00000000072CE000-memory.dmp

        memory/3476-24-0x00000000053B0000-0x00000000053D2000-memory.dmp

        memory/3476-53-0x0000000007CA0000-0x000000000831A000-memory.dmp

        memory/3476-54-0x0000000007660000-0x000000000767A000-memory.dmp

        memory/3476-55-0x00000000076D0000-0x00000000076DA000-memory.dmp

        memory/3476-56-0x00000000078E0000-0x0000000007976000-memory.dmp

        memory/3476-57-0x0000000007860000-0x0000000007871000-memory.dmp

        memory/3476-17-0x0000000075000000-0x00000000757B0000-memory.dmp

        memory/3476-59-0x0000000007890000-0x000000000789E000-memory.dmp

        memory/3476-60-0x00000000078A0000-0x00000000078B4000-memory.dmp

        memory/3476-61-0x00000000079A0000-0x00000000079BA000-memory.dmp

        memory/3476-62-0x0000000007980000-0x0000000007988000-memory.dmp

        memory/3476-65-0x0000000075000000-0x00000000757B0000-memory.dmp

        memory/3476-16-0x0000000004D80000-0x0000000004DB6000-memory.dmp