Analysis

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

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23/12/2022, 04:26

General

  • Target
    Halkbank_Ekstre_20221222_073809_405251-PDF.exe
  • Size 1.4MB
  • Sample221223-e2ljvaba3x
  • SHA256 5c3db7a9aefc84e986c525b61473a8a9cca36afa979935fb66cb34f32f7d204e
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot5471845965:AAGz3YmV7VKz4xbC6JZYPs8qHf8J8palMmQ/

Extracted

Family
  • netwire

C2
  • reportss.duckdns.org:4411

Attributes
  • activex_autorun

    false

  • copy_executable

    false

  • delete_original

    false

  • host_id

    HostId-%Rand%

  • lock_executable

    false

  • offline_keylogger

    false

  • password

    Password

  • registry_autorun

    false

  • use_mutex

    false

Signatures

  • AgentTesla

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

  • NetWire RAT payload 4 IoCs
  • Netwire

    Netwire is a RAT with main functionalities focused password stealing and keylogging, but also includes remote control capabilities as well.

  • Downloads MZ/PE file
  • Executes dropped EXE 2 IoCs
  • Checks computer location settings 2 TTPs 2 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 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 2 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 16 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 33 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Halkbank_Ekstre_20221222_073809_405251-PDF.exe
    "C:\Users\Admin\AppData\Local\Temp\Halkbank_Ekstre_20221222_073809_405251-PDF.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4868
    • C:\Users\Admin\AppData\Local\Temp\windows.exe
      "C:\Users\Admin\AppData\Local\Temp\windows.exe"
      2⤵
      • Executes dropped EXE
      • Checks computer location settings
      • Suspicious use of SetThreadContext
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2596
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\maoRbYnmvKNp.exe"
        3⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3444
      • C:\Windows\SysWOW64\schtasks.exe
        "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\maoRbYnmvKNp" /XML "C:\Users\Admin\AppData\Local\Temp\tmp848.tmp"
        3⤵
        • Creates scheduled task(s)
        PID:4448
      • C:\Users\Admin\AppData\Local\Temp\windows.exe
        "C:\Users\Admin\AppData\Local\Temp\windows.exe"
        3⤵
        • Executes dropped EXE
        PID:2828
    • C:\Users\Admin\AppData\Local\Temp\Halkbank_Ekstre_20221222_073809_405251-PDF.exe
      "C:\Users\Admin\AppData\Local\Temp\Halkbank_Ekstre_20221222_073809_405251-PDF.exe"
      2⤵
        PID:1840
      • C:\Users\Admin\AppData\Local\Temp\Halkbank_Ekstre_20221222_073809_405251-PDF.exe
        "C:\Users\Admin\AppData\Local\Temp\Halkbank_Ekstre_20221222_073809_405251-PDF.exe"
        2⤵
          PID:4816
        • C:\Users\Admin\AppData\Local\Temp\Halkbank_Ekstre_20221222_073809_405251-PDF.exe
          "C:\Users\Admin\AppData\Local\Temp\Halkbank_Ekstre_20221222_073809_405251-PDF.exe"
          2⤵
          • Accesses Microsoft Outlook profiles
          • Adds Run key to start application
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of SetWindowsHookEx
          • outlook_office_path
          • outlook_win_path
          PID:3796

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            tmp848.tmp

            • Path C:\Users\Admin\AppData\Local\Temp\tmp848.tmp
            • Size 1KB
            • SHA256 9b6068d0b1f5ff6c1ab5f7e946d6fac6599fe7d64c863a0ebedbc417c5d65e04
            • MD5 SHA1 SHA512

            windows.exe

            • Path C:\Users\Admin\AppData\Local\Temp\windows.exe
            • Size 1.1MB
            • SHA256 99e8dfa23cef1d5d67c765df3de3bc6e750a2d8fa4628a9442d08fc40aaaa656
            • MD5 SHA1 SHA512 SSDEEP

            windows.exe

            • Path C:\Users\Admin\AppData\Local\Temp\windows.exe
            • Size 1.1MB
            • SHA256 99e8dfa23cef1d5d67c765df3de3bc6e750a2d8fa4628a9442d08fc40aaaa656
            • MD5 SHA1 SHA512 SSDEEP

            windows.exe

            • Path C:\Users\Admin\AppData\Local\Temp\windows.exe
            • Size 1.1MB
            • SHA256 99e8dfa23cef1d5d67c765df3de3bc6e750a2d8fa4628a9442d08fc40aaaa656
            • MD5 SHA1 SHA512 SSDEEP

            memory/2596-141-0x0000000000520000-0x000000000063C000-memory.dmp

            memory/2828-159-0x0000000000400000-0x0000000000450000-memory.dmp

            memory/2828-156-0x0000000000400000-0x0000000000450000-memory.dmp

            memory/2828-155-0x0000000000400000-0x0000000000450000-memory.dmp

            memory/2828-153-0x0000000000400000-0x0000000000450000-memory.dmp

            memory/3444-166-0x0000000007860000-0x000000000786A000-memory.dmp

            memory/3444-152-0x0000000005630000-0x0000000005C58000-memory.dmp

            memory/3444-165-0x00000000077F0000-0x000000000780A000-memory.dmp

            memory/3444-163-0x0000000006A80000-0x0000000006A9E000-memory.dmp

            memory/3444-149-0x0000000002BE0000-0x0000000002C16000-memory.dmp

            memory/3444-162-0x0000000070980000-0x00000000709CC000-memory.dmp

            memory/3444-164-0x0000000007E30000-0x00000000084AA000-memory.dmp

            memory/3444-160-0x00000000064F0000-0x000000000650E000-memory.dmp

            memory/3444-167-0x0000000007A70000-0x0000000007B06000-memory.dmp

            memory/3444-161-0x0000000006AC0000-0x0000000006AF2000-memory.dmp

            memory/3444-168-0x0000000007A20000-0x0000000007A2E000-memory.dmp

            memory/3444-169-0x0000000007B30000-0x0000000007B4A000-memory.dmp

            memory/3444-157-0x0000000005420000-0x0000000005442000-memory.dmp

            memory/3444-170-0x0000000007B10000-0x0000000007B18000-memory.dmp

            memory/3444-158-0x00000000055C0000-0x0000000005626000-memory.dmp

            memory/3796-146-0x0000000007110000-0x0000000007160000-memory.dmp

            memory/3796-145-0x00000000063F0000-0x0000000006456000-memory.dmp

            memory/3796-144-0x0000000000400000-0x0000000000438000-memory.dmp

            memory/4868-133-0x0000000005910000-0x0000000005EB4000-memory.dmp

            memory/4868-134-0x0000000005400000-0x0000000005492000-memory.dmp

            memory/4868-132-0x0000000000840000-0x00000000009B0000-memory.dmp

            memory/4868-135-0x0000000005340000-0x000000000534A000-memory.dmp

            memory/4868-136-0x0000000007DF0000-0x0000000007E8C000-memory.dmp