Analysis

  • max time kernel
    42s
  • max time network
    51s
  • 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, 02:13

General

  • Target
    fe589124f74518d8fb38ca9341fc76d509d35cdb12a182c6a089b744b5aaf1ce.exe
  • Size 961KB
  • Sample240620-cngydstamf
  • SHA256 fe589124f74518d8fb38ca9341fc76d509d35cdb12a182c6a089b744b5aaf1ce
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

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 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
  • 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 4 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\fe589124f74518d8fb38ca9341fc76d509d35cdb12a182c6a089b744b5aaf1ce.exe
    "C:\Users\Admin\AppData\Local\Temp\fe589124f74518d8fb38ca9341fc76d509d35cdb12a182c6a089b744b5aaf1ce.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2372
    • 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\fe589124f74518d8fb38ca9341fc76d509d35cdb12a182c6a089b744b5aaf1ce.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3108
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\XFHpRapQopwOlD.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2188
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\XFHpRapQopwOlD" /XML "C:\Users\Admin\AppData\Local\Temp\tmp787C.tmp"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:2000
    • C:\Users\Admin\AppData\Local\Temp\fe589124f74518d8fb38ca9341fc76d509d35cdb12a182c6a089b744b5aaf1ce.exe
      "C:\Users\Admin\AppData\Local\Temp\fe589124f74518d8fb38ca9341fc76d509d35cdb12a182c6a089b744b5aaf1ce.exe"
      2⤵
        PID:4564
      • C:\Users\Admin\AppData\Local\Temp\fe589124f74518d8fb38ca9341fc76d509d35cdb12a182c6a089b744b5aaf1ce.exe
        "C:\Users\Admin\AppData\Local\Temp\fe589124f74518d8fb38ca9341fc76d509d35cdb12a182c6a089b744b5aaf1ce.exe"
        2⤵
        • Adds Run key to start application
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4576

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          fe589124f74518d8fb38ca9341fc76d509d35cdb12a182c6a089b744b5aaf1ce.exe.log

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

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

          __PSScriptPolicyTest_pq2hkeod.fk3.ps1

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

          tmp787C.tmp

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

          memory/2188-78-0x0000000006F90000-0x0000000006FAA000-memory.dmp

          memory/2188-79-0x0000000007000000-0x000000000700A000-memory.dmp

          memory/2188-93-0x0000000075320000-0x0000000075AD0000-memory.dmp

          memory/2188-85-0x00000000072D0000-0x00000000072EA000-memory.dmp

          memory/2188-83-0x00000000071C0000-0x00000000071CE000-memory.dmp

          memory/2188-81-0x0000000007190000-0x00000000071A1000-memory.dmp

          memory/2188-66-0x00000000719C0000-0x0000000071A0C000-memory.dmp

          memory/2188-84-0x00000000071D0000-0x00000000071E4000-memory.dmp

          memory/2188-24-0x0000000004C90000-0x0000000004CB2000-memory.dmp

          memory/2188-47-0x0000000075320000-0x0000000075AD0000-memory.dmp

          memory/2188-25-0x0000000005370000-0x00000000053D6000-memory.dmp

          memory/2188-27-0x0000000075320000-0x0000000075AD0000-memory.dmp

          memory/2188-26-0x00000000055D0000-0x0000000005636000-memory.dmp

          memory/2188-22-0x0000000075320000-0x0000000075AD0000-memory.dmp

          memory/2372-3-0x0000000004EA0000-0x0000000004F32000-memory.dmp

          memory/2372-51-0x0000000075320000-0x0000000075AD0000-memory.dmp

          memory/2372-7-0x0000000005150000-0x00000000051EC000-memory.dmp

          memory/2372-1-0x0000000000330000-0x0000000000426000-memory.dmp

          memory/2372-4-0x0000000004E30000-0x0000000004E3A000-memory.dmp

          memory/2372-2-0x0000000005450000-0x00000000059F4000-memory.dmp

          memory/2372-8-0x0000000005430000-0x0000000005442000-memory.dmp

          memory/2372-11-0x00000000089A0000-0x0000000008A32000-memory.dmp

          memory/2372-9-0x0000000005F10000-0x0000000005F18000-memory.dmp

          memory/2372-10-0x0000000005F20000-0x0000000005F2C000-memory.dmp

          memory/2372-12-0x0000000009060000-0x00000000090E2000-memory.dmp

          memory/2372-0-0x000000007532E000-0x000000007532F000-memory.dmp

          memory/2372-5-0x0000000075320000-0x0000000075AD0000-memory.dmp

          memory/2372-6-0x0000000005F30000-0x000000000645C000-memory.dmp

          memory/3108-72-0x0000000007800000-0x00000000078A3000-memory.dmp

          memory/3108-65-0x0000000007580000-0x000000000759E000-memory.dmp

          memory/3108-55-0x00000000719C0000-0x0000000071A0C000-memory.dmp

          memory/3108-53-0x0000000006680000-0x00000000066CC000-memory.dmp

          memory/3108-52-0x00000000065F0000-0x000000000660E000-memory.dmp

          memory/3108-77-0x0000000007F80000-0x00000000085FA000-memory.dmp

          memory/3108-21-0x0000000075320000-0x0000000075AD0000-memory.dmp

          memory/3108-80-0x0000000007BC0000-0x0000000007C56000-memory.dmp

          memory/3108-17-0x0000000002CF0000-0x0000000002D26000-memory.dmp

          memory/3108-54-0x00000000075C0000-0x00000000075F2000-memory.dmp

          memory/3108-18-0x0000000075320000-0x0000000075AD0000-memory.dmp

          memory/3108-19-0x0000000075320000-0x0000000075AD0000-memory.dmp

          memory/3108-86-0x0000000007C60000-0x0000000007C68000-memory.dmp

          memory/3108-39-0x0000000006010000-0x0000000006364000-memory.dmp

          memory/3108-92-0x0000000075320000-0x0000000075AD0000-memory.dmp

          memory/3108-20-0x0000000005760000-0x0000000005D88000-memory.dmp

          memory/4576-48-0x0000000000400000-0x0000000000442000-memory.dmp

          memory/4576-94-0x0000000006550000-0x00000000065A0000-memory.dmp