Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21/03/2023, 11:43

General

  • Target
    d085774c1d0954cc9de2730feb617c3c.exe
  • Size 1.7MB
  • Sample230321-nvlqpsca8t
  • SHA256 5fc747d77faaedb0459b4e9fb8dbef1912f6fa91ad088a3ec016c749ecd83022
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot5687731944:AAEDpsUftmaHrKNSGkOlhq0UZLPEvIUd8Bo/

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
  • Adds Run key to start application 2 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). Likely ransomware behaviour.

  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 11 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\d085774c1d0954cc9de2730feb617c3c.exe
    "C:\Users\Admin\AppData\Local\Temp\d085774c1d0954cc9de2730feb617c3c.exe"
    1⤵
    • Checks computer location settings
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3044
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ENC cwB0AGEAcgB0AC0AcwBsAGUAZQBwACAALQBzAGUAYwBvAG4AZABzACAAMgAwAA==
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1228
    • C:\Users\Admin\AppData\Local\Temp\d085774c1d0954cc9de2730feb617c3c.exe
      C:\Users\Admin\AppData\Local\Temp\d085774c1d0954cc9de2730feb617c3c.exe
      2⤵
      • Accesses Microsoft Outlook profiles
      • Adds Run key to start application
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • outlook_office_path
      • outlook_win_path
      PID:1596

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        d085774c1d0954cc9de2730feb617c3c.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\d085774c1d0954cc9de2730feb617c3c.exe.log
        • Size 1KB
        • SHA256 1c5aefb5e6b00481a404589e1ac8bad25f93f78037925f6bf1228efb90f0cc37
        • MD5 SHA1 SHA512

        __PSScriptPolicyTest_42ig5rca.lfj.ps1

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

        memory/1228-153-0x0000000007990000-0x000000000800A000-memory.dmp

        memory/1228-157-0x00000000029B0000-0x00000000029C0000-memory.dmp

        memory/1228-137-0x0000000002A10000-0x0000000002A46000-memory.dmp

        memory/1228-138-0x0000000005430000-0x0000000005A58000-memory.dmp

        memory/1228-139-0x00000000052F0000-0x0000000005356000-memory.dmp

        memory/1228-140-0x0000000005360000-0x00000000053C6000-memory.dmp

        memory/1228-158-0x00000000029B0000-0x00000000029C0000-memory.dmp

        memory/1228-150-0x00000000029B0000-0x00000000029C0000-memory.dmp

        memory/1228-151-0x00000000029B0000-0x00000000029C0000-memory.dmp

        memory/1228-152-0x0000000006320000-0x000000000633E000-memory.dmp

        memory/1228-155-0x00000000029B0000-0x00000000029C0000-memory.dmp

        memory/1228-154-0x0000000006820000-0x000000000683A000-memory.dmp

        memory/1596-170-0x0000000006970000-0x0000000006A02000-memory.dmp

        memory/1596-163-0x0000000000400000-0x0000000000430000-memory.dmp

        memory/1596-166-0x0000000005500000-0x0000000005AA4000-memory.dmp

        memory/1596-167-0x00000000050E0000-0x00000000050F0000-memory.dmp

        memory/1596-168-0x00000000050E0000-0x00000000050F0000-memory.dmp

        memory/1596-171-0x0000000006B50000-0x0000000006B5A000-memory.dmp

        memory/1596-172-0x0000000006BC0000-0x0000000006C10000-memory.dmp

        memory/1596-173-0x0000000006DE0000-0x0000000006FA2000-memory.dmp

        memory/3044-136-0x00000000056B0000-0x00000000056D2000-memory.dmp

        memory/3044-133-0x0000000000040000-0x00000000001F2000-memory.dmp

        memory/3044-135-0x0000000004B10000-0x0000000004B20000-memory.dmp

        memory/3044-134-0x0000000004A10000-0x0000000004A4C000-memory.dmp

        memory/3044-156-0x0000000004B10000-0x0000000004B20000-memory.dmp