Analysis

  • max time kernel
    93s
  • max time network
    142s
  • 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:17

General

  • Target
    b7d2cbbb89d8e19df00ca2912eed64113e334ae25e27151c384fe170f2d58def.exe
  • Size 752KB
  • Sample240902-rlp9basbpp
  • SHA256 b7d2cbbb89d8e19df00ca2912eed64113e334ae25e27151c384fe170f2d58def
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.cup.org.pk

  • Port

    587

  • Password

    Cup@123#

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

  • 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 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\b7d2cbbb89d8e19df00ca2912eed64113e334ae25e27151c384fe170f2d58def.exe
    "C:\Users\Admin\AppData\Local\Temp\b7d2cbbb89d8e19df00ca2912eed64113e334ae25e27151c384fe170f2d58def.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3824
    • 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\b7d2cbbb89d8e19df00ca2912eed64113e334ae25e27151c384fe170f2d58def.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4920
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\FqIjunRNR.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3988
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\FqIjunRNR" /XML "C:\Users\Admin\AppData\Local\Temp\tmp8D6B.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:2212
    • C:\Users\Admin\AppData\Local\Temp\b7d2cbbb89d8e19df00ca2912eed64113e334ae25e27151c384fe170f2d58def.exe
      "C:\Users\Admin\AppData\Local\Temp\b7d2cbbb89d8e19df00ca2912eed64113e334ae25e27151c384fe170f2d58def.exe"
      2⤵
        PID:4444
      • C:\Users\Admin\AppData\Local\Temp\b7d2cbbb89d8e19df00ca2912eed64113e334ae25e27151c384fe170f2d58def.exe
        "C:\Users\Admin\AppData\Local\Temp\b7d2cbbb89d8e19df00ca2912eed64113e334ae25e27151c384fe170f2d58def.exe"
        2⤵
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4412

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

          __PSScriptPolicyTest_g30riiu2.idu.ps1

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

          tmp8D6B.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp8D6B.tmp
          • Size 1KB
          • SHA256 4ebf6077964ce9752bf9d03b41405143579000776ac56a034bfb02a2998684ec
          • MD5 SHA1 SHA512

          memory/3824-8-0x00000000748EE000-0x00000000748EF000-memory.dmp

          memory/3824-11-0x0000000005A80000-0x0000000005A8E000-memory.dmp

          memory/3824-6-0x0000000005900000-0x000000000599C000-memory.dmp

          memory/3824-7-0x0000000005A10000-0x0000000005A22000-memory.dmp

          memory/3824-4-0x00000000748E0000-0x0000000075090000-memory.dmp

          memory/3824-9-0x00000000748E0000-0x0000000075090000-memory.dmp

          memory/3824-10-0x0000000005A70000-0x0000000005A78000-memory.dmp

          memory/3824-5-0x0000000005840000-0x000000000584A000-memory.dmp

          memory/3824-12-0x0000000006B70000-0x0000000006BF4000-memory.dmp

          memory/3824-13-0x00000000090E0000-0x000000000917C000-memory.dmp

          memory/3824-3-0x0000000005680000-0x0000000005712000-memory.dmp

          memory/3824-2-0x0000000005CE0000-0x0000000006284000-memory.dmp

          memory/3824-1-0x0000000000BE0000-0x0000000000CA0000-memory.dmp

          memory/3824-49-0x00000000748E0000-0x0000000075090000-memory.dmp

          memory/3824-0-0x00000000748EE000-0x00000000748EF000-memory.dmp

          memory/3988-91-0x00000000748E0000-0x0000000075090000-memory.dmp

          memory/3988-23-0x00000000748E0000-0x0000000075090000-memory.dmp

          memory/3988-83-0x00000000073F0000-0x00000000073F8000-memory.dmp

          memory/3988-81-0x0000000007310000-0x0000000007324000-memory.dmp

          memory/3988-79-0x00000000072D0000-0x00000000072E1000-memory.dmp

          memory/3988-22-0x00000000748E0000-0x0000000075090000-memory.dmp

          memory/3988-72-0x0000000006F60000-0x0000000006F7E000-memory.dmp

          memory/3988-74-0x0000000006F90000-0x0000000007033000-memory.dmp

          memory/3988-53-0x0000000070F50000-0x0000000070F9C000-memory.dmp

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

          memory/4412-84-0x0000000006290000-0x00000000062E0000-memory.dmp

          memory/4920-47-0x00000000059B0000-0x0000000005D04000-memory.dmp

          memory/4920-54-0x0000000070F50000-0x0000000070F9C000-memory.dmp

          memory/4920-52-0x00000000063F0000-0x0000000006422000-memory.dmp

          memory/4920-51-0x0000000005EB0000-0x0000000005EFC000-memory.dmp

          memory/4920-50-0x0000000005E10000-0x0000000005E2E000-memory.dmp

          memory/4920-76-0x0000000007140000-0x000000000715A000-memory.dmp

          memory/4920-75-0x00000000077A0000-0x0000000007E1A000-memory.dmp

          memory/4920-77-0x00000000071B0000-0x00000000071BA000-memory.dmp

          memory/4920-78-0x00000000073C0000-0x0000000007456000-memory.dmp

          memory/4920-25-0x0000000004E40000-0x0000000004E62000-memory.dmp

          memory/4920-80-0x0000000007370000-0x000000000737E000-memory.dmp

          memory/4920-37-0x0000000005840000-0x00000000058A6000-memory.dmp

          memory/4920-82-0x0000000007480000-0x000000000749A000-memory.dmp

          memory/4920-36-0x0000000005760000-0x00000000057C6000-memory.dmp

          memory/4920-21-0x0000000004F10000-0x0000000005538000-memory.dmp

          memory/4920-90-0x00000000748E0000-0x0000000075090000-memory.dmp

          memory/4920-20-0x00000000748E0000-0x0000000075090000-memory.dmp

          memory/4920-19-0x00000000048A0000-0x00000000048D6000-memory.dmp

          memory/4920-18-0x00000000748E0000-0x0000000075090000-memory.dmp