Analysis

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

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

General

  • Target
    0da23428be58bfb958a836996ae0c7d6c05d7b49c3eb65359a5fa9f7da69ee4f.exe
  • Size 801KB
  • Sample240607-b9cp5aff61
  • SHA256 0da23428be58bfb958a836996ae0c7d6c05d7b49c3eb65359a5fa9f7da69ee4f
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot7349747717:AAFltktL5DRJB2lEALsTjnP-3yyjwnV-OCM/

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\0da23428be58bfb958a836996ae0c7d6c05d7b49c3eb65359a5fa9f7da69ee4f.exe
    "C:\Users\Admin\AppData\Local\Temp\0da23428be58bfb958a836996ae0c7d6c05d7b49c3eb65359a5fa9f7da69ee4f.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4132
    • 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\0da23428be58bfb958a836996ae0c7d6c05d7b49c3eb65359a5fa9f7da69ee4f.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2552
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\OwRSJaZy.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4480
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\OwRSJaZy" /XML "C:\Users\Admin\AppData\Local\Temp\tmp9431.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4020
    • C:\Users\Admin\AppData\Local\Temp\0da23428be58bfb958a836996ae0c7d6c05d7b49c3eb65359a5fa9f7da69ee4f.exe
      "C:\Users\Admin\AppData\Local\Temp\0da23428be58bfb958a836996ae0c7d6c05d7b49c3eb65359a5fa9f7da69ee4f.exe"
      2⤵
        PID:2580
      • C:\Users\Admin\AppData\Local\Temp\0da23428be58bfb958a836996ae0c7d6c05d7b49c3eb65359a5fa9f7da69ee4f.exe
        "C:\Users\Admin\AppData\Local\Temp\0da23428be58bfb958a836996ae0c7d6c05d7b49c3eb65359a5fa9f7da69ee4f.exe"
        2⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        PID:1604

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

          StartupProfileData-NonInteractive

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

          __PSScriptPolicyTest_qdcalxiz.2kh.ps1

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

          tmp9431.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp9431.tmp
          • Size 1KB
          • SHA256 4c131d6c0ddf6805065535baf5be816edcbafe9f108ad9bdd35b41f1ea00bb8e
          • MD5 SHA1 SHA512

          memory/1604-90-0x0000000006580000-0x00000000065D0000-memory.dmp

          memory/1604-36-0x0000000000400000-0x0000000000444000-memory.dmp

          memory/2552-76-0x0000000007480000-0x000000000748A000-memory.dmp

          memory/2552-49-0x00000000060F0000-0x000000000610E000-memory.dmp

          memory/2552-89-0x00000000752F0000-0x0000000075AA0000-memory.dmp

          memory/2552-75-0x0000000007410000-0x000000000742A000-memory.dmp

          memory/2552-62-0x00000000719C0000-0x0000000071A0C000-memory.dmp

          memory/2552-15-0x00000000027C0000-0x00000000027F6000-memory.dmp

          memory/2552-17-0x0000000005480000-0x0000000005AA8000-memory.dmp

          memory/2552-16-0x00000000752F0000-0x0000000075AA0000-memory.dmp

          memory/2552-19-0x00000000752F0000-0x0000000075AA0000-memory.dmp

          memory/2552-18-0x0000000005210000-0x0000000005232000-memory.dmp

          memory/2552-22-0x0000000005AB0000-0x0000000005B16000-memory.dmp

          memory/2552-21-0x00000000053E0000-0x0000000005446000-memory.dmp

          memory/2552-50-0x0000000006180000-0x00000000061CC000-memory.dmp

          memory/2552-30-0x0000000005B20000-0x0000000005E74000-memory.dmp

          memory/2552-20-0x00000000752F0000-0x0000000075AA0000-memory.dmp

          memory/4132-5-0x00000000752F0000-0x0000000075AA0000-memory.dmp

          memory/4132-1-0x0000000000190000-0x000000000025E000-memory.dmp

          memory/4132-4-0x0000000004B10000-0x0000000004B1A000-memory.dmp

          memory/4132-2-0x0000000005100000-0x00000000056A4000-memory.dmp

          memory/4132-8-0x0000000005CB0000-0x0000000005CC0000-memory.dmp

          memory/4132-48-0x00000000752F0000-0x0000000075AA0000-memory.dmp

          memory/4132-7-0x00000000050F0000-0x00000000050FE000-memory.dmp

          memory/4132-6-0x00000000050C0000-0x00000000050D6000-memory.dmp

          memory/4132-3-0x0000000004B50000-0x0000000004BE2000-memory.dmp

          memory/4132-0-0x00000000752FE000-0x00000000752FF000-memory.dmp

          memory/4132-10-0x0000000005F80000-0x000000000601C000-memory.dmp

          memory/4132-9-0x0000000005D00000-0x0000000005D86000-memory.dmp

          memory/4480-52-0x00000000719C0000-0x0000000071A0C000-memory.dmp

          memory/4480-80-0x0000000007450000-0x0000000007464000-memory.dmp

          memory/4480-74-0x0000000007850000-0x0000000007ECA000-memory.dmp

          memory/4480-63-0x0000000006E60000-0x0000000006E7E000-memory.dmp

          memory/4480-77-0x0000000007490000-0x0000000007526000-memory.dmp

          memory/4480-78-0x0000000007410000-0x0000000007421000-memory.dmp

          memory/4480-79-0x0000000007440000-0x000000000744E000-memory.dmp

          memory/4480-73-0x0000000006ED0000-0x0000000006F73000-memory.dmp

          memory/4480-82-0x0000000007530000-0x0000000007538000-memory.dmp

          memory/4480-81-0x0000000007550000-0x000000000756A000-memory.dmp

          memory/4480-85-0x00000000752F0000-0x0000000075AA0000-memory.dmp

          memory/4480-51-0x0000000006E80000-0x0000000006EB2000-memory.dmp

          memory/4480-38-0x00000000752F0000-0x0000000075AA0000-memory.dmp

          memory/4480-29-0x00000000752F0000-0x0000000075AA0000-memory.dmp

          memory/4480-35-0x00000000752F0000-0x0000000075AA0000-memory.dmp