Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28/05/2024, 13:48

General

  • Target
    NCBGRTF-576TER4 .exe
  • Size 764KB
  • Sample240528-q34mlaha67
  • SHA256 994fa755944555aa46ecbf95958ee92c732100468d2fe3b436292c769cb86b46
  • 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.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\NCBGRTF-576TER4 .exe
    "C:\Users\Admin\AppData\Local\Temp\NCBGRTF-576TER4 .exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:1040
    • 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\NCBGRTF-576TER4 .exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3916
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\zhLaskRy.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1356
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\zhLaskRy" /XML "C:\Users\Admin\AppData\Local\Temp\tmp6EF6.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:3640
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4504

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

        __PSScriptPolicyTest_nzquwx53.5iz.ps1

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

        tmp6EF6.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp6EF6.tmp
        • Size 1KB
        • SHA256 42e4e1a0b40fdd7d9fda6cab221c209bd415ed57a0a7ca1640326428e3e4c7e8
        • MD5 SHA1 SHA512

        memory/1040-6-0x00000000053F0000-0x0000000005406000-memory.dmp

        memory/1040-4-0x00000000050A0000-0x00000000050AA000-memory.dmp

        memory/1040-5-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/1040-3-0x0000000004FD0000-0x0000000005062000-memory.dmp

        memory/1040-8-0x0000000005430000-0x0000000005440000-memory.dmp

        memory/1040-7-0x0000000005420000-0x000000000542C000-memory.dmp

        memory/1040-9-0x00000000063A0000-0x0000000006422000-memory.dmp

        memory/1040-10-0x00000000089D0000-0x0000000008A6C000-memory.dmp

        memory/1040-0-0x0000000074D9E000-0x0000000074D9F000-memory.dmp

        memory/1040-48-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/1040-2-0x0000000005480000-0x0000000005A24000-memory.dmp

        memory/1040-1-0x0000000000560000-0x0000000000622000-memory.dmp

        memory/1356-80-0x0000000007490000-0x00000000074A4000-memory.dmp

        memory/1356-26-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/1356-79-0x0000000007480000-0x000000000748E000-memory.dmp

        memory/1356-24-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/1356-78-0x0000000007450000-0x0000000007461000-memory.dmp

        memory/1356-81-0x0000000007590000-0x00000000075AA000-memory.dmp

        memory/1356-25-0x0000000005900000-0x0000000005C54000-memory.dmp

        memory/1356-82-0x0000000007570000-0x0000000007578000-memory.dmp

        memory/1356-32-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/1356-63-0x0000000006F20000-0x0000000006FC3000-memory.dmp

        memory/1356-77-0x00000000074D0000-0x0000000007566000-memory.dmp

        memory/1356-87-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/1356-49-0x0000000005F30000-0x0000000005F4E000-memory.dmp

        memory/1356-50-0x0000000006030000-0x000000000607C000-memory.dmp

        memory/1356-51-0x0000000006EE0000-0x0000000006F12000-memory.dmp

        memory/1356-52-0x0000000071460000-0x00000000714AC000-memory.dmp

        memory/1356-62-0x0000000006EA0000-0x0000000006EBE000-memory.dmp

        memory/3916-15-0x0000000004440000-0x0000000004476000-memory.dmp

        memory/3916-21-0x0000000004A90000-0x0000000004AF6000-memory.dmp

        memory/3916-75-0x0000000006CD0000-0x0000000006CEA000-memory.dmp

        memory/3916-74-0x0000000007320000-0x000000000799A000-memory.dmp

        memory/3916-76-0x0000000006D50000-0x0000000006D5A000-memory.dmp

        memory/3916-16-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/3916-23-0x0000000005170000-0x00000000051D6000-memory.dmp

        memory/3916-64-0x0000000071460000-0x00000000714AC000-memory.dmp

        memory/3916-20-0x00000000049F0000-0x0000000004A12000-memory.dmp

        memory/3916-19-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/3916-18-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/3916-17-0x0000000004B40000-0x0000000005168000-memory.dmp

        memory/3916-88-0x0000000074D90000-0x0000000075540000-memory.dmp

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

        memory/4504-89-0x00000000068B0000-0x0000000006900000-memory.dmp