Analysis

  • max time kernel
    158s
  • max time network
    183s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    15/06/2022, 12:05

General

  • Target
    3d38811eadb395bb249d9752bc405b87.exe
  • Size 480KB
  • Sample220615-n86m2ahde6
  • SHA256 d54bfcc7db926e2983b24d56c3ea2f66f9deb80b9b447ed3b4bd194da23f30fb
  • MD5 SHA1 SHA512

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot5390947912:AAHEgjYo1gPtN1Ab-AFe3LYschZNgfjljuk/sendDocument

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.

  • 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.

  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • 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 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\3d38811eadb395bb249d9752bc405b87.exe
    "C:\Users\Admin\AppData\Local\Temp\3d38811eadb395bb249d9752bc405b87.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:3204
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\BtlOJAOLscN.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4952
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\BtlOJAOLscN" /XML "C:\Users\Admin\AppData\Local\Temp\tmp5C39.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4256
    • C:\Users\Admin\AppData\Local\Temp\3d38811eadb395bb249d9752bc405b87.exe
      "C:\Users\Admin\AppData\Local\Temp\3d38811eadb395bb249d9752bc405b87.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • outlook_office_path
      • outlook_win_path
      PID:1840

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        tmp5C39.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp5C39.tmp
        • Size 1KB
        • SHA256 70b5b96235a68ad95372621ba4e5942f22b096e761c8d45036f3dbc5e93955c4
        • MD5 SHA1 SHA512

        memory/1840-152-0x0000000006B90000-0x0000000006BE0000-memory.dmp

        memory/1840-141-0x0000000000400000-0x000000000043A000-memory.dmp

        memory/3204-131-0x0000000005C70000-0x0000000006214000-memory.dmp

        memory/3204-132-0x00000000056C0000-0x0000000005752000-memory.dmp

        memory/3204-133-0x00000000056A0000-0x00000000056AA000-memory.dmp

        memory/3204-134-0x00000000093E0000-0x000000000947C000-memory.dmp

        memory/3204-130-0x0000000000C70000-0x0000000000CEE000-memory.dmp

        memory/4952-142-0x0000000005550000-0x0000000005572000-memory.dmp

        memory/4952-149-0x0000000007E80000-0x00000000084FA000-memory.dmp

        memory/4952-137-0x0000000004F70000-0x0000000004FA6000-memory.dmp

        memory/4952-143-0x0000000005D80000-0x0000000005DE6000-memory.dmp

        memory/4952-144-0x0000000005EE0000-0x0000000005F46000-memory.dmp

        memory/4952-145-0x0000000006530000-0x000000000654E000-memory.dmp

        memory/4952-146-0x0000000006AF0000-0x0000000006B22000-memory.dmp

        memory/4952-147-0x00000000705E0000-0x000000007062C000-memory.dmp

        memory/4952-148-0x0000000006AD0000-0x0000000006AEE000-memory.dmp

        memory/4952-139-0x00000000055E0000-0x0000000005C08000-memory.dmp

        memory/4952-150-0x0000000007830000-0x000000000784A000-memory.dmp

        memory/4952-151-0x00000000078A0000-0x00000000078AA000-memory.dmp

        memory/4952-153-0x0000000007AB0000-0x0000000007B46000-memory.dmp

        memory/4952-154-0x0000000007A70000-0x0000000007A7E000-memory.dmp

        memory/4952-155-0x0000000007B80000-0x0000000007B9A000-memory.dmp

        memory/4952-156-0x0000000007B60000-0x0000000007B68000-memory.dmp