Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02/09/2024, 14:53

General

  • Target
    5474194c07b4f0b5144069d189cd55adfd2e9e8e89bbbdba6153e173a094ff42.exe
  • Size 705KB
  • Sample240902-r9be3atdnf
  • SHA256 5474194c07b4f0b5144069d189cd55adfd2e9e8e89bbbdba6153e173a094ff42
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.alitextile.com

  • Port

    587

  • Password

    Myname@321

Extracted

Family
  • agenttesla

Credentials

Signatures

  • AgentTesla

    Agent Tesla is a remote access tool (RAT) written in visual basic.

  • Credentials from Password Stores: Credentials from Web Browsers 1 TTPs

    Malicious Access or copy of Web Browser Credential store.

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

  • Looks up external IP address via web service 3 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).

  • System Location Discovery: System Language Discovery 1 TTPs 5 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • 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 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\5474194c07b4f0b5144069d189cd55adfd2e9e8e89bbbdba6153e173a094ff42.exe
    "C:\Users\Admin\AppData\Local\Temp\5474194c07b4f0b5144069d189cd55adfd2e9e8e89bbbdba6153e173a094ff42.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4684
    • 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\5474194c07b4f0b5144069d189cd55adfd2e9e8e89bbbdba6153e173a094ff42.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4292
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\bvPYqpQavc.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4824
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\bvPYqpQavc" /XML "C:\Users\Admin\AppData\Local\Temp\tmpB67F.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:4072
    • C:\Users\Admin\AppData\Local\Temp\5474194c07b4f0b5144069d189cd55adfd2e9e8e89bbbdba6153e173a094ff42.exe
      "C:\Users\Admin\AppData\Local\Temp\5474194c07b4f0b5144069d189cd55adfd2e9e8e89bbbdba6153e173a094ff42.exe"
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:3852

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

        __PSScriptPolicyTest_jao5im2c.rz0.ps1

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

        tmpB67F.tmp

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

        memory/3852-33-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/3852-91-0x0000000006800000-0x0000000006850000-memory.dmp

        memory/4292-36-0x0000000005700000-0x0000000005A54000-memory.dmp

        memory/4292-32-0x0000000005580000-0x00000000055E6000-memory.dmp

        memory/4292-74-0x0000000006DE0000-0x0000000006E83000-memory.dmp

        memory/4292-65-0x0000000006B60000-0x0000000006B7E000-memory.dmp

        memory/4292-52-0x0000000006BA0000-0x0000000006BD2000-memory.dmp

        memory/4292-53-0x0000000071070000-0x00000000710BC000-memory.dmp

        memory/4292-16-0x0000000000EC0000-0x0000000000EF6000-memory.dmp

        memory/4292-18-0x0000000004D20000-0x0000000005348000-memory.dmp

        memory/4292-17-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/4292-19-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/4292-51-0x0000000005C30000-0x0000000005C7C000-memory.dmp

        memory/4292-50-0x0000000005C00000-0x0000000005C1E000-memory.dmp

        memory/4292-22-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/4292-90-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/4292-30-0x0000000005470000-0x0000000005492000-memory.dmp

        memory/4292-80-0x0000000007150000-0x000000000715E000-memory.dmp

        memory/4292-31-0x0000000005510000-0x0000000005576000-memory.dmp

        memory/4684-1-0x0000000000C50000-0x0000000000D00000-memory.dmp

        memory/4684-0-0x00000000749AE000-0x00000000749AF000-memory.dmp

        memory/4684-40-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/4684-5-0x0000000005650000-0x000000000565A000-memory.dmp

        memory/4684-4-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/4684-7-0x00000000749AE000-0x00000000749AF000-memory.dmp

        memory/4684-6-0x0000000005770000-0x000000000578A000-memory.dmp

        memory/4684-11-0x00000000092D0000-0x000000000936C000-memory.dmp

        memory/4684-10-0x0000000006860000-0x00000000068E4000-memory.dmp

        memory/4684-2-0x0000000005C60000-0x0000000006204000-memory.dmp

        memory/4684-9-0x0000000005C40000-0x0000000005C4E000-memory.dmp

        memory/4684-8-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/4684-3-0x00000000055A0000-0x0000000005632000-memory.dmp

        memory/4824-21-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/4824-77-0x0000000007790000-0x000000000779A000-memory.dmp

        memory/4824-78-0x00000000079A0000-0x0000000007A36000-memory.dmp

        memory/4824-79-0x0000000007920000-0x0000000007931000-memory.dmp

        memory/4824-76-0x0000000007720000-0x000000000773A000-memory.dmp

        memory/4824-81-0x0000000007960000-0x0000000007974000-memory.dmp

        memory/4824-82-0x0000000007A60000-0x0000000007A7A000-memory.dmp

        memory/4824-83-0x0000000007A40000-0x0000000007A48000-memory.dmp

        memory/4824-86-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/4824-75-0x0000000007D60000-0x00000000083DA000-memory.dmp

        memory/4824-63-0x0000000071070000-0x00000000710BC000-memory.dmp

        memory/4824-24-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/4824-20-0x00000000749A0000-0x0000000075150000-memory.dmp