Analysis

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

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04/06/2024, 01:02

General

  • Target
    0d89f9c07d7604f3ca0f4949f17613d6b09a8445b8459e4fd57f0e10fe465ed0.exe
  • Size 865KB
  • Sample240604-bdvwtsff41
  • SHA256 0d89f9c07d7604f3ca0f4949f17613d6b09a8445b8459e4fd57f0e10fe465ed0
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.formosabag.co.id

  • Port

    587

  • Password

    @2022exim02^^**

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\0d89f9c07d7604f3ca0f4949f17613d6b09a8445b8459e4fd57f0e10fe465ed0.exe
    "C:\Users\Admin\AppData\Local\Temp\0d89f9c07d7604f3ca0f4949f17613d6b09a8445b8459e4fd57f0e10fe465ed0.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4808
    • 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\0d89f9c07d7604f3ca0f4949f17613d6b09a8445b8459e4fd57f0e10fe465ed0.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2364
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\xVclFITYpVbZ.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4416
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\xVclFITYpVbZ" /XML "C:\Users\Admin\AppData\Local\Temp\tmp70AC.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2544
    • C:\Users\Admin\AppData\Local\Temp\0d89f9c07d7604f3ca0f4949f17613d6b09a8445b8459e4fd57f0e10fe465ed0.exe
      "C:\Users\Admin\AppData\Local\Temp\0d89f9c07d7604f3ca0f4949f17613d6b09a8445b8459e4fd57f0e10fe465ed0.exe"
      2⤵
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:1000

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

        __PSScriptPolicyTest_shgo51hm.41x.ps1

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

        tmp70AC.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp70AC.tmp
        • Size 1KB
        • SHA256 5c15113531911efdbb164e6f22db31f49418859aaa240b19d4fcc675b0634bb1
        • MD5 SHA1 SHA512

        memory/1000-91-0x0000000006CB0000-0x0000000006D00000-memory.dmp

        memory/1000-36-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/2364-35-0x0000000005F00000-0x0000000005F66000-memory.dmp

        memory/2364-77-0x0000000007990000-0x0000000007A26000-memory.dmp

        memory/2364-90-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/2364-83-0x0000000007A30000-0x0000000007A38000-memory.dmp

        memory/2364-82-0x0000000007A50000-0x0000000007A6A000-memory.dmp

        memory/2364-81-0x0000000007950000-0x0000000007964000-memory.dmp

        memory/2364-16-0x0000000004E30000-0x0000000004E66000-memory.dmp

        memory/2364-17-0x0000000005630000-0x0000000005C58000-memory.dmp

        memory/2364-18-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/2364-19-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/2364-79-0x0000000007940000-0x000000000794E000-memory.dmp

        memory/2364-78-0x0000000007910000-0x0000000007921000-memory.dmp

        memory/2364-27-0x00000000055B0000-0x00000000055D2000-memory.dmp

        memory/2364-32-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/2364-66-0x0000000007780000-0x000000000778A000-memory.dmp

        memory/2364-64-0x0000000007DB0000-0x000000000842A000-memory.dmp

        memory/2364-65-0x0000000007500000-0x000000000751A000-memory.dmp

        memory/2364-62-0x0000000006980000-0x000000000699E000-memory.dmp

        memory/2364-63-0x00000000073A0000-0x0000000007443000-memory.dmp

        memory/2364-33-0x0000000005E70000-0x0000000005ED6000-memory.dmp

        memory/2364-52-0x0000000071700000-0x000000007174C000-memory.dmp

        memory/2364-49-0x00000000063C0000-0x00000000063DE000-memory.dmp

        memory/2364-50-0x00000000067E0000-0x000000000682C000-memory.dmp

        memory/2364-51-0x00000000069A0000-0x00000000069D2000-memory.dmp

        memory/4416-67-0x0000000071700000-0x000000007174C000-memory.dmp

        memory/4416-89-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/4416-38-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/4416-20-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/4416-34-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/4808-6-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/4808-5-0x0000000005660000-0x000000000566A000-memory.dmp

        memory/4808-7-0x0000000005E60000-0x0000000005E76000-memory.dmp

        memory/4808-39-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/4808-4-0x00000000052E0000-0x0000000005634000-memory.dmp

        memory/4808-11-0x0000000008FF0000-0x000000000908C000-memory.dmp

        memory/4808-10-0x0000000006810000-0x0000000006892000-memory.dmp

        memory/4808-9-0x00000000067A0000-0x00000000067B0000-memory.dmp

        memory/4808-0-0x000000007539E000-0x000000007539F000-memory.dmp

        memory/4808-3-0x0000000005180000-0x0000000005212000-memory.dmp

        memory/4808-2-0x0000000005690000-0x0000000005C34000-memory.dmp

        memory/4808-8-0x0000000006790000-0x000000000679E000-memory.dmp

        memory/4808-1-0x0000000000680000-0x000000000075A000-memory.dmp