Analysis

  • max time kernel
    135s
  • max time network
    146s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230220-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    06/06/2023, 12:44

General

  • Target
    PAYMENT COPY.exe
  • Size 689KB
  • Sample230606-pygftsdf72
  • SHA256 9cd47c4593254f37eb5bef6b0d887f7132ce6d9678af33799da736d6073382fa
  • 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 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
  • 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 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\PAYMENT COPY.exe
    "C:\Users\Admin\AppData\Local\Temp\PAYMENT COPY.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1636
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\mssgRpOSZEPHsf.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4452
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\mssgRpOSZEPHsf" /XML "C:\Users\Admin\AppData\Local\Temp\tmp75EB.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:5096
    • C:\Users\Admin\AppData\Local\Temp\PAYMENT COPY.exe
      "C:\Users\Admin\AppData\Local\Temp\PAYMENT COPY.exe"
      2⤵
        PID:2876
      • C:\Users\Admin\AppData\Local\Temp\PAYMENT COPY.exe
        "C:\Users\Admin\AppData\Local\Temp\PAYMENT COPY.exe"
        2⤵
        • Accesses Microsoft Outlook profiles
        • Adds Run key to start application
        • Suspicious use of AdjustPrivilegeToken
        • outlook_office_path
        • outlook_win_path
        PID:2132

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          __PSScriptPolicyTest_uf0kvsgh.fru.ps1

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

          tmp75EB.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp75EB.tmp
          • Size 1KB
          • SHA256 35b877acf6ed89d234bf46125d506fd8c7546871fd883f795420ab8eea99ad27
          • MD5 SHA1 SHA512

          memory/1636-133-0x0000000000E20000-0x0000000000ED2000-memory.dmp

          memory/1636-136-0x0000000005860000-0x000000000586A000-memory.dmp

          memory/1636-137-0x0000000005B30000-0x0000000005B40000-memory.dmp

          memory/1636-138-0x0000000005B30000-0x0000000005B40000-memory.dmp

          memory/1636-139-0x00000000069A0000-0x0000000006A3C000-memory.dmp

          memory/1636-134-0x0000000005EA0000-0x0000000006444000-memory.dmp

          memory/1636-135-0x00000000058F0000-0x0000000005982000-memory.dmp

          memory/2132-191-0x0000000007570000-0x0000000007732000-memory.dmp

          memory/2132-146-0x0000000000400000-0x0000000000430000-memory.dmp

          memory/2132-190-0x0000000007350000-0x00000000073A0000-memory.dmp

          memory/2132-188-0x00000000057F0000-0x0000000005800000-memory.dmp

          memory/2132-164-0x00000000057F0000-0x0000000005800000-memory.dmp

          memory/2132-152-0x00000000056C0000-0x0000000005726000-memory.dmp

          memory/4452-147-0x00000000055F0000-0x0000000005C18000-memory.dmp

          memory/4452-179-0x0000000007550000-0x000000000756A000-memory.dmp

          memory/4452-151-0x0000000005380000-0x00000000053A2000-memory.dmp

          memory/4452-150-0x0000000004FB0000-0x0000000004FC0000-memory.dmp

          memory/4452-163-0x0000000006240000-0x000000000625E000-memory.dmp

          memory/4452-166-0x0000000006820000-0x0000000006852000-memory.dmp

          memory/4452-167-0x00000000704C0000-0x000000007050C000-memory.dmp

          memory/4452-177-0x0000000006800000-0x000000000681E000-memory.dmp

          memory/4452-178-0x0000000007BA0000-0x000000000821A000-memory.dmp

          memory/4452-153-0x0000000005520000-0x0000000005586000-memory.dmp

          memory/4452-180-0x000000007F5F0000-0x000000007F600000-memory.dmp

          memory/4452-181-0x0000000004F80000-0x0000000004F8A000-memory.dmp

          memory/4452-182-0x00000000077E0000-0x0000000007876000-memory.dmp

          memory/4452-183-0x0000000007790000-0x000000000779E000-memory.dmp

          memory/4452-184-0x00000000078A0000-0x00000000078BA000-memory.dmp

          memory/4452-185-0x0000000007880000-0x0000000007888000-memory.dmp

          memory/4452-149-0x0000000004FB0000-0x0000000004FC0000-memory.dmp

          memory/4452-165-0x0000000004FB0000-0x0000000004FC0000-memory.dmp

          memory/4452-144-0x0000000002910000-0x0000000002946000-memory.dmp