Analysis

  • max time kernel
    118s
  • max time network
    130s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240426-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10/06/2024, 01:06

General

  • Target
    30ca5727ae84edb40e25c235e7b33cb5c2385b7e3b3b500e5c16c83a138fd0df.exe
  • Size 949KB
  • Sample240610-bf48aaae44
  • SHA256 30ca5727ae84edb40e25c235e7b33cb5c2385b7e3b3b500e5c16c83a138fd0df
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot7298628587:AAG6lzqWXJAVtphbJGL5NvKrLWQRpBYxCwU/

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 3 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\30ca5727ae84edb40e25c235e7b33cb5c2385b7e3b3b500e5c16c83a138fd0df.exe
    "C:\Users\Admin\AppData\Local\Temp\30ca5727ae84edb40e25c235e7b33cb5c2385b7e3b3b500e5c16c83a138fd0df.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1808
    • 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\30ca5727ae84edb40e25c235e7b33cb5c2385b7e3b3b500e5c16c83a138fd0df.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1752
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\TbKBOhScJ.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4912
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\TbKBOhScJ" /XML "C:\Users\Admin\AppData\Local\Temp\tmp7C73.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:840
    • C:\Users\Admin\AppData\Local\Temp\30ca5727ae84edb40e25c235e7b33cb5c2385b7e3b3b500e5c16c83a138fd0df.exe
      "C:\Users\Admin\AppData\Local\Temp\30ca5727ae84edb40e25c235e7b33cb5c2385b7e3b3b500e5c16c83a138fd0df.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:3236

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_cadefkb5.2ka.ps1

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

        tmp7C73.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp7C73.tmp
        • Size 1KB
        • SHA256 13a9c49fe853d806c401d03b0dc15a0666f017d3b3ee166fe760652ba92d4dcf
        • MD5 SHA1 SHA512

        memory/1752-65-0x0000000006E40000-0x0000000006E5A000-memory.dmp

        memory/1752-52-0x0000000075640000-0x000000007568C000-memory.dmp

        memory/1752-85-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/1752-82-0x0000000007160000-0x0000000007168000-memory.dmp

        memory/1752-81-0x0000000007180000-0x000000000719A000-memory.dmp

        memory/1752-80-0x0000000007080000-0x0000000007094000-memory.dmp

        memory/1752-79-0x0000000007070000-0x000000000707E000-memory.dmp

        memory/1752-68-0x0000000007040000-0x0000000007051000-memory.dmp

        memory/1752-67-0x00000000070C0000-0x0000000007156000-memory.dmp

        memory/1752-66-0x0000000006EB0000-0x0000000006EBA000-memory.dmp

        memory/1752-64-0x0000000007490000-0x0000000007B0A000-memory.dmp

        memory/1752-17-0x00000000021D0000-0x0000000002206000-memory.dmp

        memory/1752-18-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/1752-19-0x00000000050F0000-0x0000000005718000-memory.dmp

        memory/1752-51-0x0000000006B00000-0x0000000006B32000-memory.dmp

        memory/1752-62-0x00000000060F0000-0x000000000610E000-memory.dmp

        memory/1752-25-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/1752-24-0x0000000004C30000-0x0000000004C96000-memory.dmp

        memory/1752-23-0x0000000004A30000-0x0000000004A52000-memory.dmp

        memory/1752-63-0x0000000006D40000-0x0000000006DE3000-memory.dmp

        memory/1752-26-0x0000000004DA0000-0x0000000004E06000-memory.dmp

        memory/1808-3-0x0000000005AB0000-0x0000000005B42000-memory.dmp

        memory/1808-12-0x0000000009C80000-0x0000000009D1C000-memory.dmp

        memory/1808-4-0x0000000005B50000-0x0000000005EA4000-memory.dmp

        memory/1808-48-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/1808-5-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/1808-6-0x0000000005A80000-0x0000000005A8A000-memory.dmp

        memory/1808-1-0x0000000000E80000-0x0000000000F72000-memory.dmp

        memory/1808-2-0x0000000006060000-0x0000000006604000-memory.dmp

        memory/1808-7-0x0000000007410000-0x00000000074B0000-memory.dmp

        memory/1808-8-0x0000000006050000-0x0000000006066000-memory.dmp

        memory/1808-0-0x0000000074D9E000-0x0000000074D9F000-memory.dmp

        memory/1808-9-0x00000000074E0000-0x00000000074EE000-memory.dmp

        memory/1808-11-0x0000000007570000-0x00000000075F4000-memory.dmp

        memory/1808-10-0x00000000074F0000-0x0000000007500000-memory.dmp

        memory/3236-43-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/3236-87-0x0000000006EA0000-0x0000000006EF0000-memory.dmp

        memory/4912-37-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/4912-69-0x0000000075640000-0x000000007568C000-memory.dmp

        memory/4912-20-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/4912-21-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/4912-50-0x00000000064C0000-0x000000000650C000-memory.dmp

        memory/4912-49-0x00000000061D0000-0x00000000061EE000-memory.dmp

        memory/4912-86-0x0000000074D90000-0x0000000075540000-memory.dmp