Analysis

  • max time kernel
    137s
  • max time network
    127s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21/08/2024, 11:43

General

  • Target
    rShippingDocuments.exe
  • Size 875KB
  • Sample240821-nvkhmswfmc
  • SHA256 bd0e1cfd8ac5fef73e78b0a784c11682ed8d3120e6293d7d87425e5cd65d91eb
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.starmech.net

  • Port

    587

  • Password

    nics123

Extracted

Family
  • agenttesla

Credentials

Signatures

  • AgentTesla

    Agent Tesla is a remote access tool (RAT) written in visual basic.

  • Credentials from Password Stores: Credentials from Web Browsers 1 TTPs

    Malicious Access or copy of Web Browser Credential store.

  • 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 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).

  • System Location Discovery: System Language Discovery 1 TTPs 5 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • System Network Configuration Discovery: Internet Connection Discovery 1 TTPs 5 IoCs

    Adversaries may check for Internet connectivity on compromised systems.

  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 18 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 26 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\rShippingDocuments.exe
    "C:\Users\Admin\AppData\Local\Temp\rShippingDocuments.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • System Network Configuration Discovery: Internet Connection Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2964
    • 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\rShippingDocuments.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1144
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\XZpJWBSpVC.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:804
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\XZpJWBSpVC" /XML "C:\Users\Admin\AppData\Local\Temp\tmp7700.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:3448
    • C:\Users\Admin\AppData\Local\Temp\rShippingDocuments.exe
      "C:\Users\Admin\AppData\Local\Temp\rShippingDocuments.exe"
      2⤵
      • System Network Configuration Discovery: Internet Connection Discovery
      PID:2192
    • C:\Users\Admin\AppData\Local\Temp\rShippingDocuments.exe
      "C:\Users\Admin\AppData\Local\Temp\rShippingDocuments.exe"
      2⤵
      • System Network Configuration Discovery: Internet Connection Discovery
      PID:4768
    • C:\Users\Admin\AppData\Local\Temp\rShippingDocuments.exe
      "C:\Users\Admin\AppData\Local\Temp\rShippingDocuments.exe"
      2⤵
      • System Network Configuration Discovery: Internet Connection Discovery
      PID:3112
    • C:\Users\Admin\AppData\Local\Temp\rShippingDocuments.exe
      "C:\Users\Admin\AppData\Local\Temp\rShippingDocuments.exe"
      2⤵
      • Adds Run key to start application
      • System Location Discovery: System Language Discovery
      • System Network Configuration Discovery: Internet Connection Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:2020
  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --field-trial-handle=4344,i,11391966286255097843,10588851088187498028,262144 --variations-seed-version --mojo-platform-channel-handle=3904 /prefetch:8
    1⤵
      PID:772

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

          __PSScriptPolicyTest_yhvevrb2.44r.ps1

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

          tmp7700.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp7700.tmp
          • Size 1KB
          • SHA256 6da3cc88cf226532938e26de28b69caa0d7b5b7e012aa3e7d52865478a048aa7
          • MD5 SHA1 SHA512

          memory/804-89-0x00000000750E0000-0x0000000075890000-memory.dmp

          memory/804-79-0x0000000007E20000-0x0000000007E31000-memory.dmp

          memory/804-77-0x0000000007EA0000-0x0000000007F36000-memory.dmp

          memory/804-64-0x0000000075940000-0x000000007598C000-memory.dmp

          memory/804-35-0x00000000750E0000-0x0000000075890000-memory.dmp

          memory/804-32-0x00000000750E0000-0x0000000075890000-memory.dmp

          memory/1144-76-0x00000000077F0000-0x00000000077FA000-memory.dmp

          memory/1144-51-0x0000000007430000-0x0000000007462000-memory.dmp

          memory/1144-16-0x0000000004E80000-0x0000000004EB6000-memory.dmp

          memory/1144-17-0x00000000750E0000-0x0000000075890000-memory.dmp

          memory/1144-19-0x00000000750E0000-0x0000000075890000-memory.dmp

          memory/1144-18-0x00000000054F0000-0x0000000005B18000-memory.dmp

          memory/1144-20-0x00000000750E0000-0x0000000075890000-memory.dmp

          memory/1144-74-0x0000000007DC0000-0x000000000843A000-memory.dmp

          memory/1144-90-0x00000000750E0000-0x0000000075890000-memory.dmp

          memory/1144-27-0x0000000005CD0000-0x0000000005CF2000-memory.dmp

          memory/1144-83-0x0000000007AA0000-0x0000000007AA8000-memory.dmp

          memory/1144-82-0x0000000007AC0000-0x0000000007ADA000-memory.dmp

          memory/1144-34-0x0000000005F60000-0x0000000005FC6000-memory.dmp

          memory/1144-33-0x0000000005E90000-0x0000000005EF6000-memory.dmp

          memory/1144-80-0x00000000079B0000-0x00000000079BE000-memory.dmp

          memory/1144-36-0x0000000005FD0000-0x0000000006324000-memory.dmp

          memory/1144-81-0x00000000079C0000-0x00000000079D4000-memory.dmp

          memory/1144-49-0x0000000006330000-0x000000000634E000-memory.dmp

          memory/1144-50-0x00000000069A0000-0x00000000069EC000-memory.dmp

          memory/1144-75-0x0000000007780000-0x000000000779A000-memory.dmp

          memory/1144-52-0x0000000075940000-0x000000007598C000-memory.dmp

          memory/1144-62-0x00000000069F0000-0x0000000006A0E000-memory.dmp

          memory/1144-63-0x0000000007470000-0x0000000007513000-memory.dmp

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

          memory/2020-91-0x0000000006880000-0x00000000068D0000-memory.dmp

          memory/2964-8-0x00000000750E0000-0x0000000075890000-memory.dmp

          memory/2964-0-0x00000000750EE000-0x00000000750EF000-memory.dmp

          memory/2964-5-0x00000000750E0000-0x0000000075890000-memory.dmp

          memory/2964-4-0x0000000005BF0000-0x0000000005BFA000-memory.dmp

          memory/2964-6-0x0000000006030000-0x0000000006042000-memory.dmp

          memory/2964-48-0x00000000750E0000-0x0000000075890000-memory.dmp

          memory/2964-7-0x00000000750EE000-0x00000000750EF000-memory.dmp

          memory/2964-11-0x0000000006F10000-0x0000000006FAC000-memory.dmp

          memory/2964-3-0x0000000005A10000-0x0000000005AA2000-memory.dmp

          memory/2964-2-0x0000000006070000-0x0000000006614000-memory.dmp

          memory/2964-1-0x0000000000FA0000-0x0000000001080000-memory.dmp

          memory/2964-9-0x0000000006050000-0x0000000006060000-memory.dmp

          memory/2964-10-0x0000000006C60000-0x0000000006CE4000-memory.dmp