Analysis

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

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/06/2024, 02:05

General

  • Target
    58730.exe
  • Size 1.1MB
  • Sample240614-cjc4ms1fkh
  • SHA256 1ac7e58bde311b270cf53ca82e2b5859aa79c53665ea7607873228528d753d8d
  • 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.

  • 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 WriteProcessMemory 17 IoCs

Processes

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

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

        __PSScriptPolicyTest_bnd23d0y.app.ps1

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

        tmp660D.tmp

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

        memory/1788-63-0x000000006FDD0000-0x000000006FE1C000-memory.dmp

        memory/1788-15-0x0000000005950000-0x0000000005F78000-memory.dmp

        memory/1788-79-0x0000000007CD0000-0x0000000007CE4000-memory.dmp

        memory/1788-76-0x0000000007D10000-0x0000000007DA6000-memory.dmp

        memory/1788-81-0x0000000007DB0000-0x0000000007DB8000-memory.dmp

        memory/1788-20-0x00000000057D0000-0x00000000057F2000-memory.dmp

        memory/1788-14-0x00000000051C0000-0x00000000051F6000-memory.dmp

        memory/1788-80-0x0000000007DD0000-0x0000000007DEA000-memory.dmp

        memory/1788-16-0x0000000074F20000-0x00000000756D0000-memory.dmp

        memory/1788-17-0x0000000074F20000-0x00000000756D0000-memory.dmp

        memory/1788-18-0x0000000074F20000-0x00000000756D0000-memory.dmp

        memory/1788-88-0x0000000074F20000-0x00000000756D0000-memory.dmp

        memory/1788-22-0x0000000006170000-0x00000000061D6000-memory.dmp

        memory/1788-21-0x0000000005870000-0x00000000058D6000-memory.dmp

        memory/2892-23-0x0000000074F20000-0x00000000756D0000-memory.dmp

        memory/2892-47-0x0000000005EC0000-0x0000000005EDE000-memory.dmp

        memory/2892-31-0x0000000074F20000-0x00000000756D0000-memory.dmp

        memory/2892-25-0x0000000074F20000-0x00000000756D0000-memory.dmp

        memory/2892-87-0x0000000074F20000-0x00000000756D0000-memory.dmp

        memory/2892-24-0x0000000005820000-0x0000000005B74000-memory.dmp

        memory/2892-78-0x0000000007420000-0x000000000742E000-memory.dmp

        memory/2892-73-0x0000000007830000-0x0000000007EAA000-memory.dmp

        memory/2892-77-0x00000000073F0000-0x0000000007401000-memory.dmp

        memory/2892-48-0x0000000006180000-0x00000000061CC000-memory.dmp

        memory/2892-51-0x000000006FDD0000-0x000000006FE1C000-memory.dmp

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

        memory/2892-61-0x0000000006470000-0x000000000648E000-memory.dmp

        memory/2892-62-0x0000000006EB0000-0x0000000006F53000-memory.dmp

        memory/2892-75-0x0000000007260000-0x000000000726A000-memory.dmp

        memory/2892-74-0x00000000071F0000-0x000000000720A000-memory.dmp

        memory/2984-49-0x0000000074F20000-0x00000000756D0000-memory.dmp

        memory/2984-8-0x0000000005B70000-0x0000000005B80000-memory.dmp

        memory/2984-7-0x0000000005E20000-0x0000000005E3A000-memory.dmp

        memory/2984-9-0x0000000007520000-0x00000000075D2000-memory.dmp

        memory/2984-6-0x0000000005C80000-0x0000000005D1C000-memory.dmp

        memory/2984-5-0x0000000005960000-0x000000000596A000-memory.dmp

        memory/2984-4-0x0000000074F20000-0x00000000756D0000-memory.dmp

        memory/2984-3-0x00000000059B0000-0x0000000005A42000-memory.dmp

        memory/2984-2-0x0000000005E80000-0x0000000006424000-memory.dmp

        memory/2984-0-0x0000000074F2E000-0x0000000074F2F000-memory.dmp

        memory/2984-1-0x0000000000E60000-0x0000000000F70000-memory.dmp

        memory/3392-39-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/3392-90-0x0000000006AF0000-0x0000000006B40000-memory.dmp