Analysis

  • max time kernel
    142s
  • max time network
    152s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/06/2024, 01:58

General

  • Target
    54a6eb2c9f9dad3f23ad66ee03f9ca4c5df3cf9eb91915d041cb97291573926f.exe
  • Size 1024KB
  • Sample240614-cds8nsvdlp
  • SHA256 54a6eb2c9f9dad3f23ad66ee03f9ca4c5df3cf9eb91915d041cb97291573926f
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot7364824528:AAG9rtiB3-_DVX2QruNTyk6Q9_aZ8x26egE/

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\54a6eb2c9f9dad3f23ad66ee03f9ca4c5df3cf9eb91915d041cb97291573926f.exe
    "C:\Users\Admin\AppData\Local\Temp\54a6eb2c9f9dad3f23ad66ee03f9ca4c5df3cf9eb91915d041cb97291573926f.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:5088
    • 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\54a6eb2c9f9dad3f23ad66ee03f9ca4c5df3cf9eb91915d041cb97291573926f.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3656
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\uSfXpUcEoGPm.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:892
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\uSfXpUcEoGPm" /XML "C:\Users\Admin\AppData\Local\Temp\tmp5937.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4252
    • C:\Users\Admin\AppData\Local\Temp\54a6eb2c9f9dad3f23ad66ee03f9ca4c5df3cf9eb91915d041cb97291573926f.exe
      "C:\Users\Admin\AppData\Local\Temp\54a6eb2c9f9dad3f23ad66ee03f9ca4c5df3cf9eb91915d041cb97291573926f.exe"
      2⤵
        PID:3084
      • C:\Users\Admin\AppData\Local\Temp\54a6eb2c9f9dad3f23ad66ee03f9ca4c5df3cf9eb91915d041cb97291573926f.exe
        "C:\Users\Admin\AppData\Local\Temp\54a6eb2c9f9dad3f23ad66ee03f9ca4c5df3cf9eb91915d041cb97291573926f.exe"
        2⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1816
    • 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 --no-appcompat-clear --mojo-platform-channel-handle=3740 --field-trial-handle=2328,i,5873823382323802923,13134441441264702821,262144 --variations-seed-version /prefetch:8
      1⤵
        PID:2372

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            54a6eb2c9f9dad3f23ad66ee03f9ca4c5df3cf9eb91915d041cb97291573926f.exe.log

            • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\54a6eb2c9f9dad3f23ad66ee03f9ca4c5df3cf9eb91915d041cb97291573926f.exe.log
            • Size 1KB
            • SHA256 7667e538030e3f8ce2886e47a01af24cb0ea70528b1e821c5d8832c5076cb982
            • MD5 SHA1 SHA512

            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

            __PSScriptPolicyTest_311ye5jv.qn4.ps1

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

            tmp5937.tmp

            • Path C:\Users\Admin\AppData\Local\Temp\tmp5937.tmp
            • Size 1KB
            • SHA256 66dbcc773b6fc066ce00b7f7d93e4bbb2c9f3acc597437d550704282d4571357
            • MD5 SHA1 SHA512

            memory/892-75-0x00000000079D0000-0x000000000804A000-memory.dmp

            memory/892-78-0x0000000007610000-0x00000000076A6000-memory.dmp

            memory/892-91-0x0000000074E00000-0x00000000755B0000-memory.dmp

            memory/892-84-0x00000000076D0000-0x00000000076EA000-memory.dmp

            memory/892-82-0x00000000075C0000-0x00000000075CE000-memory.dmp

            memory/892-76-0x0000000007390000-0x00000000073AA000-memory.dmp

            memory/892-74-0x0000000007080000-0x0000000007123000-memory.dmp

            memory/892-64-0x00000000715B0000-0x00000000715FC000-memory.dmp

            memory/892-45-0x0000000005AA0000-0x0000000005DF4000-memory.dmp

            memory/892-26-0x0000000074E00000-0x00000000755B0000-memory.dmp

            memory/892-23-0x0000000005140000-0x00000000051A6000-memory.dmp

            memory/892-25-0x0000000074E00000-0x00000000755B0000-memory.dmp

            memory/892-20-0x0000000074E00000-0x00000000755B0000-memory.dmp

            memory/892-22-0x0000000004FA0000-0x0000000004FC2000-memory.dmp

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

            memory/1816-80-0x0000000005FC0000-0x0000000006010000-memory.dmp

            memory/3656-15-0x0000000002C80000-0x0000000002CB6000-memory.dmp

            memory/3656-51-0x0000000006B20000-0x0000000006B6C000-memory.dmp

            memory/3656-90-0x0000000074E00000-0x00000000755B0000-memory.dmp

            memory/3656-18-0x00000000057C0000-0x0000000005DE8000-memory.dmp

            memory/3656-16-0x0000000074E00000-0x00000000755B0000-memory.dmp

            memory/3656-63-0x0000000006BA0000-0x0000000006BBE000-memory.dmp

            memory/3656-85-0x0000000007C00000-0x0000000007C08000-memory.dmp

            memory/3656-24-0x0000000005ED0000-0x0000000005F36000-memory.dmp

            memory/3656-83-0x0000000007B20000-0x0000000007B34000-memory.dmp

            memory/3656-77-0x0000000007950000-0x000000000795A000-memory.dmp

            memory/3656-53-0x00000000715B0000-0x00000000715FC000-memory.dmp

            memory/3656-50-0x00000000065D0000-0x00000000065EE000-memory.dmp

            memory/3656-52-0x0000000007580000-0x00000000075B2000-memory.dmp

            memory/3656-19-0x0000000074E00000-0x00000000755B0000-memory.dmp

            memory/3656-17-0x0000000074E00000-0x00000000755B0000-memory.dmp

            memory/3656-79-0x0000000007AE0000-0x0000000007AF1000-memory.dmp

            memory/3656-81-0x0000000007B10000-0x0000000007B1E000-memory.dmp

            memory/5088-4-0x0000000074E00000-0x00000000755B0000-memory.dmp

            memory/5088-2-0x0000000005A90000-0x0000000006034000-memory.dmp

            memory/5088-9-0x00000000085E0000-0x0000000008664000-memory.dmp

            memory/5088-49-0x0000000074E00000-0x00000000755B0000-memory.dmp

            memory/5088-14-0x0000000074E0E000-0x0000000074E0F000-memory.dmp

            memory/5088-8-0x0000000008280000-0x0000000008290000-memory.dmp

            memory/5088-0-0x0000000074E0E000-0x0000000074E0F000-memory.dmp

            memory/5088-7-0x0000000008260000-0x000000000827A000-memory.dmp

            memory/5088-5-0x00000000054B0000-0x00000000054BA000-memory.dmp

            memory/5088-1-0x00000000009E0000-0x0000000000AC2000-memory.dmp

            memory/5088-6-0x0000000005730000-0x00000000057CC000-memory.dmp

            memory/5088-3-0x00000000054E0000-0x0000000005572000-memory.dmp