Analysis

  • max time kernel
    94s
  • max time network
    96s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240611-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17/06/2024, 13:37

General

  • Target
    purchase order 21029.exe
  • Size 718KB
  • Sample240617-qwth2stanb
  • SHA256 67478aaae5e89afc20d6e29500da5a1a3a9c266976a4aae255fe9ebbe4aeef58
  • 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.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\purchase order 21029.exe
    "C:\Users\Admin\AppData\Local\Temp\purchase order 21029.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4252
    • 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\purchase order 21029.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1648
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\GhhCyrnhmxbj.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3380
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\GhhCyrnhmxbj" /XML "C:\Users\Admin\AppData\Local\Temp\tmpECB2.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:3936
    • 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
      PID:4888

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 646520d3566d4ef96732698a681c8e2aff3521109318696ae732de449f6aeee2
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_3wge4psl.pye.ps1

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

        tmpECB2.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmpECB2.tmp
        • Size 1KB
        • SHA256 6f639afccfcfd0261c13d6598de74e4919301b8352f95ee7d16b93f9f451fcbe
        • MD5 SHA1 SHA512

        memory/1648-35-0x0000000005A80000-0x0000000005DD4000-memory.dmp

        memory/1648-23-0x0000000005780000-0x00000000057E6000-memory.dmp

        memory/1648-89-0x0000000074E50000-0x0000000075600000-memory.dmp

        memory/1648-82-0x00000000074B0000-0x00000000074B8000-memory.dmp

        memory/1648-80-0x00000000073D0000-0x00000000073E4000-memory.dmp

        memory/1648-78-0x0000000007390000-0x00000000073A1000-memory.dmp

        memory/1648-76-0x0000000007200000-0x000000000720A000-memory.dmp

        memory/1648-74-0x00000000077D0000-0x0000000007E4A000-memory.dmp

        memory/1648-17-0x0000000005150000-0x0000000005778000-memory.dmp

        memory/1648-18-0x0000000074E50000-0x0000000075600000-memory.dmp

        memory/1648-16-0x0000000002560000-0x0000000002596000-memory.dmp

        memory/1648-19-0x0000000074E50000-0x0000000075600000-memory.dmp

        memory/1648-20-0x0000000074E50000-0x0000000075600000-memory.dmp

        memory/1648-21-0x0000000004F90000-0x0000000004FB2000-memory.dmp

        memory/1648-22-0x0000000005030000-0x0000000005096000-memory.dmp

        memory/1648-63-0x0000000071520000-0x000000007156C000-memory.dmp

        memory/1648-49-0x0000000005E60000-0x0000000005E7E000-memory.dmp

        memory/1648-50-0x0000000005EB0000-0x0000000005EFC000-memory.dmp

        memory/3380-75-0x0000000007A10000-0x0000000007A2A000-memory.dmp

        memory/3380-81-0x0000000007D50000-0x0000000007D6A000-memory.dmp

        memory/3380-88-0x0000000074E50000-0x0000000075600000-memory.dmp

        memory/3380-36-0x0000000074E50000-0x0000000075600000-memory.dmp

        memory/3380-79-0x0000000007C40000-0x0000000007C4E000-memory.dmp

        memory/3380-34-0x0000000074E50000-0x0000000075600000-memory.dmp

        memory/3380-77-0x0000000007C90000-0x0000000007D26000-memory.dmp

        memory/3380-51-0x0000000007880000-0x00000000078B2000-memory.dmp

        memory/3380-52-0x0000000071520000-0x000000007156C000-memory.dmp

        memory/3380-73-0x00000000078C0000-0x0000000007963000-memory.dmp

        memory/3380-62-0x0000000007860000-0x000000000787E000-memory.dmp

        memory/4252-7-0x0000000006400000-0x000000000641A000-memory.dmp

        memory/4252-48-0x0000000074E50000-0x0000000075600000-memory.dmp

        memory/4252-0-0x0000000074E5E000-0x0000000074E5F000-memory.dmp

        memory/4252-10-0x0000000074E5E000-0x0000000074E5F000-memory.dmp

        memory/4252-3-0x0000000005140000-0x00000000051D2000-memory.dmp

        memory/4252-9-0x0000000006800000-0x0000000006882000-memory.dmp

        memory/4252-11-0x0000000074E50000-0x0000000075600000-memory.dmp

        memory/4252-5-0x0000000005390000-0x000000000542C000-memory.dmp

        memory/4252-1-0x00000000007C0000-0x000000000087A000-memory.dmp

        memory/4252-4-0x0000000005110000-0x000000000511A000-memory.dmp

        memory/4252-8-0x0000000005530000-0x0000000005540000-memory.dmp

        memory/4252-2-0x0000000005650000-0x0000000005BF4000-memory.dmp

        memory/4252-6-0x0000000074E50000-0x0000000075600000-memory.dmp

        memory/4888-37-0x0000000000400000-0x0000000000440000-memory.dmp

        memory/4888-90-0x0000000005C60000-0x0000000005CB0000-memory.dmp