Analysis

  • max time kernel
    117s
  • max time network
    118s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17/04/2024, 09:13

General

  • Target
    UPDATED SOA PDF.exe
  • Size 688KB
  • Sample240417-k6srlscc3w
  • SHA256 40bb8b7b9fec345f4aa54b05cc02fa42b404b9de341e07f7c6d7a0c1a1d801ff
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

Credentials

Signatures

  • AgentTesla

    Agent Tesla is a remote access tool (RAT) written in visual basic.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\UPDATED SOA PDF.exe
    "C:\Users\Admin\AppData\Local\Temp\UPDATED SOA PDF.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4420
    • 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\UPDATED SOA PDF.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3132
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\eVLiRnaGQFTb.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1304
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\eVLiRnaGQFTb" /XML "C:\Users\Admin\AppData\Local\Temp\tmpA0C4.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1720
    • C:\Users\Admin\AppData\Local\Temp\UPDATED SOA PDF.exe
      "C:\Users\Admin\AppData\Local\Temp\UPDATED SOA PDF.exe"
      2⤵
        PID:3856
      • C:\Users\Admin\AppData\Local\Temp\UPDATED SOA PDF.exe
        "C:\Users\Admin\AppData\Local\Temp\UPDATED SOA PDF.exe"
        2⤵
          PID:2712
        • C:\Users\Admin\AppData\Local\Temp\UPDATED SOA PDF.exe
          "C:\Users\Admin\AppData\Local\Temp\UPDATED SOA PDF.exe"
          2⤵
          • Adds Run key to start application
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of SetWindowsHookEx
          PID:4168

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

            __PSScriptPolicyTest_osceayeo.243.ps1

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

            tmpA0C4.tmp

            • Path C:\Users\Admin\AppData\Local\Temp\tmpA0C4.tmp
            • Size 1KB
            • SHA256 30c98f4d21d88a889d30bd215f098dfa4596f811150c7fd623f24f2921a5c565
            • MD5 SHA1 SHA512

            memory/1304-84-0x00000000072F0000-0x0000000007386000-memory.dmp

            memory/1304-53-0x0000000005DE0000-0x0000000005E2C000-memory.dmp

            memory/1304-82-0x0000000007070000-0x000000000708A000-memory.dmp

            memory/1304-81-0x00000000076C0000-0x0000000007D3A000-memory.dmp

            memory/1304-79-0x0000000006F20000-0x0000000006FC3000-memory.dmp

            memory/1304-77-0x0000000004740000-0x0000000004750000-memory.dmp

            memory/1304-54-0x0000000006ED0000-0x0000000006F02000-memory.dmp

            memory/1304-57-0x0000000071DB0000-0x0000000071DFC000-memory.dmp

            memory/1304-55-0x000000007F8E0000-0x000000007F8F0000-memory.dmp

            memory/1304-27-0x0000000005710000-0x0000000005776000-memory.dmp

            memory/1304-52-0x0000000005D50000-0x0000000005D6E000-memory.dmp

            memory/1304-86-0x00000000072A0000-0x00000000072AE000-memory.dmp

            memory/1304-17-0x0000000004750000-0x0000000004786000-memory.dmp

            memory/1304-21-0x0000000004740000-0x0000000004750000-memory.dmp

            memory/1304-96-0x0000000074A70000-0x0000000075220000-memory.dmp

            memory/1304-23-0x0000000004740000-0x0000000004750000-memory.dmp

            memory/1304-24-0x0000000004CF0000-0x0000000004D12000-memory.dmp

            memory/1304-26-0x0000000074A70000-0x0000000075220000-memory.dmp

            memory/1304-25-0x00000000056A0000-0x0000000005706000-memory.dmp

            memory/3132-18-0x0000000074A70000-0x0000000075220000-memory.dmp

            memory/3132-56-0x0000000071DB0000-0x0000000071DFC000-memory.dmp

            memory/3132-20-0x00000000053B0000-0x00000000053C0000-memory.dmp

            memory/3132-85-0x0000000007E10000-0x0000000007E21000-memory.dmp

            memory/3132-87-0x0000000007E50000-0x0000000007E64000-memory.dmp

            memory/3132-88-0x0000000007F50000-0x0000000007F6A000-memory.dmp

            memory/3132-80-0x00000000053B0000-0x00000000053C0000-memory.dmp

            memory/3132-89-0x0000000007F30000-0x0000000007F38000-memory.dmp

            memory/3132-19-0x00000000059F0000-0x0000000006018000-memory.dmp

            memory/3132-22-0x00000000053B0000-0x00000000053C0000-memory.dmp

            memory/3132-68-0x0000000007A60000-0x0000000007A7E000-memory.dmp

            memory/3132-58-0x000000007F360000-0x000000007F370000-memory.dmp

            memory/3132-97-0x0000000074A70000-0x0000000075220000-memory.dmp

            memory/3132-83-0x0000000007C80000-0x0000000007C8A000-memory.dmp

            memory/4168-98-0x0000000006BE0000-0x0000000006C30000-memory.dmp

            memory/4168-99-0x0000000074A70000-0x0000000075220000-memory.dmp

            memory/4168-51-0x0000000005460000-0x0000000005470000-memory.dmp

            memory/4168-100-0x0000000005460000-0x0000000005470000-memory.dmp

            memory/4168-49-0x0000000074A70000-0x0000000075220000-memory.dmp

            memory/4168-47-0x0000000000400000-0x0000000000442000-memory.dmp

            memory/4420-12-0x0000000007A70000-0x0000000007B0C000-memory.dmp

            memory/4420-5-0x0000000005CC0000-0x0000000005CD0000-memory.dmp

            memory/4420-6-0x0000000005C10000-0x0000000005CAE000-memory.dmp

            memory/4420-4-0x0000000005B70000-0x0000000005C02000-memory.dmp

            memory/4420-7-0x0000000005D60000-0x0000000005D6A000-memory.dmp

            memory/4420-8-0x0000000005D50000-0x0000000005D64000-memory.dmp

            memory/4420-9-0x0000000005FA0000-0x0000000005FA8000-memory.dmp

            memory/4420-3-0x0000000006280000-0x0000000006824000-memory.dmp

            memory/4420-2-0x0000000005770000-0x0000000005AC4000-memory.dmp

            memory/4420-10-0x0000000005FB0000-0x0000000005FBC000-memory.dmp

            memory/4420-0-0x0000000000CB0000-0x0000000000D62000-memory.dmp

            memory/4420-11-0x0000000006120000-0x00000000061A2000-memory.dmp

            memory/4420-1-0x0000000074A70000-0x0000000075220000-memory.dmp

            memory/4420-50-0x0000000074A70000-0x0000000075220000-memory.dmp