Analysis

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

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

General

  • Target
    ORDER060424.exe
  • Size 649KB
  • Sample240617-e4tm8svama
  • SHA256 dc2e8a0f43a7ba9dc6ccf14dfda7e6ddd366d137cf774e221b09165ca6b414a8
  • 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.

  • 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 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).

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\ORDER060424.exe
    "C:\Users\Admin\AppData\Local\Temp\ORDER060424.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:32
    • 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\ORDER060424.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1344
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\pirZYozXqKPglS.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2080
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\pirZYozXqKPglS" /XML "C:\Users\Admin\AppData\Local\Temp\tmp77C0.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:5004
    • C:\Users\Admin\AppData\Local\Temp\ORDER060424.exe
      "C:\Users\Admin\AppData\Local\Temp\ORDER060424.exe"
      2⤵
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:3212

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 92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
        • MD5 SHA1 SHA512

        __PSScriptPolicyTest_ohkg2tan.xj1.ps1

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

        tmp77C0.tmp

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

        memory/32-6-0x0000000005230000-0x0000000005242000-memory.dmp

        memory/32-4-0x0000000004FD0000-0x0000000004FDA000-memory.dmp

        memory/32-5-0x00000000751F0000-0x00000000759A0000-memory.dmp

        memory/32-47-0x00000000751F0000-0x00000000759A0000-memory.dmp

        memory/32-8-0x0000000005380000-0x000000000538C000-memory.dmp

        memory/32-7-0x0000000005370000-0x0000000005378000-memory.dmp

        memory/32-10-0x00000000064D0000-0x000000000656C000-memory.dmp

        memory/32-9-0x0000000006250000-0x00000000062D2000-memory.dmp

        memory/32-3-0x0000000004F20000-0x0000000004FB2000-memory.dmp

        memory/32-2-0x00000000055A0000-0x0000000005B44000-memory.dmp

        memory/32-1-0x00000000004B0000-0x0000000000554000-memory.dmp

        memory/32-0-0x00000000751FE000-0x00000000751FF000-memory.dmp

        memory/1344-50-0x0000000006270000-0x00000000062BC000-memory.dmp

        memory/1344-64-0x0000000006F00000-0x0000000006FA3000-memory.dmp

        memory/1344-15-0x0000000004960000-0x0000000004996000-memory.dmp

        memory/1344-33-0x0000000005920000-0x0000000005C74000-memory.dmp

        memory/1344-87-0x00000000751F0000-0x00000000759A0000-memory.dmp

        memory/1344-82-0x0000000007570000-0x0000000007578000-memory.dmp

        memory/1344-21-0x00000000058B0000-0x0000000005916000-memory.dmp

        memory/1344-18-0x00000000751F0000-0x00000000759A0000-memory.dmp

        memory/1344-49-0x0000000005F20000-0x0000000005F3E000-memory.dmp

        memory/1344-16-0x0000000005020000-0x0000000005648000-memory.dmp

        memory/1344-17-0x00000000751F0000-0x00000000759A0000-memory.dmp

        memory/1344-22-0x00000000751F0000-0x00000000759A0000-memory.dmp

        memory/1344-20-0x0000000005740000-0x00000000057A6000-memory.dmp

        memory/1344-19-0x0000000004F60000-0x0000000004F82000-memory.dmp

        memory/1344-52-0x00000000718C0000-0x000000007190C000-memory.dmp

        memory/1344-81-0x0000000007590000-0x00000000075AA000-memory.dmp

        memory/1344-80-0x0000000007490000-0x00000000074A4000-memory.dmp

        memory/1344-62-0x00000000064B0000-0x00000000064CE000-memory.dmp

        memory/1344-78-0x0000000007450000-0x0000000007461000-memory.dmp

        memory/1344-76-0x00000000072C0000-0x00000000072CA000-memory.dmp

        memory/1344-74-0x0000000007890000-0x0000000007F0A000-memory.dmp

        memory/1344-51-0x00000000064D0000-0x0000000006502000-memory.dmp

        memory/1344-77-0x00000000074D0000-0x0000000007566000-memory.dmp

        memory/2080-75-0x0000000006D80000-0x0000000006D9A000-memory.dmp

        memory/2080-63-0x00000000718C0000-0x000000007190C000-memory.dmp

        memory/2080-34-0x00000000751F0000-0x00000000759A0000-memory.dmp

        memory/2080-48-0x00000000751F0000-0x00000000759A0000-memory.dmp

        memory/2080-79-0x0000000006FB0000-0x0000000006FBE000-memory.dmp

        memory/2080-45-0x00000000751F0000-0x00000000759A0000-memory.dmp

        memory/2080-86-0x00000000751F0000-0x00000000759A0000-memory.dmp

        memory/3212-35-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/3212-89-0x0000000006810000-0x0000000006860000-memory.dmp