Analysis

  • max time kernel
    91s
  • max time network
    120s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220901-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22/11/2022, 14:42

General

  • Target
    XBH2wJXWhhezh1n.exe
  • Size 1.0MB
  • Sample221122-r21d8abb4s
  • SHA256 2980f607058a2ba908559bdedbbd019edd4b52377e5f884d36a62bf9aac8be00
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot5453942321:AAF6CS9julQ6K7s5pxacNALwWJ2A52D0EC4/

Signatures

  • AgentTesla

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

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • Adds Run key to start application 2 TTPs 1 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). Likely ransomware behaviour.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\XBH2wJXWhhezh1n.exe
    "C:\Users\Admin\AppData\Local\Temp\XBH2wJXWhhezh1n.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1808
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\lWjWWmgm.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4268
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\lWjWWmgm" /XML "C:\Users\Admin\AppData\Local\Temp\tmp6D02.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1232
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • outlook_office_path
      • outlook_win_path
      PID:3564

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        tmp6D02.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp6D02.tmp
        • Size 1KB
        • SHA256 196f20ff0f632fa405ae6922314c1e1b57751cfdf0d7dd811e68b36d1816c885
        • MD5 SHA1 SHA512

        memory/1808-133-0x0000000005BC0000-0x0000000006164000-memory.dmp

        memory/1808-134-0x00000000056B0000-0x0000000005742000-memory.dmp

        memory/1808-135-0x0000000005670000-0x000000000567A000-memory.dmp

        memory/1808-136-0x00000000093D0000-0x000000000946C000-memory.dmp

        memory/1808-132-0x0000000000BC0000-0x0000000000CCC000-memory.dmp

        memory/3564-158-0x0000000006960000-0x00000000069B0000-memory.dmp

        memory/3564-143-0x0000000000400000-0x000000000043C000-memory.dmp

        memory/4268-144-0x0000000005570000-0x0000000005592000-memory.dmp

        memory/4268-151-0x0000000007F90000-0x000000000860A000-memory.dmp

        memory/4268-139-0x0000000005070000-0x00000000050A6000-memory.dmp

        memory/4268-145-0x0000000005DE0000-0x0000000005E46000-memory.dmp

        memory/4268-146-0x0000000005FD0000-0x0000000006036000-memory.dmp

        memory/4268-147-0x0000000006650000-0x000000000666E000-memory.dmp

        memory/4268-148-0x0000000006C10000-0x0000000006C42000-memory.dmp

        memory/4268-149-0x0000000072430000-0x000000007247C000-memory.dmp

        memory/4268-150-0x0000000006BF0000-0x0000000006C0E000-memory.dmp

        memory/4268-141-0x0000000005740000-0x0000000005D68000-memory.dmp

        memory/4268-152-0x0000000007950000-0x000000000796A000-memory.dmp

        memory/4268-153-0x00000000079C0000-0x00000000079CA000-memory.dmp

        memory/4268-154-0x0000000007BD0000-0x0000000007C66000-memory.dmp

        memory/4268-155-0x0000000007B80000-0x0000000007B8E000-memory.dmp

        memory/4268-156-0x0000000007C90000-0x0000000007CAA000-memory.dmp

        memory/4268-157-0x0000000007C70000-0x0000000007C78000-memory.dmp