Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16/03/2023, 09:49

General

  • Target
    tmp.exe
  • Size 3.8MB
  • Sample230316-lthljsce4s
  • SHA256 462b121f72bc42fcefcfc67174e4de53083b977458c7ed3d4009eec6bddd3f1b
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot6186081135:AAE-pyeAPznTgw_kOutx39khc9POE425kWU/

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\tmp.exe
    "C:\Users\Admin\AppData\Local\Temp\tmp.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:648
    • 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:112
    • C:\Users\Admin\AppData\Local\Temp\tmp.exe
      C:\Users\Admin\AppData\Local\Temp\tmp.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:3952

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        tmp.exe.log

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

        __PSScriptPolicyTest_x4qc55n1.voh.ps1

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

        memory/112-153-0x00000000064D0000-0x00000000064EA000-memory.dmp

        memory/112-152-0x0000000007890000-0x0000000007F0A000-memory.dmp

        memory/112-137-0x0000000005130000-0x0000000005758000-memory.dmp

        memory/112-138-0x0000000005800000-0x0000000005866000-memory.dmp

        memory/112-139-0x0000000005920000-0x0000000005986000-memory.dmp

        memory/112-140-0x0000000004AF0000-0x0000000004B00000-memory.dmp

        memory/112-141-0x0000000004AF0000-0x0000000004B00000-memory.dmp

        memory/112-156-0x0000000004AF0000-0x0000000004B00000-memory.dmp

        memory/112-151-0x0000000005FE0000-0x0000000005FFE000-memory.dmp

        memory/112-158-0x0000000004AF0000-0x0000000004B00000-memory.dmp

        memory/112-157-0x0000000004AF0000-0x0000000004B00000-memory.dmp

        memory/112-154-0x0000000004AF0000-0x0000000004B00000-memory.dmp

        memory/112-136-0x0000000004A30000-0x0000000004A66000-memory.dmp

        memory/648-133-0x0000000000BC0000-0x0000000000F88000-memory.dmp

        memory/648-155-0x00000000058A0000-0x00000000058B0000-memory.dmp

        memory/648-134-0x00000000058A0000-0x00000000058B0000-memory.dmp

        memory/648-135-0x0000000005CD0000-0x0000000005CF2000-memory.dmp

        memory/3952-170-0x0000000005670000-0x0000000005680000-memory.dmp

        memory/3952-166-0x0000000005CB0000-0x0000000006254000-memory.dmp

        memory/3952-167-0x0000000005670000-0x0000000005680000-memory.dmp

        memory/3952-169-0x0000000006E50000-0x0000000006EE2000-memory.dmp

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

        memory/3952-171-0x0000000006EF0000-0x0000000006EFA000-memory.dmp

        memory/3952-172-0x00000000070A0000-0x00000000070F0000-memory.dmp

        memory/3952-173-0x0000000007330000-0x00000000074F2000-memory.dmp