Analysis

  • max time kernel
    123s
  • max time network
    148s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220812-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02/11/2022, 14:53

General

  • Target
    e4d759c3be1ffffb65dedc540d319bab.exe
  • Size 665KB
  • Sample221102-r9a5ashfc8
  • SHA256 172bf551662345dcf072f3dd78e9f3bff20183be4d5f31f44e3de8795e856fe5
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot5169304639:AAEuGpfCL-hv_A-RdB_r9uRMHt_yvJZb2Z8/

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\e4d759c3be1ffffb65dedc540d319bab.exe
    "C:\Users\Admin\AppData\Local\Temp\e4d759c3be1ffffb65dedc540d319bab.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3444
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\XkZDTwcLUiTx.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4224
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\XkZDTwcLUiTx" /XML "C:\Users\Admin\AppData\Local\Temp\tmp47E6.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:204
    • C:\Users\Admin\AppData\Local\Temp\e4d759c3be1ffffb65dedc540d319bab.exe
      "C:\Users\Admin\AppData\Local\Temp\e4d759c3be1ffffb65dedc540d319bab.exe"
      2⤵
        PID:3568
      • C:\Users\Admin\AppData\Local\Temp\e4d759c3be1ffffb65dedc540d319bab.exe
        "C:\Users\Admin\AppData\Local\Temp\e4d759c3be1ffffb65dedc540d319bab.exe"
        2⤵
        • Accesses Microsoft Outlook profiles
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        • outlook_office_path
        • outlook_win_path
        PID:1728

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          e4d759c3be1ffffb65dedc540d319bab.exe.log

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

          tmp47E6.tmp

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

          memory/1728-144-0x0000000000400000-0x000000000043C000-memory.dmp

          memory/1728-160-0x0000000006D00000-0x0000000006D50000-memory.dmp

          memory/3444-133-0x00000000051F0000-0x0000000005794000-memory.dmp

          memory/3444-134-0x0000000004CE0000-0x0000000004D72000-memory.dmp

          memory/3444-135-0x0000000004F90000-0x0000000004F9A000-memory.dmp

          memory/3444-136-0x0000000007900000-0x000000000799C000-memory.dmp

          memory/3444-132-0x00000000003A0000-0x000000000044C000-memory.dmp

          memory/4224-146-0x0000000005B80000-0x0000000005BA2000-memory.dmp

          memory/4224-153-0x0000000007CF0000-0x000000000836A000-memory.dmp

          memory/4224-139-0x0000000004D30000-0x0000000004D66000-memory.dmp

          memory/4224-147-0x0000000005C20000-0x0000000005C86000-memory.dmp

          memory/4224-148-0x0000000005D00000-0x0000000005D66000-memory.dmp

          memory/4224-149-0x0000000006380000-0x000000000639E000-memory.dmp

          memory/4224-150-0x0000000007540000-0x0000000007572000-memory.dmp

          memory/4224-151-0x00000000708B0000-0x00000000708FC000-memory.dmp

          memory/4224-152-0x0000000006940000-0x000000000695E000-memory.dmp

          memory/4224-142-0x00000000053F0000-0x0000000005A18000-memory.dmp

          memory/4224-154-0x00000000076A0000-0x00000000076BA000-memory.dmp

          memory/4224-155-0x0000000007710000-0x000000000771A000-memory.dmp

          memory/4224-156-0x0000000007920000-0x00000000079B6000-memory.dmp

          memory/4224-157-0x00000000078D0000-0x00000000078DE000-memory.dmp

          memory/4224-158-0x00000000079E0000-0x00000000079FA000-memory.dmp

          memory/4224-159-0x00000000079C0000-0x00000000079C8000-memory.dmp