Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20/06/2024, 00:17

General

  • Target
    SALES CONTRACT (DRAFT).exe
  • Size 635KB
  • Sample240620-ak2ghsshjr
  • SHA256 bf2bb447f3c3344ff70beede0d0889840d533b011f963136b9e3b1bf897f7991
  • 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 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.

  • Looks up external IP address via web service 1 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).

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\SALES CONTRACT (DRAFT).exe
    "C:\Users\Admin\AppData\Local\Temp\SALES CONTRACT (DRAFT).exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1812
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\OjqJbaZYnrtg.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2132
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\OjqJbaZYnrtg" /XML "C:\Users\Admin\AppData\Local\Temp\tmpC3FC.tmp"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:4440
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:2496

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_qwhbdxel.4qg.ps1

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

        tmpC3FC.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmpC3FC.tmp
        • Size 1KB
        • SHA256 21cca4eaf001fdfafc9f75abe1f0b1e4776ebf50daabbb697efd0c1bd227c8fa
        • MD5 SHA1 SHA512

        memory/1812-8-0x0000000005FB0000-0x000000000604A000-memory.dmp

        memory/1812-9-0x0000000005310000-0x0000000005322000-memory.dmp

        memory/1812-4-0x0000000004FA0000-0x0000000004FAA000-memory.dmp

        memory/1812-5-0x0000000075080000-0x0000000075830000-memory.dmp

        memory/1812-6-0x0000000005320000-0x00000000053BC000-memory.dmp

        memory/1812-7-0x00000000060E0000-0x000000000660C000-memory.dmp

        memory/1812-2-0x0000000005600000-0x0000000005BA4000-memory.dmp

        memory/1812-3-0x0000000005050000-0x00000000050E2000-memory.dmp

        memory/1812-10-0x00000000054F0000-0x00000000054F8000-memory.dmp

        memory/1812-11-0x00000000060D0000-0x00000000060DC000-memory.dmp

        memory/1812-12-0x0000000006A60000-0x0000000006AE4000-memory.dmp

        memory/1812-27-0x0000000075080000-0x0000000075830000-memory.dmp

        memory/1812-1-0x0000000000550000-0x00000000005F6000-memory.dmp

        memory/1812-0-0x000000007508E000-0x000000007508F000-memory.dmp

        memory/2132-29-0x0000000005F90000-0x00000000062E4000-memory.dmp

        memory/2132-53-0x0000000007760000-0x000000000777E000-memory.dmp

        memory/2132-66-0x0000000075080000-0x0000000075830000-memory.dmp

        memory/2132-23-0x0000000005E10000-0x0000000005E32000-memory.dmp

        memory/2132-25-0x0000000005F20000-0x0000000005F86000-memory.dmp

        memory/2132-24-0x0000000005EB0000-0x0000000005F16000-memory.dmp

        memory/2132-19-0x00000000056D0000-0x0000000005CF8000-memory.dmp

        memory/2132-20-0x0000000075080000-0x0000000075830000-memory.dmp

        memory/2132-28-0x0000000075080000-0x0000000075830000-memory.dmp

        memory/2132-17-0x0000000002CE0000-0x0000000002D16000-memory.dmp

        memory/2132-63-0x0000000007BE0000-0x0000000007BE8000-memory.dmp

        memory/2132-40-0x00000000065A0000-0x00000000065BE000-memory.dmp

        memory/2132-41-0x0000000006710000-0x000000000675C000-memory.dmp

        memory/2132-42-0x0000000007720000-0x0000000007752000-memory.dmp

        memory/2132-43-0x00000000714B0000-0x00000000714FC000-memory.dmp

        memory/2132-21-0x0000000075080000-0x0000000075830000-memory.dmp

        memory/2132-54-0x0000000007790000-0x0000000007833000-memory.dmp

        memory/2132-56-0x00000000078C0000-0x00000000078DA000-memory.dmp

        memory/2132-55-0x0000000007F10000-0x000000000858A000-memory.dmp

        memory/2132-57-0x0000000007940000-0x000000000794A000-memory.dmp

        memory/2132-58-0x0000000007B40000-0x0000000007BD6000-memory.dmp

        memory/2132-59-0x0000000007AC0000-0x0000000007AD1000-memory.dmp

        memory/2132-60-0x0000000007AF0000-0x0000000007AFE000-memory.dmp

        memory/2132-61-0x0000000007B00000-0x0000000007B14000-memory.dmp

        memory/2132-62-0x0000000007C00000-0x0000000007C1A000-memory.dmp

        memory/2496-39-0x0000000075080000-0x0000000075830000-memory.dmp

        memory/2496-22-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/2496-67-0x00000000066E0000-0x0000000006730000-memory.dmp

        memory/2496-68-0x0000000075080000-0x0000000075830000-memory.dmp