Analysis

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

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

General

  • Target
    166bcf42c6cfa541d514b90bc15b3b5e38a8269ee514269a8994c246771cc27a.exe
  • Size 708KB
  • Sample240601-b89y8sed56
  • SHA256 166bcf42c6cfa541d514b90bc15b3b5e38a8269ee514269a8994c246771cc27a
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot7457440327:AAEwYXBjsCAfSfN3wEj19_YPEekMAyrUFrQ/

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\166bcf42c6cfa541d514b90bc15b3b5e38a8269ee514269a8994c246771cc27a.exe
    "C:\Users\Admin\AppData\Local\Temp\166bcf42c6cfa541d514b90bc15b3b5e38a8269ee514269a8994c246771cc27a.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:2492
    • 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\166bcf42c6cfa541d514b90bc15b3b5e38a8269ee514269a8994c246771cc27a.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:372
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\fHrXSYm.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1688
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\fHrXSYm" /XML "C:\Users\Admin\AppData\Local\Temp\tmp63BB.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4944
    • C:\Users\Admin\AppData\Local\Temp\166bcf42c6cfa541d514b90bc15b3b5e38a8269ee514269a8994c246771cc27a.exe
      "C:\Users\Admin\AppData\Local\Temp\166bcf42c6cfa541d514b90bc15b3b5e38a8269ee514269a8994c246771cc27a.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:1924

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 6ca6c038081ac6bb41d6e0155292ece0284acc5ded82f0e2d13391d7551bcd3a
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_ctqs3nhz.0eb.ps1

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

        tmp63BB.tmp

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

        memory/372-14-0x0000000002FA0000-0x0000000002FD6000-memory.dmp

        memory/372-17-0x0000000005A20000-0x0000000006048000-memory.dmp

        memory/372-79-0x0000000007E20000-0x0000000007E34000-memory.dmp

        memory/372-72-0x0000000007AC0000-0x0000000007B63000-memory.dmp

        memory/372-51-0x0000000070FC0000-0x000000007100C000-memory.dmp

        memory/372-62-0x0000000007A40000-0x0000000007A5E000-memory.dmp

        memory/372-81-0x0000000007F00000-0x0000000007F08000-memory.dmp

        memory/372-15-0x0000000074920000-0x00000000750D0000-memory.dmp

        memory/372-16-0x0000000074920000-0x00000000750D0000-memory.dmp

        memory/372-80-0x0000000007F20000-0x0000000007F3A000-memory.dmp

        memory/372-18-0x0000000074920000-0x00000000750D0000-memory.dmp

        memory/372-50-0x0000000007A80000-0x0000000007AB2000-memory.dmp

        memory/372-22-0x0000000006230000-0x0000000006296000-memory.dmp

        memory/372-21-0x00000000061C0000-0x0000000006226000-memory.dmp

        memory/372-20-0x00000000058E0000-0x0000000005902000-memory.dmp

        memory/372-25-0x00000000062A0000-0x00000000065F4000-memory.dmp

        memory/372-84-0x0000000074920000-0x00000000750D0000-memory.dmp

        memory/372-49-0x0000000006E10000-0x0000000006E5C000-memory.dmp

        memory/372-48-0x0000000006890000-0x00000000068AE000-memory.dmp

        memory/1688-24-0x0000000074920000-0x00000000750D0000-memory.dmp

        memory/1688-76-0x00000000079E0000-0x0000000007A76000-memory.dmp

        memory/1688-88-0x0000000074920000-0x00000000750D0000-memory.dmp

        memory/1688-35-0x0000000074920000-0x00000000750D0000-memory.dmp

        memory/1688-19-0x0000000074920000-0x00000000750D0000-memory.dmp

        memory/1688-52-0x0000000070FC0000-0x000000007100C000-memory.dmp

        memory/1688-78-0x0000000007990000-0x000000000799E000-memory.dmp

        memory/1688-77-0x0000000007960000-0x0000000007971000-memory.dmp

        memory/1688-73-0x0000000007DB0000-0x000000000842A000-memory.dmp

        memory/1688-74-0x0000000007760000-0x000000000777A000-memory.dmp

        memory/1688-75-0x00000000077D0000-0x00000000077DA000-memory.dmp

        memory/1924-89-0x0000000007090000-0x00000000070E0000-memory.dmp

        memory/1924-45-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/2492-9-0x000000000A2A0000-0x000000000A33C000-memory.dmp

        memory/2492-7-0x0000000005470000-0x0000000005480000-memory.dmp

        memory/2492-8-0x00000000065A0000-0x0000000006624000-memory.dmp

        memory/2492-6-0x0000000005250000-0x0000000005268000-memory.dmp

        memory/2492-5-0x0000000074920000-0x00000000750D0000-memory.dmp

        memory/2492-4-0x0000000005090000-0x000000000509A000-memory.dmp

        memory/2492-3-0x0000000004FD0000-0x0000000005062000-memory.dmp

        memory/2492-2-0x00000000056D0000-0x0000000005C74000-memory.dmp

        memory/2492-1-0x0000000000550000-0x0000000000604000-memory.dmp

        memory/2492-0-0x000000007492E000-0x000000007492F000-memory.dmp

        memory/2492-47-0x0000000074920000-0x00000000750D0000-memory.dmp