Analysis

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

    arch:x64arch:x86image:win10v2004-20230221-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16/05/2023, 09:08

General

  • Target
    invoice.exe
  • Size 782KB
  • Sample230516-k3wdbsaf2z
  • SHA256 7c32af309a2521511d759a08cdc7cefc647e94cbdd590e7f7ef8ef24fa8b539a
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot5814058627:AAFjPgERfyp3AZJXAfISMezajcw2VR_A_9U/

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.

  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • 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 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 11 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\invoice.exe
    "C:\Users\Admin\AppData\Local\Temp\invoice.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4100
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\vHvvnYx" /XML "C:\Users\Admin\AppData\Local\Temp\tmpF32F.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:5116
    • C:\Users\Admin\AppData\Local\Temp\invoice.exe
      "{path}"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Adds Run key to start application
      • Suspicious use of AdjustPrivilegeToken
      • outlook_office_path
      • outlook_win_path
      PID:3188

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        invoice.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\invoice.exe.log
        • Size 1KB
        • SHA256 c18db6aecad2436da4a63ff26af4e3a337cca48f01c21b8db494fe5ccc60e553
        • MD5 SHA1 SHA512

        tmpF32F.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmpF32F.tmp
        • Size 1KB
        • SHA256 2d27bbdd1450729d5e95ba764f7b1fd3b079b68a38f4c0af8322cdc9ef9342b1
        • MD5 SHA1 SHA512

        memory/3188-148-0x00000000051E0000-0x00000000051F0000-memory.dmp

        memory/3188-144-0x0000000000400000-0x0000000000430000-memory.dmp

        memory/3188-158-0x00000000051E0000-0x00000000051F0000-memory.dmp

        memory/3188-151-0x0000000006D80000-0x0000000006F42000-memory.dmp

        memory/3188-150-0x0000000006B30000-0x0000000006B80000-memory.dmp

        memory/3188-147-0x0000000005060000-0x00000000050C6000-memory.dmp

        memory/4100-139-0x00000000056A0000-0x00000000056B0000-memory.dmp

        memory/4100-135-0x0000000005990000-0x0000000005F34000-memory.dmp

        memory/4100-134-0x00000000052D0000-0x000000000536C000-memory.dmp

        memory/4100-140-0x00000000056A0000-0x00000000056B0000-memory.dmp

        memory/4100-133-0x0000000000850000-0x000000000091A000-memory.dmp

        memory/4100-136-0x0000000005480000-0x0000000005512000-memory.dmp

        memory/4100-138-0x00000000053E0000-0x0000000005436000-memory.dmp

        memory/4100-137-0x0000000002F70000-0x0000000002F7A000-memory.dmp