Analysis

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

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19/06/2024, 15:23

General

  • Target
    BANK SWIFT --.exe
  • Size 635KB
  • Sample240619-ssg2ysserf
  • SHA256 d5ebb766a996a9d50d50f61068bb9ff7586b38f3ef30ded37407bd642db50009
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.naubahar.com

  • Port

    587

  • Password

    Hum$885+Nn

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\BANK SWIFT --.exe
    "C:\Users\Admin\AppData\Local\Temp\BANK SWIFT --.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2180
    • 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\BANK SWIFT --.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2460
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\cRIhuTE.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:404
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\cRIhuTE" /XML "C:\Users\Admin\AppData\Local\Temp\tmp20E.tmp"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:1924
    • C:\Users\Admin\AppData\Local\Temp\BANK SWIFT --.exe
      "C:\Users\Admin\AppData\Local\Temp\BANK SWIFT --.exe"
      2⤵
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:116
  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --field-trial-handle=4268,i,11069752405888604640,8928124405695604965,262144 --variations-seed-version --mojo-platform-channel-handle=4164 /prefetch:8
    1⤵
      PID:848

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

          __PSScriptPolicyTest_aff2awvx.2xx.ps1

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

          tmp20E.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp20E.tmp
          • Size 1KB
          • SHA256 93c2ab597bc104a395adf72a445b40b16945c84cf9ca4d13c24c9314d089cddc
          • MD5 SHA1 SHA512

          memory/116-92-0x0000000007100000-0x0000000007150000-memory.dmp

          memory/116-26-0x0000000000400000-0x0000000000442000-memory.dmp

          memory/404-75-0x0000000007B50000-0x00000000081CA000-memory.dmp

          memory/404-51-0x0000000006750000-0x000000000679C000-memory.dmp

          memory/404-80-0x0000000007740000-0x000000000774E000-memory.dmp

          memory/404-76-0x0000000007510000-0x000000000752A000-memory.dmp

          memory/404-28-0x0000000005B00000-0x0000000005B66000-memory.dmp

          memory/404-74-0x0000000007400000-0x00000000074A3000-memory.dmp

          memory/404-53-0x0000000071590000-0x00000000715DC000-memory.dmp

          memory/404-52-0x00000000071C0000-0x00000000071F2000-memory.dmp

          memory/404-50-0x00000000061C0000-0x00000000061DE000-memory.dmp

          memory/404-82-0x0000000007750000-0x0000000007764000-memory.dmp

          memory/404-29-0x0000000005B70000-0x0000000005BD6000-memory.dmp

          memory/404-21-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/404-83-0x0000000007850000-0x000000000786A000-memory.dmp

          memory/404-84-0x0000000007830000-0x0000000007838000-memory.dmp

          memory/404-90-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/404-25-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/404-23-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/2180-39-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/2180-6-0x00000000060D0000-0x00000000065FC000-memory.dmp

          memory/2180-1-0x00000000006C0000-0x0000000000762000-memory.dmp

          memory/2180-2-0x00000000055F0000-0x0000000005B94000-memory.dmp

          memory/2180-3-0x0000000005040000-0x00000000050D2000-memory.dmp

          memory/2180-4-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/2180-5-0x00000000051E0000-0x00000000051EA000-memory.dmp

          memory/2180-0-0x0000000074ECE000-0x0000000074ECF000-memory.dmp

          memory/2180-7-0x00000000052F0000-0x000000000538C000-memory.dmp

          memory/2180-8-0x0000000006080000-0x0000000006092000-memory.dmp

          memory/2180-9-0x00000000060B0000-0x00000000060B8000-memory.dmp

          memory/2180-11-0x0000000006A50000-0x0000000006AD2000-memory.dmp

          memory/2180-10-0x00000000060C0000-0x00000000060CC000-memory.dmp

          memory/2460-17-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/2460-77-0x00000000073F0000-0x00000000073FA000-memory.dmp

          memory/2460-78-0x0000000007810000-0x00000000078A6000-memory.dmp

          memory/2460-79-0x0000000007790000-0x00000000077A1000-memory.dmp

          memory/2460-63-0x0000000071590000-0x00000000715DC000-memory.dmp

          memory/2460-73-0x00000000067B0000-0x00000000067CE000-memory.dmp

          memory/2460-16-0x0000000002960000-0x0000000002996000-memory.dmp

          memory/2460-19-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/2460-18-0x0000000005340000-0x0000000005968000-memory.dmp

          memory/2460-49-0x0000000005DC0000-0x0000000006114000-memory.dmp

          memory/2460-91-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/2460-20-0x0000000074EC0000-0x0000000075670000-memory.dmp

          memory/2460-24-0x0000000005AC0000-0x0000000005AE2000-memory.dmp