Analysis

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

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21/05/2024, 01:53

General

  • Target
    bfd3502d2fa81b4e82c6d0f35da6ae508c5be2b83342cc564ede8e50b580f875.exe
  • Size 855KB
  • Sample240521-cbcsxaed69
  • SHA256 bfd3502d2fa81b4e82c6d0f35da6ae508c5be2b83342cc564ede8e50b580f875
  • 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 1 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.

  • 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 3 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\bfd3502d2fa81b4e82c6d0f35da6ae508c5be2b83342cc564ede8e50b580f875.exe
    "C:\Users\Admin\AppData\Local\Temp\bfd3502d2fa81b4e82c6d0f35da6ae508c5be2b83342cc564ede8e50b580f875.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1180
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\ZgyPhDuHCFbHKh.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1148
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\ZgyPhDuHCFbHKh" /XML "C:\Users\Admin\AppData\Local\Temp\tmp68BC.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:3052
    • C:\Users\Admin\AppData\Local\Temp\bfd3502d2fa81b4e82c6d0f35da6ae508c5be2b83342cc564ede8e50b580f875.exe
      "C:\Users\Admin\AppData\Local\Temp\bfd3502d2fa81b4e82c6d0f35da6ae508c5be2b83342cc564ede8e50b580f875.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5092

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_dol43l1e.hih.ps1

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

        tmp68BC.tmp

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

        memory/1148-40-0x0000000006C00000-0x0000000006C32000-memory.dmp

        memory/1148-26-0x00000000060D0000-0x0000000006424000-memory.dmp

        memory/1148-64-0x0000000075200000-0x00000000759B0000-memory.dmp

        memory/1148-59-0x0000000007C40000-0x0000000007C54000-memory.dmp

        memory/1148-61-0x0000000007D20000-0x0000000007D28000-memory.dmp

        memory/1148-60-0x0000000007D40000-0x0000000007D5A000-memory.dmp

        memory/1148-58-0x0000000007C30000-0x0000000007C3E000-memory.dmp

        memory/1148-57-0x0000000007C00000-0x0000000007C11000-memory.dmp

        memory/1148-56-0x0000000007C80000-0x0000000007D16000-memory.dmp

        memory/1148-15-0x0000000005100000-0x0000000005136000-memory.dmp

        memory/1148-55-0x0000000007A70000-0x0000000007A7A000-memory.dmp

        memory/1148-18-0x0000000005820000-0x0000000005E48000-memory.dmp

        memory/1148-17-0x0000000075200000-0x00000000759B0000-memory.dmp

        memory/1148-19-0x0000000075200000-0x00000000759B0000-memory.dmp

        memory/1148-21-0x0000000005690000-0x00000000056F6000-memory.dmp

        memory/1148-22-0x0000000005700000-0x0000000005766000-memory.dmp

        memory/1148-20-0x00000000055F0000-0x0000000005612000-memory.dmp

        memory/1148-53-0x0000000008090000-0x000000000870A000-memory.dmp

        memory/1148-23-0x0000000075200000-0x00000000759B0000-memory.dmp

        memory/1148-54-0x0000000007A10000-0x0000000007A2A000-memory.dmp

        memory/1148-51-0x0000000006BE0000-0x0000000006BFE000-memory.dmp

        memory/1148-52-0x0000000007760000-0x0000000007803000-memory.dmp

        memory/1148-41-0x00000000718D0000-0x000000007191C000-memory.dmp

        memory/1148-38-0x00000000066D0000-0x00000000066EE000-memory.dmp

        memory/1148-39-0x0000000006760000-0x00000000067AC000-memory.dmp

        memory/1180-9-0x0000000007E20000-0x0000000007EA6000-memory.dmp

        memory/1180-10-0x00000000067D0000-0x000000000686C000-memory.dmp

        memory/1180-3-0x0000000007B30000-0x0000000007BC2000-memory.dmp

        memory/1180-0-0x000000007520E000-0x000000007520F000-memory.dmp

        memory/1180-27-0x0000000075200000-0x00000000759B0000-memory.dmp

        memory/1180-4-0x0000000075200000-0x00000000759B0000-memory.dmp

        memory/1180-5-0x0000000005080000-0x000000000508A000-memory.dmp

        memory/1180-2-0x0000000008040000-0x00000000085E4000-memory.dmp

        memory/1180-8-0x0000000007730000-0x0000000007740000-memory.dmp

        memory/1180-1-0x0000000000B20000-0x0000000000BFA000-memory.dmp

        memory/1180-7-0x0000000006710000-0x000000000671C000-memory.dmp

        memory/1180-6-0x0000000007C60000-0x0000000007C82000-memory.dmp

        memory/5092-28-0x0000000075200000-0x00000000759B0000-memory.dmp

        memory/5092-24-0x0000000000400000-0x0000000000444000-memory.dmp

        memory/5092-65-0x0000000005F60000-0x0000000005FB0000-memory.dmp

        memory/5092-66-0x0000000075200000-0x00000000759B0000-memory.dmp