Analysis

  • max time kernel
    148s
  • 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, 01:50

General

  • Target
    HSBCswift.exe
  • Size 767KB
  • Sample240612-b9c1wsybme
  • SHA256 a4aeb63141d720f906625b4dc4d9df1360b7a5daa310df980599b143d592b850
  • 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.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • 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 15 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\HSBCswift.exe
    "C:\Users\Admin\AppData\Local\Temp\HSBCswift.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4524
    • 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\HSBCswift.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2372
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\zJoXBQrXUF.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5068
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\zJoXBQrXUF" /XML "C:\Users\Admin\AppData\Local\Temp\tmp8A3E.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2948
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
      2⤵
        PID:2736
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
        2⤵
        • Adds Run key to start application
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:728

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

          __PSScriptPolicyTest_munqzhxl.uif.ps1

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

          tmp8A3E.tmp

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

          memory/728-90-0x0000000005FF0000-0x0000000006040000-memory.dmp

          memory/728-49-0x0000000000400000-0x0000000000442000-memory.dmp

          memory/2372-65-0x00000000075C0000-0x0000000007C3A000-memory.dmp

          memory/2372-20-0x0000000074B10000-0x00000000752C0000-memory.dmp

          memory/2372-85-0x0000000074B10000-0x00000000752C0000-memory.dmp

          memory/2372-83-0x00000000072A0000-0x00000000072A8000-memory.dmp

          memory/2372-82-0x00000000072C0000-0x00000000072DA000-memory.dmp

          memory/2372-81-0x00000000071C0000-0x00000000071D4000-memory.dmp

          memory/2372-14-0x0000000002320000-0x0000000002356000-memory.dmp

          memory/2372-17-0x0000000074B10000-0x00000000752C0000-memory.dmp

          memory/2372-16-0x0000000004FE0000-0x0000000005608000-memory.dmp

          memory/2372-18-0x0000000074B10000-0x00000000752C0000-memory.dmp

          memory/2372-19-0x0000000004DA0000-0x0000000004DC2000-memory.dmp

          memory/2372-53-0x000000006FFD0000-0x000000007001C000-memory.dmp

          memory/2372-21-0x0000000004F40000-0x0000000004FA6000-memory.dmp

          memory/2372-27-0x0000000005610000-0x0000000005676000-memory.dmp

          memory/2372-80-0x00000000071B0000-0x00000000071BE000-memory.dmp

          memory/2372-79-0x0000000007180000-0x0000000007191000-memory.dmp

          memory/2372-78-0x0000000007200000-0x0000000007296000-memory.dmp

          memory/2372-77-0x0000000006FF0000-0x0000000006FFA000-memory.dmp

          memory/2372-66-0x0000000006F80000-0x0000000006F9A000-memory.dmp

          memory/2372-64-0x0000000006E70000-0x0000000006F13000-memory.dmp

          memory/2372-52-0x0000000006C30000-0x0000000006C62000-memory.dmp

          memory/2372-63-0x0000000006BF0000-0x0000000006C0E000-memory.dmp

          memory/4524-0-0x0000000074B1E000-0x0000000074B1F000-memory.dmp

          memory/4524-5-0x0000000074B10000-0x00000000752C0000-memory.dmp

          memory/4524-51-0x0000000074B10000-0x00000000752C0000-memory.dmp

          memory/4524-1-0x0000000000B20000-0x0000000000BE2000-memory.dmp

          memory/4524-2-0x0000000005C80000-0x0000000006224000-memory.dmp

          memory/4524-6-0x00000000058C0000-0x00000000058E2000-memory.dmp

          memory/4524-45-0x0000000074B10000-0x00000000752C0000-memory.dmp

          memory/4524-7-0x0000000002E90000-0x0000000002EA0000-memory.dmp

          memory/4524-8-0x000000000AB20000-0x000000000ABA4000-memory.dmp

          memory/4524-9-0x000000000DC40000-0x000000000DCDC000-memory.dmp

          memory/4524-15-0x0000000074B1E000-0x0000000074B1F000-memory.dmp

          memory/4524-3-0x00000000055C0000-0x0000000005652000-memory.dmp

          memory/4524-4-0x0000000005680000-0x000000000568A000-memory.dmp

          memory/5068-28-0x0000000074B10000-0x00000000752C0000-memory.dmp

          memory/5068-47-0x0000000006860000-0x000000000687E000-memory.dmp

          memory/5068-43-0x0000000074B10000-0x00000000752C0000-memory.dmp

          memory/5068-46-0x0000000074B10000-0x00000000752C0000-memory.dmp

          memory/5068-67-0x000000006FFD0000-0x000000007001C000-memory.dmp

          memory/5068-48-0x0000000006DF0000-0x0000000006E3C000-memory.dmp

          memory/5068-89-0x0000000074B10000-0x00000000752C0000-memory.dmp

          memory/5068-44-0x0000000006390000-0x00000000066E4000-memory.dmp