Analysis

  • max time kernel
    142s
  • max time network
    153s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03/04/2024, 14:03

General

  • Target
    bec65c0ef5eb78d5e7996e148a4542f44b03acd9bf3ed7e7c33411d803b35cbb.exe
  • Size 656KB
  • Sample240403-rcpanaea81
  • SHA256 bec65c0ef5eb78d5e7996e148a4542f44b03acd9bf3ed7e7c33411d803b35cbb
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot6510566783:AAEqx5Uod2gO5hHDZ1xznAnHyO5uFneWegY/

Signatures

  • AgentTesla

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\bec65c0ef5eb78d5e7996e148a4542f44b03acd9bf3ed7e7c33411d803b35cbb.exe
    "C:\Users\Admin\AppData\Local\Temp\bec65c0ef5eb78d5e7996e148a4542f44b03acd9bf3ed7e7c33411d803b35cbb.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4124
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\DhsTBwvmLond.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2432
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\DhsTBwvmLond" /XML "C:\Users\Admin\AppData\Local\Temp\tmp5687.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4064
    • C:\Users\Admin\AppData\Local\Temp\bec65c0ef5eb78d5e7996e148a4542f44b03acd9bf3ed7e7c33411d803b35cbb.exe
      "C:\Users\Admin\AppData\Local\Temp\bec65c0ef5eb78d5e7996e148a4542f44b03acd9bf3ed7e7c33411d803b35cbb.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:3968
  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=1340 --field-trial-handle=2244,i,11878111470816612087,2265290141962607370,262144 --variations-seed-version /prefetch:8
    1⤵
      PID:384

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          __PSScriptPolicyTest_wvie0bk1.br1.ps1

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

          tmp5687.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp5687.tmp
          • Size 1KB
          • SHA256 5decde74bdf7368486d159669196a7ab86dfe49ff9159ce5bf40a1ddf39579e8
          • MD5 SHA1 SHA512

          memory/2432-58-0x0000000006EA0000-0x0000000006EAA000-memory.dmp

          memory/2432-21-0x0000000004AC0000-0x0000000004AE2000-memory.dmp

          memory/2432-69-0x0000000074910000-0x00000000750C0000-memory.dmp

          memory/2432-66-0x0000000007170000-0x0000000007178000-memory.dmp

          memory/2432-65-0x0000000007190000-0x00000000071AA000-memory.dmp

          memory/2432-64-0x0000000074910000-0x00000000750C0000-memory.dmp

          memory/2432-63-0x0000000007130000-0x0000000007144000-memory.dmp

          memory/2432-39-0x0000000005AA0000-0x0000000005ABE000-memory.dmp

          memory/2432-14-0x0000000002150000-0x0000000002186000-memory.dmp

          memory/2432-15-0x0000000074910000-0x00000000750C0000-memory.dmp

          memory/2432-61-0x0000000007050000-0x0000000007061000-memory.dmp

          memory/2432-17-0x00000000047D0000-0x00000000047E0000-memory.dmp

          memory/2432-18-0x00000000047D0000-0x00000000047E0000-memory.dmp

          memory/2432-19-0x0000000004E10000-0x0000000005438000-memory.dmp

          memory/2432-60-0x0000000007090000-0x0000000007126000-memory.dmp

          memory/2432-57-0x0000000006E30000-0x0000000006E4A000-memory.dmp

          memory/2432-56-0x0000000007470000-0x0000000007AEA000-memory.dmp

          memory/2432-23-0x0000000004CE0000-0x0000000004D46000-memory.dmp

          memory/2432-24-0x0000000005440000-0x00000000054A6000-memory.dmp

          memory/2432-55-0x0000000006C90000-0x0000000006D33000-memory.dmp

          memory/2432-54-0x0000000006C10000-0x0000000006C2E000-memory.dmp

          memory/2432-43-0x0000000006C50000-0x0000000006C82000-memory.dmp

          memory/2432-44-0x0000000070FF0000-0x000000007103C000-memory.dmp

          memory/2432-34-0x00000000054B0000-0x0000000005804000-memory.dmp

          memory/2432-62-0x0000000007080000-0x000000000708E000-memory.dmp

          memory/2432-40-0x0000000005AD0000-0x0000000005B1C000-memory.dmp

          memory/2432-41-0x00000000047D0000-0x00000000047E0000-memory.dmp

          memory/2432-42-0x000000007FB40000-0x000000007FB50000-memory.dmp

          memory/3968-59-0x0000000006B60000-0x0000000006BB0000-memory.dmp

          memory/3968-71-0x0000000002AB0000-0x0000000002AC0000-memory.dmp

          memory/3968-70-0x0000000074910000-0x00000000750C0000-memory.dmp

          memory/3968-26-0x0000000074910000-0x00000000750C0000-memory.dmp

          memory/3968-22-0x0000000000400000-0x0000000000440000-memory.dmp

          memory/3968-33-0x0000000002AB0000-0x0000000002AC0000-memory.dmp

          memory/4124-16-0x0000000074910000-0x00000000750C0000-memory.dmp

          memory/4124-3-0x0000000005A20000-0x0000000005AB2000-memory.dmp

          memory/4124-0-0x0000000074910000-0x00000000750C0000-memory.dmp

          memory/4124-1-0x0000000000F20000-0x0000000000FC8000-memory.dmp

          memory/4124-9-0x0000000007410000-0x0000000007492000-memory.dmp

          memory/4124-8-0x0000000005B60000-0x0000000005B6C000-memory.dmp

          memory/4124-7-0x0000000005B40000-0x0000000005B52000-memory.dmp

          memory/4124-6-0x0000000005C90000-0x0000000005D2C000-memory.dmp

          memory/4124-5-0x00000000059E0000-0x00000000059EA000-memory.dmp

          memory/4124-4-0x00000000059C0000-0x00000000059D0000-memory.dmp

          memory/4124-2-0x0000000005F30000-0x00000000064D4000-memory.dmp

          memory/4124-32-0x0000000074910000-0x00000000750C0000-memory.dmp