Analysis

  • max time kernel
    55s
  • 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
    29/04/2024, 12:13

General

  • Target
    Quotation PDF.bat.exe
  • Size 659KB
  • Sample240429-pdqtrsab39
  • SHA256 a689e5f1c8d3a195368dd62cf94953e55abbbb87f75e0363a6d09dfe2bb2bcb9
  • 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\Quotation PDF.bat.exe
    "C:\Users\Admin\AppData\Local\Temp\Quotation PDF.bat.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4416
    • 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\Quotation PDF.bat.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2412
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\wIJZGYVmVbqsV.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1596
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\wIJZGYVmVbqsV" /XML "C:\Users\Admin\AppData\Local\Temp\tmp7530.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:904
    • C:\Users\Admin\AppData\Local\Temp\Quotation PDF.bat.exe
      "C:\Users\Admin\AppData\Local\Temp\Quotation PDF.bat.exe"
      2⤵
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:4760

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        Quotation PDF.bat.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\Quotation PDF.bat.exe.log
        • Size 1KB
        • SHA256 7667e538030e3f8ce2886e47a01af24cb0ea70528b1e821c5d8832c5076cb982
        • MD5 SHA1 SHA512

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

        __PSScriptPolicyTest_4fotvhjy.owg.ps1

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

        tmp7530.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp7530.tmp
        • Size 1KB
        • SHA256 8d76b9f26f13fdc3d416deb86cb8ed8cbf4f72a7306f80279b62dd77985eeb24
        • MD5 SHA1 SHA512

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

        memory/1596-77-0x0000000007630000-0x000000000763A000-memory.dmp

        memory/1596-65-0x0000000074F40000-0x0000000074F8C000-memory.dmp

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

        memory/1596-33-0x0000000004E10000-0x0000000004E20000-memory.dmp

        memory/1596-26-0x0000000074690000-0x0000000074E40000-memory.dmp

        memory/1596-89-0x0000000074690000-0x0000000074E40000-memory.dmp

        memory/1596-34-0x0000000004E10000-0x0000000004E20000-memory.dmp

        memory/2412-19-0x0000000004F80000-0x0000000004F90000-memory.dmp

        memory/2412-53-0x0000000074F40000-0x0000000074F8C000-memory.dmp

        memory/2412-16-0x00000000055C0000-0x0000000005BE8000-memory.dmp

        memory/2412-27-0x0000000005C60000-0x0000000005CC6000-memory.dmp

        memory/2412-28-0x0000000005CD0000-0x0000000005D36000-memory.dmp

        memory/2412-18-0x0000000004F80000-0x0000000004F90000-memory.dmp

        memory/2412-90-0x0000000074690000-0x0000000074E40000-memory.dmp

        memory/2412-25-0x00000000054D0000-0x00000000054F2000-memory.dmp

        memory/2412-15-0x00000000029F0000-0x0000000002A26000-memory.dmp

        memory/2412-35-0x0000000005E40000-0x0000000006194000-memory.dmp

        memory/2412-83-0x0000000007960000-0x0000000007968000-memory.dmp

        memory/2412-80-0x0000000007870000-0x000000000787E000-memory.dmp

        memory/2412-79-0x0000000007840000-0x0000000007851000-memory.dmp

        memory/2412-78-0x00000000078C0000-0x0000000007956000-memory.dmp

        memory/2412-75-0x0000000007C80000-0x00000000082FA000-memory.dmp

        memory/2412-51-0x0000000006890000-0x00000000068DC000-memory.dmp

        memory/2412-50-0x00000000062F0000-0x000000000630E000-memory.dmp

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

        memory/2412-52-0x00000000072C0000-0x00000000072F2000-memory.dmp

        memory/2412-64-0x0000000007520000-0x00000000075C3000-memory.dmp

        memory/2412-76-0x0000000007640000-0x000000000765A000-memory.dmp

        memory/2412-63-0x0000000007300000-0x000000000731E000-memory.dmp

        memory/4416-5-0x0000000004D10000-0x0000000004D1A000-memory.dmp

        memory/4416-2-0x0000000005320000-0x00000000058C4000-memory.dmp

        memory/4416-6-0x0000000004FF0000-0x0000000005008000-memory.dmp

        memory/4416-8-0x0000000005FD0000-0x0000000005FE6000-memory.dmp

        memory/4416-4-0x0000000004CC0000-0x0000000004CD0000-memory.dmp

        memory/4416-9-0x0000000006050000-0x00000000060D4000-memory.dmp

        memory/4416-10-0x0000000008700000-0x000000000879C000-memory.dmp

        memory/4416-0-0x00000000002B0000-0x000000000035A000-memory.dmp

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

        memory/4416-3-0x0000000004D70000-0x0000000004E02000-memory.dmp

        memory/4416-7-0x0000000005310000-0x000000000531E000-memory.dmp

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

        memory/4760-46-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/4760-92-0x00000000067B0000-0x0000000006800000-memory.dmp