Analysis

  • max time kernel
    114s
  • max time network
    118s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240426-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30/04/2024, 09:24

General

  • Target
    CONTRACT DETAILS-73649000000000000000.exe
  • Size 693KB
  • Sample240430-lc2cbsha38
  • SHA256 6a73ce1fbde07e660aa6713b7e1c20cc34aa6f576d82f2189da9661abaa5211f
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.starmech.net

  • Port

    587

  • Password

    nics123

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

  • 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 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\CONTRACT DETAILS-73649000000000000000.exe
    "C:\Users\Admin\AppData\Local\Temp\CONTRACT DETAILS-73649000000000000000.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4108
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\CONTRACT DETAILS-73649000000000000000.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4716
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\HixkGtPEWur.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4460
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\HixkGtPEWur" /XML "C:\Users\Admin\AppData\Local\Temp\tmp60DD.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4912
    • C:\Users\Admin\AppData\Local\Temp\CONTRACT DETAILS-73649000000000000000.exe
      "C:\Users\Admin\AppData\Local\Temp\CONTRACT DETAILS-73649000000000000000.exe"
      2⤵
        PID:3472
      • C:\Users\Admin\AppData\Local\Temp\CONTRACT DETAILS-73649000000000000000.exe
        "C:\Users\Admin\AppData\Local\Temp\CONTRACT DETAILS-73649000000000000000.exe"
        2⤵
        • Adds Run key to start application
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        PID:4700

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          __PSScriptPolicyTest_upskdqhu.ofl.ps1

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

          tmp60DD.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp60DD.tmp
          • Size 1KB
          • SHA256 90e683ecc819cf2d4a588ea946ba545223614a96016bf23384fadf73bbcc6d63
          • MD5 SHA1 SHA512

          memory/4108-11-0x00000000093F0000-0x000000000948C000-memory.dmp

          memory/4108-2-0x0000000005AA0000-0x0000000006044000-memory.dmp

          memory/4108-4-0x0000000006050000-0x00000000063A4000-memory.dmp

          memory/4108-5-0x0000000005780000-0x0000000005790000-memory.dmp

          memory/4108-6-0x00000000057E0000-0x00000000057EA000-memory.dmp

          memory/4108-7-0x0000000005940000-0x0000000005958000-memory.dmp

          memory/4108-8-0x0000000005A90000-0x0000000005A9E000-memory.dmp

          memory/4108-9-0x0000000006BB0000-0x0000000006BC6000-memory.dmp

          memory/4108-10-0x0000000006C30000-0x0000000006CB4000-memory.dmp

          memory/4108-0-0x0000000000BD0000-0x0000000000C84000-memory.dmp

          memory/4108-1-0x00000000746C0000-0x0000000074E70000-memory.dmp

          memory/4108-48-0x00000000746C0000-0x0000000074E70000-memory.dmp

          memory/4108-3-0x0000000005590000-0x0000000005622000-memory.dmp

          memory/4460-64-0x0000000074F20000-0x0000000074F6C000-memory.dmp

          memory/4460-77-0x0000000007820000-0x00000000078B6000-memory.dmp

          memory/4460-86-0x00000000746C0000-0x0000000074E70000-memory.dmp

          memory/4460-80-0x00000000077E0000-0x00000000077F4000-memory.dmp

          memory/4460-24-0x00000000746C0000-0x0000000074E70000-memory.dmp

          memory/4460-79-0x00000000077D0000-0x00000000077DE000-memory.dmp

          memory/4460-78-0x00000000077A0000-0x00000000077B1000-memory.dmp

          memory/4460-36-0x0000000005010000-0x0000000005020000-memory.dmp

          memory/4460-35-0x0000000005010000-0x0000000005020000-memory.dmp

          memory/4700-88-0x0000000006CD0000-0x0000000006D20000-memory.dmp

          memory/4700-46-0x0000000000400000-0x0000000000442000-memory.dmp

          memory/4716-18-0x00000000048C0000-0x00000000048D0000-memory.dmp

          memory/4716-75-0x0000000006E30000-0x0000000006E4A000-memory.dmp

          memory/4716-49-0x0000000005B00000-0x0000000005B1E000-memory.dmp

          memory/4716-52-0x0000000074F20000-0x0000000074F6C000-memory.dmp

          memory/4716-51-0x00000000060D0000-0x0000000006102000-memory.dmp

          memory/4716-62-0x00000000060B0000-0x00000000060CE000-memory.dmp

          memory/4716-63-0x0000000006CD0000-0x0000000006D73000-memory.dmp

          memory/4716-19-0x00000000048C0000-0x00000000048D0000-memory.dmp

          memory/4716-74-0x0000000007470000-0x0000000007AEA000-memory.dmp

          memory/4716-50-0x0000000005B40000-0x0000000005B8C000-memory.dmp

          memory/4716-76-0x0000000006EA0000-0x0000000006EAA000-memory.dmp

          memory/4716-17-0x00000000746C0000-0x0000000074E70000-memory.dmp

          memory/4716-20-0x0000000004F00000-0x0000000005528000-memory.dmp

          memory/4716-16-0x00000000009C0000-0x00000000009F6000-memory.dmp

          memory/4716-22-0x0000000004CE0000-0x0000000004D46000-memory.dmp

          memory/4716-81-0x0000000007170000-0x000000000718A000-memory.dmp

          memory/4716-82-0x0000000007150000-0x0000000007158000-memory.dmp

          memory/4716-85-0x00000000746C0000-0x0000000074E70000-memory.dmp

          memory/4716-23-0x0000000004D50000-0x0000000004DB6000-memory.dmp

          memory/4716-21-0x0000000004B40000-0x0000000004B62000-memory.dmp