Analysis

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

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08/06/2024, 01:04

General

  • Target
    0a16d27a04f0b259f13fd25b90d1ff21284ff21b8304aab792bf56db34a16b4d.exe
  • Size 688KB
  • Sample240608-beyn4sfg47
  • SHA256 0a16d27a04f0b259f13fd25b90d1ff21284ff21b8304aab792bf56db34a16b4d
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot7313861713:AAFPFxCtUrIPoHDU6Z1T9ihSwEvegDlhlBo/

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\0a16d27a04f0b259f13fd25b90d1ff21284ff21b8304aab792bf56db34a16b4d.exe
    "C:\Users\Admin\AppData\Local\Temp\0a16d27a04f0b259f13fd25b90d1ff21284ff21b8304aab792bf56db34a16b4d.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3212
    • 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\0a16d27a04f0b259f13fd25b90d1ff21284ff21b8304aab792bf56db34a16b4d.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2640
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\cWURKukwKkOx.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3132
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\cWURKukwKkOx" /XML "C:\Users\Admin\AppData\Local\Temp\tmp62F0.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1772
    • C:\Users\Admin\AppData\Local\Temp\0a16d27a04f0b259f13fd25b90d1ff21284ff21b8304aab792bf56db34a16b4d.exe
      "C:\Users\Admin\AppData\Local\Temp\0a16d27a04f0b259f13fd25b90d1ff21284ff21b8304aab792bf56db34a16b4d.exe"
      2⤵
        PID:3916
      • C:\Users\Admin\AppData\Local\Temp\0a16d27a04f0b259f13fd25b90d1ff21284ff21b8304aab792bf56db34a16b4d.exe
        "C:\Users\Admin\AppData\Local\Temp\0a16d27a04f0b259f13fd25b90d1ff21284ff21b8304aab792bf56db34a16b4d.exe"
        2⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        PID:4148

    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

          StartupProfileData-NonInteractive

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

          __PSScriptPolicyTest_joxo4kvv.nsw.ps1

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

          tmp62F0.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp62F0.tmp
          • Size 1KB
          • SHA256 6c042049e6c6c59291b8beb0f58ac07a726bd7f79429ee5630702e9a0313f277
          • MD5 SHA1 SHA512

          memory/2640-16-0x0000000074D20000-0x00000000754D0000-memory.dmp

          memory/2640-75-0x0000000007360000-0x00000000073F6000-memory.dmp

          memory/2640-48-0x0000000006080000-0x00000000060CC000-memory.dmp

          memory/2640-86-0x0000000074D20000-0x00000000754D0000-memory.dmp

          memory/2640-77-0x0000000007310000-0x000000000731E000-memory.dmp

          memory/2640-76-0x00000000072E0000-0x00000000072F1000-memory.dmp

          memory/2640-14-0x00000000024B0000-0x00000000024E6000-memory.dmp

          memory/2640-74-0x0000000007150000-0x000000000715A000-memory.dmp

          memory/2640-15-0x0000000005190000-0x00000000057B8000-memory.dmp

          memory/2640-17-0x0000000074D20000-0x00000000754D0000-memory.dmp

          memory/2640-18-0x0000000004DE0000-0x0000000004E02000-memory.dmp

          memory/2640-72-0x0000000007730000-0x0000000007DAA000-memory.dmp

          memory/2640-20-0x0000000005120000-0x0000000005186000-memory.dmp

          memory/2640-19-0x0000000005000000-0x0000000005066000-memory.dmp

          memory/2640-37-0x00000000057C0000-0x0000000005B14000-memory.dmp

          memory/2640-73-0x00000000070E0000-0x00000000070FA000-memory.dmp

          memory/2640-50-0x0000000075580000-0x00000000755CC000-memory.dmp

          memory/2640-61-0x0000000006FE0000-0x0000000007083000-memory.dmp

          memory/2640-60-0x0000000006380000-0x000000000639E000-memory.dmp

          memory/2640-49-0x0000000006FA0000-0x0000000006FD2000-memory.dmp

          memory/2640-47-0x0000000005DA0000-0x0000000005DBE000-memory.dmp

          memory/3132-22-0x0000000074D20000-0x00000000754D0000-memory.dmp

          memory/3132-87-0x0000000074D20000-0x00000000754D0000-memory.dmp

          memory/3132-78-0x00000000070F0000-0x0000000007104000-memory.dmp

          memory/3132-80-0x00000000071D0000-0x00000000071D8000-memory.dmp

          memory/3132-43-0x0000000074D20000-0x00000000754D0000-memory.dmp

          memory/3132-79-0x00000000071F0000-0x000000000720A000-memory.dmp

          memory/3132-62-0x0000000075580000-0x00000000755CC000-memory.dmp

          memory/3132-42-0x0000000074D20000-0x00000000754D0000-memory.dmp

          memory/3212-46-0x0000000074D20000-0x00000000754D0000-memory.dmp

          memory/3212-5-0x0000000074D20000-0x00000000754D0000-memory.dmp

          memory/3212-0-0x0000000074D2E000-0x0000000074D2F000-memory.dmp

          memory/3212-9-0x0000000008000000-0x0000000008084000-memory.dmp

          memory/3212-8-0x0000000005920000-0x0000000005930000-memory.dmp

          memory/3212-6-0x0000000005780000-0x000000000581C000-memory.dmp

          memory/3212-3-0x00000000054E0000-0x0000000005572000-memory.dmp

          memory/3212-7-0x0000000007F60000-0x0000000007F78000-memory.dmp

          memory/3212-4-0x00000000055A0000-0x00000000055AA000-memory.dmp

          memory/3212-2-0x00000000059F0000-0x0000000005F94000-memory.dmp

          memory/3212-1-0x0000000000A40000-0x0000000000AF2000-memory.dmp

          memory/4148-44-0x0000000000400000-0x0000000000442000-memory.dmp

          memory/4148-88-0x0000000006D70000-0x0000000006DC0000-memory.dmp