Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19/05/2024, 01:20

General

  • Target
    e8fe4366c2f5dec094103ca8abbf55bf6d2bfd50fa9e6441111678a0f0e8c432.exe
  • Size 700KB
  • Sample240519-bqk76aah2y
  • SHA256 e8fe4366c2f5dec094103ca8abbf55bf6d2bfd50fa9e6441111678a0f0e8c432
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.bonnyriggdentalsurgery.com.au

  • Port

    587

  • Password

    Sages101*

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\e8fe4366c2f5dec094103ca8abbf55bf6d2bfd50fa9e6441111678a0f0e8c432.exe
    "C:\Users\Admin\AppData\Local\Temp\e8fe4366c2f5dec094103ca8abbf55bf6d2bfd50fa9e6441111678a0f0e8c432.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2320
    • 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\e8fe4366c2f5dec094103ca8abbf55bf6d2bfd50fa9e6441111678a0f0e8c432.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3652
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\BThrvPseKTe.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2272
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\BThrvPseKTe" /XML "C:\Users\Admin\AppData\Local\Temp\tmp8D2C.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1444
    • C:\Users\Admin\AppData\Local\Temp\e8fe4366c2f5dec094103ca8abbf55bf6d2bfd50fa9e6441111678a0f0e8c432.exe
      "C:\Users\Admin\AppData\Local\Temp\e8fe4366c2f5dec094103ca8abbf55bf6d2bfd50fa9e6441111678a0f0e8c432.exe"
      2⤵
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3492

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

        __PSScriptPolicyTest_0hnkjzcn.1gb.ps1

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

        tmp8D2C.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp8D2C.tmp
        • Size 1KB
        • SHA256 64d1a04c315dc838805a40fbffccac53f0d1ebf2637ae0e20ebb6fed1c272268
        • MD5 SHA1 SHA512

        memory/2272-83-0x0000000007B10000-0x0000000007B18000-memory.dmp

        memory/2272-26-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/2272-82-0x0000000007B30000-0x0000000007B4A000-memory.dmp

        memory/2272-64-0x0000000075640000-0x000000007568C000-memory.dmp

        memory/2272-87-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/2272-21-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/2272-19-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/2272-15-0x0000000002B80000-0x0000000002BB6000-memory.dmp

        memory/2272-17-0x0000000005610000-0x0000000005C38000-memory.dmp

        memory/2272-79-0x00000000079F0000-0x0000000007A01000-memory.dmp

        memory/2320-7-0x0000000005840000-0x0000000005862000-memory.dmp

        memory/2320-0-0x0000000074D9E000-0x0000000074D9F000-memory.dmp

        memory/2320-9-0x00000000051E0000-0x00000000051F0000-memory.dmp

        memory/2320-8-0x00000000059F0000-0x00000000059FC000-memory.dmp

        memory/2320-6-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/2320-5-0x0000000005AD0000-0x0000000005B6C000-memory.dmp

        memory/2320-1-0x0000000000D40000-0x0000000000DF4000-memory.dmp

        memory/2320-48-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/2320-4-0x0000000005800000-0x000000000580A000-memory.dmp

        memory/2320-3-0x0000000005860000-0x00000000058F2000-memory.dmp

        memory/2320-10-0x0000000006720000-0x00000000067A4000-memory.dmp

        memory/2320-2-0x0000000005D70000-0x0000000006314000-memory.dmp

        memory/3492-36-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/3492-84-0x0000000006B50000-0x0000000006BA0000-memory.dmp

        memory/3652-23-0x00000000061B0000-0x00000000061D2000-memory.dmp

        memory/3652-63-0x0000000007B50000-0x0000000007BF3000-memory.dmp

        memory/3652-62-0x0000000007B30000-0x0000000007B4E000-memory.dmp

        memory/3652-52-0x0000000075640000-0x000000007568C000-memory.dmp

        memory/3652-51-0x0000000006F20000-0x0000000006F52000-memory.dmp

        memory/3652-49-0x0000000006950000-0x000000000696E000-memory.dmp

        memory/3652-74-0x00000000082C0000-0x000000000893A000-memory.dmp

        memory/3652-75-0x0000000007C80000-0x0000000007C9A000-memory.dmp

        memory/3652-76-0x0000000007CF0000-0x0000000007CFA000-memory.dmp

        memory/3652-78-0x0000000007F00000-0x0000000007F96000-memory.dmp

        memory/3652-50-0x0000000006980000-0x00000000069CC000-memory.dmp

        memory/3652-80-0x0000000007EB0000-0x0000000007EBE000-memory.dmp

        memory/3652-81-0x0000000007EC0000-0x0000000007ED4000-memory.dmp

        memory/3652-46-0x0000000006330000-0x0000000006684000-memory.dmp

        memory/3652-24-0x0000000006250000-0x00000000062B6000-memory.dmp

        memory/3652-25-0x00000000062C0000-0x0000000006326000-memory.dmp

        memory/3652-22-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/3652-18-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/3652-16-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/3652-91-0x0000000074D90000-0x0000000075540000-memory.dmp