Analysis

  • max time kernel
    130s
  • 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
    17/03/2023, 09:21

General

  • Target
    0e62cc35e2e3e587f0ccba39e1cb502e.exe
  • Size 3.8MB
  • Sample230317-lbbqaafd43
  • 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\0e62cc35e2e3e587f0ccba39e1cb502e.exe
    "C:\Users\Admin\AppData\Local\Temp\0e62cc35e2e3e587f0ccba39e1cb502e.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:2504
    • 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:4804
    • C:\Users\Admin\AppData\Local\Temp\0e62cc35e2e3e587f0ccba39e1cb502e.exe
      C:\Users\Admin\AppData\Local\Temp\0e62cc35e2e3e587f0ccba39e1cb502e.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:3244

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        0e62cc35e2e3e587f0ccba39e1cb502e.exe.log

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

        __PSScriptPolicyTest_dv1ke4v5.uce.ps1

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

        memory/2504-133-0x0000000000670000-0x0000000000A38000-memory.dmp

        memory/2504-155-0x00000000053D0000-0x00000000053E0000-memory.dmp

        memory/2504-135-0x00000000053D0000-0x00000000053E0000-memory.dmp

        memory/2504-134-0x0000000005780000-0x00000000057A2000-memory.dmp

        memory/3244-173-0x0000000005B80000-0x0000000005B90000-memory.dmp

        memory/3244-172-0x00000000078B0000-0x0000000007A72000-memory.dmp

        memory/3244-171-0x0000000007690000-0x00000000076E0000-memory.dmp

        memory/3244-170-0x00000000075E0000-0x00000000075EA000-memory.dmp

        memory/3244-169-0x0000000007400000-0x0000000007492000-memory.dmp

        memory/3244-167-0x0000000005B80000-0x0000000005B90000-memory.dmp

        memory/3244-166-0x0000000005FC0000-0x0000000006564000-memory.dmp

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

        memory/4804-139-0x0000000002A10000-0x0000000002A20000-memory.dmp

        memory/4804-156-0x0000000002A10000-0x0000000002A20000-memory.dmp

        memory/4804-157-0x0000000002A10000-0x0000000002A20000-memory.dmp

        memory/4804-158-0x0000000002A10000-0x0000000002A20000-memory.dmp

        memory/4804-154-0x0000000002A10000-0x0000000002A20000-memory.dmp

        memory/4804-153-0x0000000006380000-0x000000000639A000-memory.dmp

        memory/4804-152-0x0000000007780000-0x0000000007DFA000-memory.dmp

        memory/4804-151-0x0000000005F20000-0x0000000005F3E000-memory.dmp

        memory/4804-141-0x0000000004C20000-0x0000000004C86000-memory.dmp

        memory/4804-140-0x0000000005840000-0x00000000058A6000-memory.dmp

        memory/4804-138-0x0000000002A10000-0x0000000002A20000-memory.dmp

        memory/4804-137-0x00000000050C0000-0x00000000056E8000-memory.dmp

        memory/4804-136-0x00000000028B0000-0x00000000028E6000-memory.dmp