Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31/01/2024, 09:24

General

  • Target
    SecuriteInfo.com.Trojan-Spy.AgentTesla.13943.2161.exe
  • Size 692KB
  • Sample240131-lc2m4ahah9
  • SHA256 7a97e2e571d16bf14763fe2fdf5802a2c01e4d103b7eb98b9784a09b4d9cdc01
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.coperwire.com

  • Port

    587

  • Password

    ogadiMMA1!

Extracted

Family
  • agenttesla

Credentials

Signatures

  • AgentTesla

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

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • 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
  • Enumerates physical storage devices 1 TTPs

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\SecuriteInfo.com.Trojan-Spy.AgentTesla.13943.2161.exe
    "C:\Users\Admin\AppData\Local\Temp\SecuriteInfo.com.Trojan-Spy.AgentTesla.13943.2161.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2144
    • 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\SecuriteInfo.com.Trojan-Spy.AgentTesla.13943.2161.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3488
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\saRPmcY.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1804
    • C:\Users\Admin\AppData\Local\Temp\SecuriteInfo.com.Trojan-Spy.AgentTesla.13943.2161.exe
      "C:\Users\Admin\AppData\Local\Temp\SecuriteInfo.com.Trojan-Spy.AgentTesla.13943.2161.exe"
      2⤵
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:752
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\saRPmcY" /XML "C:\Users\Admin\AppData\Local\Temp\tmpAA3A.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:3228

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_brmogutp.5oe.ps1

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

        tmpAA3A.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmpAA3A.tmp
        • Size 1KB
        • SHA256 970d34f7af1bbf7acbc11ea632220811453f68a6ed66a696a86c0176e75bcabb
        • MD5 SHA1 SHA512

        memory/752-51-0x00000000052B0000-0x00000000052C0000-memory.dmp

        memory/752-49-0x0000000074F40000-0x00000000756F0000-memory.dmp

        memory/752-34-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/752-96-0x0000000006D20000-0x0000000006D70000-memory.dmp

        memory/752-97-0x0000000074F40000-0x00000000756F0000-memory.dmp

        memory/752-98-0x00000000052B0000-0x00000000052C0000-memory.dmp

        memory/1804-78-0x0000000005250000-0x0000000005260000-memory.dmp

        memory/1804-80-0x0000000005250000-0x0000000005260000-memory.dmp

        memory/1804-53-0x0000000006A70000-0x0000000006ABC000-memory.dmp

        memory/1804-25-0x0000000074F40000-0x00000000756F0000-memory.dmp

        memory/1804-90-0x0000000007BF0000-0x0000000007BF8000-memory.dmp

        memory/1804-87-0x0000000007B00000-0x0000000007B0E000-memory.dmp

        memory/1804-88-0x0000000007B10000-0x0000000007B24000-memory.dmp

        memory/1804-79-0x00000000077A0000-0x0000000007843000-memory.dmp

        memory/1804-55-0x000000007F830000-0x000000007F840000-memory.dmp

        memory/1804-83-0x00000000078D0000-0x00000000078EA000-memory.dmp

        memory/1804-94-0x0000000074F40000-0x00000000756F0000-memory.dmp

        memory/1804-58-0x00000000757B0000-0x00000000757FC000-memory.dmp

        memory/1804-52-0x0000000006590000-0x00000000065AE000-memory.dmp

        memory/1804-54-0x0000000007760000-0x0000000007792000-memory.dmp

        memory/1804-27-0x0000000005250000-0x0000000005260000-memory.dmp

        memory/2144-11-0x0000000009850000-0x00000000098EC000-memory.dmp

        memory/2144-0-0x00000000008E0000-0x0000000000994000-memory.dmp

        memory/2144-4-0x0000000005470000-0x00000000057C4000-memory.dmp

        memory/2144-1-0x0000000074F40000-0x00000000756F0000-memory.dmp

        memory/2144-17-0x0000000005340000-0x0000000005350000-memory.dmp

        memory/2144-50-0x0000000074F40000-0x00000000756F0000-memory.dmp

        memory/2144-12-0x0000000074F40000-0x00000000756F0000-memory.dmp

        memory/2144-3-0x00000000053D0000-0x0000000005462000-memory.dmp

        memory/2144-10-0x00000000071B0000-0x0000000007234000-memory.dmp

        memory/2144-9-0x0000000006E60000-0x0000000006E74000-memory.dmp

        memory/2144-8-0x0000000006E50000-0x0000000006E5E000-memory.dmp

        memory/2144-7-0x0000000006190000-0x00000000061AC000-memory.dmp

        memory/2144-6-0x00000000058A0000-0x00000000058AA000-memory.dmp

        memory/2144-5-0x0000000005340000-0x0000000005350000-memory.dmp

        memory/2144-2-0x0000000005980000-0x0000000005F24000-memory.dmp

        memory/3488-19-0x00000000054B0000-0x0000000005AD8000-memory.dmp

        memory/3488-85-0x0000000007890000-0x0000000007926000-memory.dmp

        memory/3488-86-0x0000000007810000-0x0000000007821000-memory.dmp

        memory/3488-68-0x0000000007240000-0x000000000725E000-memory.dmp

        memory/3488-57-0x000000007FDF0000-0x000000007FE00000-memory.dmp

        memory/3488-56-0x00000000757B0000-0x00000000757FC000-memory.dmp

        memory/3488-84-0x0000000007680000-0x000000000768A000-memory.dmp

        memory/3488-82-0x0000000007C50000-0x00000000082CA000-memory.dmp

        memory/3488-81-0x0000000004E70000-0x0000000004E80000-memory.dmp

        memory/3488-89-0x0000000007950000-0x000000000796A000-memory.dmp

        memory/3488-18-0x0000000004D10000-0x0000000004D46000-memory.dmp

        memory/3488-26-0x0000000005B50000-0x0000000005BB6000-memory.dmp

        memory/3488-28-0x0000000005CC0000-0x0000000005D26000-memory.dmp

        memory/3488-23-0x0000000005320000-0x0000000005342000-memory.dmp

        memory/3488-93-0x0000000074F40000-0x00000000756F0000-memory.dmp

        memory/3488-21-0x0000000004E70000-0x0000000004E80000-memory.dmp

        memory/3488-22-0x0000000004E70000-0x0000000004E80000-memory.dmp

        memory/3488-20-0x0000000074F40000-0x00000000756F0000-memory.dmp