Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    06/06/2024, 15:19

General

  • Target
    FW CMA SHZ Freight invoice CHN1080769.exe
  • Size 719KB
  • Sample240606-sp74zagg97
  • SHA256 944a3229675898ad129e45ef15c62612b23e0fc99b57edd853a81418adbe4431
  • 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).

  • 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 21 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 29 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\FW CMA SHZ Freight invoice CHN1080769.exe
    "C:\Users\Admin\AppData\Local\Temp\FW CMA SHZ Freight invoice CHN1080769.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4884
    • 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\FW CMA SHZ Freight invoice CHN1080769.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3504
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\AQkWWJw.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3348
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\AQkWWJw" /XML "C:\Users\Admin\AppData\Local\Temp\tmpB314.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4132
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
      2⤵
        PID:3500
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
        2⤵
          PID:1528
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
          2⤵
            PID:1856
          • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
            "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
            2⤵
              PID:2700
            • 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:3188

          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 1204ca3858051460d1d868a90f58865b17cc0ec59e5669bcd6432893025214b3
                • MD5 SHA1 SHA512 SSDEEP

                __PSScriptPolicyTest_gob5zvt5.1ii.ps1

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

                tmpB314.tmp

                • Path C:\Users\Admin\AppData\Local\Temp\tmpB314.tmp
                • Size 1KB
                • SHA256 481c6ab34a0e7945013caa4e59868f2edd6f3f065bc0a43ad5ef076411537bee
                • MD5 SHA1 SHA512

                memory/3188-48-0x0000000000400000-0x0000000000442000-memory.dmp

                memory/3188-84-0x0000000006370000-0x00000000063C0000-memory.dmp

                memory/3348-80-0x0000000007D80000-0x0000000007E16000-memory.dmp

                memory/3348-81-0x0000000007D00000-0x0000000007D11000-memory.dmp

                memory/3348-23-0x00000000746F0000-0x0000000074EA0000-memory.dmp

                memory/3348-79-0x0000000007B70000-0x0000000007B7A000-memory.dmp

                memory/3348-53-0x00000000077B0000-0x00000000077E2000-memory.dmp

                memory/3348-54-0x0000000074FA0000-0x0000000074FEC000-memory.dmp

                memory/3348-52-0x0000000006DD0000-0x0000000006E1C000-memory.dmp

                memory/3348-51-0x00000000067D0000-0x00000000067EE000-memory.dmp

                memory/3348-82-0x0000000007D30000-0x0000000007D3E000-memory.dmp

                memory/3348-28-0x00000000746F0000-0x0000000074EA0000-memory.dmp

                memory/3348-83-0x0000000007D40000-0x0000000007D54000-memory.dmp

                memory/3348-92-0x00000000746F0000-0x0000000074EA0000-memory.dmp

                memory/3348-22-0x00000000746F0000-0x0000000074EA0000-memory.dmp

                memory/3504-34-0x0000000006190000-0x00000000064E4000-memory.dmp

                memory/3504-64-0x0000000074FA0000-0x0000000074FEC000-memory.dmp

                memory/3504-21-0x00000000746F0000-0x0000000074EA0000-memory.dmp

                memory/3504-18-0x00000000059F0000-0x0000000006018000-memory.dmp

                memory/3504-93-0x00000000746F0000-0x0000000074EA0000-memory.dmp

                memory/3504-20-0x00000000746F0000-0x0000000074EA0000-memory.dmp

                memory/3504-26-0x0000000005970000-0x00000000059D6000-memory.dmp

                memory/3504-86-0x0000000007E00000-0x0000000007E08000-memory.dmp

                memory/3504-24-0x00000000058D0000-0x00000000058F2000-memory.dmp

                memory/3504-85-0x0000000007E20000-0x0000000007E3A000-memory.dmp

                memory/3504-17-0x00000000746F0000-0x0000000074EA0000-memory.dmp

                memory/3504-16-0x0000000005210000-0x0000000005246000-memory.dmp

                memory/3504-77-0x0000000007AE0000-0x0000000007AFA000-memory.dmp

                memory/3504-76-0x0000000008120000-0x000000000879A000-memory.dmp

                memory/3504-74-0x0000000007720000-0x000000000773E000-memory.dmp

                memory/3504-27-0x0000000006120000-0x0000000006186000-memory.dmp

                memory/3504-75-0x0000000007790000-0x0000000007833000-memory.dmp

                memory/4884-4-0x0000000004BA0000-0x0000000004BAA000-memory.dmp

                memory/4884-1-0x0000000000230000-0x00000000002E4000-memory.dmp

                memory/4884-9-0x0000000007940000-0x00000000079C4000-memory.dmp

                memory/4884-8-0x0000000005010000-0x0000000005020000-memory.dmp

                memory/4884-7-0x0000000005000000-0x000000000500E000-memory.dmp

                memory/4884-6-0x0000000004FC0000-0x0000000004FD6000-memory.dmp

                memory/4884-5-0x00000000746F0000-0x0000000074EA0000-memory.dmp

                memory/4884-10-0x000000000A0F0000-0x000000000A18C000-memory.dmp

                memory/4884-15-0x00000000746FE000-0x00000000746FF000-memory.dmp

                memory/4884-19-0x00000000746F0000-0x0000000074EA0000-memory.dmp

                memory/4884-3-0x0000000004BE0000-0x0000000004C72000-memory.dmp

                memory/4884-2-0x00000000050F0000-0x0000000005694000-memory.dmp

                memory/4884-50-0x00000000746F0000-0x0000000074EA0000-memory.dmp

                memory/4884-0-0x00000000746FE000-0x00000000746FF000-memory.dmp