Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03/04/2024, 13:37

General

  • Target
    60403226eab2c0804d72c9af7892289d728c8e601ca6bde6d9c09cd51c5ba6d3.exe
  • Size 639KB
  • Sample240403-qws8aadh3z
  • SHA256 60403226eab2c0804d72c9af7892289d728c8e601ca6bde6d9c09cd51c5ba6d3
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.leema.lk

  • Port

    587

  • Password

    V[3ALIg~jl}T

Extracted

Family
  • agenttesla

Credentials

Signatures

  • AgentTesla

    Agent Tesla is a remote access tool (RAT) written in visual basic.

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

  • 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 3 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\60403226eab2c0804d72c9af7892289d728c8e601ca6bde6d9c09cd51c5ba6d3.exe
    "C:\Users\Admin\AppData\Local\Temp\60403226eab2c0804d72c9af7892289d728c8e601ca6bde6d9c09cd51c5ba6d3.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3284
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\KgGrKPjIVTN.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3668
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\KgGrKPjIVTN" /XML "C:\Users\Admin\AppData\Local\Temp\tmp2F87.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:3700
    • C:\Users\Admin\AppData\Local\Temp\60403226eab2c0804d72c9af7892289d728c8e601ca6bde6d9c09cd51c5ba6d3.exe
      "C:\Users\Admin\AppData\Local\Temp\60403226eab2c0804d72c9af7892289d728c8e601ca6bde6d9c09cd51c5ba6d3.exe"
      2⤵
        PID:2620
      • C:\Users\Admin\AppData\Local\Temp\60403226eab2c0804d72c9af7892289d728c8e601ca6bde6d9c09cd51c5ba6d3.exe
        "C:\Users\Admin\AppData\Local\Temp\60403226eab2c0804d72c9af7892289d728c8e601ca6bde6d9c09cd51c5ba6d3.exe"
        2⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1860
    • 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=1420 --field-trial-handle=1928,i,13242902252791919845,10377620236057253993,262144 --variations-seed-version /prefetch:8
      1⤵
        PID:2872

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            60403226eab2c0804d72c9af7892289d728c8e601ca6bde6d9c09cd51c5ba6d3.exe.log

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

            __PSScriptPolicyTest_x12kgel0.pyb.ps1

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

            tmp2F87.tmp

            • Path C:\Users\Admin\AppData\Local\Temp\tmp2F87.tmp
            • Size 1KB
            • SHA256 29df7ca5d03cf60571a6a60eb8e85a3c1d7bc7f8dd3e1f3a7ad7e03e8b5d10bf
            • MD5 SHA1 SHA512

            memory/1860-58-0x0000000006A00000-0x0000000006A50000-memory.dmp

            memory/1860-22-0x0000000000400000-0x0000000000440000-memory.dmp

            memory/1860-28-0x0000000074F30000-0x00000000756E0000-memory.dmp

            memory/1860-35-0x00000000011E0000-0x00000000011F0000-memory.dmp

            memory/1860-71-0x0000000074F30000-0x00000000756E0000-memory.dmp

            memory/1860-72-0x00000000011E0000-0x00000000011F0000-memory.dmp

            memory/3284-9-0x0000000006B90000-0x0000000006C14000-memory.dmp

            memory/3284-10-0x0000000009240000-0x00000000092DC000-memory.dmp

            memory/3284-8-0x0000000006B20000-0x0000000006B2C000-memory.dmp

            memory/3284-7-0x0000000005D70000-0x0000000005D78000-memory.dmp

            memory/3284-0-0x0000000074F30000-0x00000000756E0000-memory.dmp

            memory/3284-3-0x0000000005880000-0x0000000005912000-memory.dmp

            memory/3284-6-0x0000000005BD0000-0x0000000005BE4000-memory.dmp

            memory/3284-2-0x0000000005D90000-0x0000000006334000-memory.dmp

            memory/3284-19-0x0000000074F30000-0x00000000756E0000-memory.dmp

            memory/3284-4-0x00000000057C0000-0x00000000057D0000-memory.dmp

            memory/3284-26-0x0000000074F30000-0x00000000756E0000-memory.dmp

            memory/3284-1-0x0000000000DA0000-0x0000000000E44000-memory.dmp

            memory/3284-5-0x0000000005860000-0x000000000586A000-memory.dmp

            memory/3668-21-0x0000000002B60000-0x0000000002B70000-memory.dmp

            memory/3668-57-0x00000000074C0000-0x0000000007563000-memory.dmp

            memory/3668-25-0x0000000005C00000-0x0000000005C22000-memory.dmp

            memory/3668-29-0x0000000005E10000-0x0000000005E76000-memory.dmp

            memory/3668-20-0x0000000005580000-0x0000000005BA8000-memory.dmp

            memory/3668-63-0x00000000079E0000-0x00000000079F1000-memory.dmp

            memory/3668-41-0x00000000064B0000-0x00000000064CE000-memory.dmp

            memory/3668-42-0x0000000006560000-0x00000000065AC000-memory.dmp

            memory/3668-43-0x0000000002B60000-0x0000000002B70000-memory.dmp

            memory/3668-44-0x000000007FAF0000-0x000000007FB00000-memory.dmp

            memory/3668-45-0x0000000007480000-0x00000000074B2000-memory.dmp

            memory/3668-46-0x0000000070C40000-0x0000000070C8C000-memory.dmp

            memory/3668-56-0x0000000006A70000-0x0000000006A8E000-memory.dmp

            memory/3668-27-0x0000000005DA0000-0x0000000005E06000-memory.dmp

            memory/3668-17-0x0000000002B60000-0x0000000002B70000-memory.dmp

            memory/3668-59-0x0000000007E20000-0x000000000849A000-memory.dmp

            memory/3668-60-0x00000000077E0000-0x00000000077FA000-memory.dmp

            memory/3668-61-0x0000000007850000-0x000000000785A000-memory.dmp

            memory/3668-62-0x0000000007A60000-0x0000000007AF6000-memory.dmp

            memory/3668-40-0x0000000005FA0000-0x00000000062F4000-memory.dmp

            memory/3668-64-0x0000000007A10000-0x0000000007A1E000-memory.dmp

            memory/3668-65-0x0000000007A20000-0x0000000007A34000-memory.dmp

            memory/3668-66-0x0000000007B20000-0x0000000007B3A000-memory.dmp

            memory/3668-67-0x0000000007B00000-0x0000000007B08000-memory.dmp

            memory/3668-70-0x0000000074F30000-0x00000000756E0000-memory.dmp

            memory/3668-16-0x0000000074F30000-0x00000000756E0000-memory.dmp

            memory/3668-15-0x0000000004F10000-0x0000000004F46000-memory.dmp