Analysis

  • max time kernel
    120s
  • max time network
    128s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02/08/2024, 18:52

General

  • Target
    1/0178b79bd084c2597b2de4e62e61a88bb8359e4fcac2fe672bb887e0e52e5dbd.exe
  • Size 678KB
  • Sample240802-xjgr2s1ape
  • SHA256 0178b79bd084c2597b2de4e62e61a88bb8359e4fcac2fe672bb887e0e52e5dbd
  • 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.

  • Credentials from Password Stores: Credentials from Web Browsers 1 TTPs

    Malicious Access or copy of Web Browser Credential store.

  • 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 3 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).

  • System Location Discovery: System Language Discovery 1 TTPs 5 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\1\0178b79bd084c2597b2de4e62e61a88bb8359e4fcac2fe672bb887e0e52e5dbd.exe
    "C:\Users\Admin\AppData\Local\Temp\1\0178b79bd084c2597b2de4e62e61a88bb8359e4fcac2fe672bb887e0e52e5dbd.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1048
    • 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\1\0178b79bd084c2597b2de4e62e61a88bb8359e4fcac2fe672bb887e0e52e5dbd.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1672
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\yZxVRz.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5072
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\yZxVRz" /XML "C:\Users\Admin\AppData\Local\Temp\tmpC38E.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:3724
    • C:\Users\Admin\AppData\Local\Temp\1\0178b79bd084c2597b2de4e62e61a88bb8359e4fcac2fe672bb887e0e52e5dbd.exe
      "C:\Users\Admin\AppData\Local\Temp\1\0178b79bd084c2597b2de4e62e61a88bb8359e4fcac2fe672bb887e0e52e5dbd.exe"
      2⤵
        PID:832
      • C:\Users\Admin\AppData\Local\Temp\1\0178b79bd084c2597b2de4e62e61a88bb8359e4fcac2fe672bb887e0e52e5dbd.exe
        "C:\Users\Admin\AppData\Local\Temp\1\0178b79bd084c2597b2de4e62e61a88bb8359e4fcac2fe672bb887e0e52e5dbd.exe"
        2⤵
        • Adds Run key to start application
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3560

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          __PSScriptPolicyTest_3qhkafgw.mc5.ps1

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

          tmpC38E.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmpC38E.tmp
          • Size 1KB
          • SHA256 342405f71215735848c3146d12dafded19efedf9bc19f0e3e9166bfe6f7674db
          • MD5 SHA1 SHA512

          memory/1048-8-0x00000000067F0000-0x00000000067FE000-memory.dmp

          memory/1048-9-0x0000000007130000-0x00000000071B4000-memory.dmp

          memory/1048-5-0x0000000005870000-0x000000000587A000-memory.dmp

          memory/1048-4-0x0000000074440000-0x0000000074BF0000-memory.dmp

          memory/1048-6-0x0000000006800000-0x0000000006D2C000-memory.dmp

          memory/1048-7-0x0000000005CF0000-0x0000000005D00000-memory.dmp

          memory/1048-2-0x0000000005D20000-0x00000000062C4000-memory.dmp

          memory/1048-3-0x00000000056B0000-0x0000000005742000-memory.dmp

          memory/1048-10-0x00000000098A0000-0x000000000993C000-memory.dmp

          memory/1048-49-0x0000000074440000-0x0000000074BF0000-memory.dmp

          memory/1048-0-0x000000007444E000-0x000000007444F000-memory.dmp

          memory/1048-46-0x000000007444E000-0x000000007444F000-memory.dmp

          memory/1048-43-0x0000000074440000-0x0000000074BF0000-memory.dmp

          memory/1048-1-0x0000000000D60000-0x0000000000E10000-memory.dmp

          memory/1672-17-0x0000000004C90000-0x00000000052B8000-memory.dmp

          memory/1672-76-0x0000000007520000-0x0000000007B9A000-memory.dmp

          memory/1672-21-0x0000000005330000-0x0000000005396000-memory.dmp

          memory/1672-19-0x0000000004B10000-0x0000000004B32000-memory.dmp

          memory/1672-22-0x0000000005450000-0x00000000054B6000-memory.dmp

          memory/1672-18-0x0000000074440000-0x0000000074BF0000-memory.dmp

          memory/1672-87-0x0000000074440000-0x0000000074BF0000-memory.dmp

          memory/1672-64-0x0000000074CA0000-0x0000000074CEC000-memory.dmp

          memory/1672-16-0x0000000074440000-0x0000000074BF0000-memory.dmp

          memory/1672-83-0x0000000007210000-0x000000000722A000-memory.dmp

          memory/1672-79-0x00000000070D0000-0x00000000070E1000-memory.dmp

          memory/1672-15-0x0000000004620000-0x0000000004656000-memory.dmp

          memory/1672-77-0x0000000006F40000-0x0000000006F4A000-memory.dmp

          memory/3560-89-0x00000000065F0000-0x0000000006640000-memory.dmp

          memory/3560-44-0x0000000000400000-0x0000000000442000-memory.dmp

          memory/5072-63-0x0000000006E30000-0x0000000006E4E000-memory.dmp

          memory/5072-80-0x0000000007DD0000-0x0000000007DDE000-memory.dmp

          memory/5072-52-0x0000000007830000-0x0000000007862000-memory.dmp

          memory/5072-74-0x0000000007A70000-0x0000000007B13000-memory.dmp

          memory/5072-75-0x0000000007BA0000-0x0000000007BBA000-memory.dmp

          memory/5072-51-0x0000000006910000-0x000000000695C000-memory.dmp

          memory/5072-50-0x0000000006880000-0x000000000689E000-memory.dmp

          memory/5072-78-0x0000000007E20000-0x0000000007EB6000-memory.dmp

          memory/5072-34-0x0000000074440000-0x0000000074BF0000-memory.dmp

          memory/5072-53-0x0000000074CA0000-0x0000000074CEC000-memory.dmp

          memory/5072-81-0x0000000007DE0000-0x0000000007DF4000-memory.dmp

          memory/5072-48-0x0000000074440000-0x0000000074BF0000-memory.dmp

          memory/5072-82-0x0000000007EE0000-0x0000000007EFA000-memory.dmp

          memory/5072-84-0x0000000007EC0000-0x0000000007EC8000-memory.dmp

          memory/5072-45-0x0000000074440000-0x0000000074BF0000-memory.dmp

          memory/5072-86-0x0000000074440000-0x0000000074BF0000-memory.dmp

          memory/5072-28-0x0000000006290000-0x00000000065E4000-memory.dmp