Analysis

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

    arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24/07/2024, 01:30

General

  • Target
    2cf843ed49a98c85608fcdc864cd38a331ffdd4b4e977043a6f09a1a91eb47d3.exe
  • Size 680KB
  • Sample240724-bw8weazgnj
  • SHA256 2cf843ed49a98c85608fcdc864cd38a331ffdd4b4e977043a6f09a1a91eb47d3
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot6809268613:AAECO80nZ5rmjIejpj6RrXFIqzMa1P9TC5w/

Signatures

  • AgentTesla

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

  • Credentials from Password Stores: Credentials from Web Browsers 1 TTPs

    Malicious Access or copy of Web Browser Credential store.

  • 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).

  • System Location Discovery: System Language Discovery 1 TTPs 5 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • 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 11 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\2cf843ed49a98c85608fcdc864cd38a331ffdd4b4e977043a6f09a1a91eb47d3.exe
    "C:\Users\Admin\AppData\Local\Temp\2cf843ed49a98c85608fcdc864cd38a331ffdd4b4e977043a6f09a1a91eb47d3.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1952
    • 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\2cf843ed49a98c85608fcdc864cd38a331ffdd4b4e977043a6f09a1a91eb47d3.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4860
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\dEPoAvexoKH.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2016
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\dEPoAvexoKH" /XML "C:\Users\Admin\AppData\Local\Temp\tmp215E.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:212
    • C:\Users\Admin\AppData\Local\Temp\2cf843ed49a98c85608fcdc864cd38a331ffdd4b4e977043a6f09a1a91eb47d3.exe
      "C:\Users\Admin\AppData\Local\Temp\2cf843ed49a98c85608fcdc864cd38a331ffdd4b4e977043a6f09a1a91eb47d3.exe"
      2⤵
        PID:4928
      • C:\Users\Admin\AppData\Local\Temp\2cf843ed49a98c85608fcdc864cd38a331ffdd4b4e977043a6f09a1a91eb47d3.exe
        "C:\Users\Admin\AppData\Local\Temp\2cf843ed49a98c85608fcdc864cd38a331ffdd4b4e977043a6f09a1a91eb47d3.exe"
        2⤵
        • Adds Run key to start application
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        PID:4024

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          StartupProfileData-NonInteractive

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

          __PSScriptPolicyTest_zgl0y5dd.bqr.ps1

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

          tmp215E.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp215E.tmp
          • Size 1KB
          • SHA256 3154f53acc6417758183793bba5579a2ef64a83e6c5f34377b54b771f578daa7
          • MD5 SHA1 SHA512

          memory/1952-6-0x0000000006CF0000-0x0000000006D90000-memory.dmp

          memory/1952-2-0x0000000005CD0000-0x0000000006274000-memory.dmp

          memory/1952-5-0x0000000074FB0000-0x0000000075760000-memory.dmp

          memory/1952-48-0x0000000074FB0000-0x0000000075760000-memory.dmp

          memory/1952-7-0x0000000005C90000-0x0000000005CA4000-memory.dmp

          memory/1952-8-0x00000000069C0000-0x00000000069CA000-memory.dmp

          memory/1952-9-0x00000000069D0000-0x00000000069DE000-memory.dmp

          memory/1952-10-0x0000000006A30000-0x0000000006AB2000-memory.dmp

          memory/1952-11-0x0000000007130000-0x00000000071CC000-memory.dmp

          memory/1952-3-0x0000000005720000-0x00000000057B2000-memory.dmp

          memory/1952-0-0x0000000074FBE000-0x0000000074FBF000-memory.dmp

          memory/1952-4-0x0000000005650000-0x000000000565A000-memory.dmp

          memory/1952-1-0x0000000000CF0000-0x0000000000D9E000-memory.dmp

          memory/2016-81-0x0000000007230000-0x000000000723E000-memory.dmp

          memory/2016-76-0x0000000007000000-0x000000000701A000-memory.dmp

          memory/2016-74-0x0000000006F00000-0x0000000006FA3000-memory.dmp

          memory/2016-52-0x0000000006CC0000-0x0000000006CF2000-memory.dmp

          memory/2016-79-0x0000000007200000-0x0000000007211000-memory.dmp

          memory/2016-53-0x0000000071680000-0x00000000716CC000-memory.dmp

          memory/2016-36-0x0000000074FB0000-0x0000000075760000-memory.dmp

          memory/2016-64-0x0000000006230000-0x000000000624E000-memory.dmp

          memory/2016-89-0x0000000074FB0000-0x0000000075760000-memory.dmp

          memory/2016-47-0x0000000074FB0000-0x0000000075760000-memory.dmp

          memory/2016-49-0x0000000074FB0000-0x0000000075760000-memory.dmp

          memory/4024-34-0x0000000000400000-0x0000000000442000-memory.dmp

          memory/4024-91-0x0000000006C50000-0x0000000006CA0000-memory.dmp

          memory/4860-78-0x00000000076F0000-0x0000000007786000-memory.dmp

          memory/4860-19-0x0000000074FB0000-0x0000000075760000-memory.dmp

          memory/4860-63-0x0000000071680000-0x00000000716CC000-memory.dmp

          memory/4860-51-0x00000000061D0000-0x000000000621C000-memory.dmp

          memory/4860-24-0x0000000005AE0000-0x0000000005B46000-memory.dmp

          memory/4860-22-0x0000000005290000-0x00000000052B2000-memory.dmp

          memory/4860-75-0x0000000007AB0000-0x000000000812A000-memory.dmp

          memory/4860-21-0x0000000074FB0000-0x0000000075760000-memory.dmp

          memory/4860-35-0x0000000005D80000-0x00000000060D4000-memory.dmp

          memory/4860-77-0x00000000074E0000-0x00000000074EA000-memory.dmp

          memory/4860-23-0x0000000005A70000-0x0000000005AD6000-memory.dmp

          memory/4860-18-0x00000000053D0000-0x00000000059F8000-memory.dmp

          memory/4860-82-0x00000000076B0000-0x00000000076C4000-memory.dmp

          memory/4860-84-0x0000000007790000-0x0000000007798000-memory.dmp

          memory/4860-83-0x00000000077B0000-0x00000000077CA000-memory.dmp

          memory/4860-17-0x0000000074FB0000-0x0000000075760000-memory.dmp

          memory/4860-16-0x0000000002850000-0x0000000002886000-memory.dmp

          memory/4860-90-0x0000000074FB0000-0x0000000075760000-memory.dmp

          memory/4860-50-0x0000000006120000-0x000000000613E000-memory.dmp