Analysis

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

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

General

  • Target
    e09c2a616a5dbcf8fb6b928c3f67bf919308d54c015e7d02813a316b56ec7092.exe
  • Size 784KB
  • Sample240604-bkcc3afh8y
  • SHA256 e09c2a616a5dbcf8fb6b928c3f67bf919308d54c015e7d02813a316b56ec7092
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot6937426667:AAH5h4aXvUjmlMFV8im9A9lKn7JS7MyNHLA/

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.

  • 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 13 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\e09c2a616a5dbcf8fb6b928c3f67bf919308d54c015e7d02813a316b56ec7092.exe
    "C:\Users\Admin\AppData\Local\Temp\e09c2a616a5dbcf8fb6b928c3f67bf919308d54c015e7d02813a316b56ec7092.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2168
    • 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\e09c2a616a5dbcf8fb6b928c3f67bf919308d54c015e7d02813a316b56ec7092.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2100
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\KEsHCFcsavtjK.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:456
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\KEsHCFcsavtjK" /XML "C:\Users\Admin\AppData\Local\Temp\tmpBB22.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1428
    • C:\Users\Admin\AppData\Local\Temp\e09c2a616a5dbcf8fb6b928c3f67bf919308d54c015e7d02813a316b56ec7092.exe
      "C:\Users\Admin\AppData\Local\Temp\e09c2a616a5dbcf8fb6b928c3f67bf919308d54c015e7d02813a316b56ec7092.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:3824

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        e09c2a616a5dbcf8fb6b928c3f67bf919308d54c015e7d02813a316b56ec7092.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\e09c2a616a5dbcf8fb6b928c3f67bf919308d54c015e7d02813a316b56ec7092.exe.log
        • Size 1KB
        • SHA256 cb5dcf594045c8b7a5f87e8a12eabbd3e53e673654926027627ed79ef3e2a203
        • 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 e53e4bd1b2662e41f703e821acf41d85649ddd1ed2993e34f03a01dfa8817cfe
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_bslgp0uv.cmj.ps1

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

        tmpBB22.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmpBB22.tmp
        • Size 1KB
        • SHA256 49fb12bafdf784e6fa1071f91e589ca1c981fde464e649b72979b71f519ce082
        • MD5 SHA1 SHA512

        memory/456-83-0x0000000007510000-0x0000000007518000-memory.dmp

        memory/456-79-0x00000000073F0000-0x0000000007401000-memory.dmp

        memory/456-78-0x0000000007470000-0x0000000007506000-memory.dmp

        memory/456-75-0x00000000071F0000-0x000000000720A000-memory.dmp

        memory/456-74-0x00000000070E0000-0x0000000007183000-memory.dmp

        memory/456-54-0x0000000070F00000-0x0000000070F4C000-memory.dmp

        memory/456-52-0x00000000070A0000-0x00000000070D2000-memory.dmp

        memory/456-81-0x0000000007430000-0x0000000007444000-memory.dmp

        memory/456-22-0x0000000074B00000-0x00000000752B0000-memory.dmp

        memory/456-45-0x0000000074B00000-0x00000000752B0000-memory.dmp

        memory/456-90-0x0000000074B00000-0x00000000752B0000-memory.dmp

        memory/456-20-0x0000000074B00000-0x00000000752B0000-memory.dmp

        memory/2100-16-0x0000000002EF0000-0x0000000002F26000-memory.dmp

        memory/2100-73-0x0000000006DA0000-0x0000000006DBE000-memory.dmp

        memory/2100-86-0x0000000074B00000-0x00000000752B0000-memory.dmp

        memory/2100-18-0x0000000005950000-0x0000000005F78000-memory.dmp

        memory/2100-23-0x0000000006060000-0x00000000060C6000-memory.dmp

        memory/2100-19-0x0000000074B00000-0x00000000752B0000-memory.dmp

        memory/2100-17-0x0000000074B00000-0x00000000752B0000-memory.dmp

        memory/2100-82-0x0000000007E50000-0x0000000007E6A000-memory.dmp

        memory/2100-80-0x0000000007D40000-0x0000000007D4E000-memory.dmp

        memory/2100-77-0x0000000007B80000-0x0000000007B8A000-memory.dmp

        memory/2100-21-0x0000000005F80000-0x0000000005FA2000-memory.dmp

        memory/2100-50-0x00000000067D0000-0x00000000067EE000-memory.dmp

        memory/2100-51-0x0000000006C10000-0x0000000006C5C000-memory.dmp

        memory/2100-76-0x0000000008180000-0x00000000087FA000-memory.dmp

        memory/2100-53-0x0000000070F00000-0x0000000070F4C000-memory.dmp

        memory/2100-24-0x0000000006180000-0x00000000061E6000-memory.dmp

        memory/2168-9-0x0000000006250000-0x0000000006260000-memory.dmp

        memory/2168-0-0x0000000074B0E000-0x0000000074B0F000-memory.dmp

        memory/2168-11-0x0000000008BC0000-0x0000000008C5C000-memory.dmp

        memory/2168-8-0x0000000006240000-0x000000000624E000-memory.dmp

        memory/2168-49-0x0000000074B00000-0x00000000752B0000-memory.dmp

        memory/2168-7-0x0000000006730000-0x0000000006746000-memory.dmp

        memory/2168-6-0x00000000056D0000-0x0000000005A24000-memory.dmp

        memory/2168-10-0x00000000062F0000-0x0000000006376000-memory.dmp

        memory/2168-5-0x0000000074B00000-0x00000000752B0000-memory.dmp

        memory/2168-1-0x0000000000140000-0x0000000000204000-memory.dmp

        memory/2168-4-0x0000000004CC0000-0x0000000004CCA000-memory.dmp

        memory/2168-30-0x0000000074B0E000-0x0000000074B0F000-memory.dmp

        memory/2168-3-0x0000000004C10000-0x0000000004CA2000-memory.dmp

        memory/2168-2-0x0000000005120000-0x00000000056C4000-memory.dmp

        memory/3824-46-0x0000000000400000-0x0000000000444000-memory.dmp

        memory/3824-91-0x0000000005F00000-0x0000000005F50000-memory.dmp