Analysis

  • max time kernel
    51s
  • max time network
    60s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/06/2024, 01:53

General

  • Target
    ca2c60a4f253b6ada21e90eead405890a1a11d055016d9523cfba9f0ccfc30e0.exe
  • Size 896KB
  • Sample240614-cbc4ns1cjc
  • SHA256 ca2c60a4f253b6ada21e90eead405890a1a11d055016d9523cfba9f0ccfc30e0
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

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.

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

  • 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 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\ca2c60a4f253b6ada21e90eead405890a1a11d055016d9523cfba9f0ccfc30e0.exe
    "C:\Users\Admin\AppData\Local\Temp\ca2c60a4f253b6ada21e90eead405890a1a11d055016d9523cfba9f0ccfc30e0.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2624
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\dFTpCxW.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3988
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\dFTpCxW" /XML "C:\Users\Admin\AppData\Local\Temp\tmp879F.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2748
    • C:\Users\Admin\AppData\Local\Temp\ca2c60a4f253b6ada21e90eead405890a1a11d055016d9523cfba9f0ccfc30e0.exe
      "C:\Users\Admin\AppData\Local\Temp\ca2c60a4f253b6ada21e90eead405890a1a11d055016d9523cfba9f0ccfc30e0.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:1772

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_udlg5i3y.fmx.ps1

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

        tmp879F.tmp

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

        memory/1772-33-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/1772-35-0x0000000074490000-0x0000000074C40000-memory.dmp

        memory/1772-64-0x0000000006E20000-0x0000000006E70000-memory.dmp

        memory/1772-65-0x0000000074490000-0x0000000074C40000-memory.dmp

        memory/2624-8-0x00000000073D0000-0x0000000007454000-memory.dmp

        memory/2624-7-0x0000000006020000-0x0000000006030000-memory.dmp

        memory/2624-6-0x00000000073B0000-0x00000000073CA000-memory.dmp

        memory/2624-9-0x0000000009A40000-0x0000000009ADC000-memory.dmp

        memory/2624-5-0x0000000074490000-0x0000000074C40000-memory.dmp

        memory/2624-4-0x0000000005B10000-0x0000000005B1A000-memory.dmp

        memory/2624-36-0x0000000074490000-0x0000000074C40000-memory.dmp

        memory/2624-3-0x0000000005B20000-0x0000000005BB2000-memory.dmp

        memory/2624-2-0x0000000006030000-0x00000000065D4000-memory.dmp

        memory/2624-1-0x0000000000C70000-0x0000000000D56000-memory.dmp

        memory/2624-0-0x000000007449E000-0x000000007449F000-memory.dmp

        memory/3988-19-0x0000000005940000-0x0000000005962000-memory.dmp

        memory/3988-52-0x0000000007A30000-0x00000000080AA000-memory.dmp

        memory/3988-32-0x0000000005AC0000-0x0000000005E14000-memory.dmp

        memory/3988-22-0x0000000005A50000-0x0000000005AB6000-memory.dmp

        memory/3988-21-0x00000000059E0000-0x0000000005A46000-memory.dmp

        memory/3988-17-0x0000000074490000-0x0000000074C40000-memory.dmp

        memory/3988-16-0x0000000005310000-0x0000000005938000-memory.dmp

        memory/3988-37-0x00000000060D0000-0x00000000060EE000-memory.dmp

        memory/3988-38-0x00000000063B0000-0x00000000063FC000-memory.dmp

        memory/3988-39-0x0000000006690000-0x00000000066C2000-memory.dmp

        memory/3988-40-0x0000000074CF0000-0x0000000074D3C000-memory.dmp

        memory/3988-50-0x0000000006670000-0x000000000668E000-memory.dmp

        memory/3988-51-0x00000000072A0000-0x0000000007343000-memory.dmp

        memory/3988-20-0x0000000074490000-0x0000000074C40000-memory.dmp

        memory/3988-53-0x00000000073F0000-0x000000000740A000-memory.dmp

        memory/3988-54-0x0000000007460000-0x000000000746A000-memory.dmp

        memory/3988-55-0x0000000007670000-0x0000000007706000-memory.dmp

        memory/3988-56-0x00000000075F0000-0x0000000007601000-memory.dmp

        memory/3988-57-0x0000000007620000-0x000000000762E000-memory.dmp

        memory/3988-58-0x0000000007630000-0x0000000007644000-memory.dmp

        memory/3988-59-0x0000000007730000-0x000000000774A000-memory.dmp

        memory/3988-60-0x0000000007710000-0x0000000007718000-memory.dmp

        memory/3988-63-0x0000000074490000-0x0000000074C40000-memory.dmp

        memory/3988-15-0x0000000074490000-0x0000000074C40000-memory.dmp

        memory/3988-14-0x0000000002790000-0x00000000027C6000-memory.dmp