Analysis

  • max time kernel
    138s
  • max time network
    143s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220901-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16/01/2023, 15:31

General

  • Target
    IAENMAIL-A4-220520-0830-0002708.pdf.exe
  • Size 17KB
  • Sample230116-sx2bdsdb5y
  • SHA256 05ebb9fe19cb49a3a1813f4da3c3075536ebdea7cf87774456dbf47ad642409e
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot2122434962:AAFqluKwJfwmfN8BZ9xq0IjlIijJbDmwbKs/

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). Likely ransomware behaviour.

  • Suspicious behavior: EnumeratesProcesses 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 11 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\IAENMAIL-A4-220520-0830-0002708.pdf.exe
    "C:\Users\Admin\AppData\Local\Temp\IAENMAIL-A4-220520-0830-0002708.pdf.exe"
    1⤵
    • Checks computer location settings
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3256
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ENC cwB0AGEAcgB0AC0AcwBsAGUAZQBwACAALQBzAGUAYwBvAG4AZABzACAAMgAwAA==
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:408
    • C:\Users\Admin\AppData\Local\Temp\IAENMAIL-A4-220520-0830-0002708.pdf.exe
      C:\Users\Admin\AppData\Local\Temp\IAENMAIL-A4-220520-0830-0002708.pdf.exe
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • outlook_office_path
      • outlook_win_path
      PID:2384

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        IAENMAIL-A4-220520-0830-0002708.pdf.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\IAENMAIL-A4-220520-0830-0002708.pdf.exe.log
        • Size 1KB
        • SHA256 5db52f2a6a0fbfaa29e27418a1b72b660298dfa58a12ac0f12897a06e557caef
        • MD5 SHA1 SHA512

        memory/408-144-0x0000000005F40000-0x0000000005F5A000-memory.dmp

        memory/408-142-0x0000000005A50000-0x0000000005A6E000-memory.dmp

        memory/408-141-0x0000000005440000-0x00000000054A6000-memory.dmp

        memory/408-143-0x0000000007090000-0x000000000770A000-memory.dmp

        memory/408-138-0x0000000002490000-0x00000000024C6000-memory.dmp

        memory/408-139-0x0000000004C30000-0x0000000005258000-memory.dmp

        memory/408-140-0x00000000053D0000-0x0000000005436000-memory.dmp

        memory/2384-146-0x0000000000400000-0x000000000043C000-memory.dmp

        memory/2384-148-0x0000000005440000-0x00000000054DC000-memory.dmp

        memory/2384-149-0x0000000006A60000-0x0000000006AB0000-memory.dmp

        memory/3256-134-0x0000000004C10000-0x0000000004CA2000-memory.dmp

        memory/3256-136-0x00000000065C0000-0x00000000065E2000-memory.dmp

        memory/3256-135-0x0000000004BF0000-0x0000000004BFA000-memory.dmp

        memory/3256-132-0x0000000000370000-0x000000000037A000-memory.dmp

        memory/3256-133-0x0000000005120000-0x00000000056C4000-memory.dmp