Analysis

  • max time kernel
    122s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    30/05/2024, 01:58

General

  • Target
    bd96ff8caf334468aa3000e517e51c19ac145a154ed3aeb16a270800a47e4daa.exe
  • Size 705KB
  • Sample240530-cd7q3aad7x
  • SHA256 bd96ff8caf334468aa3000e517e51c19ac145a154ed3aeb16a270800a47e4daa
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot6326530812:AAEaPeWO8gwuSDDOiARcprRJbds4ct-T6dQ/

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.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\bd96ff8caf334468aa3000e517e51c19ac145a154ed3aeb16a270800a47e4daa.exe
    "C:\Users\Admin\AppData\Local\Temp\bd96ff8caf334468aa3000e517e51c19ac145a154ed3aeb16a270800a47e4daa.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:2128
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\sDRSnqyDr.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2588
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\sDRSnqyDr" /XML "C:\Users\Admin\AppData\Local\Temp\tmp6548.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2728
    • C:\Users\Admin\AppData\Local\Temp\bd96ff8caf334468aa3000e517e51c19ac145a154ed3aeb16a270800a47e4daa.exe
      "C:\Users\Admin\AppData\Local\Temp\bd96ff8caf334468aa3000e517e51c19ac145a154ed3aeb16a270800a47e4daa.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:2556

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        tmp6548.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp6548.tmp
        • Size 1KB
        • SHA256 04ed72e1074cd00b94f59a4dd25fe93db3fc3246fdcab41fe4933ecd099a096c
        • MD5 SHA1 SHA512

        memory/2128-26-0x0000000074270000-0x000000007495E000-memory.dmp

        memory/2128-1-0x0000000000CE0000-0x0000000000D96000-memory.dmp

        memory/2128-2-0x0000000074270000-0x000000007495E000-memory.dmp

        memory/2128-3-0x00000000002B0000-0x00000000002C6000-memory.dmp

        memory/2128-4-0x00000000007C0000-0x00000000007CC000-memory.dmp

        memory/2128-5-0x00000000007D0000-0x00000000007E0000-memory.dmp

        memory/2128-6-0x0000000004E20000-0x0000000004EA2000-memory.dmp

        memory/2128-0-0x000000007427E000-0x000000007427F000-memory.dmp

        memory/2556-14-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/2556-24-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/2556-23-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/2556-22-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        memory/2556-20-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/2556-18-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/2556-16-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/2556-25-0x0000000000400000-0x0000000000442000-memory.dmp