Analysis

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

    arch:x64arch:x86image:win10v2004-20240419-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26/04/2024, 12:44

General

  • Target
    Packing List PDF.bat.exe
  • Size 822KB
  • Sample240426-pygftscf4x
  • SHA256 1a794211deaa0ecb6abc6101d7c1bd61111b4dd2d895ee7ecf78fbf17f4c9ab3
  • 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 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 9 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\Packing List PDF.bat.exe
    "C:\Users\Admin\AppData\Local\Temp\Packing List PDF.bat.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4040
    • 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\Packing List PDF.bat.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2824
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\CmxzrHBB.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3120
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\CmxzrHBB" /XML "C:\Users\Admin\AppData\Local\Temp\tmp76D6.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:228
    • C:\Users\Admin\AppData\Local\Temp\Packing List PDF.bat.exe
      "C:\Users\Admin\AppData\Local\Temp\Packing List PDF.bat.exe"
      2⤵
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:2728

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

        __PSScriptPolicyTest_gr0rldkt.wdm.ps1

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

        tmp76D6.tmp

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

        memory/2728-90-0x00000000067A0000-0x00000000067F0000-memory.dmp

        memory/2728-45-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/2824-23-0x00000000051D0000-0x00000000051F2000-memory.dmp

        memory/2824-75-0x0000000007420000-0x000000000742A000-memory.dmp

        memory/2824-88-0x0000000074690000-0x0000000074E40000-memory.dmp

        memory/2824-81-0x00000000076D0000-0x00000000076D8000-memory.dmp

        memory/2824-14-0x00000000027C0000-0x00000000027F6000-memory.dmp

        memory/2824-15-0x0000000074690000-0x0000000074E40000-memory.dmp

        memory/2824-16-0x0000000005240000-0x0000000005868000-memory.dmp

        memory/2824-80-0x00000000076F0000-0x000000000770A000-memory.dmp

        memory/2824-79-0x00000000075F0000-0x0000000007604000-memory.dmp

        memory/2824-20-0x00000000027B0000-0x00000000027C0000-memory.dmp

        memory/2824-19-0x00000000027B0000-0x00000000027C0000-memory.dmp

        memory/2824-50-0x0000000006650000-0x0000000006682000-memory.dmp

        memory/2824-73-0x0000000007A00000-0x000000000807A000-memory.dmp

        memory/2824-25-0x0000000005950000-0x00000000059B6000-memory.dmp

        memory/2824-24-0x00000000058E0000-0x0000000005946000-memory.dmp

        memory/2824-74-0x00000000073B0000-0x00000000073CA000-memory.dmp

        memory/2824-72-0x0000000007080000-0x0000000007123000-memory.dmp

        memory/2824-41-0x0000000005B80000-0x0000000005ED4000-memory.dmp

        memory/2824-61-0x0000000006630000-0x000000000664E000-memory.dmp

        memory/2824-51-0x000000006FCA0000-0x000000006FCEC000-memory.dmp

        memory/2824-48-0x0000000006330000-0x000000000637C000-memory.dmp

        memory/2824-46-0x0000000006090000-0x00000000060AE000-memory.dmp

        memory/3120-18-0x00000000049E0000-0x00000000049F0000-memory.dmp

        memory/3120-76-0x00000000072D0000-0x0000000007366000-memory.dmp

        memory/3120-87-0x0000000074690000-0x0000000074E40000-memory.dmp

        memory/3120-62-0x000000006FCA0000-0x000000006FCEC000-memory.dmp

        memory/3120-17-0x0000000074690000-0x0000000074E40000-memory.dmp

        memory/3120-21-0x00000000049E0000-0x00000000049F0000-memory.dmp

        memory/3120-78-0x0000000007280000-0x000000000728E000-memory.dmp

        memory/3120-77-0x0000000007250000-0x0000000007261000-memory.dmp

        memory/4040-5-0x0000000004E50000-0x0000000004E5A000-memory.dmp

        memory/4040-7-0x0000000005010000-0x0000000005024000-memory.dmp

        memory/4040-6-0x0000000006050000-0x0000000006070000-memory.dmp

        memory/4040-49-0x0000000074690000-0x0000000074E40000-memory.dmp

        memory/4040-0-0x00000000003D0000-0x00000000004A4000-memory.dmp

        memory/4040-9-0x000000000BEA0000-0x000000000BF3C000-memory.dmp

        memory/4040-3-0x0000000004E80000-0x0000000004F12000-memory.dmp

        memory/4040-2-0x0000000005430000-0x00000000059D4000-memory.dmp

        memory/4040-4-0x0000000005020000-0x0000000005030000-memory.dmp

        memory/4040-8-0x0000000008D80000-0x0000000008E04000-memory.dmp

        memory/4040-1-0x0000000074690000-0x0000000074E40000-memory.dmp