Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24/01/2025, 07:47

General

  • Target
    RH-098765000.exe
  • Size 745KB
  • Sample250124-jmh8dsxnfy
  • SHA256 89260b07ae5d0858db8a14a8b7cd9e2c1bcd064f5596e7e0cea1665c7f0c496b
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    ftp

  • Host

    ftp.antoniomayol.com

  • Port

    21

  • Password

    cMhKDQUk1{;%

Extracted

Family
  • agenttesla

Credentials
  • Protocol

    ftp

  • Host

    ftp://ftp.antoniomayol.com:21

  • Port

    21

  • Password

    cMhKDQUk1{;%

Signatures

  • AgentTesla

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

  • Agenttesla family
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 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 3 TTPs

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

  • 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
  • Enumerates physical storage devices 1 TTPs

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

  • System Location Discovery: System Language Discovery 1 TTPs 5 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • 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 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\RH-098765000.exe
    "C:\Users\Admin\AppData\Local\Temp\RH-098765000.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1360
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\RH-098765000.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1196
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\YUNDEs.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4828
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\YUNDEs" /XML "C:\Users\Admin\AppData\Local\Temp\tmp4AE.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:1344
    • C:\Users\Admin\AppData\Local\Temp\RH-098765000.exe
      "C:\Users\Admin\AppData\Local\Temp\RH-098765000.exe"
      2⤵
        PID:2788
      • C:\Users\Admin\AppData\Local\Temp\RH-098765000.exe
        "C:\Users\Admin\AppData\Local\Temp\RH-098765000.exe"
        2⤵
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4232

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          powershell.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log
          • Size 2KB
          • SHA256 92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 18KB
          • SHA256 6d62cf1efafea1167d24d4aef2385f5382522800ae7f15938befa30689a66df1
          • MD5 SHA1 SHA512 SSDEEP

          __PSScriptPolicyTest_bokn2han.lbl.ps1

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

          tmp4AE.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp4AE.tmp
          • Size 1KB
          • SHA256 7c96f638a5d4e49cee09767d32fb0d4c747633d9a6bcb69c51a49b5c8fc0806a
          • MD5 SHA1 SHA512

          memory/1196-45-0x0000000074B90000-0x0000000075340000-memory.dmp

          memory/1196-18-0x0000000074B90000-0x0000000075340000-memory.dmp

          memory/1196-77-0x00000000076E0000-0x0000000007776000-memory.dmp

          memory/1196-78-0x0000000007660000-0x0000000007671000-memory.dmp

          memory/1196-82-0x0000000007780000-0x0000000007788000-memory.dmp

          memory/1196-89-0x0000000074B90000-0x0000000075340000-memory.dmp

          memory/1196-64-0x0000000071260000-0x00000000712AC000-memory.dmp

          memory/1196-15-0x0000000002810000-0x0000000002846000-memory.dmp

          memory/1196-16-0x0000000074B90000-0x0000000075340000-memory.dmp

          memory/1360-10-0x0000000004900000-0x0000000004986000-memory.dmp

          memory/1360-7-0x00000000062C0000-0x00000000062DE000-memory.dmp

          memory/1360-0-0x0000000074B9E000-0x0000000074B9F000-memory.dmp

          memory/1360-9-0x0000000074B90000-0x0000000075340000-memory.dmp

          memory/1360-1-0x00000000003B0000-0x0000000000470000-memory.dmp

          memory/1360-2-0x0000000005470000-0x0000000005A14000-memory.dmp

          memory/1360-8-0x0000000074B9E000-0x0000000074B9F000-memory.dmp

          memory/1360-5-0x0000000004E50000-0x0000000004E5A000-memory.dmp

          memory/1360-4-0x0000000074B90000-0x0000000075340000-memory.dmp

          memory/1360-3-0x0000000004EC0000-0x0000000004F52000-memory.dmp

          memory/1360-6-0x0000000005120000-0x00000000051BC000-memory.dmp

          memory/1360-48-0x0000000074B90000-0x0000000075340000-memory.dmp

          memory/4232-90-0x0000000006D20000-0x0000000006D70000-memory.dmp

          memory/4232-46-0x0000000000400000-0x0000000000442000-memory.dmp

          memory/4828-21-0x0000000004C60000-0x0000000004CC6000-memory.dmp

          memory/4828-50-0x0000000005AC0000-0x0000000005B0C000-memory.dmp

          memory/4828-51-0x00000000069D0000-0x0000000006A02000-memory.dmp

          memory/4828-62-0x0000000006990000-0x00000000069AE000-memory.dmp

          memory/4828-52-0x0000000071260000-0x00000000712AC000-memory.dmp

          memory/4828-63-0x0000000006C10000-0x0000000006CB3000-memory.dmp

          memory/4828-49-0x0000000005A20000-0x0000000005A3E000-memory.dmp

          memory/4828-74-0x0000000007390000-0x0000000007A0A000-memory.dmp

          memory/4828-75-0x0000000006D50000-0x0000000006D6A000-memory.dmp

          memory/4828-76-0x0000000006DC0000-0x0000000006DCA000-memory.dmp

          memory/4828-44-0x0000000074B90000-0x0000000075340000-memory.dmp

          memory/4828-24-0x0000000074B90000-0x0000000075340000-memory.dmp

          memory/4828-79-0x0000000006F80000-0x0000000006F8E000-memory.dmp

          memory/4828-80-0x0000000006F90000-0x0000000006FA4000-memory.dmp

          memory/4828-81-0x0000000007090000-0x00000000070AA000-memory.dmp

          memory/4828-23-0x00000000054C0000-0x0000000005814000-memory.dmp

          memory/4828-22-0x0000000074B90000-0x0000000075340000-memory.dmp

          memory/4828-19-0x0000000004950000-0x0000000004972000-memory.dmp

          memory/4828-88-0x0000000074B90000-0x0000000075340000-memory.dmp

          memory/4828-20-0x0000000004B70000-0x0000000004BD6000-memory.dmp

          memory/4828-17-0x0000000004E90000-0x00000000054B8000-memory.dmp