Analysis

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

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13/05/2024, 13:36

General

  • Target
    new order 20240508.exe
  • Size 696KB
  • Sample240513-qv8xcahe87
  • SHA256 27ac3f8a2082fcd8246bff0281e760d36edcaef16ef2831d14138b8df82ab86f
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.kingcocojava.com

  • Port

    587

  • Password

    mktsub

Extracted

Family
  • agenttesla

Credentials

Signatures

  • AgentTesla

    Agent Tesla is a remote access tool (RAT) written in visual basic.

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\new order 20240508.exe
    "C:\Users\Admin\AppData\Local\Temp\new order 20240508.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2396
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\mUoXzAP.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:224
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\mUoXzAP" /XML "C:\Users\Admin\AppData\Local\Temp\tmp73E8.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2788
    • C:\Users\Admin\AppData\Local\Temp\new order 20240508.exe
      "C:\Users\Admin\AppData\Local\Temp\new order 20240508.exe"
      2⤵
        PID:4168
      • C:\Users\Admin\AppData\Local\Temp\new order 20240508.exe
        "C:\Users\Admin\AppData\Local\Temp\new order 20240508.exe"
        2⤵
        • Adds Run key to start application
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:484

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          new order 20240508.exe.log

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

          __PSScriptPolicyTest_pweauh54.nqa.ps1

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

          tmp73E8.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp73E8.tmp
          • Size 1KB
          • SHA256 95ac956829e9ee8a659f0298494a920e85af5a3359743457ea0c5c0655dbf13c
          • MD5 SHA1 SHA512

          memory/224-15-0x0000000002460000-0x0000000002496000-memory.dmp

          memory/224-56-0x00000000070F0000-0x00000000070FA000-memory.dmp

          memory/224-65-0x0000000074C60000-0x0000000075410000-memory.dmp

          memory/224-62-0x00000000073A0000-0x00000000073A8000-memory.dmp

          memory/224-61-0x00000000073C0000-0x00000000073DA000-memory.dmp

          memory/224-60-0x00000000072C0000-0x00000000072D4000-memory.dmp

          memory/224-59-0x00000000072B0000-0x00000000072BE000-memory.dmp

          memory/224-58-0x0000000007280000-0x0000000007291000-memory.dmp

          memory/224-57-0x0000000007300000-0x0000000007396000-memory.dmp

          memory/224-16-0x0000000004E60000-0x0000000005488000-memory.dmp

          memory/224-17-0x0000000074C60000-0x0000000075410000-memory.dmp

          memory/224-20-0x0000000004DB0000-0x0000000004DD2000-memory.dmp

          memory/224-19-0x0000000074C60000-0x0000000075410000-memory.dmp

          memory/224-54-0x00000000076D0000-0x0000000007D4A000-memory.dmp

          memory/224-29-0x0000000074C60000-0x0000000075410000-memory.dmp

          memory/224-55-0x0000000007080000-0x000000000709A000-memory.dmp

          memory/224-41-0x0000000006D20000-0x0000000006D52000-memory.dmp

          memory/224-53-0x0000000006F60000-0x0000000007003000-memory.dmp

          memory/224-33-0x0000000005760000-0x0000000005AB4000-memory.dmp

          memory/224-42-0x0000000071300000-0x000000007134C000-memory.dmp

          memory/224-52-0x0000000006340000-0x000000000635E000-memory.dmp

          memory/224-21-0x0000000005490000-0x00000000054F6000-memory.dmp

          memory/224-22-0x00000000056F0000-0x0000000005756000-memory.dmp

          memory/224-39-0x0000000005D60000-0x0000000005D7E000-memory.dmp

          memory/224-40-0x0000000005D80000-0x0000000005DCC000-memory.dmp

          memory/484-23-0x0000000000400000-0x0000000000442000-memory.dmp

          memory/484-68-0x0000000074C60000-0x0000000075410000-memory.dmp

          memory/484-35-0x0000000074C60000-0x0000000075410000-memory.dmp

          memory/484-67-0x0000000007140000-0x0000000007190000-memory.dmp

          memory/2396-10-0x00000000097B0000-0x000000000984C000-memory.dmp

          memory/2396-2-0x0000000005C70000-0x0000000006214000-memory.dmp

          memory/2396-3-0x00000000055E0000-0x0000000005672000-memory.dmp

          memory/2396-4-0x0000000074C60000-0x0000000075410000-memory.dmp

          memory/2396-9-0x0000000007120000-0x00000000071A4000-memory.dmp

          memory/2396-0-0x0000000074C6E000-0x0000000074C6F000-memory.dmp

          memory/2396-8-0x0000000006970000-0x0000000006986000-memory.dmp

          memory/2396-7-0x0000000006830000-0x0000000006840000-memory.dmp

          memory/2396-6-0x0000000006F80000-0x0000000006F9E000-memory.dmp

          memory/2396-5-0x0000000005690000-0x000000000569A000-memory.dmp

          memory/2396-34-0x0000000074C60000-0x0000000075410000-memory.dmp

          memory/2396-1-0x0000000000CC0000-0x0000000000D74000-memory.dmp