Analysis

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

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/06/2024, 01:49

General

  • Target
    317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe
  • Size 2.0MB
  • Sample240614-b812bsvbkr
  • SHA256 317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.pishgamsanaat.com

  • Port

    587

  • Password

    Pishgam123456

Extracted

Family
  • agenttesla

Credentials

Signatures

  • AgentTesla

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

  • UAC bypass 3 TTPs 1 IoCs
  • Windows security bypass 2 TTPs 2 IoCs
  • 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.

  • Windows security modification 2 TTPs 3 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks whether UAC is enabled 1 TTPs 2 IoCs
  • 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).

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 22 IoCs
  • System policy modification 1 TTPs 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe
    "C:\Users\Admin\AppData\Local\Temp\317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe"
    1⤵
    • UAC bypass
    • Windows security bypass
    • Checks computer location settings
    • Windows security modification
    • Checks whether UAC is enabled
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    • System policy modification
    PID:684
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\317e4399e15e95a49d4437d66ae28a1ce6f22c9b2cf36db2f4b8e9c952763143.exe" -Force
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3412
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe"
      2⤵
        PID:752
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\jsc.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\jsc.exe"
        2⤵
          PID:4820
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe"
          2⤵
            PID:2592
          • C:\Windows\Microsoft.NET\Framework\v4.0.30319\regsvcs.exe
            "C:\Windows\Microsoft.NET\Framework\v4.0.30319\regsvcs.exe"
            2⤵
            • Adds Run key to start application
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            • Suspicious use of SetWindowsHookEx
            PID:3652
          • C:\Windows\Microsoft.NET\Framework\v4.0.30319\regsvcs.exe
            "C:\Windows\Microsoft.NET\Framework\v4.0.30319\regsvcs.exe"
            2⤵
              PID:396

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                __PSScriptPolicyTest_k5yzl5um.pgq.ps1

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

                memory/684-21-0x00007FFF607F0000-0x00007FFF612B1000-memory.dmp

                memory/684-1-0x0000028A64DD0000-0x0000028A64DE0000-memory.dmp

                memory/684-2-0x00007FFF607F0000-0x00007FFF612B1000-memory.dmp

                memory/684-3-0x0000028A7F300000-0x0000028A7F396000-memory.dmp

                memory/684-0-0x00007FFF607F3000-0x00007FFF607F5000-memory.dmp

                memory/3412-4-0x00007FFF607F0000-0x00007FFF612B1000-memory.dmp

                memory/3412-5-0x000001D072A50000-0x000001D072A72000-memory.dmp

                memory/3412-17-0x00007FFF607F0000-0x00007FFF612B1000-memory.dmp

                memory/3652-18-0x0000000000400000-0x0000000000444000-memory.dmp

                memory/3652-20-0x0000000005930000-0x0000000005996000-memory.dmp

                memory/3652-19-0x0000000005E70000-0x0000000006414000-memory.dmp

                memory/3652-24-0x0000000006CF0000-0x0000000006D40000-memory.dmp

                memory/3652-25-0x0000000006DE0000-0x0000000006E7C000-memory.dmp

                memory/3652-26-0x0000000007060000-0x00000000070F2000-memory.dmp

                memory/3652-27-0x0000000007010000-0x000000000701A000-memory.dmp