Analysis

  • max time kernel
    92s
  • 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
    01/06/2024, 01:48

General

  • Target
    270c586f0b19e23c8271ebbd9714116311bd32983b596a6c8ec15877df7df8eb.exe
  • Size 717KB
  • Sample240601-b8es4aed22
  • SHA256 270c586f0b19e23c8271ebbd9714116311bd32983b596a6c8ec15877df7df8eb
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.hntextiles.com.pk

  • Port

    587

  • Password

    hntex@12345#

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

Processes

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

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 6f8fd1b8d9788ad54eaeee329232187e24b7b43393a01aeba2d6e9675231fb69
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 18KB
        • SHA256 e8cdeea5f1556dd0ade920947cfa90682708877f07f2c7e038c58ced6f67c54a
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_tx4bxdma.dll.ps1

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

        tmp6E5A.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp6E5A.tmp
        • Size 1KB
        • SHA256 699f59bb71fb996135c15c9ac458f57f54137a24cab319b0bd99ae66b27bc7c1
        • MD5 SHA1 SHA512

        NewApp.exe

        • Path C:\Users\Admin\AppData\Roaming\NewApp\NewApp.exe
        • Size 717KB
        • SHA256 270c586f0b19e23c8271ebbd9714116311bd32983b596a6c8ec15877df7df8eb
        • MD5 SHA1 SHA512 SSDEEP

        memory/2812-23-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/2812-89-0x0000000006B10000-0x0000000006B60000-memory.dmp

        memory/4028-8-0x0000000006D80000-0x0000000006E04000-memory.dmp

        memory/4028-7-0x0000000006AD0000-0x0000000006AE0000-memory.dmp

        memory/4028-9-0x000000000A990000-0x000000000AA2C000-memory.dmp

        memory/4028-6-0x00000000082A0000-0x00000000082B8000-memory.dmp

        memory/4028-5-0x00000000058A0000-0x00000000058AA000-memory.dmp

        memory/4028-36-0x0000000074DA0000-0x0000000075550000-memory.dmp

        memory/4028-4-0x0000000074DA0000-0x0000000075550000-memory.dmp

        memory/4028-3-0x0000000005910000-0x00000000059A2000-memory.dmp

        memory/4028-0-0x0000000074DAE000-0x0000000074DAF000-memory.dmp

        memory/4028-2-0x0000000005E20000-0x00000000063C4000-memory.dmp

        memory/4028-1-0x0000000000DF0000-0x0000000000EA4000-memory.dmp

        memory/4296-87-0x0000000074DA0000-0x0000000075550000-memory.dmp

        memory/4296-19-0x0000000074DA0000-0x0000000075550000-memory.dmp

        memory/4296-25-0x0000000074DA0000-0x0000000075550000-memory.dmp

        memory/4296-75-0x00000000072E0000-0x00000000072F1000-memory.dmp

        memory/4296-80-0x0000000007420000-0x000000000743A000-memory.dmp

        memory/4296-49-0x0000000075600000-0x000000007564C000-memory.dmp

        memory/4296-71-0x0000000007790000-0x0000000007E0A000-memory.dmp

        memory/5264-26-0x00000000054F0000-0x0000000005844000-memory.dmp

        memory/5264-48-0x0000000006A60000-0x0000000006A92000-memory.dmp

        memory/5264-69-0x0000000006A40000-0x0000000006A5E000-memory.dmp

        memory/5264-70-0x0000000006AA0000-0x0000000006B43000-memory.dmp

        memory/5264-50-0x0000000075600000-0x000000007564C000-memory.dmp

        memory/5264-47-0x0000000005B50000-0x0000000005B9C000-memory.dmp

        memory/5264-72-0x0000000006E10000-0x0000000006E2A000-memory.dmp

        memory/5264-46-0x0000000005AC0000-0x0000000005ADE000-memory.dmp

        memory/5264-73-0x0000000006E70000-0x0000000006E7A000-memory.dmp

        memory/5264-74-0x0000000007080000-0x0000000007116000-memory.dmp

        memory/5264-22-0x0000000005480000-0x00000000054E6000-memory.dmp

        memory/5264-20-0x0000000004B40000-0x0000000004B62000-memory.dmp

        memory/5264-78-0x0000000007030000-0x000000000703E000-memory.dmp

        memory/5264-79-0x0000000007040000-0x0000000007054000-memory.dmp

        memory/5264-21-0x0000000005310000-0x0000000005376000-memory.dmp

        memory/5264-81-0x0000000007120000-0x0000000007128000-memory.dmp

        memory/5264-17-0x0000000074DA0000-0x0000000075550000-memory.dmp

        memory/5264-88-0x0000000074DA0000-0x0000000075550000-memory.dmp

        memory/5264-16-0x0000000074DA0000-0x0000000075550000-memory.dmp

        memory/5264-15-0x0000000004CE0000-0x0000000005308000-memory.dmp

        memory/5264-14-0x00000000021F0000-0x0000000002226000-memory.dmp