Analysis

  • max time kernel
    150s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240611-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    12/06/2024, 06:40

General

  • Target
    HSBC Payment Advice.img.exe
  • Size 749KB
  • Sample240612-he886stake
  • SHA256 63eac58257e89ae7383cdfcddbf1209d18d9eda53fefe0b5a57de854649499d9
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    cp8nl.hyperhost.ua

  • Port

    587

  • Password

    7213575aceACE@#$

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.

  • 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\HSBC Payment Advice.img.exe
    "C:\Users\Admin\AppData\Local\Temp\HSBC Payment Advice.img.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:4572
    • 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\HSBC Payment Advice.img.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4928
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\wCyYdqchACnb.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5072
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\wCyYdqchACnb" /XML "C:\Users\Admin\AppData\Local\Temp\tmp923D.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4744
    • C:\Users\Admin\AppData\Local\Temp\HSBC Payment Advice.img.exe
      "C:\Users\Admin\AppData\Local\Temp\HSBC Payment Advice.img.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2632

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_ls50izqu.rh0.ps1

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

        tmp923D.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp923D.tmp
        • Size 1KB
        • SHA256 1831b0a5dc5db6c761f79d88a2e492abb0e831c15009c0f7fd234a6b2f73b2e0
        • MD5 SHA1 SHA512

        memory/2632-89-0x00000000067E0000-0x0000000006830000-memory.dmp

        memory/2632-47-0x0000000000400000-0x0000000000440000-memory.dmp

        memory/4572-20-0x0000000074FA0000-0x0000000075750000-memory.dmp

        memory/4572-0-0x0000000074FAE000-0x0000000074FAF000-memory.dmp

        memory/4572-7-0x00000000051C0000-0x00000000051D0000-memory.dmp

        memory/4572-8-0x0000000006770000-0x00000000067F2000-memory.dmp

        memory/4572-9-0x0000000008E00000-0x0000000008E9C000-memory.dmp

        memory/4572-15-0x0000000074FAE000-0x0000000074FAF000-memory.dmp

        memory/4572-1-0x0000000000090000-0x000000000014C000-memory.dmp

        memory/4572-49-0x0000000074FA0000-0x0000000075750000-memory.dmp

        memory/4572-2-0x0000000005380000-0x0000000005924000-memory.dmp

        memory/4572-6-0x0000000006750000-0x000000000676A000-memory.dmp

        memory/4572-3-0x0000000004EB0000-0x0000000004F42000-memory.dmp

        memory/4572-4-0x0000000005050000-0x000000000505A000-memory.dmp

        memory/4572-5-0x0000000074FA0000-0x0000000075750000-memory.dmp

        memory/4928-18-0x0000000074FA0000-0x0000000075750000-memory.dmp

        memory/4928-79-0x0000000007D90000-0x0000000007DA1000-memory.dmp

        memory/4928-25-0x0000000006190000-0x00000000061F6000-memory.dmp

        memory/4928-19-0x0000000074FA0000-0x0000000075750000-memory.dmp

        memory/4928-87-0x0000000074FA0000-0x0000000075750000-memory.dmp

        memory/4928-37-0x0000000006270000-0x00000000065C4000-memory.dmp

        memory/4928-17-0x0000000074FA0000-0x0000000075750000-memory.dmp

        memory/4928-78-0x0000000007E10000-0x0000000007EA6000-memory.dmp

        memory/4928-26-0x0000000006200000-0x0000000006266000-memory.dmp

        memory/4928-16-0x0000000005AC0000-0x00000000060E8000-memory.dmp

        memory/4928-14-0x0000000002F40000-0x0000000002F76000-memory.dmp

        memory/4928-83-0x0000000007EB0000-0x0000000007EB8000-memory.dmp

        memory/4928-23-0x00000000060F0000-0x0000000006112000-memory.dmp

        memory/4928-63-0x0000000071670000-0x00000000716BC000-memory.dmp

        memory/5072-24-0x0000000074FA0000-0x0000000075750000-memory.dmp

        memory/5072-73-0x0000000006DF0000-0x0000000006E93000-memory.dmp

        memory/5072-53-0x0000000071670000-0x00000000716BC000-memory.dmp

        memory/5072-76-0x0000000006F20000-0x0000000006F3A000-memory.dmp

        memory/5072-75-0x0000000007570000-0x0000000007BEA000-memory.dmp

        memory/5072-77-0x0000000006FA0000-0x0000000006FAA000-memory.dmp

        memory/5072-72-0x0000000006D80000-0x0000000006D9E000-memory.dmp

        memory/5072-52-0x0000000006DA0000-0x0000000006DD2000-memory.dmp

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

        memory/5072-81-0x0000000007160000-0x0000000007174000-memory.dmp

        memory/5072-82-0x0000000007260000-0x000000000727A000-memory.dmp

        memory/5072-50-0x0000000005BD0000-0x0000000005BEE000-memory.dmp

        memory/5072-51-0x0000000005C20000-0x0000000005C6C000-memory.dmp

        memory/5072-32-0x0000000074FA0000-0x0000000075750000-memory.dmp

        memory/5072-88-0x0000000074FA0000-0x0000000075750000-memory.dmp

        memory/5072-21-0x0000000074FA0000-0x0000000075750000-memory.dmp