Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30/05/2024, 01:58

General

  • Target
    bd96ff8caf334468aa3000e517e51c19ac145a154ed3aeb16a270800a47e4daa.exe
  • Size 705KB
  • Sample240530-cd7q3aad7x
  • SHA256 bd96ff8caf334468aa3000e517e51c19ac145a154ed3aeb16a270800a47e4daa
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot6326530812:AAEaPeWO8gwuSDDOiARcprRJbds4ct-T6dQ/

Signatures

  • AgentTesla

    Agent Tesla is a remote access tool (RAT) written in visual basic.

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 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 2 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\bd96ff8caf334468aa3000e517e51c19ac145a154ed3aeb16a270800a47e4daa.exe
    "C:\Users\Admin\AppData\Local\Temp\bd96ff8caf334468aa3000e517e51c19ac145a154ed3aeb16a270800a47e4daa.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2088
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\sDRSnqyDr.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:832
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\sDRSnqyDr" /XML "C:\Users\Admin\AppData\Local\Temp\tmp879F.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2016
    • C:\Users\Admin\AppData\Local\Temp\bd96ff8caf334468aa3000e517e51c19ac145a154ed3aeb16a270800a47e4daa.exe
      "C:\Users\Admin\AppData\Local\Temp\bd96ff8caf334468aa3000e517e51c19ac145a154ed3aeb16a270800a47e4daa.exe"
      2⤵
        PID:1612
      • C:\Users\Admin\AppData\Local\Temp\bd96ff8caf334468aa3000e517e51c19ac145a154ed3aeb16a270800a47e4daa.exe
        "C:\Users\Admin\AppData\Local\Temp\bd96ff8caf334468aa3000e517e51c19ac145a154ed3aeb16a270800a47e4daa.exe"
        2⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        PID:3736

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          __PSScriptPolicyTest_oazc1ovd.sfj.ps1

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

          tmp879F.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp879F.tmp
          • Size 1KB
          • SHA256 602c1b04edd7b58f4bdbe2d6695afe09f6cf2042f299468be5750beeb2994fff
          • MD5 SHA1 SHA512

          memory/832-27-0x0000000005960000-0x00000000059C6000-memory.dmp

          memory/832-55-0x0000000007380000-0x000000000739A000-memory.dmp

          memory/832-26-0x0000000005190000-0x00000000051B2000-memory.dmp

          memory/832-66-0x0000000074CB0000-0x0000000075460000-memory.dmp

          memory/832-63-0x00000000076A0000-0x00000000076A8000-memory.dmp

          memory/832-61-0x00000000076C0000-0x00000000076DA000-memory.dmp

          memory/832-60-0x00000000075C0000-0x00000000075D4000-memory.dmp

          memory/832-59-0x00000000075B0000-0x00000000075BE000-memory.dmp

          memory/832-58-0x0000000007580000-0x0000000007591000-memory.dmp

          memory/832-15-0x0000000002760000-0x0000000002796000-memory.dmp

          memory/832-57-0x0000000007600000-0x0000000007696000-memory.dmp

          memory/832-18-0x00000000051C0000-0x00000000057E8000-memory.dmp

          memory/832-17-0x0000000074CB0000-0x0000000075460000-memory.dmp

          memory/832-19-0x0000000074CB0000-0x0000000075460000-memory.dmp

          memory/832-56-0x00000000073F0000-0x00000000073FA000-memory.dmp

          memory/832-22-0x0000000074CB0000-0x0000000075460000-memory.dmp

          memory/832-54-0x0000000007A00000-0x000000000807A000-memory.dmp

          memory/832-53-0x00000000072D0000-0x0000000007373000-memory.dmp

          memory/832-52-0x0000000006640000-0x000000000665E000-memory.dmp

          memory/832-28-0x00000000059D0000-0x0000000005A36000-memory.dmp

          memory/832-42-0x00000000710B0000-0x00000000710FC000-memory.dmp

          memory/832-41-0x0000000006600000-0x0000000006632000-memory.dmp

          memory/832-40-0x0000000006580000-0x00000000065CC000-memory.dmp

          memory/832-38-0x0000000005CB0000-0x0000000006004000-memory.dmp

          memory/832-39-0x0000000006050000-0x000000000606E000-memory.dmp

          memory/2088-7-0x0000000005B90000-0x0000000005B9C000-memory.dmp

          memory/2088-2-0x0000000005DC0000-0x0000000006364000-memory.dmp

          memory/2088-3-0x0000000005810000-0x00000000058A2000-memory.dmp

          memory/2088-25-0x0000000074CB0000-0x0000000075460000-memory.dmp

          memory/2088-5-0x0000000074CB0000-0x0000000075460000-memory.dmp

          memory/2088-23-0x0000000074CBE000-0x0000000074CBF000-memory.dmp

          memory/2088-0-0x0000000074CBE000-0x0000000074CBF000-memory.dmp

          memory/2088-4-0x00000000057D0000-0x00000000057DA000-memory.dmp

          memory/2088-1-0x0000000000D20000-0x0000000000DD6000-memory.dmp

          memory/2088-9-0x0000000006AF0000-0x0000000006B72000-memory.dmp

          memory/2088-10-0x000000000A5A0000-0x000000000A63C000-memory.dmp

          memory/2088-8-0x0000000005C30000-0x0000000005C40000-memory.dmp

          memory/2088-6-0x0000000005A60000-0x0000000005A76000-memory.dmp

          memory/3736-62-0x0000000006980000-0x00000000069D0000-memory.dmp

          memory/3736-20-0x0000000000400000-0x0000000000442000-memory.dmp

          memory/3736-24-0x0000000074CB0000-0x0000000075460000-memory.dmp

          memory/3736-67-0x0000000074CB0000-0x0000000075460000-memory.dmp