Analysis

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

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

General

  • Target
    bb7a778a488705a0eea4ce0276fb8e4bd38c6756c028bcf46efda1d3a4f70820.exe
  • Size 648KB
  • Sample240620-ccbl8swhmk
  • SHA256 bb7a778a488705a0eea4ce0276fb8e4bd38c6756c028bcf46efda1d3a4f70820
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot7225613964:AAG6Hv9Z2QzKgYOOnPDkWsjfYDctWTf1ORE/

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.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • 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).

  • Scheduled Task/Job: Scheduled Task 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 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\bb7a778a488705a0eea4ce0276fb8e4bd38c6756c028bcf46efda1d3a4f70820.exe
    "C:\Users\Admin\AppData\Local\Temp\bb7a778a488705a0eea4ce0276fb8e4bd38c6756c028bcf46efda1d3a4f70820.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:2800
    • 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\bb7a778a488705a0eea4ce0276fb8e4bd38c6756c028bcf46efda1d3a4f70820.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3044
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\ZHlXamlw.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4884
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\ZHlXamlw" /XML "C:\Users\Admin\AppData\Local\Temp\tmp2E20.tmp"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:2640
    • C:\Users\Admin\AppData\Local\Temp\bb7a778a488705a0eea4ce0276fb8e4bd38c6756c028bcf46efda1d3a4f70820.exe
      "C:\Users\Admin\AppData\Local\Temp\bb7a778a488705a0eea4ce0276fb8e4bd38c6756c028bcf46efda1d3a4f70820.exe"
      2⤵
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:4276
  • 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 --field-trial-handle=3756,i,9746875443948590908,1444894342962555245,262144 --variations-seed-version --mojo-platform-channel-handle=4232 /prefetch:8
    1⤵
      PID:376

    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 1ba4b043709a30e5b40046e31ea31342a6fce53e9274c3685d4239636f9576b0
          • MD5 SHA1 SHA512 SSDEEP

          __PSScriptPolicyTest_bngfea3q.ysm.ps1

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

          tmp2E20.tmp

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

          chome.exe

          • Path C:\Users\Admin\AppData\Roaming\chome\chome.exe
          • Size 648KB
          • SHA256 bb7a778a488705a0eea4ce0276fb8e4bd38c6756c028bcf46efda1d3a4f70820
          • MD5 SHA1 SHA512 SSDEEP

          memory/2800-7-0x00000000059E0000-0x00000000059E8000-memory.dmp

          memory/2800-6-0x00000000059B0000-0x00000000059C2000-memory.dmp

          memory/2800-8-0x00000000059F0000-0x00000000059FC000-memory.dmp

          memory/2800-48-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/2800-9-0x0000000006A00000-0x0000000006A86000-memory.dmp

          memory/2800-10-0x0000000009150000-0x00000000091EC000-memory.dmp

          memory/2800-5-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/2800-0-0x000000007481E000-0x000000007481F000-memory.dmp

          memory/2800-4-0x00000000056B0000-0x00000000056BA000-memory.dmp

          memory/2800-3-0x00000000056C0000-0x0000000005752000-memory.dmp

          memory/2800-2-0x0000000005BD0000-0x0000000006174000-memory.dmp

          memory/2800-1-0x0000000000C20000-0x0000000000CC8000-memory.dmp

          memory/3044-16-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/3044-78-0x0000000007DA0000-0x0000000007DB1000-memory.dmp

          memory/3044-19-0x00000000058C0000-0x00000000058E2000-memory.dmp

          memory/3044-76-0x0000000007C10000-0x0000000007C1A000-memory.dmp

          memory/3044-91-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/3044-75-0x0000000007BA0000-0x0000000007BBA000-memory.dmp

          memory/3044-15-0x0000000002F50000-0x0000000002F86000-memory.dmp

          memory/3044-21-0x00000000059D0000-0x0000000005A36000-memory.dmp

          memory/3044-47-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/3044-18-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/3044-50-0x0000000006DE0000-0x0000000006E2C000-memory.dmp

          memory/3044-49-0x0000000006880000-0x000000000689E000-memory.dmp

          memory/3044-51-0x0000000007860000-0x0000000007892000-memory.dmp

          memory/3044-77-0x0000000007E20000-0x0000000007EB6000-memory.dmp

          memory/3044-72-0x0000000006E30000-0x0000000006E4E000-memory.dmp

          memory/3044-20-0x0000000005960000-0x00000000059C6000-memory.dmp

          memory/3044-52-0x0000000070EE0000-0x0000000070F2C000-memory.dmp

          memory/3044-74-0x00000000081F0000-0x000000000886A000-memory.dmp

          memory/4276-45-0x0000000000400000-0x0000000000444000-memory.dmp

          memory/4276-92-0x0000000006DF0000-0x0000000006E40000-memory.dmp

          memory/4884-73-0x0000000007850000-0x00000000078F3000-memory.dmp

          memory/4884-62-0x0000000070EE0000-0x0000000070F2C000-memory.dmp

          memory/4884-17-0x0000000005860000-0x0000000005E88000-memory.dmp

          memory/4884-81-0x0000000007B90000-0x0000000007B9E000-memory.dmp

          memory/4884-82-0x0000000007BA0000-0x0000000007BB4000-memory.dmp

          memory/4884-83-0x0000000007CA0000-0x0000000007CBA000-memory.dmp

          memory/4884-84-0x0000000007C80000-0x0000000007C88000-memory.dmp

          memory/4884-22-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/4884-33-0x0000000005FE0000-0x0000000006334000-memory.dmp

          memory/4884-90-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/4884-44-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/4884-34-0x0000000074810000-0x0000000074FC0000-memory.dmp