Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11/06/2024, 01:22

General

  • Target
    Aviso legal.exe
  • Size 735KB
  • Sample240611-brrfkaycre
  • SHA256 9c9ebb097e941ec06c14fd93e61c79a4118338c1a2c64b67b660cc9dd1c024cb
  • 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.

  • Looks up external IP address via web service 1 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

Processes

  • C:\Users\Admin\AppData\Local\Temp\Aviso legal.exe
    "C:\Users\Admin\AppData\Local\Temp\Aviso legal.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:4420
    • 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\Aviso legal.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2812
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\jpzJDOzEpT.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3660
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\jpzJDOzEpT" /XML "C:\Users\Admin\AppData\Local\Temp\tmp83C6.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:3964
    • C:\Users\Admin\AppData\Local\Temp\Aviso legal.exe
      "C:\Users\Admin\AppData\Local\Temp\Aviso legal.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1764

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

        __PSScriptPolicyTest_2zalnx42.qhn.ps1

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

        tmp83C6.tmp

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

        memory/1764-89-0x00000000071B0000-0x0000000007200000-memory.dmp

        memory/1764-45-0x0000000000400000-0x0000000000444000-memory.dmp

        memory/2812-14-0x0000000002C30000-0x0000000002C66000-memory.dmp

        memory/2812-47-0x0000000006520000-0x000000000653E000-memory.dmp

        memory/2812-84-0x0000000074BC0000-0x0000000075370000-memory.dmp

        memory/2812-76-0x0000000007AC0000-0x0000000007B56000-memory.dmp

        memory/2812-15-0x0000000074BC0000-0x0000000075370000-memory.dmp

        memory/2812-73-0x0000000007E90000-0x000000000850A000-memory.dmp

        memory/2812-17-0x00000000058A0000-0x0000000005EC8000-memory.dmp

        memory/2812-16-0x0000000074BC0000-0x0000000075370000-memory.dmp

        memory/2812-74-0x0000000007840000-0x000000000785A000-memory.dmp

        memory/2812-62-0x00000000074F0000-0x0000000007593000-memory.dmp

        memory/2812-23-0x0000000005560000-0x00000000055C6000-memory.dmp

        memory/2812-22-0x00000000054F0000-0x0000000005556000-memory.dmp

        memory/2812-21-0x0000000005450000-0x0000000005472000-memory.dmp

        memory/2812-61-0x0000000006AD0000-0x0000000006AEE000-memory.dmp

        memory/2812-24-0x0000000074BC0000-0x0000000075370000-memory.dmp

        memory/2812-50-0x0000000006AF0000-0x0000000006B22000-memory.dmp

        memory/2812-51-0x000000006FB70000-0x000000006FBBC000-memory.dmp

        memory/2812-49-0x0000000006870000-0x00000000068BC000-memory.dmp

        memory/3660-77-0x0000000007C10000-0x0000000007C21000-memory.dmp

        memory/3660-75-0x0000000007A80000-0x0000000007A8A000-memory.dmp

        memory/3660-88-0x0000000074BC0000-0x0000000075370000-memory.dmp

        memory/3660-81-0x0000000007D30000-0x0000000007D38000-memory.dmp

        memory/3660-80-0x0000000007D50000-0x0000000007D6A000-memory.dmp

        memory/3660-26-0x0000000006180000-0x00000000064D4000-memory.dmp

        memory/3660-25-0x0000000074BC0000-0x0000000075370000-memory.dmp

        memory/3660-19-0x0000000074BC0000-0x0000000075370000-memory.dmp

        memory/3660-63-0x000000006FB70000-0x000000006FBBC000-memory.dmp

        memory/3660-18-0x0000000074BC0000-0x0000000075370000-memory.dmp

        memory/3660-79-0x0000000007C50000-0x0000000007C64000-memory.dmp

        memory/3660-78-0x0000000007C40000-0x0000000007C4E000-memory.dmp

        memory/4420-9-0x0000000007AD0000-0x0000000007B6C000-memory.dmp

        memory/4420-7-0x00000000051A0000-0x00000000051B0000-memory.dmp

        memory/4420-4-0x0000000074BC0000-0x0000000075370000-memory.dmp

        memory/4420-0-0x0000000074BCE000-0x0000000074BCF000-memory.dmp

        memory/4420-6-0x0000000006760000-0x0000000006782000-memory.dmp

        memory/4420-48-0x0000000074BC0000-0x0000000075370000-memory.dmp

        memory/4420-8-0x0000000006250000-0x00000000062D4000-memory.dmp

        memory/4420-3-0x0000000004EC0000-0x0000000004F52000-memory.dmp

        memory/4420-2-0x00000000053D0000-0x0000000005974000-memory.dmp

        memory/4420-5-0x0000000004DF0000-0x0000000004DFA000-memory.dmp

        memory/4420-1-0x0000000000350000-0x0000000000408000-memory.dmp