Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13/06/2023, 10:33

General

  • Target
    f652ff62cc4b617cc1faf81f1d57a192.exe
  • Size 741KB
  • Sample230613-mlh3sagc8x
  • SHA256 eb4b358d784a43733f3b307b562f7d3282cc07d94be7526cd8600bf8a4bee530
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.agrilivestock.net

  • Port

    587

  • Password

    bk?fbH0ox.EC^

Extracted

Family
  • agenttesla

Credentials

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

  • 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 8 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\f652ff62cc4b617cc1faf81f1d57a192.exe
    "C:\Users\Admin\AppData\Local\Temp\f652ff62cc4b617cc1faf81f1d57a192.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:616
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\tnKxTjIeQjV.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:968
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\tnKxTjIeQjV" /XML "C:\Users\Admin\AppData\Local\Temp\tmp6D31.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:3804
    • C:\Users\Admin\AppData\Local\Temp\f652ff62cc4b617cc1faf81f1d57a192.exe
      "C:\Users\Admin\AppData\Local\Temp\f652ff62cc4b617cc1faf81f1d57a192.exe"
      2⤵
        PID:4480
      • C:\Users\Admin\AppData\Local\Temp\f652ff62cc4b617cc1faf81f1d57a192.exe
        "C:\Users\Admin\AppData\Local\Temp\f652ff62cc4b617cc1faf81f1d57a192.exe"
        2⤵
        • Accesses Microsoft Outlook profiles
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        • outlook_office_path
        • outlook_win_path
        PID:3788

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          __PSScriptPolicyTest_0d1uhnje.3kg.ps1

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

          tmp6D31.tmp

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

          memory/616-134-0x0000000005260000-0x0000000005804000-memory.dmp

          memory/616-135-0x0000000004D50000-0x0000000004DE2000-memory.dmp

          memory/616-136-0x0000000004CE0000-0x0000000004CEA000-memory.dmp

          memory/616-137-0x0000000004EC0000-0x0000000004ED0000-memory.dmp

          memory/616-138-0x0000000004EC0000-0x0000000004ED0000-memory.dmp

          memory/616-139-0x0000000007D10000-0x0000000007DAC000-memory.dmp

          memory/616-133-0x0000000000250000-0x0000000000310000-memory.dmp

          memory/968-145-0x0000000004750000-0x0000000004786000-memory.dmp

          memory/968-177-0x00000000062A0000-0x00000000062BE000-memory.dmp

          memory/968-148-0x0000000004DC0000-0x00000000053E8000-memory.dmp

          memory/968-185-0x0000000007330000-0x0000000007338000-memory.dmp

          memory/968-151-0x0000000004D40000-0x0000000004D62000-memory.dmp

          memory/968-152-0x0000000005520000-0x0000000005586000-memory.dmp

          memory/968-153-0x0000000005690000-0x00000000056F6000-memory.dmp

          memory/968-146-0x0000000000AE0000-0x0000000000AF0000-memory.dmp

          memory/968-184-0x0000000007350000-0x000000000736A000-memory.dmp

          memory/968-164-0x0000000005D00000-0x0000000005D1E000-memory.dmp

          memory/968-165-0x0000000000AE0000-0x0000000000AF0000-memory.dmp

          memory/968-166-0x00000000062C0000-0x00000000062F2000-memory.dmp

          memory/968-167-0x0000000070910000-0x000000007095C000-memory.dmp

          memory/968-147-0x0000000000AE0000-0x0000000000AF0000-memory.dmp

          memory/968-178-0x0000000007650000-0x0000000007CCA000-memory.dmp

          memory/968-179-0x0000000007000000-0x000000000701A000-memory.dmp

          memory/968-180-0x000000007F1D0000-0x000000007F1E0000-memory.dmp

          memory/968-181-0x0000000007070000-0x000000000707A000-memory.dmp

          memory/968-182-0x0000000007290000-0x0000000007326000-memory.dmp

          memory/968-183-0x0000000007240000-0x000000000724E000-memory.dmp

          memory/3788-163-0x0000000005650000-0x0000000005660000-memory.dmp

          memory/3788-149-0x0000000000400000-0x0000000000430000-memory.dmp

          memory/3788-188-0x0000000006CC0000-0x0000000006D10000-memory.dmp

          memory/3788-189-0x0000000006EE0000-0x00000000070A2000-memory.dmp

          memory/3788-196-0x0000000005650000-0x0000000005660000-memory.dmp