Analysis

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

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

General

  • Target
    BKG#SGN2106728.PDF.exe
  • Size 880KB
  • Sample240418-ltdbtsah2z
  • SHA256 cb06339a87bdd6284086a97545c32dc8a3eb3701c7642543e7c327d0539005f9
  • 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 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\BKG#SGN2106728.PDF.exe
    "C:\Users\Admin\AppData\Local\Temp\BKG#SGN2106728.PDF.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3164
    • 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\BKG#SGN2106728.PDF.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2136
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\eDnxmGWzJ.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:648
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\eDnxmGWzJ" /XML "C:\Users\Admin\AppData\Local\Temp\tmp971F.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1992
    • C:\Users\Admin\AppData\Local\Temp\BKG#SGN2106728.PDF.exe
      "C:\Users\Admin\AppData\Local\Temp\BKG#SGN2106728.PDF.exe"
      2⤵
        PID:3984
      • C:\Users\Admin\AppData\Local\Temp\BKG#SGN2106728.PDF.exe
        "C:\Users\Admin\AppData\Local\Temp\BKG#SGN2106728.PDF.exe"
        2⤵
        • Adds Run key to start application
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        PID:416

    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 6f8fd1b8d9788ad54eaeee329232187e24b7b43393a01aeba2d6e9675231fb69
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 18KB
          • SHA256 884037099c7640888cb988c3e8cb6560a6f7be20fc2d06ad1625749ed094813b
          • MD5 SHA1 SHA512 SSDEEP

          __PSScriptPolicyTest_s2xipood.yvx.ps1

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

          tmp971F.tmp

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

          memory/416-100-0x0000000005130000-0x0000000005140000-memory.dmp

          memory/416-99-0x0000000074C40000-0x00000000753F0000-memory.dmp

          memory/416-98-0x00000000069E0000-0x0000000006A30000-memory.dmp

          memory/416-49-0x0000000074C40000-0x00000000753F0000-memory.dmp

          memory/416-51-0x0000000005130000-0x0000000005140000-memory.dmp

          memory/416-37-0x0000000000400000-0x0000000000442000-memory.dmp

          memory/648-83-0x0000000007740000-0x000000000774A000-memory.dmp

          memory/648-52-0x00000000063C0000-0x00000000063DE000-memory.dmp

          memory/648-96-0x0000000074C40000-0x00000000753F0000-memory.dmp

          memory/648-89-0x0000000007A10000-0x0000000007A2A000-memory.dmp

          memory/648-88-0x0000000007910000-0x0000000007924000-memory.dmp

          memory/648-81-0x0000000007D10000-0x000000000838A000-memory.dmp

          memory/648-20-0x0000000074C40000-0x00000000753F0000-memory.dmp

          memory/648-80-0x00000000075D0000-0x0000000007673000-memory.dmp

          memory/648-22-0x0000000005000000-0x0000000005010000-memory.dmp

          memory/648-23-0x0000000005000000-0x0000000005010000-memory.dmp

          memory/648-29-0x00000000055E0000-0x0000000005602000-memory.dmp

          memory/648-56-0x0000000007590000-0x00000000075C2000-memory.dmp

          memory/648-59-0x00000000754A0000-0x00000000754EC000-memory.dmp

          memory/648-57-0x000000007F080000-0x000000007F090000-memory.dmp

          memory/648-55-0x0000000005000000-0x0000000005010000-memory.dmp

          memory/2136-36-0x0000000005C20000-0x0000000005C86000-memory.dmp

          memory/2136-19-0x0000000005350000-0x0000000005978000-memory.dmp

          memory/2136-97-0x0000000074C40000-0x00000000753F0000-memory.dmp

          memory/2136-15-0x0000000004CE0000-0x0000000004D16000-memory.dmp

          memory/2136-90-0x00000000078B0000-0x00000000078B8000-memory.dmp

          memory/2136-17-0x0000000002960000-0x0000000002970000-memory.dmp

          memory/2136-53-0x00000000062D0000-0x000000000631C000-memory.dmp

          memory/2136-54-0x0000000002960000-0x0000000002970000-memory.dmp

          memory/2136-35-0x0000000005BB0000-0x0000000005C16000-memory.dmp

          memory/2136-48-0x0000000005D90000-0x00000000060E4000-memory.dmp

          memory/2136-16-0x0000000074C40000-0x00000000753F0000-memory.dmp

          memory/2136-60-0x000000007F420000-0x000000007F430000-memory.dmp

          memory/2136-58-0x00000000754A0000-0x00000000754EC000-memory.dmp

          memory/2136-87-0x00000000077C0000-0x00000000077CE000-memory.dmp

          memory/2136-78-0x0000000006830000-0x000000000684E000-memory.dmp

          memory/2136-85-0x0000000007790000-0x00000000077A1000-memory.dmp

          memory/2136-18-0x0000000002960000-0x0000000002970000-memory.dmp

          memory/2136-82-0x0000000007590000-0x00000000075AA000-memory.dmp

          memory/2136-84-0x0000000007810000-0x00000000078A6000-memory.dmp

          memory/3164-5-0x00000000055E0000-0x00000000055EA000-memory.dmp

          memory/3164-10-0x00000000089E0000-0x0000000008A8C000-memory.dmp

          memory/3164-9-0x0000000006330000-0x0000000006344000-memory.dmp

          memory/3164-8-0x0000000006310000-0x000000000631E000-memory.dmp

          memory/3164-46-0x0000000074C40000-0x00000000753F0000-memory.dmp

          memory/3164-6-0x0000000005870000-0x000000000590C000-memory.dmp

          memory/3164-1-0x0000000074C40000-0x00000000753F0000-memory.dmp

          memory/3164-7-0x0000000005840000-0x0000000005858000-memory.dmp

          memory/3164-50-0x0000000074C40000-0x00000000753F0000-memory.dmp

          memory/3164-4-0x0000000005600000-0x0000000005610000-memory.dmp

          memory/3164-3-0x0000000005630000-0x00000000056C2000-memory.dmp

          memory/3164-2-0x0000000005BE0000-0x0000000006184000-memory.dmp

          memory/3164-0-0x0000000000B20000-0x0000000000C02000-memory.dmp