Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20/06/2024, 14:07

General

  • Target
    chem-03240.pdf.exe
  • Size 975KB
  • Sample240620-rey8mswarp
  • SHA256 c5e436daea517264f270beba101c5d2ae9d9b25a72c8c4ed049239ecddb7fcc8
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

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.

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

  • 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 8 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\chem-03240.pdf.exe
    "C:\Users\Admin\AppData\Local\Temp\chem-03240.pdf.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4836
    • 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\chem-03240.pdf.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3284
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\jBIBnuQ.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4208
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\jBIBnuQ" /XML "C:\Users\Admin\AppData\Local\Temp\tmp701F.tmp"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:1576
    • C:\Users\Admin\AppData\Local\Temp\chem-03240.pdf.exe
      "C:\Users\Admin\AppData\Local\Temp\chem-03240.pdf.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:1216

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

        __PSScriptPolicyTest_wwnnlwv2.52w.ps1

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

        tmp701F.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp701F.tmp
        • Size 1KB
        • SHA256 3420b9aa9fd9286e615ba82f8639bf05ad5e70d0d56428aad16a799b25fc478d
        • MD5 SHA1 SHA512

        memory/1216-88-0x0000000006AE0000-0x0000000006B30000-memory.dmp

        memory/1216-38-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/3284-63-0x00000000080C0000-0x000000000873A000-memory.dmp

        memory/3284-37-0x0000000006800000-0x000000000684C000-memory.dmp

        memory/3284-87-0x0000000074860000-0x0000000075010000-memory.dmp

        memory/3284-77-0x0000000007C80000-0x0000000007C91000-memory.dmp

        memory/3284-76-0x0000000007D00000-0x0000000007D96000-memory.dmp

        memory/3284-65-0x0000000007AF0000-0x0000000007AFA000-memory.dmp

        memory/3284-64-0x0000000007A80000-0x0000000007A9A000-memory.dmp

        memory/3284-17-0x0000000005180000-0x00000000051B6000-memory.dmp

        memory/3284-18-0x0000000074860000-0x0000000075010000-memory.dmp

        memory/3284-19-0x0000000005820000-0x0000000005E48000-memory.dmp

        memory/3284-20-0x0000000074860000-0x0000000075010000-memory.dmp

        memory/3284-21-0x0000000074860000-0x0000000075010000-memory.dmp

        memory/3284-22-0x0000000005E50000-0x0000000005E72000-memory.dmp

        memory/3284-24-0x0000000006120000-0x0000000006186000-memory.dmp

        memory/3284-23-0x0000000006040000-0x00000000060A6000-memory.dmp

        memory/3284-61-0x0000000006D30000-0x0000000006D4E000-memory.dmp

        memory/3284-34-0x0000000006190000-0x00000000064E4000-memory.dmp

        memory/3284-62-0x0000000007750000-0x00000000077F3000-memory.dmp

        memory/3284-36-0x0000000006750000-0x000000000676E000-memory.dmp

        memory/3284-51-0x000000006F740000-0x000000006F78C000-memory.dmp

        memory/3284-50-0x0000000007710000-0x0000000007742000-memory.dmp

        memory/4208-79-0x0000000007890000-0x00000000078A4000-memory.dmp

        memory/4208-66-0x000000006F740000-0x000000006F78C000-memory.dmp

        memory/4208-81-0x0000000007970000-0x0000000007978000-memory.dmp

        memory/4208-80-0x0000000007990000-0x00000000079AA000-memory.dmp

        memory/4208-78-0x0000000007880000-0x000000000788E000-memory.dmp

        memory/4836-12-0x0000000009DC0000-0x0000000009E44000-memory.dmp

        memory/4836-40-0x0000000074860000-0x0000000075010000-memory.dmp

        memory/4836-11-0x0000000009A80000-0x0000000009B14000-memory.dmp

        memory/4836-4-0x00000000059A0000-0x00000000059AA000-memory.dmp

        memory/4836-9-0x0000000005E40000-0x0000000005E48000-memory.dmp

        memory/4836-5-0x0000000074860000-0x0000000075010000-memory.dmp

        memory/4836-6-0x0000000005BE0000-0x0000000005C7C000-memory.dmp

        memory/4836-0-0x000000007486E000-0x000000007486F000-memory.dmp

        memory/4836-10-0x0000000005E50000-0x0000000005E5C000-memory.dmp

        memory/4836-7-0x0000000006970000-0x0000000006E9C000-memory.dmp

        memory/4836-3-0x00000000058E0000-0x0000000005972000-memory.dmp

        memory/4836-2-0x0000000005E90000-0x0000000006434000-memory.dmp

        memory/4836-8-0x0000000005E10000-0x0000000005E22000-memory.dmp

        memory/4836-1-0x0000000000DE0000-0x0000000000ED6000-memory.dmp