Analysis

  • max time kernel
    147s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

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

General

  • Target
    ce207d5a72fd20dfc152fd48bbf2437f3b8cb04eade20037e5dfedc645a63e49.exe
  • Size 648KB
  • Sample240619-cpqlxswfjp
  • SHA256 ce207d5a72fd20dfc152fd48bbf2437f3b8cb04eade20037e5dfedc645a63e49
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot7020223448:AAHVycfxxU7g7nuoaoPRSDUTHltYBWcr2h8/

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\ce207d5a72fd20dfc152fd48bbf2437f3b8cb04eade20037e5dfedc645a63e49.exe
    "C:\Users\Admin\AppData\Local\Temp\ce207d5a72fd20dfc152fd48bbf2437f3b8cb04eade20037e5dfedc645a63e49.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:5084
    • 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\ce207d5a72fd20dfc152fd48bbf2437f3b8cb04eade20037e5dfedc645a63e49.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4004
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\nuWoUdjzf.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1716
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\nuWoUdjzf" /XML "C:\Users\Admin\AppData\Local\Temp\tmp7B1B.tmp"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:2488
    • C:\Users\Admin\AppData\Local\Temp\ce207d5a72fd20dfc152fd48bbf2437f3b8cb04eade20037e5dfedc645a63e49.exe
      "C:\Users\Admin\AppData\Local\Temp\ce207d5a72fd20dfc152fd48bbf2437f3b8cb04eade20037e5dfedc645a63e49.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:3680

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 92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
        • MD5 SHA1 SHA512

        __PSScriptPolicyTest_khlnnvhf.3tl.ps1

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

        tmp7B1B.tmp

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

        memory/1716-76-0x0000000007500000-0x000000000750A000-memory.dmp

        memory/1716-53-0x0000000070D10000-0x0000000070D5C000-memory.dmp

        memory/1716-82-0x00000000077B0000-0x00000000077B8000-memory.dmp

        memory/1716-80-0x00000000076D0000-0x00000000076E4000-memory.dmp

        memory/1716-78-0x0000000007690000-0x00000000076A1000-memory.dmp

        memory/1716-88-0x0000000074640000-0x0000000074DF0000-memory.dmp

        memory/1716-75-0x0000000007490000-0x00000000074AA000-memory.dmp

        memory/1716-81-0x00000000077D0000-0x00000000077EA000-memory.dmp

        memory/1716-23-0x0000000074640000-0x0000000074DF0000-memory.dmp

        memory/1716-38-0x0000000005B80000-0x0000000005ED4000-memory.dmp

        memory/1716-20-0x0000000074640000-0x0000000074DF0000-memory.dmp

        memory/1716-35-0x0000000074640000-0x0000000074DF0000-memory.dmp

        memory/3680-89-0x0000000006D60000-0x0000000006DB0000-memory.dmp

        memory/3680-36-0x0000000000400000-0x0000000000444000-memory.dmp

        memory/4004-25-0x0000000005B50000-0x0000000005BB6000-memory.dmp

        memory/4004-79-0x00000000076E0000-0x00000000076EE000-memory.dmp

        memory/4004-19-0x0000000074640000-0x0000000074DF0000-memory.dmp

        memory/4004-18-0x0000000074640000-0x0000000074DF0000-memory.dmp

        memory/4004-17-0x0000000005520000-0x0000000005B48000-memory.dmp

        memory/4004-87-0x0000000074640000-0x0000000074DF0000-memory.dmp

        memory/4004-16-0x0000000074640000-0x0000000074DF0000-memory.dmp

        memory/4004-24-0x0000000005480000-0x00000000054E6000-memory.dmp

        memory/4004-22-0x00000000053B0000-0x00000000053D2000-memory.dmp

        memory/4004-15-0x0000000002880000-0x00000000028B6000-memory.dmp

        memory/4004-49-0x0000000006160000-0x000000000617E000-memory.dmp

        memory/4004-50-0x0000000006210000-0x000000000625C000-memory.dmp

        memory/4004-77-0x0000000007730000-0x00000000077C6000-memory.dmp

        memory/4004-72-0x0000000007140000-0x000000000715E000-memory.dmp

        memory/4004-73-0x0000000007170000-0x0000000007213000-memory.dmp

        memory/4004-52-0x0000000070D10000-0x0000000070D5C000-memory.dmp

        memory/4004-51-0x0000000007100000-0x0000000007132000-memory.dmp

        memory/4004-74-0x0000000007AF0000-0x000000000816A000-memory.dmp

        memory/5084-9-0x0000000005DA0000-0x0000000005E26000-memory.dmp

        memory/5084-8-0x0000000005D50000-0x0000000005D5C000-memory.dmp

        memory/5084-10-0x0000000008560000-0x00000000085FC000-memory.dmp

        memory/5084-7-0x0000000005D40000-0x0000000005D48000-memory.dmp

        memory/5084-48-0x0000000074640000-0x0000000074DF0000-memory.dmp

        memory/5084-6-0x0000000004D30000-0x0000000004D42000-memory.dmp

        memory/5084-5-0x0000000074640000-0x0000000074DF0000-memory.dmp

        memory/5084-4-0x0000000004BF0000-0x0000000004BFA000-memory.dmp

        memory/5084-3-0x0000000004B30000-0x0000000004BC2000-memory.dmp

        memory/5084-2-0x0000000005190000-0x0000000005734000-memory.dmp

        memory/5084-0-0x000000007464E000-0x000000007464F000-memory.dmp

        memory/5084-1-0x0000000000200000-0x00000000002A8000-memory.dmp