Analysis

  • max time kernel
    149s
  • 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
    08/06/2024, 01:04

General

  • Target
    20e6a5998e80acec0518982bc9a93c4288aa1615cccab5fca23156280f5793a0.exe
  • Size 765KB
  • Sample240608-beydcaeg6w
  • SHA256 20e6a5998e80acec0518982bc9a93c4288aa1615cccab5fca23156280f5793a0
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot7014760942:AAGauyw4ihK7ZZ_AG7zmm8a-SOhkdT71dI0/

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\20e6a5998e80acec0518982bc9a93c4288aa1615cccab5fca23156280f5793a0.exe
    "C:\Users\Admin\AppData\Local\Temp\20e6a5998e80acec0518982bc9a93c4288aa1615cccab5fca23156280f5793a0.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:232
    • 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\20e6a5998e80acec0518982bc9a93c4288aa1615cccab5fca23156280f5793a0.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3936
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\cRlKCfSmH.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1564
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\cRlKCfSmH" /XML "C:\Users\Admin\AppData\Local\Temp\tmpBB22.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2620
    • C:\Users\Admin\AppData\Local\Temp\20e6a5998e80acec0518982bc9a93c4288aa1615cccab5fca23156280f5793a0.exe
      "C:\Users\Admin\AppData\Local\Temp\20e6a5998e80acec0518982bc9a93c4288aa1615cccab5fca23156280f5793a0.exe"
      2⤵
        PID:3092
      • C:\Users\Admin\AppData\Local\Temp\20e6a5998e80acec0518982bc9a93c4288aa1615cccab5fca23156280f5793a0.exe
        "C:\Users\Admin\AppData\Local\Temp\20e6a5998e80acec0518982bc9a93c4288aa1615cccab5fca23156280f5793a0.exe"
        2⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        PID:3484

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          20e6a5998e80acec0518982bc9a93c4288aa1615cccab5fca23156280f5793a0.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\20e6a5998e80acec0518982bc9a93c4288aa1615cccab5fca23156280f5793a0.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 4e22b398fbb1ed2f638eef4702d1fd08f5961d7c3b2ed117e82cbeebd6183499
          • MD5 SHA1 SHA512 SSDEEP

          __PSScriptPolicyTest_q4jyulfc.qjh.ps1

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

          tmpBB22.tmp

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

          memory/232-8-0x0000000005C30000-0x0000000005C40000-memory.dmp

          memory/232-6-0x0000000005AB0000-0x0000000005B4C000-memory.dmp

          memory/232-7-0x0000000005E10000-0x0000000005E28000-memory.dmp

          memory/232-5-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/232-9-0x00000000082D0000-0x0000000008356000-memory.dmp

          memory/232-48-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/232-4-0x0000000005870000-0x000000000587A000-memory.dmp

          memory/232-0-0x000000007481E000-0x000000007481F000-memory.dmp

          memory/232-3-0x00000000057A0000-0x0000000005832000-memory.dmp

          memory/232-2-0x0000000005E40000-0x00000000063E4000-memory.dmp

          memory/232-1-0x0000000000D00000-0x0000000000DC4000-memory.dmp

          memory/1564-22-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/1564-88-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/1564-18-0x0000000004F90000-0x0000000004FB2000-memory.dmp

          memory/1564-77-0x00000000074F0000-0x0000000007586000-memory.dmp

          memory/1564-30-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/1564-29-0x00000000059A0000-0x0000000005CF4000-memory.dmp

          memory/1564-20-0x0000000005830000-0x0000000005896000-memory.dmp

          memory/1564-44-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/1564-81-0x00000000075B0000-0x00000000075CA000-memory.dmp

          memory/1564-19-0x0000000005030000-0x0000000005096000-memory.dmp

          memory/1564-63-0x00000000071B0000-0x0000000007253000-memory.dmp

          memory/1564-49-0x0000000005F50000-0x0000000005F6E000-memory.dmp

          memory/1564-50-0x0000000006500000-0x000000000654C000-memory.dmp

          memory/1564-51-0x0000000006590000-0x00000000065C2000-memory.dmp

          memory/1564-62-0x00000000064B0000-0x00000000064CE000-memory.dmp

          memory/1564-52-0x00000000750C0000-0x000000007510C000-memory.dmp

          memory/3484-90-0x0000000006B20000-0x0000000006B70000-memory.dmp

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

          memory/3936-15-0x00000000059D0000-0x0000000005FF8000-memory.dmp

          memory/3936-74-0x00000000081F0000-0x000000000886A000-memory.dmp

          memory/3936-76-0x0000000007C20000-0x0000000007C2A000-memory.dmp

          memory/3936-75-0x0000000007BB0000-0x0000000007BCA000-memory.dmp

          memory/3936-78-0x0000000007DB0000-0x0000000007DC1000-memory.dmp

          memory/3936-79-0x0000000007DE0000-0x0000000007DEE000-memory.dmp

          memory/3936-80-0x0000000007DF0000-0x0000000007E04000-memory.dmp

          memory/3936-64-0x00000000750C0000-0x000000007510C000-memory.dmp

          memory/3936-82-0x0000000007ED0000-0x0000000007ED8000-memory.dmp

          memory/3936-21-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/3936-17-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/3936-89-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/3936-16-0x0000000074810000-0x0000000074FC0000-memory.dmp

          memory/3936-14-0x00000000052C0000-0x00000000052F6000-memory.dmp