Analysis

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

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

General

  • Target
    51e166ed74183299244a9fc3aad6dbbce0dd8ea4c7784bd5e89a1344d97d7b32.exe
  • Size 731KB
  • Sample240616-btfrvatdnf
  • SHA256 51e166ed74183299244a9fc3aad6dbbce0dd8ea4c7784bd5e89a1344d97d7b32
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

Credentials

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\51e166ed74183299244a9fc3aad6dbbce0dd8ea4c7784bd5e89a1344d97d7b32.exe
    "C:\Users\Admin\AppData\Local\Temp\51e166ed74183299244a9fc3aad6dbbce0dd8ea4c7784bd5e89a1344d97d7b32.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:3496
    • 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\51e166ed74183299244a9fc3aad6dbbce0dd8ea4c7784bd5e89a1344d97d7b32.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4984
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\HfvyLWN.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2044
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\HfvyLWN" /XML "C:\Users\Admin\AppData\Local\Temp\tmpA3B2.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4412
    • C:\Users\Admin\AppData\Local\Temp\51e166ed74183299244a9fc3aad6dbbce0dd8ea4c7784bd5e89a1344d97d7b32.exe
      "C:\Users\Admin\AppData\Local\Temp\51e166ed74183299244a9fc3aad6dbbce0dd8ea4c7784bd5e89a1344d97d7b32.exe"
      2⤵
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2892

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 d79419b556d23feb551c94a8428f914018b9174f3d1b6fa05d180be6c7029291
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_zhxmlwwr.3hs.ps1

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

        tmpA3B2.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmpA3B2.tmp
        • Size 1KB
        • SHA256 8682fddab9260bb94863ca14511f0197f59c1c0bcd40c842f4eb7abca0b51579
        • MD5 SHA1 SHA512

        memory/2044-73-0x0000000006850000-0x000000000686E000-memory.dmp

        memory/2044-49-0x0000000006240000-0x000000000625E000-memory.dmp

        memory/2044-78-0x00000000077F0000-0x0000000007886000-memory.dmp

        memory/2044-77-0x00000000075E0000-0x00000000075EA000-memory.dmp

        memory/2044-74-0x0000000007260000-0x0000000007303000-memory.dmp

        memory/2044-53-0x0000000070000000-0x000000007004C000-memory.dmp

        memory/2044-90-0x00000000751E0000-0x0000000075990000-memory.dmp

        memory/2044-52-0x0000000006810000-0x0000000006842000-memory.dmp

        memory/2044-50-0x00000000065B0000-0x00000000065FC000-memory.dmp

        memory/2044-79-0x0000000007770000-0x0000000007781000-memory.dmp

        memory/2044-42-0x00000000751E0000-0x0000000075990000-memory.dmp

        memory/2044-22-0x0000000005290000-0x00000000052B2000-memory.dmp

        memory/2044-20-0x00000000751E0000-0x0000000075990000-memory.dmp

        memory/2044-24-0x00000000053A0000-0x0000000005406000-memory.dmp

        memory/2044-23-0x0000000005330000-0x0000000005396000-memory.dmp

        memory/2044-25-0x00000000751E0000-0x0000000075990000-memory.dmp

        memory/2892-47-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/2892-92-0x0000000006700000-0x0000000006750000-memory.dmp

        memory/3496-16-0x00000000751E0000-0x0000000075990000-memory.dmp

        memory/3496-7-0x0000000005680000-0x0000000005690000-memory.dmp

        memory/3496-1-0x00000000006F0000-0x00000000007A8000-memory.dmp

        memory/3496-2-0x00000000056A0000-0x0000000005C44000-memory.dmp

        memory/3496-3-0x0000000005190000-0x0000000005222000-memory.dmp

        memory/3496-4-0x0000000005250000-0x000000000525A000-memory.dmp

        memory/3496-51-0x00000000751E0000-0x0000000075990000-memory.dmp

        memory/3496-0-0x00000000751EE000-0x00000000751EF000-memory.dmp

        memory/3496-5-0x00000000751E0000-0x0000000075990000-memory.dmp

        memory/3496-10-0x00000000751EE000-0x00000000751EF000-memory.dmp

        memory/3496-6-0x0000000006A30000-0x0000000006A52000-memory.dmp

        memory/3496-9-0x0000000007DA0000-0x0000000007E3C000-memory.dmp

        memory/3496-8-0x0000000006720000-0x00000000067A4000-memory.dmp

        memory/4984-75-0x0000000008120000-0x000000000879A000-memory.dmp

        memory/4984-83-0x0000000007E20000-0x0000000007E3A000-memory.dmp

        memory/4984-26-0x00000000751E0000-0x0000000075990000-memory.dmp

        memory/4984-54-0x0000000070000000-0x000000007004C000-memory.dmp

        memory/4984-15-0x0000000002EA0000-0x0000000002ED6000-memory.dmp

        memory/4984-81-0x0000000007D10000-0x0000000007D1E000-memory.dmp

        memory/4984-82-0x0000000007D20000-0x0000000007D34000-memory.dmp

        memory/4984-76-0x0000000007AE0000-0x0000000007AFA000-memory.dmp

        memory/4984-84-0x0000000007E00000-0x0000000007E08000-memory.dmp

        memory/4984-91-0x00000000751E0000-0x0000000075990000-memory.dmp

        memory/4984-17-0x00000000058D0000-0x0000000005EF8000-memory.dmp

        memory/4984-18-0x00000000751E0000-0x0000000075990000-memory.dmp

        memory/4984-41-0x00000000061B0000-0x0000000006504000-memory.dmp

        memory/4984-19-0x00000000751E0000-0x0000000075990000-memory.dmp