Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240426-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08/06/2024, 01:17

General

  • Target
    ef30a38f0f776a0ce8627b5fb7f5f262db1b517adc0c181d8f6122b3c1298708.exe
  • Size 694KB
  • Sample240608-bndejafh57
  • SHA256 ef30a38f0f776a0ce8627b5fb7f5f262db1b517adc0c181d8f6122b3c1298708
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot5553883196:AAFzz4vvURTiuReri7aWuD4OXczu1YPw9ec/

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 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\ef30a38f0f776a0ce8627b5fb7f5f262db1b517adc0c181d8f6122b3c1298708.exe
    "C:\Users\Admin\AppData\Local\Temp\ef30a38f0f776a0ce8627b5fb7f5f262db1b517adc0c181d8f6122b3c1298708.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2060
    • 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\ef30a38f0f776a0ce8627b5fb7f5f262db1b517adc0c181d8f6122b3c1298708.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3504
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\gPbRUAnzPKhmvd.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:916
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\gPbRUAnzPKhmvd" /XML "C:\Users\Admin\AppData\Local\Temp\tmp68DC.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2716
    • C:\Users\Admin\AppData\Local\Temp\ef30a38f0f776a0ce8627b5fb7f5f262db1b517adc0c181d8f6122b3c1298708.exe
      "C:\Users\Admin\AppData\Local\Temp\ef30a38f0f776a0ce8627b5fb7f5f262db1b517adc0c181d8f6122b3c1298708.exe"
      2⤵
        PID:3704
      • C:\Users\Admin\AppData\Local\Temp\ef30a38f0f776a0ce8627b5fb7f5f262db1b517adc0c181d8f6122b3c1298708.exe
        "C:\Users\Admin\AppData\Local\Temp\ef30a38f0f776a0ce8627b5fb7f5f262db1b517adc0c181d8f6122b3c1298708.exe"
        2⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        PID:5036

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

          __PSScriptPolicyTest_hlilfm40.sb5.ps1

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

          tmp68DC.tmp

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

          memory/916-64-0x0000000072E20000-0x0000000072E6C000-memory.dmp

          memory/916-47-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/916-36-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/916-81-0x00000000075D0000-0x00000000075E4000-memory.dmp

          memory/916-82-0x00000000076D0000-0x00000000076EA000-memory.dmp

          memory/916-33-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/916-83-0x00000000076B0000-0x00000000076B8000-memory.dmp

          memory/916-90-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/916-78-0x0000000007610000-0x00000000076A6000-memory.dmp

          memory/916-76-0x0000000007400000-0x000000000740A000-memory.dmp

          memory/2060-6-0x0000000004F40000-0x0000000004F56000-memory.dmp

          memory/2060-0-0x0000000074ECE000-0x0000000074ECF000-memory.dmp

          memory/2060-10-0x00000000061C0000-0x000000000625C000-memory.dmp

          memory/2060-9-0x0000000005F30000-0x0000000005FB6000-memory.dmp

          memory/2060-8-0x0000000005310000-0x0000000005320000-memory.dmp

          memory/2060-7-0x0000000005300000-0x000000000530E000-memory.dmp

          memory/2060-5-0x0000000004D60000-0x0000000004D6A000-memory.dmp

          memory/2060-4-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/2060-3-0x0000000004C90000-0x0000000004D22000-memory.dmp

          memory/2060-48-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/2060-2-0x0000000005340000-0x00000000058E4000-memory.dmp

          memory/2060-1-0x0000000000200000-0x00000000002B4000-memory.dmp

          memory/3504-16-0x00000000053B0000-0x00000000059D8000-memory.dmp

          memory/3504-23-0x0000000005C10000-0x0000000005C76000-memory.dmp

          memory/3504-50-0x0000000006280000-0x00000000062CC000-memory.dmp

          memory/3504-51-0x0000000006820000-0x0000000006852000-memory.dmp

          memory/3504-52-0x0000000072E20000-0x0000000072E6C000-memory.dmp

          memory/3504-62-0x0000000007430000-0x000000000744E000-memory.dmp

          memory/3504-63-0x0000000007450000-0x00000000074F3000-memory.dmp

          memory/3504-21-0x0000000005290000-0x00000000052B2000-memory.dmp

          memory/3504-75-0x0000000007580000-0x000000000759A000-memory.dmp

          memory/3504-74-0x0000000007BC0000-0x000000000823A000-memory.dmp

          memory/3504-22-0x0000000005330000-0x0000000005396000-memory.dmp

          memory/3504-49-0x0000000006260000-0x000000000627E000-memory.dmp

          memory/3504-77-0x0000000007800000-0x0000000007896000-memory.dmp

          memory/3504-79-0x0000000007780000-0x0000000007791000-memory.dmp

          memory/3504-80-0x00000000077B0000-0x00000000077BE000-memory.dmp

          memory/3504-15-0x0000000004CB0000-0x0000000004CE6000-memory.dmp

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

          memory/3504-20-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/3504-86-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/3504-18-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/3504-17-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/5036-34-0x0000000000400000-0x0000000000444000-memory.dmp

          memory/5036-91-0x0000000006660000-0x00000000066B0000-memory.dmp