Analysis

  • max time kernel
    139s
  • max time network
    119s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240611-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19/06/2024, 01:08

General

  • Target
    1b68fe4f599f20aa70efb528ec45495683877193869eb95cd77119bcac096cd1.exe
  • Size 661KB
  • Sample240619-bhpwdavfkn
  • SHA256 1b68fe4f599f20aa70efb528ec45495683877193869eb95cd77119bcac096cd1
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.naubahar.com

  • Port

    587

  • Password

    Hum$885+Nn

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
  • Detects binaries (Windows and macOS) referencing many web browsers. Observed in information stealers. 1 IoCs
  • Detects executables packed with SmartAssembly 1 IoCs
  • Detects executables referencing Windows vault credential objects. Observed in infostealers 1 IoCs
  • Detects executables referencing many confidential data stores found in browsers, mail clients, cryptocurreny wallets, etc. Observed in information stealers 1 IoCs
  • Detects executables referencing many email and collaboration clients. Observed in information stealers 1 IoCs
  • Detects executables referencing many file transfer clients. Observed in information stealers 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.

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

  • 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 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\1b68fe4f599f20aa70efb528ec45495683877193869eb95cd77119bcac096cd1.exe
    "C:\Users\Admin\AppData\Local\Temp\1b68fe4f599f20aa70efb528ec45495683877193869eb95cd77119bcac096cd1.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3664
    • 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\1b68fe4f599f20aa70efb528ec45495683877193869eb95cd77119bcac096cd1.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2196
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\ZgvUYcgWaiQFD.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4932
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\ZgvUYcgWaiQFD" /XML "C:\Users\Admin\AppData\Local\Temp\tmp61F6.tmp"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:2340
    • C:\Users\Admin\AppData\Local\Temp\1b68fe4f599f20aa70efb528ec45495683877193869eb95cd77119bcac096cd1.exe
      "C:\Users\Admin\AppData\Local\Temp\1b68fe4f599f20aa70efb528ec45495683877193869eb95cd77119bcac096cd1.exe"
      2⤵
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4204

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

        __PSScriptPolicyTest_orhptm5d.2yf.ps1

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

        tmp61F6.tmp

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

        memory/2196-15-0x00000000025E0000-0x0000000002616000-memory.dmp

        memory/2196-48-0x0000000005EB0000-0x0000000005ECE000-memory.dmp

        memory/2196-87-0x00000000746F0000-0x0000000074EA0000-memory.dmp

        memory/2196-81-0x0000000007530000-0x0000000007538000-memory.dmp

        memory/2196-79-0x0000000007450000-0x0000000007464000-memory.dmp

        memory/2196-78-0x0000000007440000-0x000000000744E000-memory.dmp

        memory/2196-76-0x0000000007490000-0x0000000007526000-memory.dmp

        memory/2196-75-0x0000000007280000-0x000000000728A000-memory.dmp

        memory/2196-16-0x00000000746F0000-0x0000000074EA0000-memory.dmp

        memory/2196-18-0x00000000746F0000-0x0000000074EA0000-memory.dmp

        memory/2196-17-0x0000000005120000-0x0000000005748000-memory.dmp

        memory/2196-19-0x00000000746F0000-0x0000000074EA0000-memory.dmp

        memory/2196-74-0x0000000007210000-0x000000000722A000-memory.dmp

        memory/2196-73-0x0000000007850000-0x0000000007ECA000-memory.dmp

        memory/2196-50-0x0000000006E70000-0x0000000006EA2000-memory.dmp

        memory/2196-23-0x00000000050A0000-0x00000000050C2000-memory.dmp

        memory/2196-24-0x0000000005800000-0x0000000005866000-memory.dmp

        memory/2196-62-0x0000000006EE0000-0x0000000006F83000-memory.dmp

        memory/2196-61-0x0000000006EB0000-0x0000000006ECE000-memory.dmp

        memory/2196-51-0x0000000070DC0000-0x0000000070E0C000-memory.dmp

        memory/2196-49-0x0000000005F70000-0x0000000005FBC000-memory.dmp

        memory/2196-37-0x00000000058E0000-0x0000000005C34000-memory.dmp

        memory/2196-25-0x0000000005870000-0x00000000058D6000-memory.dmp

        memory/3664-6-0x00000000746F0000-0x0000000074EA0000-memory.dmp

        memory/3664-1-0x0000000000260000-0x0000000000308000-memory.dmp

        memory/3664-3-0x0000000004D60000-0x0000000004DF2000-memory.dmp

        memory/3664-47-0x00000000746F0000-0x0000000074EA0000-memory.dmp

        memory/3664-2-0x0000000005270000-0x0000000005814000-memory.dmp

        memory/3664-9-0x0000000004F20000-0x0000000004F2C000-memory.dmp

        memory/3664-0-0x00000000746FE000-0x00000000746FF000-memory.dmp

        memory/3664-8-0x0000000004F10000-0x0000000004F18000-memory.dmp

        memory/3664-4-0x0000000004D10000-0x0000000004D1A000-memory.dmp

        memory/3664-5-0x0000000005050000-0x00000000050EC000-memory.dmp

        memory/3664-7-0x0000000004ED0000-0x0000000004EE2000-memory.dmp

        memory/3664-10-0x0000000006110000-0x0000000006194000-memory.dmp

        memory/4204-26-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/4204-90-0x00000000066E0000-0x0000000006730000-memory.dmp

        memory/4932-63-0x0000000070DC0000-0x0000000070E0C000-memory.dmp

        memory/4932-80-0x0000000007860000-0x000000000787A000-memory.dmp

        memory/4932-77-0x0000000007720000-0x0000000007731000-memory.dmp

        memory/4932-88-0x00000000746F0000-0x0000000074EA0000-memory.dmp

        memory/4932-22-0x00000000746F0000-0x0000000074EA0000-memory.dmp

        memory/4932-20-0x00000000746F0000-0x0000000074EA0000-memory.dmp