Analysis

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

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

General

  • Target
    674ead9814f3b34e0e702c6095739aa36eb87fc2abdfc99deadb52fa3794016d.exe
  • Size 596KB
  • Sample240604-2hheeadg2z
  • SHA256 674ead9814f3b34e0e702c6095739aa36eb87fc2abdfc99deadb52fa3794016d
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

Credentials

Signatures

  • AgentTesla

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

  • Detect packed .NET executables. Mostly AgentTeslaV4. 1 IoCs
  • 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.

  • 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 12 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\674ead9814f3b34e0e702c6095739aa36eb87fc2abdfc99deadb52fa3794016d.exe
    "C:\Users\Admin\AppData\Local\Temp\674ead9814f3b34e0e702c6095739aa36eb87fc2abdfc99deadb52fa3794016d.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4356
    • 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\674ead9814f3b34e0e702c6095739aa36eb87fc2abdfc99deadb52fa3794016d.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4812
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\JxSYqufxBOUlgK.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:976
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\JxSYqufxBOUlgK" /XML "C:\Users\Admin\AppData\Local\Temp\tmp81F1.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:532
    • C:\Users\Admin\AppData\Local\Temp\674ead9814f3b34e0e702c6095739aa36eb87fc2abdfc99deadb52fa3794016d.exe
      "C:\Users\Admin\AppData\Local\Temp\674ead9814f3b34e0e702c6095739aa36eb87fc2abdfc99deadb52fa3794016d.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • outlook_office_path
      • outlook_win_path
      PID:4280

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

        __PSScriptPolicyTest_kdolf42q.xvd.ps1

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

        tmp81F1.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp81F1.tmp
        • Size 1KB
        • SHA256 51ba38b70cf99870500db77c9bafcdfd7c8291c528369ac2e3f384ee0b5c264f
        • MD5 SHA1 SHA512

        memory/976-49-0x0000000005E90000-0x0000000005EAE000-memory.dmp

        memory/976-26-0x00000000747F0000-0x0000000074FA0000-memory.dmp

        memory/976-39-0x0000000005840000-0x0000000005B94000-memory.dmp

        memory/976-78-0x00000000073B0000-0x00000000073C1000-memory.dmp

        memory/976-66-0x00000000750A0000-0x00000000750EC000-memory.dmp

        memory/976-19-0x00000000747F0000-0x0000000074FA0000-memory.dmp

        memory/976-90-0x00000000747F0000-0x0000000074FA0000-memory.dmp

        memory/976-16-0x0000000002560000-0x0000000002596000-memory.dmp

        memory/976-50-0x0000000005F10000-0x0000000005F5C000-memory.dmp

        memory/976-22-0x00000000747F0000-0x0000000074FA0000-memory.dmp

        memory/976-77-0x0000000007430000-0x00000000074C6000-memory.dmp

        memory/4280-27-0x0000000000400000-0x0000000000430000-memory.dmp

        memory/4280-91-0x0000000007010000-0x0000000007060000-memory.dmp

        memory/4280-92-0x0000000007230000-0x00000000073F2000-memory.dmp

        memory/4356-0-0x00000000747FE000-0x00000000747FF000-memory.dmp

        memory/4356-10-0x0000000009190000-0x000000000922C000-memory.dmp

        memory/4356-9-0x00000000069B0000-0x0000000006A22000-memory.dmp

        memory/4356-8-0x0000000005AF0000-0x0000000005B00000-memory.dmp

        memory/4356-7-0x0000000006C30000-0x0000000006C4A000-memory.dmp

        memory/4356-6-0x0000000006BA0000-0x0000000006C2E000-memory.dmp

        memory/4356-48-0x00000000747F0000-0x0000000074FA0000-memory.dmp

        memory/4356-5-0x00000000747F0000-0x0000000074FA0000-memory.dmp

        memory/4356-4-0x0000000005710000-0x000000000571A000-memory.dmp

        memory/4356-3-0x0000000005560000-0x00000000055F2000-memory.dmp

        memory/4356-2-0x0000000005B10000-0x00000000060B4000-memory.dmp

        memory/4356-1-0x0000000000AC0000-0x0000000000B5A000-memory.dmp

        memory/4812-15-0x00000000747F0000-0x0000000074FA0000-memory.dmp

        memory/4812-52-0x00000000750A0000-0x00000000750EC000-memory.dmp

        memory/4812-51-0x0000000007520000-0x0000000007552000-memory.dmp

        memory/4812-65-0x00000000078B0000-0x00000000078CA000-memory.dmp

        memory/4812-64-0x0000000007F00000-0x000000000857A000-memory.dmp

        memory/4812-63-0x0000000007780000-0x0000000007823000-memory.dmp

        memory/4812-76-0x0000000007920000-0x000000000792A000-memory.dmp

        memory/4812-62-0x0000000007760000-0x000000000777E000-memory.dmp

        memory/4812-23-0x00000000055D0000-0x00000000055F2000-memory.dmp

        memory/4812-79-0x0000000007AE0000-0x0000000007AEE000-memory.dmp

        memory/4812-80-0x0000000007AF0000-0x0000000007B04000-memory.dmp

        memory/4812-82-0x0000000007BD0000-0x0000000007BD8000-memory.dmp

        memory/4812-81-0x0000000007BF0000-0x0000000007C0A000-memory.dmp

        memory/4812-24-0x00000000056F0000-0x0000000005756000-memory.dmp

        memory/4812-25-0x0000000005F50000-0x0000000005FB6000-memory.dmp

        memory/4812-89-0x00000000747F0000-0x0000000074FA0000-memory.dmp

        memory/4812-20-0x00000000747F0000-0x0000000074FA0000-memory.dmp

        memory/4812-18-0x0000000005770000-0x0000000005D98000-memory.dmp

        memory/4812-17-0x00000000747F0000-0x0000000074FA0000-memory.dmp