Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23/08/2024, 04:16

General

  • Target
    D121-D122-D123-D127-D128-D130-23-8-2024.xls.scr.exe
  • Size 721KB
  • Sample240823-evspksxcnp
  • SHA256 faf287257529efa93234ce96fd47d0d43a4884deb7ec54e337bb8ba49b1d12d8
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    ftp

  • Host

    beirutrest.com

  • Port

    21

  • Password

    9yXQ39wz(uL+

Extracted

Family
  • agenttesla

Credentials
  • Protocol

    ftp

  • Host

    ftp://beirutrest.com

  • Port

    21

  • Password

    9yXQ39wz(uL+

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 1 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.

  • 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 3 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 11 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\D121-D122-D123-D127-D128-D130-23-8-2024.xls.scr.exe
    "C:\Users\Admin\AppData\Local\Temp\D121-D122-D123-D127-D128-D130-23-8-2024.xls.scr.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4068
    • 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\D121-D122-D123-D127-D128-D130-23-8-2024.xls.scr.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4584
    • C:\Users\Admin\AppData\Local\Temp\D121-D122-D123-D127-D128-D130-23-8-2024.xls.scr.exe
      "C:\Users\Admin\AppData\Local\Temp\D121-D122-D123-D127-D128-D130-23-8-2024.xls.scr.exe"
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5040

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        D121-D122-D123-D127-D128-D130-23-8-2024.xls.scr.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\D121-D122-D123-D127-D128-D130-23-8-2024.xls.scr.exe.log
        • Size 1KB
        • SHA256 7667e538030e3f8ce2886e47a01af24cb0ea70528b1e821c5d8832c5076cb982
        • MD5 SHA1 SHA512

        __PSScriptPolicyTest_yhsmgmth.q1q.ps1

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

        memory/4068-8-0x0000000005330000-0x000000000534A000-memory.dmp

        memory/4068-9-0x0000000074EEE000-0x0000000074EEF000-memory.dmp

        memory/4068-6-0x0000000005190000-0x000000000522C000-memory.dmp

        memory/4068-5-0x0000000004E60000-0x0000000004E6A000-memory.dmp

        memory/4068-4-0x0000000074EE0000-0x0000000075690000-memory.dmp

        memory/4068-7-0x0000000006640000-0x00000000066E8000-memory.dmp

        memory/4068-18-0x0000000074EE0000-0x0000000075690000-memory.dmp

        memory/4068-3-0x0000000004F10000-0x0000000004FA2000-memory.dmp

        memory/4068-10-0x0000000074EE0000-0x0000000075690000-memory.dmp

        memory/4068-11-0x0000000005350000-0x000000000535C000-memory.dmp

        memory/4068-12-0x0000000005360000-0x0000000005370000-memory.dmp

        memory/4068-13-0x0000000006270000-0x00000000062F2000-memory.dmp

        memory/4068-2-0x00000000054C0000-0x0000000005A64000-memory.dmp

        memory/4068-1-0x00000000003F0000-0x00000000004AA000-memory.dmp

        memory/4068-0-0x0000000074EEE000-0x0000000074EEF000-memory.dmp

        memory/4584-23-0x00000000056E0000-0x0000000005D08000-memory.dmp

        memory/4584-41-0x0000000070B40000-0x0000000070B8C000-memory.dmp

        memory/4584-19-0x0000000074EE0000-0x0000000075690000-memory.dmp

        memory/4584-64-0x0000000074EE0000-0x0000000075690000-memory.dmp

        memory/4584-61-0x0000000007B80000-0x0000000007B88000-memory.dmp

        memory/4584-60-0x0000000007BA0000-0x0000000007BBA000-memory.dmp

        memory/4584-26-0x0000000005600000-0x0000000005666000-memory.dmp

        memory/4584-25-0x0000000005560000-0x0000000005582000-memory.dmp

        memory/4584-24-0x0000000074EE0000-0x0000000075690000-memory.dmp

        memory/4584-59-0x0000000007AA0000-0x0000000007AB4000-memory.dmp

        memory/4584-36-0x0000000005ED0000-0x0000000006224000-memory.dmp

        memory/4584-37-0x0000000074EE0000-0x0000000075690000-memory.dmp

        memory/4584-38-0x0000000006540000-0x000000000655E000-memory.dmp

        memory/4584-39-0x0000000006AA0000-0x0000000006AEC000-memory.dmp

        memory/4584-40-0x0000000006B00000-0x0000000006B32000-memory.dmp

        memory/4584-20-0x0000000004F80000-0x0000000004FB6000-memory.dmp

        memory/4584-51-0x0000000006B40000-0x0000000006B5E000-memory.dmp

        memory/4584-52-0x0000000007540000-0x00000000075E3000-memory.dmp

        memory/4584-53-0x0000000007EB0000-0x000000000852A000-memory.dmp

        memory/4584-54-0x0000000007860000-0x000000000787A000-memory.dmp

        memory/4584-55-0x00000000078D0000-0x00000000078DA000-memory.dmp

        memory/4584-56-0x0000000007AE0000-0x0000000007B76000-memory.dmp

        memory/4584-57-0x0000000007A60000-0x0000000007A71000-memory.dmp

        memory/4584-58-0x0000000007A90000-0x0000000007A9E000-memory.dmp

        memory/5040-14-0x0000000000400000-0x0000000000440000-memory.dmp

        memory/5040-17-0x0000000074EE0000-0x0000000075690000-memory.dmp

        memory/5040-22-0x0000000005150000-0x00000000051B6000-memory.dmp

        memory/5040-21-0x0000000074EE0000-0x0000000075690000-memory.dmp

        memory/5040-65-0x00000000067E0000-0x0000000006830000-memory.dmp

        memory/5040-66-0x0000000074EE0000-0x0000000075690000-memory.dmp