Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20/06/2024, 01:56

General

  • Target
    de1f971de7f49adc48a8b931e967e0f7706624dcdddfe05b270850cb766133b5.exe
  • Size 661KB
  • Sample240620-cc2teswhqj
  • SHA256 de1f971de7f49adc48a8b931e967e0f7706624dcdddfe05b270850cb766133b5
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot7350576766:AAGmYeqlt9rAGctGbg4ScRshzzIDXEnUDuY/

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\de1f971de7f49adc48a8b931e967e0f7706624dcdddfe05b270850cb766133b5.exe
    "C:\Users\Admin\AppData\Local\Temp\de1f971de7f49adc48a8b931e967e0f7706624dcdddfe05b270850cb766133b5.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:1836
    • 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\de1f971de7f49adc48a8b931e967e0f7706624dcdddfe05b270850cb766133b5.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5060
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\nXJsqUhsIiSjj.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4968
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\nXJsqUhsIiSjj" /XML "C:\Users\Admin\AppData\Local\Temp\tmpB73A.tmp"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:4636
    • C:\Users\Admin\AppData\Local\Temp\de1f971de7f49adc48a8b931e967e0f7706624dcdddfe05b270850cb766133b5.exe
      "C:\Users\Admin\AppData\Local\Temp\de1f971de7f49adc48a8b931e967e0f7706624dcdddfe05b270850cb766133b5.exe"
      2⤵
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:2700

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        de1f971de7f49adc48a8b931e967e0f7706624dcdddfe05b270850cb766133b5.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\de1f971de7f49adc48a8b931e967e0f7706624dcdddfe05b270850cb766133b5.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

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 18KB
        • SHA256 b3f9932993d373ce670b15983c4c175782b81751a5e2038c94e7425ea5feac83
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_s1yv4nla.al4.ps1

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

        tmpB73A.tmp

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

        chome.exe

        • Path C:\Users\Admin\AppData\Roaming\chome\chome.exe
        • Size 661KB
        • SHA256 de1f971de7f49adc48a8b931e967e0f7706624dcdddfe05b270850cb766133b5
        • MD5 SHA1 SHA512 SSDEEP

        memory/1836-5-0x00000000054B0000-0x000000000554C000-memory.dmp

        memory/1836-6-0x0000000075080000-0x0000000075830000-memory.dmp

        memory/1836-8-0x0000000006520000-0x0000000006528000-memory.dmp

        memory/1836-9-0x0000000006530000-0x000000000653C000-memory.dmp

        memory/1836-10-0x0000000006580000-0x0000000006606000-memory.dmp

        memory/1836-1-0x0000000000730000-0x00000000007DC000-memory.dmp

        memory/1836-0-0x000000007508E000-0x000000007508F000-memory.dmp

        memory/1836-7-0x0000000005630000-0x0000000005642000-memory.dmp

        memory/1836-2-0x0000000005770000-0x0000000005D14000-memory.dmp

        memory/1836-4-0x00000000051E0000-0x00000000051EA000-memory.dmp

        memory/1836-48-0x0000000075080000-0x0000000075830000-memory.dmp

        memory/1836-3-0x0000000005260000-0x00000000052F2000-memory.dmp

        memory/2700-44-0x0000000000400000-0x0000000000444000-memory.dmp

        memory/2700-93-0x00000000071B0000-0x0000000007200000-memory.dmp

        memory/4968-21-0x0000000075080000-0x0000000075830000-memory.dmp

        memory/4968-90-0x0000000075080000-0x0000000075830000-memory.dmp

        memory/4968-18-0x0000000004D10000-0x0000000004D32000-memory.dmp

        memory/4968-19-0x0000000004DB0000-0x0000000004E16000-memory.dmp

        memory/4968-49-0x0000000075080000-0x0000000075830000-memory.dmp

        memory/4968-20-0x0000000005590000-0x00000000055F6000-memory.dmp

        memory/4968-65-0x0000000071720000-0x000000007176C000-memory.dmp

        memory/4968-32-0x0000000075080000-0x0000000075830000-memory.dmp

        memory/4968-50-0x0000000005D90000-0x0000000005DAE000-memory.dmp

        memory/4968-51-0x0000000005DD0000-0x0000000005E1C000-memory.dmp

        memory/4968-81-0x0000000007320000-0x0000000007334000-memory.dmp

        memory/5060-16-0x0000000005160000-0x0000000005788000-memory.dmp

        memory/5060-52-0x0000000006F50000-0x0000000006F82000-memory.dmp

        memory/5060-63-0x0000000006F90000-0x0000000006FAE000-memory.dmp

        memory/5060-64-0x0000000006FB0000-0x0000000007053000-memory.dmp

        memory/5060-75-0x00000000077A0000-0x0000000007E1A000-memory.dmp

        memory/5060-77-0x0000000007170000-0x000000000717A000-memory.dmp

        memory/5060-76-0x00000000070F0000-0x000000000710A000-memory.dmp

        memory/5060-78-0x0000000007380000-0x0000000007416000-memory.dmp

        memory/5060-79-0x0000000007300000-0x0000000007311000-memory.dmp

        memory/5060-80-0x0000000007330000-0x000000000733E000-memory.dmp

        memory/5060-53-0x0000000071720000-0x000000007176C000-memory.dmp

        memory/5060-82-0x0000000007440000-0x000000000745A000-memory.dmp

        memory/5060-83-0x0000000007420000-0x0000000007428000-memory.dmp

        memory/5060-47-0x0000000075080000-0x0000000075830000-memory.dmp

        memory/5060-33-0x0000000075080000-0x0000000075830000-memory.dmp

        memory/5060-89-0x0000000075080000-0x0000000075830000-memory.dmp

        memory/5060-28-0x0000000005800000-0x0000000005B54000-memory.dmp

        memory/5060-17-0x0000000075080000-0x0000000075830000-memory.dmp

        memory/5060-15-0x00000000024B0000-0x00000000024E6000-memory.dmp