Analysis

  • max time kernel
    149s
  • max time network
    152s
  • 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:36

General

  • Target
    b6d7a0644eb168856fec62e2958b076f7230dafcd655b14f53b3f5813e7cfd62.exe
  • Size 716KB
  • Sample240521-b1f17aea24
  • SHA256 b6d7a0644eb168856fec62e2958b076f7230dafcd655b14f53b3f5813e7cfd62
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    smtp.yandex.com

  • Port

    587

  • Password

    ifeanyi@12

Extracted

Family
  • agenttesla

Credentials

Signatures

  • AgentTesla

    Agent Tesla is a remote access tool (RAT) written in visual basic.

  • Detect packed .NET executables. Mostly AgentTeslaV4. 1 IoCs
  • Detects binaries (Windows and macOS) referencing many web browsers. Observed in information stealers. 1 IoCs
  • Detects executables referencing Windows vault credential objects. Observed in infostealers 1 IoCs
  • Detects executables referencing many confidential data stores found in browsers, mail clients, cryptocurreny wallets, etc. Observed in information stealers 1 IoCs
  • Detects executables referencing many email and collaboration clients. Observed in information stealers 1 IoCs
  • Detects executables referencing many file transfer clients. Observed in information stealers 1 IoCs
  • 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 16 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\b6d7a0644eb168856fec62e2958b076f7230dafcd655b14f53b3f5813e7cfd62.exe
    "C:\Users\Admin\AppData\Local\Temp\b6d7a0644eb168856fec62e2958b076f7230dafcd655b14f53b3f5813e7cfd62.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2808
    • 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\b6d7a0644eb168856fec62e2958b076f7230dafcd655b14f53b3f5813e7cfd62.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2368
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\WduTJk.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1656
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\WduTJk" /XML "C:\Users\Admin\AppData\Local\Temp\tmp597A.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1876
    • C:\Users\Admin\AppData\Local\Temp\b6d7a0644eb168856fec62e2958b076f7230dafcd655b14f53b3f5813e7cfd62.exe
      "C:\Users\Admin\AppData\Local\Temp\b6d7a0644eb168856fec62e2958b076f7230dafcd655b14f53b3f5813e7cfd62.exe"
      2⤵
        PID:564
      • C:\Users\Admin\AppData\Local\Temp\b6d7a0644eb168856fec62e2958b076f7230dafcd655b14f53b3f5813e7cfd62.exe
        "C:\Users\Admin\AppData\Local\Temp\b6d7a0644eb168856fec62e2958b076f7230dafcd655b14f53b3f5813e7cfd62.exe"
        2⤵
          PID:3940
        • C:\Users\Admin\AppData\Local\Temp\b6d7a0644eb168856fec62e2958b076f7230dafcd655b14f53b3f5813e7cfd62.exe
          "C:\Users\Admin\AppData\Local\Temp\b6d7a0644eb168856fec62e2958b076f7230dafcd655b14f53b3f5813e7cfd62.exe"
          2⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of SetWindowsHookEx
          PID:1480

      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 6f8fd1b8d9788ad54eaeee329232187e24b7b43393a01aeba2d6e9675231fb69
            • MD5 SHA1 SHA512

            __PSScriptPolicyTest_fvwt4s11.ohs.ps1

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

            tmp597A.tmp

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

            memory/1480-89-0x0000000006A50000-0x0000000006AA0000-memory.dmp

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

            memory/1656-76-0x0000000007AD0000-0x0000000007ADA000-memory.dmp

            memory/1656-63-0x0000000007930000-0x00000000079D3000-memory.dmp

            memory/1656-79-0x0000000007C90000-0x0000000007C9E000-memory.dmp

            memory/1656-78-0x0000000007C60000-0x0000000007C71000-memory.dmp

            memory/1656-77-0x0000000007CE0000-0x0000000007D76000-memory.dmp

            memory/1656-37-0x0000000006150000-0x00000000064A4000-memory.dmp

            memory/1656-74-0x00000000080A0000-0x000000000871A000-memory.dmp

            memory/1656-75-0x0000000007A60000-0x0000000007A7A000-memory.dmp

            memory/1656-62-0x00000000078D0000-0x00000000078EE000-memory.dmp

            memory/1656-80-0x0000000007CA0000-0x0000000007CB4000-memory.dmp

            memory/1656-19-0x0000000074970000-0x0000000075120000-memory.dmp

            memory/1656-20-0x0000000074970000-0x0000000075120000-memory.dmp

            memory/1656-81-0x0000000007DA0000-0x0000000007DBA000-memory.dmp

            memory/1656-52-0x00000000751D0000-0x000000007521C000-memory.dmp

            memory/1656-82-0x0000000007D80000-0x0000000007D88000-memory.dmp

            memory/1656-51-0x00000000078F0000-0x0000000007922000-memory.dmp

            memory/1656-45-0x0000000074970000-0x0000000075120000-memory.dmp

            memory/1656-87-0x0000000074970000-0x0000000075120000-memory.dmp

            memory/2368-15-0x0000000002D00000-0x0000000002D36000-memory.dmp

            memory/2368-16-0x0000000074970000-0x0000000075120000-memory.dmp

            memory/2368-23-0x0000000005F60000-0x0000000005FC6000-memory.dmp

            memory/2368-88-0x0000000074970000-0x0000000075120000-memory.dmp

            memory/2368-49-0x0000000006640000-0x000000000665E000-memory.dmp

            memory/2368-50-0x0000000006C20000-0x0000000006C6C000-memory.dmp

            memory/2368-24-0x0000000005FD0000-0x0000000006036000-memory.dmp

            memory/2368-30-0x0000000074970000-0x0000000075120000-memory.dmp

            memory/2368-64-0x00000000751D0000-0x000000007521C000-memory.dmp

            memory/2368-17-0x0000000005840000-0x0000000005E68000-memory.dmp

            memory/2368-18-0x0000000074970000-0x0000000075120000-memory.dmp

            memory/2368-22-0x0000000005780000-0x00000000057A2000-memory.dmp

            memory/2808-0-0x000000007497E000-0x000000007497F000-memory.dmp

            memory/2808-10-0x000000000B680000-0x000000000B71C000-memory.dmp

            memory/2808-9-0x0000000006AA0000-0x0000000006B22000-memory.dmp

            memory/2808-8-0x00000000050E0000-0x00000000050F0000-memory.dmp

            memory/2808-7-0x000000000A5D0000-0x000000000A5DC000-memory.dmp

            memory/2808-6-0x0000000007F50000-0x0000000007F72000-memory.dmp

            memory/2808-5-0x00000000056C0000-0x00000000056CA000-memory.dmp

            memory/2808-4-0x0000000074970000-0x0000000075120000-memory.dmp

            memory/2808-3-0x0000000005720000-0x00000000057B2000-memory.dmp

            memory/2808-48-0x0000000074970000-0x0000000075120000-memory.dmp

            memory/2808-2-0x0000000005C30000-0x00000000061D4000-memory.dmp

            memory/2808-1-0x0000000000C00000-0x0000000000CBA000-memory.dmp