Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    12/06/2024, 06:39

General

  • Target
    RFQ Enqiury Requirement.pif.exe
  • Size 734KB
  • Sample240612-hemp6staln
  • SHA256 859aca5e05f5d22ce981a423c3aea5a26e7bbf3d6f4925cd790793167d0ae715
  • 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.

  • 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 11 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\RFQ Enqiury Requirement.pif.exe
    "C:\Users\Admin\AppData\Local\Temp\RFQ Enqiury Requirement.pif.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1888
    • 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\RFQ Enqiury Requirement.pif.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3640
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\DBakizCpCtc.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4052
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\DBakizCpCtc" /XML "C:\Users\Admin\AppData\Local\Temp\tmp7ACD.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:3100
    • C:\Users\Admin\AppData\Local\Temp\RFQ Enqiury Requirement.pif.exe
      "C:\Users\Admin\AppData\Local\Temp\RFQ Enqiury Requirement.pif.exe"
      2⤵
        PID:3460
      • C:\Users\Admin\AppData\Local\Temp\RFQ Enqiury Requirement.pif.exe
        "C:\Users\Admin\AppData\Local\Temp\RFQ Enqiury Requirement.pif.exe"
        2⤵
        • Adds Run key to start application
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        PID:3848

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

          __PSScriptPolicyTest_lrfca1h3.bgj.ps1

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

          tmp7ACD.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp7ACD.tmp
          • Size 1KB
          • SHA256 5a1bd603e5d2410ab9a2d33ee7e2030f107dec96208b4619ea62df59d0c6ef9b
          • MD5 SHA1 SHA512

          memory/1888-9-0x0000000009460000-0x00000000094FC000-memory.dmp

          memory/1888-4-0x00000000056F0000-0x00000000056FA000-memory.dmp

          memory/1888-6-0x0000000006DB0000-0x0000000006DCA000-memory.dmp

          memory/1888-7-0x00000000066B0000-0x00000000066C0000-memory.dmp

          memory/1888-8-0x0000000006DD0000-0x0000000006E52000-memory.dmp

          memory/1888-1-0x00000000006D0000-0x000000000078C000-memory.dmp

          memory/1888-38-0x0000000074840000-0x0000000074FF0000-memory.dmp

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

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

          memory/1888-2-0x0000000005A00000-0x0000000005FA4000-memory.dmp

          memory/1888-3-0x0000000005530000-0x00000000055C2000-memory.dmp

          memory/3640-21-0x0000000006050000-0x00000000060B6000-memory.dmp

          memory/3640-39-0x0000000006710000-0x000000000672E000-memory.dmp

          memory/3640-22-0x00000000060C0000-0x0000000006126000-memory.dmp

          memory/3640-18-0x0000000005F90000-0x0000000005FB2000-memory.dmp

          memory/3640-17-0x0000000074840000-0x0000000074FF0000-memory.dmp

          memory/3640-88-0x0000000074840000-0x0000000074FF0000-memory.dmp

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

          memory/3640-15-0x0000000005960000-0x0000000005F88000-memory.dmp

          memory/3640-14-0x0000000005160000-0x0000000005196000-memory.dmp

          memory/3640-77-0x0000000007C40000-0x0000000007C51000-memory.dmp

          memory/3640-34-0x0000000006130000-0x0000000006484000-memory.dmp

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

          memory/3640-40-0x00000000067C0000-0x000000000680C000-memory.dmp

          memory/3640-51-0x00000000750F0000-0x000000007513C000-memory.dmp

          memory/3640-50-0x00000000076A0000-0x00000000076D2000-memory.dmp

          memory/3640-62-0x0000000007700000-0x00000000077A3000-memory.dmp

          memory/3640-61-0x00000000076E0000-0x00000000076FE000-memory.dmp

          memory/3640-63-0x0000000008080000-0x00000000086FA000-memory.dmp

          memory/3640-80-0x0000000007D80000-0x0000000007D9A000-memory.dmp

          memory/3640-64-0x0000000007A40000-0x0000000007A5A000-memory.dmp

          memory/3640-75-0x0000000007AB0000-0x0000000007ABA000-memory.dmp

          memory/3640-79-0x0000000007C80000-0x0000000007C94000-memory.dmp

          memory/3848-36-0x0000000000400000-0x0000000000442000-memory.dmp

          memory/3848-91-0x0000000006710000-0x0000000006760000-memory.dmp

          memory/4052-78-0x00000000076D0000-0x00000000076DE000-memory.dmp

          memory/4052-76-0x0000000007720000-0x00000000077B6000-memory.dmp

          memory/4052-65-0x00000000750F0000-0x000000007513C000-memory.dmp

          memory/4052-81-0x00000000077C0000-0x00000000077C8000-memory.dmp

          memory/4052-35-0x0000000074840000-0x0000000074FF0000-memory.dmp

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

          memory/4052-33-0x0000000074840000-0x0000000074FF0000-memory.dmp

          memory/4052-20-0x0000000074840000-0x0000000074FF0000-memory.dmp