Analysis

  • max time kernel
    147s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18/06/2024, 13:10

General

  • Target
    freight invoice.exe
  • Size 1007KB
  • Sample240618-qemdeavdka
  • SHA256 44f99d24049bdd928b66782697112d31e45c2de51a515fdd6298e5a57f4eab35
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

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

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 11 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\freight invoice.exe
    "C:\Users\Admin\AppData\Local\Temp\freight invoice.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:352
    • 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\freight invoice.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4472
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\ASUenBCZUZgfeR.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1752
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\ASUenBCZUZgfeR" /XML "C:\Users\Admin\AppData\Local\Temp\tmp82FB.tmp"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:2264
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
      2⤵
        PID:2756
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
        2⤵
        • Adds Run key to start application
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4312

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          powershell.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log
          • Size 2KB
          • SHA256 6f8fd1b8d9788ad54eaeee329232187e24b7b43393a01aeba2d6e9675231fb69
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 18KB
          • SHA256 9adf3a509a244a37776a9af6512aac90e66147efc6bf0d740deb1c997722b5df
          • MD5 SHA1 SHA512 SSDEEP

          __PSScriptPolicyTest_megc4vwq.4uj.ps1

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

          tmp82FB.tmp

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

          memory/352-6-0x0000000005120000-0x00000000051BC000-memory.dmp

          memory/352-4-0x0000000005020000-0x000000000502A000-memory.dmp

          memory/352-46-0x00000000753B0000-0x0000000075B60000-memory.dmp

          memory/352-7-0x0000000007820000-0x0000000007832000-memory.dmp

          memory/352-8-0x00000000060F0000-0x00000000060F8000-memory.dmp

          memory/352-9-0x0000000006100000-0x000000000610C000-memory.dmp

          memory/352-10-0x0000000006150000-0x00000000061D4000-memory.dmp

          memory/352-0-0x00000000753BE000-0x00000000753BF000-memory.dmp

          memory/352-1-0x0000000000380000-0x0000000000482000-memory.dmp

          memory/352-5-0x00000000753B0000-0x0000000075B60000-memory.dmp

          memory/352-2-0x0000000005430000-0x00000000059D4000-memory.dmp

          memory/352-3-0x0000000004E80000-0x0000000004F12000-memory.dmp

          memory/1752-19-0x00000000753B0000-0x0000000075B60000-memory.dmp

          memory/1752-21-0x00000000753B0000-0x0000000075B60000-memory.dmp

          memory/1752-87-0x00000000753B0000-0x0000000075B60000-memory.dmp

          memory/1752-81-0x0000000007EF0000-0x0000000007EF8000-memory.dmp

          memory/1752-74-0x0000000007C40000-0x0000000007C4A000-memory.dmp

          memory/1752-60-0x0000000075C20000-0x0000000075C6C000-memory.dmp

          memory/4312-89-0x0000000006770000-0x00000000067C0000-memory.dmp

          memory/4312-34-0x0000000000400000-0x0000000000442000-memory.dmp

          memory/4472-15-0x0000000002490000-0x00000000024C6000-memory.dmp

          memory/4472-47-0x0000000005DB0000-0x0000000005DCE000-memory.dmp

          memory/4472-48-0x00000000061B0000-0x00000000061FC000-memory.dmp

          memory/4472-44-0x00000000057B0000-0x0000000005B04000-memory.dmp

          memory/4472-50-0x0000000075C20000-0x0000000075C6C000-memory.dmp

          memory/4472-71-0x0000000006FA0000-0x0000000007043000-memory.dmp

          memory/4472-49-0x0000000006380000-0x00000000063B2000-memory.dmp

          memory/4472-70-0x0000000006F70000-0x0000000006F8E000-memory.dmp

          memory/4472-73-0x00000000070D0000-0x00000000070EA000-memory.dmp

          memory/4472-72-0x0000000007720000-0x0000000007D9A000-memory.dmp

          memory/4472-23-0x00000000056B0000-0x0000000005716000-memory.dmp

          memory/4472-75-0x0000000007350000-0x00000000073E6000-memory.dmp

          memory/4472-76-0x00000000072D0000-0x00000000072E1000-memory.dmp

          memory/4472-77-0x0000000007300000-0x000000000730E000-memory.dmp

          memory/4472-79-0x0000000007310000-0x0000000007324000-memory.dmp

          memory/4472-80-0x0000000007410000-0x000000000742A000-memory.dmp

          memory/4472-24-0x0000000005720000-0x0000000005786000-memory.dmp

          memory/4472-22-0x0000000005610000-0x0000000005632000-memory.dmp

          memory/4472-18-0x00000000753B0000-0x0000000075B60000-memory.dmp

          memory/4472-17-0x00000000753B0000-0x0000000075B60000-memory.dmp

          memory/4472-88-0x00000000753B0000-0x0000000075B60000-memory.dmp

          memory/4472-16-0x0000000004E90000-0x00000000054B8000-memory.dmp