Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19/05/2024, 01:16

General

  • Target
    8f18cbbab7e70501ff317d7f89c4e8234c8355e1ff277aafda1b93556e341856.exe
  • Size 820KB
  • Sample240519-bmxrsaaf2x
  • SHA256 8f18cbbab7e70501ff317d7f89c4e8234c8355e1ff277aafda1b93556e341856
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot6833369348:AAHv0Ph_km_t-hYM5WR9L_rTG08B_UxNTUA/

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 13 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\8f18cbbab7e70501ff317d7f89c4e8234c8355e1ff277aafda1b93556e341856.exe
    "C:\Users\Admin\AppData\Local\Temp\8f18cbbab7e70501ff317d7f89c4e8234c8355e1ff277aafda1b93556e341856.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:332
    • 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\8f18cbbab7e70501ff317d7f89c4e8234c8355e1ff277aafda1b93556e341856.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      PID:5020
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\wezygpQP.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:768
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\wezygpQP" /XML "C:\Users\Admin\AppData\Local\Temp\tmp328F.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:3564
    • C:\Users\Admin\AppData\Local\Temp\8f18cbbab7e70501ff317d7f89c4e8234c8355e1ff277aafda1b93556e341856.exe
      "C:\Users\Admin\AppData\Local\Temp\8f18cbbab7e70501ff317d7f89c4e8234c8355e1ff277aafda1b93556e341856.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:4640
  • 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=4092 --field-trial-handle=2276,i,11674642242468042059,14711253743544118298,262144 --variations-seed-version /prefetch:8
    1⤵
      PID:1436

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          __PSScriptPolicyTest_nqt3mrde.ihq.ps1

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

          tmp328F.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp328F.tmp
          • Size 1KB
          • SHA256 9d2ead6511c15628c6d528e4343e9c8c6e33dd35330cdd86cb2b9b4ec7d44689
          • MD5 SHA1 SHA512

          memory/332-32-0x0000000074F00000-0x00000000756B0000-memory.dmp

          memory/332-2-0x0000000005420000-0x00000000059C4000-memory.dmp

          memory/332-4-0x0000000074F00000-0x00000000756B0000-memory.dmp

          memory/332-5-0x0000000004F10000-0x0000000004F1A000-memory.dmp

          memory/332-6-0x0000000074F0E000-0x0000000074F0F000-memory.dmp

          memory/332-7-0x00000000051E0000-0x00000000051FE000-memory.dmp

          memory/332-8-0x0000000074F00000-0x00000000756B0000-memory.dmp

          memory/332-9-0x0000000006740000-0x0000000006750000-memory.dmp

          memory/332-10-0x0000000000970000-0x00000000009F4000-memory.dmp

          memory/332-11-0x0000000008EA0000-0x0000000008F3C000-memory.dmp

          memory/332-0-0x0000000074F0E000-0x0000000074F0F000-memory.dmp

          memory/332-3-0x0000000004E70000-0x0000000004F02000-memory.dmp

          memory/332-1-0x0000000000370000-0x0000000000442000-memory.dmp

          memory/768-36-0x00000000060E0000-0x0000000006434000-memory.dmp

          memory/768-54-0x0000000007960000-0x0000000007A03000-memory.dmp

          memory/768-21-0x00000000055F0000-0x0000000005612000-memory.dmp

          memory/768-74-0x0000000074F00000-0x00000000756B0000-memory.dmp

          memory/768-18-0x0000000074F00000-0x00000000756B0000-memory.dmp

          memory/768-29-0x0000000006070000-0x00000000060D6000-memory.dmp

          memory/768-25-0x0000000006000000-0x0000000006066000-memory.dmp

          memory/768-16-0x0000000005110000-0x0000000005146000-memory.dmp

          memory/768-17-0x0000000074F00000-0x00000000756B0000-memory.dmp

          memory/768-37-0x0000000005440000-0x000000000545E000-memory.dmp

          memory/768-38-0x00000000067F0000-0x000000000683C000-memory.dmp

          memory/768-41-0x0000000006CD0000-0x0000000006D02000-memory.dmp

          memory/768-42-0x00000000715D0000-0x000000007161C000-memory.dmp

          memory/768-52-0x0000000006CB0000-0x0000000006CCE000-memory.dmp

          memory/768-53-0x0000000074F00000-0x00000000756B0000-memory.dmp

          memory/768-19-0x0000000005820000-0x0000000005E48000-memory.dmp

          memory/768-55-0x0000000074F00000-0x00000000756B0000-memory.dmp

          memory/768-56-0x0000000074F00000-0x00000000756B0000-memory.dmp

          memory/768-59-0x00000000080D0000-0x000000000874A000-memory.dmp

          memory/768-60-0x0000000006D50000-0x0000000006D6A000-memory.dmp

          memory/768-61-0x0000000007AF0000-0x0000000007AFA000-memory.dmp

          memory/768-72-0x0000000007B10000-0x0000000007B18000-memory.dmp

          memory/768-63-0x0000000007D10000-0x0000000007DA6000-memory.dmp

          memory/768-65-0x0000000007AB0000-0x0000000007AC1000-memory.dmp

          memory/768-66-0x0000000007A90000-0x0000000007A9E000-memory.dmp

          memory/768-67-0x0000000007CF0000-0x0000000007D04000-memory.dmp

          memory/768-71-0x0000000007DD0000-0x0000000007DEA000-memory.dmp

          memory/4640-62-0x0000000006F20000-0x0000000006F70000-memory.dmp

          memory/4640-22-0x0000000000400000-0x0000000000442000-memory.dmp