Analysis

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

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

General

  • Target
    d7123a597f07d252130b5d5dac6c4a554a8ede14424d5332df8c75ded19e7ba8.exe
  • Size 746KB
  • Sample240614-cbemhavckl
  • SHA256 d7123a597f07d252130b5d5dac6c4a554a8ede14424d5332df8c75ded19e7ba8
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot7255470716:AAEMQh6QMBjOM0LQW6SxK76Sy6Fj2V5aLyY/

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.

  • Looks up external IP address via web service 1 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).

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\d7123a597f07d252130b5d5dac6c4a554a8ede14424d5332df8c75ded19e7ba8.exe
    "C:\Users\Admin\AppData\Local\Temp\d7123a597f07d252130b5d5dac6c4a554a8ede14424d5332df8c75ded19e7ba8.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2072
    • 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\d7123a597f07d252130b5d5dac6c4a554a8ede14424d5332df8c75ded19e7ba8.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:832
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\yjsusHwq.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5048
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\yjsusHwq" /XML "C:\Users\Admin\AppData\Local\Temp\tmp6E1.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1948
    • C:\Users\Admin\AppData\Local\Temp\d7123a597f07d252130b5d5dac6c4a554a8ede14424d5332df8c75ded19e7ba8.exe
      "C:\Users\Admin\AppData\Local\Temp\d7123a597f07d252130b5d5dac6c4a554a8ede14424d5332df8c75ded19e7ba8.exe"
      2⤵
        PID:4944
      • C:\Users\Admin\AppData\Local\Temp\d7123a597f07d252130b5d5dac6c4a554a8ede14424d5332df8c75ded19e7ba8.exe
        "C:\Users\Admin\AppData\Local\Temp\d7123a597f07d252130b5d5dac6c4a554a8ede14424d5332df8c75ded19e7ba8.exe"
        2⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3636
    • 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=4448,i,8998666007764333392,14724298544432336038,262144 --variations-seed-version --mojo-platform-channel-handle=4484 /prefetch:8
      1⤵
        PID:1720

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

            __PSScriptPolicyTest_zhp1yf4a.iea.ps1

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

            tmp6E1.tmp

            • Path C:\Users\Admin\AppData\Local\Temp\tmp6E1.tmp
            • Size 1KB
            • SHA256 5bf71645c7a255f12ba13ed3b1fe7ea8e4addc280b6c047b717d5b80975be97d
            • MD5 SHA1 SHA512

            memory/832-65-0x0000000071630000-0x000000007167C000-memory.dmp

            memory/832-48-0x0000000005EB0000-0x0000000005ECE000-memory.dmp

            memory/832-88-0x0000000074F60000-0x0000000075710000-memory.dmp

            memory/832-49-0x0000000005F80000-0x0000000005FCC000-memory.dmp

            memory/832-32-0x00000000059B0000-0x0000000005D04000-memory.dmp

            memory/832-21-0x0000000005750000-0x00000000057B6000-memory.dmp

            memory/832-14-0x00000000025B0000-0x00000000025E6000-memory.dmp

            memory/832-15-0x0000000074F60000-0x0000000075710000-memory.dmp

            memory/832-16-0x00000000050B0000-0x00000000056D8000-memory.dmp

            memory/832-17-0x0000000074F60000-0x0000000075710000-memory.dmp

            memory/832-18-0x0000000074F60000-0x0000000075710000-memory.dmp

            memory/832-20-0x00000000056E0000-0x0000000005746000-memory.dmp

            memory/832-19-0x0000000004EF0000-0x0000000004F12000-memory.dmp

            memory/2072-3-0x0000000005790000-0x0000000005822000-memory.dmp

            memory/2072-9-0x00000000096D0000-0x000000000976C000-memory.dmp

            memory/2072-8-0x0000000007040000-0x00000000070C6000-memory.dmp

            memory/2072-47-0x0000000074F60000-0x0000000075710000-memory.dmp

            memory/2072-1-0x0000000000940000-0x0000000000A00000-memory.dmp

            memory/2072-5-0x0000000074F60000-0x0000000075710000-memory.dmp

            memory/2072-2-0x0000000005C60000-0x0000000006204000-memory.dmp

            memory/2072-4-0x0000000005860000-0x000000000586A000-memory.dmp

            memory/2072-7-0x0000000006910000-0x0000000006920000-memory.dmp

            memory/2072-6-0x0000000007020000-0x000000000703A000-memory.dmp

            memory/2072-0-0x0000000074F6E000-0x0000000074F6F000-memory.dmp

            memory/3636-89-0x0000000006780000-0x00000000067D0000-memory.dmp

            memory/3636-45-0x0000000000400000-0x0000000000444000-memory.dmp

            memory/5048-64-0x0000000007000000-0x000000000701A000-memory.dmp

            memory/5048-79-0x0000000007240000-0x0000000007254000-memory.dmp

            memory/5048-63-0x0000000007650000-0x0000000007CCA000-memory.dmp

            memory/5048-62-0x0000000006CD0000-0x0000000006D73000-memory.dmp

            memory/5048-50-0x0000000006C70000-0x0000000006CA2000-memory.dmp

            memory/5048-75-0x0000000007070000-0x000000000707A000-memory.dmp

            memory/5048-76-0x0000000007280000-0x0000000007316000-memory.dmp

            memory/5048-77-0x0000000007200000-0x0000000007211000-memory.dmp

            memory/5048-78-0x0000000007230000-0x000000000723E000-memory.dmp

            memory/5048-51-0x0000000071630000-0x000000007167C000-memory.dmp

            memory/5048-80-0x0000000007340000-0x000000000735A000-memory.dmp

            memory/5048-81-0x0000000007320000-0x0000000007328000-memory.dmp

            memory/5048-61-0x0000000006CB0000-0x0000000006CCE000-memory.dmp

            memory/5048-44-0x0000000074F60000-0x0000000075710000-memory.dmp

            memory/5048-39-0x0000000074F60000-0x0000000075710000-memory.dmp

            memory/5048-87-0x0000000074F60000-0x0000000075710000-memory.dmp

            memory/5048-27-0x0000000074F60000-0x0000000075710000-memory.dmp