Analysis

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

    arch:x64arch:x86image:win10v2004-20240704-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10/07/2024, 05:59

General

  • Target
    file.exe
  • Size 780KB
  • Sample240710-gprlfasflb
  • SHA256 244c0ee91bbb941e5637dd7384eeff837ba2bdf030efd4bdf29333dc2398eac8
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.gdpowergeneratortrading.com

  • Port

    587

  • Password

    GEAR2022!

Extracted

Family
  • agenttesla

Credentials

Signatures

  • AgentTesla

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

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 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 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 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1384
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\wVhoWfshmbPG.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4200
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\wVhoWfshmbPG" /XML "C:\Users\Admin\AppData\Local\Temp\tmp1855.tmp"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:4892
    • C:\Users\Admin\AppData\Local\Temp\file.exe
      "C:\Users\Admin\AppData\Local\Temp\file.exe"
      2⤵
        PID:2856
      • C:\Users\Admin\AppData\Local\Temp\file.exe
        "C:\Users\Admin\AppData\Local\Temp\file.exe"
        2⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1960

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          file.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\file.exe.log
          • Size 1KB
          • SHA256 7667e538030e3f8ce2886e47a01af24cb0ea70528b1e821c5d8832c5076cb982
          • MD5 SHA1 SHA512

          __PSScriptPolicyTest_odwls354.nmm.ps1

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

          tmp1855.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp1855.tmp
          • Size 1KB
          • SHA256 28ba3a124e25797e9de4f76d97c1c4ebc6be2236d7b64006a01faa905d7ad0c6
          • MD5 SHA1 SHA512

          memory/1384-8-0x00000000061F0000-0x00000000061FE000-memory.dmp

          memory/1384-10-0x0000000008990000-0x0000000008A2C000-memory.dmp

          memory/1384-5-0x0000000074AC0000-0x0000000075270000-memory.dmp

          memory/1384-6-0x0000000005210000-0x0000000005222000-memory.dmp

          memory/1384-7-0x00000000061E0000-0x00000000061E8000-memory.dmp

          memory/1384-1-0x00000000004B0000-0x0000000000576000-memory.dmp

          memory/1384-9-0x0000000006240000-0x00000000062C2000-memory.dmp

          memory/1384-4-0x0000000004F90000-0x0000000004F9A000-memory.dmp

          memory/1384-31-0x0000000074AC0000-0x0000000075270000-memory.dmp

          memory/1384-2-0x0000000005530000-0x0000000005AD4000-memory.dmp

          memory/1384-0-0x0000000074ACE000-0x0000000074ACF000-memory.dmp

          memory/1384-3-0x0000000005020000-0x00000000050B2000-memory.dmp

          memory/1960-21-0x0000000000400000-0x0000000000440000-memory.dmp

          memory/1960-63-0x0000000006FC0000-0x0000000007010000-memory.dmp

          memory/1960-67-0x0000000074AC0000-0x0000000075270000-memory.dmp

          memory/1960-33-0x0000000074AC0000-0x0000000075270000-memory.dmp

          memory/4200-25-0x0000000005820000-0x0000000005886000-memory.dmp

          memory/4200-54-0x00000000078E0000-0x0000000007F5A000-memory.dmp

          memory/4200-34-0x0000000005990000-0x0000000005CE4000-memory.dmp

          memory/4200-19-0x0000000074AC0000-0x0000000075270000-memory.dmp

          memory/4200-24-0x0000000005050000-0x00000000050B6000-memory.dmp

          memory/4200-23-0x0000000004FB0000-0x0000000004FD2000-memory.dmp

          memory/4200-18-0x0000000005140000-0x0000000005768000-memory.dmp

          memory/4200-39-0x0000000005F80000-0x0000000005F9E000-memory.dmp

          memory/4200-40-0x0000000006010000-0x000000000605C000-memory.dmp

          memory/4200-41-0x0000000006550000-0x0000000006582000-memory.dmp

          memory/4200-42-0x0000000070B50000-0x0000000070B9C000-memory.dmp

          memory/4200-52-0x0000000006590000-0x00000000065AE000-memory.dmp

          memory/4200-53-0x0000000006F70000-0x0000000007013000-memory.dmp

          memory/4200-20-0x0000000074AC0000-0x0000000075270000-memory.dmp

          memory/4200-55-0x00000000072A0000-0x00000000072BA000-memory.dmp

          memory/4200-56-0x0000000007310000-0x000000000731A000-memory.dmp

          memory/4200-57-0x0000000007520000-0x00000000075B6000-memory.dmp

          memory/4200-58-0x00000000074A0000-0x00000000074B1000-memory.dmp

          memory/4200-59-0x00000000074D0000-0x00000000074DE000-memory.dmp

          memory/4200-60-0x00000000074E0000-0x00000000074F4000-memory.dmp

          memory/4200-61-0x00000000075E0000-0x00000000075FA000-memory.dmp

          memory/4200-62-0x00000000075C0000-0x00000000075C8000-memory.dmp

          memory/4200-17-0x0000000074AC0000-0x0000000075270000-memory.dmp

          memory/4200-66-0x0000000074AC0000-0x0000000075270000-memory.dmp

          memory/4200-15-0x00000000049C0000-0x00000000049F6000-memory.dmp