Analysis

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

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

General

  • Target
    03a2803f3f3c19629bebc6afba0097ddca444908b724844d0f516b1bb4484e31.exe
  • Size 887KB
  • Sample240615-bm4v4axfpl
  • SHA256 03a2803f3f3c19629bebc6afba0097ddca444908b724844d0f516b1bb4484e31
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot7255470716:AAEMQh6QMBjOM0LQW6SxK76Sy6Fj2V5aLyY/

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.

  • 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 9 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\03a2803f3f3c19629bebc6afba0097ddca444908b724844d0f516b1bb4484e31.exe
    "C:\Users\Admin\AppData\Local\Temp\03a2803f3f3c19629bebc6afba0097ddca444908b724844d0f516b1bb4484e31.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2656
    • 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\03a2803f3f3c19629bebc6afba0097ddca444908b724844d0f516b1bb4484e31.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3380
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\XQdcNZCEWS.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1172
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\XQdcNZCEWS" /XML "C:\Users\Admin\AppData\Local\Temp\tmp7520.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:3980
    • C:\Users\Admin\AppData\Local\Temp\03a2803f3f3c19629bebc6afba0097ddca444908b724844d0f516b1bb4484e31.exe
      "C:\Users\Admin\AppData\Local\Temp\03a2803f3f3c19629bebc6afba0097ddca444908b724844d0f516b1bb4484e31.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:4984

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

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_dveni0w1.4oi.ps1

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

        tmp7520.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp7520.tmp
        • Size 1KB
        • SHA256 46e4f5457148280128701d181ae477a852508f88f2974cf29085cdbc801c7e70
        • MD5 SHA1 SHA512

        memory/1172-64-0x0000000070E40000-0x0000000070E8C000-memory.dmp

        memory/1172-80-0x0000000007C80000-0x0000000007C88000-memory.dmp

        memory/1172-48-0x0000000006BB0000-0x0000000006BFC000-memory.dmp

        memory/1172-23-0x0000000074650000-0x0000000074E00000-memory.dmp

        memory/1172-30-0x0000000074650000-0x0000000074E00000-memory.dmp

        memory/1172-47-0x0000000006630000-0x000000000664E000-memory.dmp

        memory/1172-86-0x0000000074650000-0x0000000074E00000-memory.dmp

        memory/1172-78-0x0000000007BA0000-0x0000000007BB4000-memory.dmp

        memory/2656-9-0x0000000007A90000-0x0000000007B16000-memory.dmp

        memory/2656-2-0x00000000051C0000-0x0000000005764000-memory.dmp

        memory/2656-4-0x0000000004D70000-0x0000000004D7A000-memory.dmp

        memory/2656-1-0x00000000001F0000-0x00000000002D4000-memory.dmp

        memory/2656-0-0x000000007465E000-0x000000007465F000-memory.dmp

        memory/2656-6-0x0000000074650000-0x0000000074E00000-memory.dmp

        memory/2656-37-0x0000000074650000-0x0000000074E00000-memory.dmp

        memory/2656-5-0x0000000004FA0000-0x000000000503C000-memory.dmp

        memory/2656-8-0x0000000005F70000-0x0000000005F80000-memory.dmp

        memory/2656-3-0x0000000004CB0000-0x0000000004D42000-memory.dmp

        memory/2656-7-0x0000000007A70000-0x0000000007A8A000-memory.dmp

        memory/3380-18-0x0000000074650000-0x0000000074E00000-memory.dmp

        memory/3380-74-0x0000000007C80000-0x0000000007C8A000-memory.dmp

        memory/3380-14-0x0000000005340000-0x0000000005376000-memory.dmp

        memory/3380-22-0x00000000060C0000-0x0000000006126000-memory.dmp

        memory/3380-50-0x0000000070E40000-0x0000000070E8C000-memory.dmp

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

        memory/3380-61-0x0000000007900000-0x00000000079A3000-memory.dmp

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

        memory/3380-63-0x0000000007C10000-0x0000000007C2A000-memory.dmp

        memory/3380-62-0x0000000008250000-0x00000000088CA000-memory.dmp

        memory/3380-20-0x0000000005920000-0x0000000005942000-memory.dmp

        memory/3380-31-0x00000000062B0000-0x0000000006604000-memory.dmp

        memory/3380-75-0x0000000007E90000-0x0000000007F26000-memory.dmp

        memory/3380-76-0x0000000007E10000-0x0000000007E21000-memory.dmp

        memory/3380-77-0x0000000007E40000-0x0000000007E4E000-memory.dmp

        memory/3380-21-0x0000000006050000-0x00000000060B6000-memory.dmp

        memory/3380-79-0x0000000007F50000-0x0000000007F6A000-memory.dmp

        memory/3380-17-0x0000000074650000-0x0000000074E00000-memory.dmp

        memory/3380-16-0x00000000059B0000-0x0000000005FD8000-memory.dmp

        memory/3380-15-0x0000000074650000-0x0000000074E00000-memory.dmp

        memory/3380-87-0x0000000074650000-0x0000000074E00000-memory.dmp

        memory/4984-24-0x0000000000400000-0x0000000000444000-memory.dmp

        memory/4984-88-0x0000000006A90000-0x0000000006AE0000-memory.dmp