Analysis

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

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03/05/2024, 04:27

General

  • Target
    SecuriteInfo.com.Win32.PWSX-gen.23212.6828.exe
  • Size 692KB
  • Sample240503-e234wshb69
  • SHA256 21e7743ee49b00d201af99fbd9fc0a430032f416070834294b12f3ea2c12b48d
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.starmech.net

  • Port

    587

  • Password

    nics123

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\SecuriteInfo.com.Win32.PWSX-gen.23212.6828.exe
    "C:\Users\Admin\AppData\Local\Temp\SecuriteInfo.com.Win32.PWSX-gen.23212.6828.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:3672
    • 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\SecuriteInfo.com.Win32.PWSX-gen.23212.6828.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3480
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\KbNISewEyYleQ.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4484
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\KbNISewEyYleQ" /XML "C:\Users\Admin\AppData\Local\Temp\tmp5A84.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1656
    • C:\Users\Admin\AppData\Local\Temp\SecuriteInfo.com.Win32.PWSX-gen.23212.6828.exe
      "C:\Users\Admin\AppData\Local\Temp\SecuriteInfo.com.Win32.PWSX-gen.23212.6828.exe"
      2⤵
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:4264

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        SecuriteInfo.com.Win32.PWSX-gen.23212.6828.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\SecuriteInfo.com.Win32.PWSX-gen.23212.6828.exe.log
        • Size 1KB
        • SHA256 7667e538030e3f8ce2886e47a01af24cb0ea70528b1e821c5d8832c5076cb982
        • MD5 SHA1 SHA512

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

        __PSScriptPolicyTest_irwvqevi.tpn.ps1

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

        tmp5A84.tmp

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

        memory/3480-16-0x0000000074450000-0x0000000074C00000-memory.dmp

        memory/3480-76-0x0000000007760000-0x00000000077F6000-memory.dmp

        memory/3480-87-0x0000000074450000-0x0000000074C00000-memory.dmp

        memory/3480-81-0x0000000007800000-0x0000000007808000-memory.dmp

        memory/3480-80-0x0000000007820000-0x000000000783A000-memory.dmp

        memory/3480-14-0x0000000004C50000-0x0000000004C86000-memory.dmp

        memory/3480-79-0x0000000007720000-0x0000000007734000-memory.dmp

        memory/3480-15-0x00000000052C0000-0x00000000058E8000-memory.dmp

        memory/3480-17-0x0000000074450000-0x0000000074C00000-memory.dmp

        memory/3480-19-0x00000000050E0000-0x0000000005102000-memory.dmp

        memory/3480-78-0x0000000007710000-0x000000000771E000-memory.dmp

        memory/3480-21-0x00000000051F0000-0x0000000005256000-memory.dmp

        memory/3480-20-0x0000000005180000-0x00000000051E6000-memory.dmp

        memory/3480-23-0x0000000005B70000-0x0000000005EC4000-memory.dmp

        memory/3480-77-0x00000000076E0000-0x00000000076F1000-memory.dmp

        memory/3480-74-0x00000000074E0000-0x00000000074FA000-memory.dmp

        memory/3480-50-0x0000000007190000-0x00000000071C2000-memory.dmp

        memory/3480-51-0x0000000070B20000-0x0000000070B6C000-memory.dmp

        memory/3480-61-0x0000000006750000-0x000000000676E000-memory.dmp

        memory/3480-18-0x0000000074450000-0x0000000074C00000-memory.dmp

        memory/3480-62-0x00000000073D0000-0x0000000007473000-memory.dmp

        memory/3672-6-0x0000000005630000-0x00000000056CC000-memory.dmp

        memory/3672-0-0x000000007445E000-0x000000007445F000-memory.dmp

        memory/3672-47-0x0000000074450000-0x0000000074C00000-memory.dmp

        memory/3672-1-0x0000000000930000-0x00000000009E0000-memory.dmp

        memory/3672-3-0x0000000005370000-0x0000000005402000-memory.dmp

        memory/3672-4-0x0000000005530000-0x000000000553A000-memory.dmp

        memory/3672-5-0x0000000074450000-0x0000000074C00000-memory.dmp

        memory/3672-7-0x0000000005830000-0x0000000005846000-memory.dmp

        memory/3672-2-0x0000000005880000-0x0000000005E24000-memory.dmp

        memory/3672-8-0x0000000005860000-0x0000000005876000-memory.dmp

        memory/3672-9-0x0000000006A30000-0x0000000006AB4000-memory.dmp

        memory/4264-31-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/4264-90-0x00000000068A0000-0x00000000068F0000-memory.dmp

        memory/4484-48-0x00000000064C0000-0x00000000064DE000-memory.dmp

        memory/4484-24-0x0000000074450000-0x0000000074C00000-memory.dmp

        memory/4484-49-0x0000000006540000-0x000000000658C000-memory.dmp

        memory/4484-75-0x0000000007840000-0x000000000784A000-memory.dmp

        memory/4484-73-0x0000000007E10000-0x000000000848A000-memory.dmp

        memory/4484-88-0x0000000074450000-0x0000000074C00000-memory.dmp

        memory/4484-25-0x0000000074450000-0x0000000074C00000-memory.dmp

        memory/4484-63-0x0000000070B20000-0x0000000070B6C000-memory.dmp