Analysis

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

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

General

  • Target
    86488d9fa7887c6129854cc21e2791c2956b9e8f5b24f838bbaeedf7f49c88cd.exe
  • Size 802KB
  • Sample240607-cc7dxafg4v
  • SHA256 86488d9fa7887c6129854cc21e2791c2956b9e8f5b24f838bbaeedf7f49c88cd
  • 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 12 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\86488d9fa7887c6129854cc21e2791c2956b9e8f5b24f838bbaeedf7f49c88cd.exe
    "C:\Users\Admin\AppData\Local\Temp\86488d9fa7887c6129854cc21e2791c2956b9e8f5b24f838bbaeedf7f49c88cd.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1900
    • 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\86488d9fa7887c6129854cc21e2791c2956b9e8f5b24f838bbaeedf7f49c88cd.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:868
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\PsFWPaHuRBf.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3252
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\PsFWPaHuRBf" /XML "C:\Users\Admin\AppData\Local\Temp\tmp64C5.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4968
    • C:\Users\Admin\AppData\Local\Temp\86488d9fa7887c6129854cc21e2791c2956b9e8f5b24f838bbaeedf7f49c88cd.exe
      "C:\Users\Admin\AppData\Local\Temp\86488d9fa7887c6129854cc21e2791c2956b9e8f5b24f838bbaeedf7f49c88cd.exe"
      2⤵
        PID:3356
      • C:\Users\Admin\AppData\Local\Temp\86488d9fa7887c6129854cc21e2791c2956b9e8f5b24f838bbaeedf7f49c88cd.exe
        "C:\Users\Admin\AppData\Local\Temp\86488d9fa7887c6129854cc21e2791c2956b9e8f5b24f838bbaeedf7f49c88cd.exe"
        2⤵
          PID:2936
        • C:\Users\Admin\AppData\Local\Temp\86488d9fa7887c6129854cc21e2791c2956b9e8f5b24f838bbaeedf7f49c88cd.exe
          "C:\Users\Admin\AppData\Local\Temp\86488d9fa7887c6129854cc21e2791c2956b9e8f5b24f838bbaeedf7f49c88cd.exe"
          2⤵
          • Adds Run key to start application
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:2328

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

            __PSScriptPolicyTest_5oahnp4t.vb5.ps1

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

            tmp64C5.tmp

            • Path C:\Users\Admin\AppData\Local\Temp\tmp64C5.tmp
            • Size 1KB
            • SHA256 89f57daf598ec172170e6d8341fd2d44ebb61ca442f38281c690a967183417a0
            • MD5 SHA1 SHA512

            memory/868-76-0x0000000007460000-0x000000000746A000-memory.dmp

            memory/868-49-0x00000000060B0000-0x00000000060CE000-memory.dmp

            memory/868-89-0x00000000750B0000-0x0000000075860000-memory.dmp

            memory/868-78-0x00000000075F0000-0x0000000007601000-memory.dmp

            memory/868-77-0x0000000007670000-0x0000000007706000-memory.dmp

            memory/868-64-0x0000000007A30000-0x00000000080AA000-memory.dmp

            memory/868-69-0x00000000073F0000-0x000000000740A000-memory.dmp

            memory/868-15-0x0000000004AF0000-0x0000000004B26000-memory.dmp

            memory/868-17-0x00000000051A0000-0x00000000057C8000-memory.dmp

            memory/868-16-0x00000000750B0000-0x0000000075860000-memory.dmp

            memory/868-18-0x00000000750B0000-0x0000000075860000-memory.dmp

            memory/868-51-0x0000000007060000-0x0000000007092000-memory.dmp

            memory/868-52-0x00000000706C0000-0x000000007070C000-memory.dmp

            memory/868-20-0x00000000050E0000-0x0000000005102000-memory.dmp

            memory/868-62-0x00000000070A0000-0x00000000070BE000-memory.dmp

            memory/868-63-0x00000000070C0000-0x0000000007163000-memory.dmp

            memory/868-50-0x0000000006490000-0x00000000064DC000-memory.dmp

            memory/868-34-0x00000000750B0000-0x0000000075860000-memory.dmp

            memory/868-35-0x0000000005BC0000-0x0000000005F14000-memory.dmp

            memory/1900-4-0x0000000004F30000-0x0000000004F3A000-memory.dmp

            memory/1900-48-0x00000000750B0000-0x0000000075860000-memory.dmp

            memory/1900-0-0x00000000750BE000-0x00000000750BF000-memory.dmp

            memory/1900-9-0x00000000060E0000-0x0000000006162000-memory.dmp

            memory/1900-3-0x0000000004D70000-0x0000000004E02000-memory.dmp

            memory/1900-6-0x00000000053A0000-0x00000000053B6000-memory.dmp

            memory/1900-5-0x00000000750B0000-0x0000000075860000-memory.dmp

            memory/1900-8-0x0000000006090000-0x00000000060A0000-memory.dmp

            memory/1900-1-0x00000000002E0000-0x00000000003AA000-memory.dmp

            memory/1900-2-0x00000000053D0000-0x0000000005974000-memory.dmp

            memory/1900-7-0x0000000006080000-0x000000000608E000-memory.dmp

            memory/1900-10-0x0000000006360000-0x00000000063FC000-memory.dmp

            memory/2328-91-0x0000000006600000-0x0000000006650000-memory.dmp

            memory/2328-46-0x0000000000400000-0x0000000000442000-memory.dmp

            memory/3252-22-0x0000000005CF0000-0x0000000005D56000-memory.dmp

            memory/3252-65-0x00000000706C0000-0x000000007070C000-memory.dmp

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

            memory/3252-80-0x0000000007950000-0x0000000007964000-memory.dmp

            memory/3252-82-0x0000000007A30000-0x0000000007A38000-memory.dmp

            memory/3252-81-0x0000000007A50000-0x0000000007A6A000-memory.dmp

            memory/3252-85-0x00000000750B0000-0x0000000075860000-memory.dmp

            memory/3252-19-0x00000000750B0000-0x0000000075860000-memory.dmp

            memory/3252-21-0x0000000005C10000-0x0000000005C76000-memory.dmp

            memory/3252-28-0x00000000750B0000-0x0000000075860000-memory.dmp

            memory/3252-36-0x00000000750B0000-0x0000000075860000-memory.dmp