Analysis

  • max time kernel
    148s
  • max time network
    152s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240426-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17/05/2024, 10:50

General

  • Target
    PO240448.exe
  • Size 782KB
  • Sample240517-mxqa8seg26
  • SHA256 e967eb5ff57e890dc8aa2bfc44a97c5016fd2c514590be458e21cfff334df6fb
  • 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.

  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • 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 WriteProcessMemory 20 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\PO240448.exe
    "C:\Users\Admin\AppData\Local\Temp\PO240448.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4880
    • 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\PO240448.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2284
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\phTNJBlXo.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4016
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\phTNJBlXo" /XML "C:\Users\Admin\AppData\Local\Temp\tmp759D.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1048
    • C:\Users\Admin\AppData\Local\Temp\PO240448.exe
      "C:\Users\Admin\AppData\Local\Temp\PO240448.exe"
      2⤵
        PID:868
      • C:\Users\Admin\AppData\Local\Temp\PO240448.exe
        "C:\Users\Admin\AppData\Local\Temp\PO240448.exe"
        2⤵
        • Accesses Microsoft Outlook profiles
        • Suspicious use of AdjustPrivilegeToken
        • outlook_office_path
        • outlook_win_path
        PID:2856

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

          __PSScriptPolicyTest_aohlegfh.i0y.ps1

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

          tmp759D.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp759D.tmp
          • Size 1KB
          • SHA256 7d1218bb6b9e7e04ea535727c85c7878c0a5c78985171bc445294415aa0b1497
          • MD5 SHA1 SHA512

          memory/2284-17-0x0000000005120000-0x0000000005748000-memory.dmp

          memory/2284-23-0x0000000004FA0000-0x0000000004FC2000-memory.dmp

          memory/2284-90-0x0000000074820000-0x0000000074FD0000-memory.dmp

          memory/2284-78-0x0000000007480000-0x0000000007491000-memory.dmp

          memory/2284-77-0x0000000007500000-0x0000000007596000-memory.dmp

          memory/2284-76-0x0000000007300000-0x000000000730A000-memory.dmp

          memory/2284-75-0x0000000007280000-0x000000000729A000-memory.dmp

          memory/2284-15-0x00000000049D0000-0x0000000004A06000-memory.dmp

          memory/2284-74-0x00000000078D0000-0x0000000007F4A000-memory.dmp

          memory/2284-16-0x0000000074820000-0x0000000074FD0000-memory.dmp

          memory/2284-18-0x0000000074820000-0x0000000074FD0000-memory.dmp

          memory/2284-51-0x0000000006520000-0x0000000006552000-memory.dmp

          memory/2284-19-0x0000000074820000-0x0000000074FD0000-memory.dmp

          memory/2284-50-0x0000000005FF0000-0x000000000603C000-memory.dmp

          memory/2284-52-0x0000000075080000-0x00000000750CC000-memory.dmp

          memory/2284-49-0x0000000005F60000-0x0000000005F7E000-memory.dmp

          memory/2284-25-0x00000000050B0000-0x0000000005116000-memory.dmp

          memory/2284-73-0x0000000007170000-0x0000000007213000-memory.dmp

          memory/2284-28-0x0000000005910000-0x0000000005C64000-memory.dmp

          memory/2284-62-0x0000000006500000-0x000000000651E000-memory.dmp

          memory/2284-24-0x0000000005040000-0x00000000050A6000-memory.dmp

          memory/2856-26-0x0000000000400000-0x0000000000430000-memory.dmp

          memory/2856-80-0x0000000006A30000-0x0000000006BF2000-memory.dmp

          memory/2856-79-0x00000000066F0000-0x0000000006740000-memory.dmp

          memory/4016-83-0x00000000076B0000-0x00000000076CA000-memory.dmp

          memory/4016-81-0x00000000075A0000-0x00000000075AE000-memory.dmp

          memory/4016-63-0x0000000075080000-0x00000000750CC000-memory.dmp

          memory/4016-21-0x0000000074820000-0x0000000074FD0000-memory.dmp

          memory/4016-91-0x0000000074820000-0x0000000074FD0000-memory.dmp

          memory/4016-20-0x0000000074820000-0x0000000074FD0000-memory.dmp

          memory/4016-27-0x0000000074820000-0x0000000074FD0000-memory.dmp

          memory/4016-84-0x0000000007690000-0x0000000007698000-memory.dmp

          memory/4016-82-0x00000000075B0000-0x00000000075C4000-memory.dmp

          memory/4880-0-0x000000007482E000-0x000000007482F000-memory.dmp

          memory/4880-9-0x0000000006490000-0x0000000006502000-memory.dmp

          memory/4880-3-0x0000000004E60000-0x0000000004EF2000-memory.dmp

          memory/4880-4-0x0000000004FF0000-0x0000000004FFA000-memory.dmp

          memory/4880-2-0x0000000005410000-0x00000000059B4000-memory.dmp

          memory/4880-48-0x0000000074820000-0x0000000074FD0000-memory.dmp

          memory/4880-7-0x00000000053F0000-0x000000000540E000-memory.dmp

          memory/4880-10-0x0000000008AD0000-0x0000000008B6C000-memory.dmp

          memory/4880-8-0x00000000061E0000-0x00000000061F0000-memory.dmp

          memory/4880-1-0x0000000000390000-0x000000000045A000-memory.dmp

          memory/4880-6-0x0000000006130000-0x00000000061C2000-memory.dmp

          memory/4880-5-0x0000000074820000-0x0000000074FD0000-memory.dmp