Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/11/2024, 02:15

General

  • Target
    4ca5d1f4f3b52383886d6338b63b138961fc496a70a98c4e2e0a1bf1d6f646d6.exe
  • Size 769KB
  • Sample241115-cpk2faxbmd
  • SHA256 4ca5d1f4f3b52383886d6338b63b138961fc496a70a98c4e2e0a1bf1d6f646d6
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot6852245174:AAHgk_9s-tH6YNacTaCnQz56uJMggI0fZDw/

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 13 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\4ca5d1f4f3b52383886d6338b63b138961fc496a70a98c4e2e0a1bf1d6f646d6.exe
    "C:\Users\Admin\AppData\Local\Temp\4ca5d1f4f3b52383886d6338b63b138961fc496a70a98c4e2e0a1bf1d6f646d6.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:1624
    • 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\4ca5d1f4f3b52383886d6338b63b138961fc496a70a98c4e2e0a1bf1d6f646d6.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:908
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\OElBPHSPcFu.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3960
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\OElBPHSPcFu" /XML "C:\Users\Admin\AppData\Local\Temp\tmpF00A.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:3292
    • C:\Users\Admin\AppData\Local\Temp\4ca5d1f4f3b52383886d6338b63b138961fc496a70a98c4e2e0a1bf1d6f646d6.exe
      "C:\Users\Admin\AppData\Local\Temp\4ca5d1f4f3b52383886d6338b63b138961fc496a70a98c4e2e0a1bf1d6f646d6.exe"
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:1912

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 89a4367717e683b98427b1469248055a9b35e1f567548122224ad3ecb886ea3c
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_d3i135lt.aqw.ps1

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

        tmpF00A.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmpF00A.tmp
        • Size 1KB
        • SHA256 9daf4e11281616d51b8e038ff855d4d4c50fad4f15e61c6738f7eaef0380f267
        • MD5 SHA1 SHA512

        memory/908-28-0x0000000005A20000-0x0000000005D74000-memory.dmp

        memory/908-24-0x0000000005940000-0x00000000059A6000-memory.dmp

        memory/908-78-0x0000000007560000-0x0000000007571000-memory.dmp

        memory/908-79-0x0000000007590000-0x000000000759E000-memory.dmp

        memory/908-80-0x00000000075A0000-0x00000000075B4000-memory.dmp

        memory/908-89-0x00000000752C0000-0x0000000075A70000-memory.dmp

        memory/908-22-0x0000000005070000-0x0000000005092000-memory.dmp

        memory/908-15-0x0000000002720000-0x0000000002756000-memory.dmp

        memory/908-17-0x0000000005310000-0x0000000005938000-memory.dmp

        memory/908-16-0x00000000752C0000-0x0000000075A70000-memory.dmp

        memory/908-18-0x00000000752C0000-0x0000000075A70000-memory.dmp

        memory/908-25-0x00000000059B0000-0x0000000005A16000-memory.dmp

        memory/908-21-0x00000000752C0000-0x0000000075A70000-memory.dmp

        memory/908-64-0x0000000075B20000-0x0000000075B6C000-memory.dmp

        memory/1624-4-0x0000000005320000-0x00000000053BC000-memory.dmp

        memory/1624-5-0x0000000005260000-0x000000000526A000-memory.dmp

        memory/1624-6-0x00000000752C0000-0x0000000075A70000-memory.dmp

        memory/1624-1-0x0000000000790000-0x0000000000856000-memory.dmp

        memory/1624-2-0x0000000005790000-0x0000000005D34000-memory.dmp

        memory/1624-3-0x0000000005280000-0x0000000005312000-memory.dmp

        memory/1624-39-0x00000000752C0000-0x0000000075A70000-memory.dmp

        memory/1624-0-0x00000000752CE000-0x00000000752CF000-memory.dmp

        memory/1624-10-0x0000000006840000-0x00000000068C8000-memory.dmp

        memory/1624-9-0x00000000752C0000-0x0000000075A70000-memory.dmp

        memory/1624-7-0x0000000005780000-0x0000000005792000-memory.dmp

        memory/1624-8-0x00000000752CE000-0x00000000752CF000-memory.dmp

        memory/1912-83-0x00000000067E0000-0x0000000006830000-memory.dmp

        memory/1912-27-0x0000000000400000-0x0000000000444000-memory.dmp

        memory/3960-19-0x00000000752C0000-0x0000000075A70000-memory.dmp

        memory/3960-63-0x0000000006F80000-0x0000000007023000-memory.dmp

        memory/3960-74-0x0000000007710000-0x0000000007D8A000-memory.dmp

        memory/3960-75-0x00000000070C0000-0x00000000070DA000-memory.dmp

        memory/3960-76-0x0000000007140000-0x000000000714A000-memory.dmp

        memory/3960-77-0x0000000007340000-0x00000000073D6000-memory.dmp

        memory/3960-51-0x00000000063A0000-0x00000000063D2000-memory.dmp

        memory/3960-62-0x0000000006340000-0x000000000635E000-memory.dmp

        memory/3960-52-0x0000000075B20000-0x0000000075B6C000-memory.dmp

        memory/3960-81-0x0000000007400000-0x000000000741A000-memory.dmp

        memory/3960-82-0x00000000073E0000-0x00000000073E8000-memory.dmp

        memory/3960-50-0x0000000005F00000-0x0000000005F4C000-memory.dmp

        memory/3960-49-0x0000000005DA0000-0x0000000005DBE000-memory.dmp

        memory/3960-23-0x00000000752C0000-0x0000000075A70000-memory.dmp

        memory/3960-26-0x00000000752C0000-0x0000000075A70000-memory.dmp

        memory/3960-90-0x00000000752C0000-0x0000000075A70000-memory.dmp