Analysis

  • max time kernel
    52s
  • max time network
    51s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13/06/2024, 02:51

General

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

Malware Config

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 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 20 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 behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:5056
    • 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:748
    • 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:2880
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\wCyYdqchACnb" /XML "C:\Users\Admin\AppData\Local\Temp\tmpA325.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2180
    • C:\Users\Admin\AppData\Local\Temp\HSBC Payment Advice.img.exe
      "C:\Users\Admin\AppData\Local\Temp\HSBC Payment Advice.img.exe"
      2⤵
        PID:5076
      • 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:464

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

          __PSScriptPolicyTest_xb1dgqsc.o1z.ps1

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

          tmpA325.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmpA325.tmp
          • Size 1KB
          • SHA256 229bf27db22f436ac41ce80398c0eb4abfc78df8c92ad0d4931ed6e8d16153c4
          • MD5 SHA1 SHA512

          memory/464-90-0x0000000005F00000-0x0000000005F50000-memory.dmp

          memory/464-36-0x0000000000400000-0x0000000000440000-memory.dmp

          memory/748-16-0x0000000074AC0000-0x0000000075270000-memory.dmp

          memory/748-22-0x0000000005D90000-0x0000000005DF6000-memory.dmp

          memory/748-89-0x0000000074AC0000-0x0000000075270000-memory.dmp

          memory/748-81-0x0000000007AD0000-0x0000000007AEA000-memory.dmp

          memory/748-80-0x00000000079D0000-0x00000000079E4000-memory.dmp

          memory/748-14-0x0000000002B50000-0x0000000002B86000-memory.dmp

          memory/748-74-0x0000000007DD0000-0x000000000844A000-memory.dmp

          memory/748-17-0x00000000056F0000-0x0000000005D18000-memory.dmp

          memory/748-75-0x0000000007790000-0x00000000077AA000-memory.dmp

          memory/748-19-0x0000000074AC0000-0x0000000075270000-memory.dmp

          memory/748-73-0x0000000007470000-0x0000000007513000-memory.dmp

          memory/748-23-0x0000000005E00000-0x0000000005E66000-memory.dmp

          memory/748-52-0x0000000071190000-0x00000000711DC000-memory.dmp

          memory/748-21-0x00000000055A0000-0x00000000055C2000-memory.dmp

          memory/748-35-0x0000000005F70000-0x00000000062C4000-memory.dmp

          memory/2880-49-0x0000000005D10000-0x0000000005D2E000-memory.dmp

          memory/2880-50-0x0000000006440000-0x000000000648C000-memory.dmp

          memory/2880-29-0x0000000074AC0000-0x0000000075270000-memory.dmp

          memory/2880-85-0x0000000074AC0000-0x0000000075270000-memory.dmp

          memory/2880-47-0x0000000074AC0000-0x0000000075270000-memory.dmp

          memory/2880-82-0x0000000007860000-0x0000000007868000-memory.dmp

          memory/2880-79-0x0000000007770000-0x000000000777E000-memory.dmp

          memory/2880-76-0x00000000075B0000-0x00000000075BA000-memory.dmp

          memory/2880-51-0x00000000067D0000-0x0000000006802000-memory.dmp

          memory/2880-53-0x0000000071190000-0x00000000711DC000-memory.dmp

          memory/2880-78-0x0000000007740000-0x0000000007751000-memory.dmp

          memory/2880-72-0x0000000006830000-0x000000000684E000-memory.dmp

          memory/2880-20-0x0000000074AC0000-0x0000000075270000-memory.dmp

          memory/2880-77-0x00000000077C0000-0x0000000007856000-memory.dmp

          memory/5056-18-0x0000000074AC0000-0x0000000075270000-memory.dmp

          memory/5056-0-0x0000000074ACE000-0x0000000074ACF000-memory.dmp

          memory/5056-48-0x0000000074AC0000-0x0000000075270000-memory.dmp

          memory/5056-6-0x0000000005360000-0x000000000537A000-memory.dmp

          memory/5056-7-0x0000000005380000-0x0000000005390000-memory.dmp

          memory/5056-15-0x0000000074ACE000-0x0000000074ACF000-memory.dmp

          memory/5056-9-0x0000000008DD0000-0x0000000008E6C000-memory.dmp

          memory/5056-5-0x0000000074AC0000-0x0000000075270000-memory.dmp

          memory/5056-4-0x0000000004EB0000-0x0000000004EBA000-memory.dmp

          memory/5056-3-0x0000000004EC0000-0x0000000004F52000-memory.dmp

          memory/5056-2-0x0000000005390000-0x0000000005934000-memory.dmp

          memory/5056-8-0x0000000006740000-0x00000000067C2000-memory.dmp

          memory/5056-1-0x0000000000070000-0x000000000012C000-memory.dmp