Analysis

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

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17/06/2024, 01:22

General

  • Target
    ca5dcedd7ec428925761dbfbfce7c040808f4084b1163a288db3f4d239d4fa37.exe
  • Size 768KB
  • Sample240617-brn1fasapm
  • SHA256 ca5dcedd7ec428925761dbfbfce7c040808f4084b1163a288db3f4d239d4fa37
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    smtp.yandex.com

  • Port

    587

  • Password

    @Veronica24

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 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 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 10 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\ca5dcedd7ec428925761dbfbfce7c040808f4084b1163a288db3f4d239d4fa37.exe
    "C:\Users\Admin\AppData\Local\Temp\ca5dcedd7ec428925761dbfbfce7c040808f4084b1163a288db3f4d239d4fa37.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1448
    • 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\ca5dcedd7ec428925761dbfbfce7c040808f4084b1163a288db3f4d239d4fa37.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4512
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\xWZqxrbS.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4956
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\xWZqxrbS" /XML "C:\Users\Admin\AppData\Local\Temp\tmpCB7E.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:3168
    • C:\Users\Admin\AppData\Local\Temp\ca5dcedd7ec428925761dbfbfce7c040808f4084b1163a288db3f4d239d4fa37.exe
      "C:\Users\Admin\AppData\Local\Temp\ca5dcedd7ec428925761dbfbfce7c040808f4084b1163a288db3f4d239d4fa37.exe"
      2⤵
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:1072

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 535681effab478593944267ce1ec1cdcb9616e1f9fdf2894c91dfc4d54c872d7
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_rfw4vlhx.fa2.ps1

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

        tmpCB7E.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmpCB7E.tmp
        • Size 1KB
        • SHA256 5554b97fc5b44a85ea49eb0b2881c95a051d2cd747188e50bbe7d08bd2c3d777
        • MD5 SHA1 SHA512

        memory/1072-36-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/1072-83-0x0000000007110000-0x0000000007160000-memory.dmp

        memory/1448-4-0x00000000054E0000-0x00000000054EA000-memory.dmp

        memory/1448-7-0x0000000005AC0000-0x0000000005AD0000-memory.dmp

        memory/1448-8-0x0000000007EC0000-0x0000000007F44000-memory.dmp

        memory/1448-9-0x000000000A610000-0x000000000A6AC000-memory.dmp

        memory/1448-6-0x0000000005880000-0x000000000589A000-memory.dmp

        memory/1448-5-0x0000000074660000-0x0000000074E10000-memory.dmp

        memory/1448-3-0x0000000005520000-0x00000000055B2000-memory.dmp

        memory/1448-47-0x0000000074660000-0x0000000074E10000-memory.dmp

        memory/1448-2-0x0000000005AD0000-0x0000000006074000-memory.dmp

        memory/1448-1-0x0000000000A10000-0x0000000000AD6000-memory.dmp

        memory/1448-0-0x000000007466E000-0x000000007466F000-memory.dmp

        memory/4512-34-0x0000000005D50000-0x00000000060A4000-memory.dmp

        memory/4512-72-0x0000000007350000-0x00000000073F3000-memory.dmp

        memory/4512-90-0x0000000074660000-0x0000000074E10000-memory.dmp

        memory/4512-20-0x0000000005540000-0x00000000055A6000-memory.dmp

        memory/4512-19-0x00000000054A0000-0x00000000054C2000-memory.dmp

        memory/4512-21-0x00000000055B0000-0x0000000005616000-memory.dmp

        memory/4512-14-0x0000000002A40000-0x0000000002A76000-memory.dmp

        memory/4512-18-0x0000000074660000-0x0000000074E10000-memory.dmp

        memory/4512-17-0x0000000074660000-0x0000000074E10000-memory.dmp

        memory/4512-48-0x0000000006330000-0x000000000634E000-memory.dmp

        memory/4512-49-0x00000000063D0000-0x000000000641C000-memory.dmp

        memory/4512-15-0x0000000005660000-0x0000000005C88000-memory.dmp

        memory/4512-16-0x0000000074660000-0x0000000074E10000-memory.dmp

        memory/4512-61-0x0000000074EC0000-0x0000000074F0C000-memory.dmp

        memory/4512-82-0x00000000079B0000-0x00000000079B8000-memory.dmp

        memory/4512-81-0x00000000079D0000-0x00000000079EA000-memory.dmp

        memory/4512-80-0x00000000078D0000-0x00000000078E4000-memory.dmp

        memory/4512-78-0x0000000007890000-0x00000000078A1000-memory.dmp

        memory/4512-75-0x0000000007700000-0x000000000770A000-memory.dmp

        memory/4956-76-0x0000000007A60000-0x0000000007AF6000-memory.dmp

        memory/4956-74-0x00000000077E0000-0x00000000077FA000-memory.dmp

        memory/4956-79-0x0000000007A10000-0x0000000007A1E000-memory.dmp

        memory/4956-73-0x0000000007E30000-0x00000000084AA000-memory.dmp

        memory/4956-23-0x0000000074660000-0x0000000074E10000-memory.dmp

        memory/4956-70-0x0000000006A70000-0x0000000006A8E000-memory.dmp

        memory/4956-51-0x0000000074EC0000-0x0000000074F0C000-memory.dmp

        memory/4956-86-0x0000000074660000-0x0000000074E10000-memory.dmp

        memory/4956-50-0x0000000007690000-0x00000000076C2000-memory.dmp

        memory/4956-35-0x0000000074660000-0x0000000074E10000-memory.dmp

        memory/4956-24-0x0000000074660000-0x0000000074E10000-memory.dmp