Analysis

  • max time kernel
    122s
  • max time network
    137s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240730-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240730-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02/08/2024, 12:36

General

  • Target
    1/0178b79bd084c2597b2de4e62e61a88bb8359e4fcac2fe672bb887e0e52e5dbd.exe
  • Size 678KB
  • Sample240802-ps8ywswhlr
  • 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 16 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 26 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:3216
    • 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:2568
    • 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:396
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\yZxVRz" /XML "C:\Users\Admin\AppData\Local\Temp\tmp11FC.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:5020
    • C:\Users\Admin\AppData\Local\Temp\1\0178b79bd084c2597b2de4e62e61a88bb8359e4fcac2fe672bb887e0e52e5dbd.exe
      "C:\Users\Admin\AppData\Local\Temp\1\0178b79bd084c2597b2de4e62e61a88bb8359e4fcac2fe672bb887e0e52e5dbd.exe"
      2⤵
        PID:1952
      • C:\Users\Admin\AppData\Local\Temp\1\0178b79bd084c2597b2de4e62e61a88bb8359e4fcac2fe672bb887e0e52e5dbd.exe
        "C:\Users\Admin\AppData\Local\Temp\1\0178b79bd084c2597b2de4e62e61a88bb8359e4fcac2fe672bb887e0e52e5dbd.exe"
        2⤵
          PID:1584
        • C:\Users\Admin\AppData\Local\Temp\1\0178b79bd084c2597b2de4e62e61a88bb8359e4fcac2fe672bb887e0e52e5dbd.exe
          "C:\Users\Admin\AppData\Local\Temp\1\0178b79bd084c2597b2de4e62e61a88bb8359e4fcac2fe672bb887e0e52e5dbd.exe"
          2⤵
            PID:2032
          • 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:3920

        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 6f8fd1b8d9788ad54eaeee329232187e24b7b43393a01aeba2d6e9675231fb69
              • MD5 SHA1 SHA512

              StartupProfileData-NonInteractive

              • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
              • Size 18KB
              • SHA256 3d458f9228004bd52091018b978408cab1d51b765922ca7f8cb82ae621aa405d
              • MD5 SHA1 SHA512 SSDEEP

              __PSScriptPolicyTest_fm5fhb2g.u3h.ps1

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

              tmp11FC.tmp

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

              memory/396-78-0x0000000007840000-0x00000000078D6000-memory.dmp

              memory/396-81-0x0000000007800000-0x0000000007814000-memory.dmp

              memory/396-82-0x0000000007900000-0x000000000791A000-memory.dmp

              memory/396-76-0x00000000075C0000-0x00000000075DA000-memory.dmp

              memory/396-75-0x0000000007C00000-0x000000000827A000-memory.dmp

              memory/396-63-0x00000000750B0000-0x00000000750FC000-memory.dmp

              memory/396-74-0x0000000007480000-0x0000000007523000-memory.dmp

              memory/396-25-0x0000000074840000-0x0000000074FF0000-memory.dmp

              memory/396-89-0x0000000074840000-0x0000000074FF0000-memory.dmp

              memory/396-23-0x0000000074840000-0x0000000074FF0000-memory.dmp

              memory/2568-16-0x0000000074840000-0x0000000074FF0000-memory.dmp

              memory/2568-52-0x00000000078F0000-0x0000000007922000-memory.dmp

              memory/2568-90-0x0000000074840000-0x0000000074FF0000-memory.dmp

              memory/2568-83-0x0000000007FB0000-0x0000000007FB8000-memory.dmp

              memory/2568-18-0x0000000074840000-0x0000000074FF0000-memory.dmp

              memory/2568-17-0x0000000005C90000-0x00000000062B8000-memory.dmp

              memory/2568-24-0x0000000005BE0000-0x0000000005C02000-memory.dmp

              memory/2568-80-0x0000000007EC0000-0x0000000007ECE000-memory.dmp

              memory/2568-32-0x0000000006330000-0x0000000006396000-memory.dmp

              memory/2568-31-0x00000000062C0000-0x0000000006326000-memory.dmp

              memory/2568-79-0x0000000007E90000-0x0000000007EA1000-memory.dmp

              memory/2568-15-0x0000000003090000-0x00000000030C6000-memory.dmp

              memory/2568-47-0x00000000064A0000-0x00000000067F4000-memory.dmp

              memory/2568-77-0x0000000007D00000-0x0000000007D0A000-memory.dmp

              memory/2568-50-0x0000000006960000-0x000000000697E000-memory.dmp

              memory/2568-51-0x00000000069B0000-0x00000000069FC000-memory.dmp

              memory/2568-53-0x00000000750B0000-0x00000000750FC000-memory.dmp

              memory/2568-19-0x0000000074840000-0x0000000074FF0000-memory.dmp

              memory/2568-64-0x00000000078D0000-0x00000000078EE000-memory.dmp

              memory/3216-5-0x0000000074840000-0x0000000074FF0000-memory.dmp

              memory/3216-4-0x0000000005160000-0x000000000516A000-memory.dmp

              memory/3216-8-0x0000000005F80000-0x0000000005F8E000-memory.dmp

              memory/3216-7-0x00000000052C0000-0x00000000052D0000-memory.dmp

              memory/3216-49-0x0000000074840000-0x0000000074FF0000-memory.dmp

              memory/3216-6-0x0000000005FB0000-0x00000000064DC000-memory.dmp

              memory/3216-9-0x0000000006910000-0x0000000006994000-memory.dmp

              memory/3216-20-0x000000007484E000-0x000000007484F000-memory.dmp

              memory/3216-10-0x0000000006B90000-0x0000000006C2C000-memory.dmp

              memory/3216-0-0x000000007484E000-0x000000007484F000-memory.dmp

              memory/3216-22-0x0000000074840000-0x0000000074FF0000-memory.dmp

              memory/3216-3-0x0000000004FC0000-0x0000000005052000-memory.dmp

              memory/3216-2-0x00000000054D0000-0x0000000005A74000-memory.dmp

              memory/3216-1-0x0000000000500000-0x00000000005B0000-memory.dmp

              memory/3920-37-0x0000000000400000-0x0000000000442000-memory.dmp

              memory/3920-92-0x00000000070F0000-0x0000000007140000-memory.dmp