Analysis

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

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

General

  • Target
    fd6989c90587630a61d42a4bbe2cd796a8e0eb6c5c15f813c440b00d416863ee.exe
  • Size 787KB
  • Sample240616-bjtkyswhrm
  • SHA256 fd6989c90587630a61d42a4bbe2cd796a8e0eb6c5c15f813c440b00d416863ee
  • 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 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 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 SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\fd6989c90587630a61d42a4bbe2cd796a8e0eb6c5c15f813c440b00d416863ee.exe
    "C:\Users\Admin\AppData\Local\Temp\fd6989c90587630a61d42a4bbe2cd796a8e0eb6c5c15f813c440b00d416863ee.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2552
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\okiXqKXxeNywIS.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4580
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\okiXqKXxeNywIS" /XML "C:\Users\Admin\AppData\Local\Temp\tmp701F.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:532
    • C:\Users\Admin\AppData\Local\Temp\fd6989c90587630a61d42a4bbe2cd796a8e0eb6c5c15f813c440b00d416863ee.exe
      "C:\Users\Admin\AppData\Local\Temp\fd6989c90587630a61d42a4bbe2cd796a8e0eb6c5c15f813c440b00d416863ee.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:1472

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_bpmus3w1.aim.ps1

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

        tmp701F.tmp

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

        memory/1472-66-0x0000000074D30000-0x00000000754E0000-memory.dmp

        memory/1472-20-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/1472-33-0x0000000074D30000-0x00000000754E0000-memory.dmp

        memory/1472-25-0x0000000074D30000-0x00000000754E0000-memory.dmp

        memory/1472-65-0x0000000006DF0000-0x0000000006E40000-memory.dmp

        memory/2552-4-0x0000000005500000-0x000000000550A000-memory.dmp

        memory/2552-8-0x0000000005590000-0x00000000055A0000-memory.dmp

        memory/2552-9-0x0000000006A60000-0x0000000006AE4000-memory.dmp

        memory/2552-7-0x0000000005A60000-0x0000000005A7A000-memory.dmp

        memory/2552-6-0x00000000057A0000-0x000000000583C000-memory.dmp

        memory/2552-5-0x0000000074D30000-0x00000000754E0000-memory.dmp

        memory/2552-3-0x0000000005440000-0x00000000054D2000-memory.dmp

        memory/2552-2-0x0000000005AF0000-0x0000000006094000-memory.dmp

        memory/2552-26-0x0000000074D30000-0x00000000754E0000-memory.dmp

        memory/2552-1-0x00000000009A0000-0x0000000000A6A000-memory.dmp

        memory/2552-0-0x0000000074D3E000-0x0000000074D3F000-memory.dmp

        memory/4580-24-0x0000000005D70000-0x0000000005DD6000-memory.dmp

        memory/4580-53-0x0000000007D40000-0x00000000083BA000-memory.dmp

        memory/4580-23-0x0000000005C50000-0x0000000005CB6000-memory.dmp

        memory/4580-19-0x0000000074D30000-0x00000000754E0000-memory.dmp

        memory/4580-18-0x0000000074D30000-0x00000000754E0000-memory.dmp

        memory/4580-15-0x0000000074D30000-0x00000000754E0000-memory.dmp

        memory/4580-27-0x0000000005DE0000-0x0000000006134000-memory.dmp

        memory/4580-38-0x00000000063B0000-0x00000000063CE000-memory.dmp

        memory/4580-39-0x00000000063E0000-0x000000000642C000-memory.dmp

        memory/4580-41-0x0000000070DF0000-0x0000000070E3C000-memory.dmp

        memory/4580-40-0x0000000007390000-0x00000000073C2000-memory.dmp

        memory/4580-51-0x0000000006980000-0x000000000699E000-memory.dmp

        memory/4580-52-0x00000000075D0000-0x0000000007673000-memory.dmp

        memory/4580-22-0x0000000005B70000-0x0000000005B92000-memory.dmp

        memory/4580-54-0x00000000076F0000-0x000000000770A000-memory.dmp

        memory/4580-55-0x0000000007760000-0x000000000776A000-memory.dmp

        memory/4580-56-0x0000000007970000-0x0000000007A06000-memory.dmp

        memory/4580-57-0x00000000078F0000-0x0000000007901000-memory.dmp

        memory/4580-58-0x0000000007920000-0x000000000792E000-memory.dmp

        memory/4580-59-0x0000000007930000-0x0000000007944000-memory.dmp

        memory/4580-60-0x0000000007A30000-0x0000000007A4A000-memory.dmp

        memory/4580-61-0x0000000007A10000-0x0000000007A18000-memory.dmp

        memory/4580-64-0x0000000074D30000-0x00000000754E0000-memory.dmp

        memory/4580-16-0x00000000054C0000-0x0000000005AE8000-memory.dmp

        memory/4580-14-0x0000000004E00000-0x0000000004E36000-memory.dmp