Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/06/2024, 06:37

General

  • Target
    PO_#2024393_SNB-4427394_13-06-2024.exe
  • Size 910KB
  • Sample240614-hdgsjaydqc
  • SHA256 686a3f7e43c727dc065af10f9492087eb88974aed4a02c6ec92e5240ecd77266
  • 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.

  • 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\PO_#2024393_SNB-4427394_13-06-2024.exe
    "C:\Users\Admin\AppData\Local\Temp\PO_#2024393_SNB-4427394_13-06-2024.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:3684
    • 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\PO_#2024393_SNB-4427394_13-06-2024.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2344
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\KwNEHlN.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4728
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\KwNEHlN" /XML "C:\Users\Admin\AppData\Local\Temp\tmp70EA.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4444
    • C:\Users\Admin\AppData\Local\Temp\PO_#2024393_SNB-4427394_13-06-2024.exe
      "C:\Users\Admin\AppData\Local\Temp\PO_#2024393_SNB-4427394_13-06-2024.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4856

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

        __PSScriptPolicyTest_lhtuwrg1.a4u.ps1

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

        tmp70EA.tmp

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

        memory/2344-68-0x0000000007930000-0x000000000793A000-memory.dmp

        memory/2344-17-0x0000000075240000-0x00000000759F0000-memory.dmp

        memory/2344-65-0x0000000007F00000-0x000000000857A000-memory.dmp

        memory/2344-66-0x00000000078C0000-0x00000000078DA000-memory.dmp

        memory/2344-52-0x0000000007710000-0x0000000007742000-memory.dmp

        memory/2344-63-0x0000000007750000-0x000000000776E000-memory.dmp

        memory/2344-64-0x0000000007780000-0x0000000007823000-memory.dmp

        memory/2344-53-0x0000000070090000-0x00000000700DC000-memory.dmp

        memory/2344-16-0x0000000002C70000-0x0000000002CA6000-memory.dmp

        memory/2344-45-0x0000000075240000-0x00000000759F0000-memory.dmp

        memory/2344-18-0x00000000056B0000-0x0000000005CD8000-memory.dmp

        memory/2344-19-0x0000000075240000-0x00000000759F0000-memory.dmp

        memory/2344-90-0x0000000075240000-0x00000000759F0000-memory.dmp

        memory/2344-69-0x0000000007B40000-0x0000000007BD6000-memory.dmp

        memory/2344-79-0x0000000007AC0000-0x0000000007AD1000-memory.dmp

        memory/2344-80-0x0000000007AF0000-0x0000000007AFE000-memory.dmp

        memory/2344-81-0x0000000007B00000-0x0000000007B14000-memory.dmp

        memory/2344-82-0x0000000007C00000-0x0000000007C1A000-memory.dmp

        memory/2344-83-0x0000000007BE0000-0x0000000007BE8000-memory.dmp

        memory/3684-49-0x0000000075240000-0x00000000759F0000-memory.dmp

        memory/3684-2-0x0000000005E60000-0x0000000006404000-memory.dmp

        memory/3684-3-0x00000000059B0000-0x0000000005A42000-memory.dmp

        memory/3684-6-0x0000000005CC0000-0x0000000005D5C000-memory.dmp

        memory/3684-0-0x000000007524E000-0x000000007524F000-memory.dmp

        memory/3684-4-0x0000000006A30000-0x0000000007048000-memory.dmp

        memory/3684-1-0x0000000000EE0000-0x0000000000FCA000-memory.dmp

        memory/3684-11-0x0000000008EF0000-0x0000000008F72000-memory.dmp

        memory/3684-10-0x0000000007450000-0x0000000007460000-memory.dmp

        memory/3684-9-0x0000000008ED0000-0x0000000008EEA000-memory.dmp

        memory/3684-8-0x00000000079D0000-0x0000000007A8E000-memory.dmp

        memory/3684-7-0x0000000075240000-0x00000000759F0000-memory.dmp

        memory/3684-5-0x0000000005BD0000-0x0000000005BDA000-memory.dmp

        memory/4728-20-0x0000000005210000-0x0000000005232000-memory.dmp

        memory/4728-67-0x0000000070090000-0x00000000700DC000-memory.dmp

        memory/4728-51-0x0000000006730000-0x000000000677C000-memory.dmp

        memory/4728-23-0x0000000075240000-0x00000000759F0000-memory.dmp

        memory/4728-30-0x0000000075240000-0x00000000759F0000-memory.dmp

        memory/4728-22-0x00000000053D0000-0x0000000005436000-memory.dmp

        memory/4728-47-0x0000000075240000-0x00000000759F0000-memory.dmp

        memory/4728-44-0x0000000005CE0000-0x0000000006034000-memory.dmp

        memory/4728-50-0x00000000062C0000-0x00000000062DE000-memory.dmp

        memory/4728-21-0x00000000052B0000-0x0000000005316000-memory.dmp

        memory/4728-89-0x0000000075240000-0x00000000759F0000-memory.dmp

        memory/4856-46-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/4856-91-0x0000000006810000-0x0000000006860000-memory.dmp