Analysis

  • max time kernel
    120s
  • max time network
    126s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    14-05-2024 01:40

General

  • Target

    c0f72ab29ef52bcaec56b606ebd53b6e19f8ea5d36a071e7985ba77f0ebd95b2.exe

  • Size

    245KB

  • MD5

    4e59411c1f579d35eaf5cb4582445d0b

  • SHA1

    e0f726787f161090f05057dd26263b02c652fcee

  • SHA256

    c0f72ab29ef52bcaec56b606ebd53b6e19f8ea5d36a071e7985ba77f0ebd95b2

  • SHA512

    19dde11d4f1c2ac75e85fdda9e7eef24e89f73eacf9314adf5533f533a79ef45de856f08d04e580c42a5e29484a3eee2d77b69bd5592b08ee7a4a7be926ad065

  • SSDEEP

    3072:np6d0SCBM+0sr5h5gVBqHWniEHcsQh6WdNUhjVI8l+X1845b46DsFG+if:0H8512UfnUI1jtf

Malware Config

Extracted

Family

agenttesla

C2

https://api.telegram.org/bot1263338506:AAEo1afaqZcanZqwKGJF2HA7xr6YOHyXHtU/

Signatures

  • AgentTesla

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

  • Detect ZGRat V1 36 IoCs
  • ZGRat

    ZGRat is remote access trojan written in C#.

  • Downloads MZ/PE file
  • Executes dropped EXE 2 IoCs
  • Loads dropped DLL 2 IoCs
  • Reads WinSCP keys stored on the system 2 TTPs

    Tries to access WinSCP stored sessions.

  • 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 41 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 2 IoCs
  • Suspicious behavior: EnumeratesProcesses 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 22 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\c0f72ab29ef52bcaec56b606ebd53b6e19f8ea5d36a071e7985ba77f0ebd95b2.exe
    "C:\Users\Admin\AppData\Local\Temp\c0f72ab29ef52bcaec56b606ebd53b6e19f8ea5d36a071e7985ba77f0ebd95b2.exe"
    1⤵
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2172
    • C:\Users\Admin\AppData\Local\Temp\c0f72ab29ef52bcaec56b606ebd53b6e19f8ea5d36a071e7985ba77f0ebd95b2.exe
      "C:\Users\Admin\AppData\Local\Temp\c0f72ab29ef52bcaec56b606ebd53b6e19f8ea5d36a071e7985ba77f0ebd95b2.exe"
      2⤵
      • Loads dropped DLL
      • Accesses Microsoft Outlook profiles
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2896
      • C:\Users\Admin\AppData\Local\Temp\Lnhykkmpbs.exe
        "C:\Users\Admin\AppData\Local\Temp\Lnhykkmpbs.exe"
        3⤵
        • Executes dropped EXE
        • Loads dropped DLL
        • Adds Run key to start application
        • Suspicious use of SetThreadContext
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:5004
        • C:\Users\Admin\AppData\Local\Temp\Lnhykkmpbs.exe
          "C:\Users\Admin\AppData\Local\Temp\Lnhykkmpbs.exe"
          4⤵
          • Executes dropped EXE
          • Accesses Microsoft Outlook profiles
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of SetWindowsHookEx
          • outlook_office_path
          • outlook_win_path
          PID:3792

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\Wkvrtzpyj.tmpdb

    Filesize

    148KB

    MD5

    90a1d4b55edf36fa8b4cc6974ed7d4c4

    SHA1

    aba1b8d0e05421e7df5982899f626211c3c4b5c1

    SHA256

    7cf3e9e8619904e72ea6608cc43e9b6c9f8aa2af02476f60c2b3daf33075981c

    SHA512

    ea0838be754e1258c230111900c5937d2b0788f90bbf7c5f82b2ceda7868e50afb86c301f313267eaa912778da45755560b5434885521bf915967a7863922ae2

  • \??\c:\users\admin\appdata\roaming\notepad.exe

    Filesize

    2.3MB

    MD5

    bb8d4558592a47ef2088c26e3c7f764b

    SHA1

    d0c25d036545d043c004fd1adb33f5e50d9368d3

    SHA256

    f2f00756c0315cb96a3604641aab4c3903c894f51b3fd56a2d419433dd13ae5f

    SHA512

    f1836aaeec8c48e76ca738cbb437c00be8a504c801ef034174befc2de94a7c631850d7a447f359fccb6d55c32bfe79b9d6c95b5397a5707bc99aa82289a00587

  • \Users\Admin\AppData\Local\Temp\Lnhykkmpbs.exe

    Filesize

    2.3MB

    MD5

    b5b77f0c912f438cbc5142c42818fa29

    SHA1

    94b5df605f00d34581435e3ca10b47094e31c0ab

    SHA256

    ab3f0c321894430eed1ba65eca338a0471e18ba82cdd554084ed63f36ff91dce

    SHA512

    87a1fbb1b8187377997b219bf6b286102648ff913ab0d73c78c67bee443702e9824bc14e980a2d38e5ece9a1fccc6e134f5dfa6f2b9bd9604ccb0d140418424f

  • memory/2172-45-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-53-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-7-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-5-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-9-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-11-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-13-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-49-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-55-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-59-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-15-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-17-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-19-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-21-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-23-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-25-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-27-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-29-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-31-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-33-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-35-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-37-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-67-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-41-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-43-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-0-0x0000000074A4E000-0x0000000074A4F000-memory.dmp

    Filesize

    4KB

  • memory/2172-39-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-1-0x0000000000950000-0x0000000000990000-memory.dmp

    Filesize

    256KB

  • memory/2172-4-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-65-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-4886-0x0000000005760000-0x00000000057B4000-memory.dmp

    Filesize

    336KB

  • memory/2172-63-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-61-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-4885-0x00000000056D0000-0x000000000571C000-memory.dmp

    Filesize

    304KB

  • memory/2172-2-0x0000000074A40000-0x000000007512E000-memory.dmp

    Filesize

    6.9MB

  • memory/2172-4895-0x0000000074A40000-0x000000007512E000-memory.dmp

    Filesize

    6.9MB

  • memory/2172-57-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-4884-0x00000000061D0000-0x00000000062F8000-memory.dmp

    Filesize

    1.2MB

  • memory/2172-3-0x0000000007340000-0x000000000762A000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-47-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2172-51-0x0000000007340000-0x0000000007624000-memory.dmp

    Filesize

    2.9MB

  • memory/2896-4900-0x0000000000400000-0x00000000004D8000-memory.dmp

    Filesize

    864KB

  • memory/2896-7227-0x0000000074A40000-0x000000007512E000-memory.dmp

    Filesize

    6.9MB

  • memory/2896-7195-0x0000000004460000-0x00000000044D0000-memory.dmp

    Filesize

    448KB

  • memory/2896-7196-0x00000000008A0000-0x00000000008AA000-memory.dmp

    Filesize

    40KB

  • memory/2896-7197-0x0000000006310000-0x000000000638A000-memory.dmp

    Filesize

    488KB

  • memory/2896-7192-0x0000000074A40000-0x000000007512E000-memory.dmp

    Filesize

    6.9MB

  • memory/2896-7194-0x0000000002140000-0x00000000021DE000-memory.dmp

    Filesize

    632KB

  • memory/2896-7193-0x0000000074A40000-0x000000007512E000-memory.dmp

    Filesize

    6.9MB

  • memory/2896-4901-0x00000000048A0000-0x00000000049B6000-memory.dmp

    Filesize

    1.1MB

  • memory/2896-7235-0x0000000074A40000-0x000000007512E000-memory.dmp

    Filesize

    6.9MB

  • memory/3792-12134-0x0000000000400000-0x0000000000442000-memory.dmp

    Filesize

    264KB

  • memory/5004-7234-0x0000000001180000-0x00000000013D2000-memory.dmp

    Filesize

    2.3MB

  • memory/5004-7236-0x0000000004DD0000-0x0000000005000000-memory.dmp

    Filesize

    2.2MB

  • memory/5004-12117-0x0000000001040000-0x00000000010AC000-memory.dmp

    Filesize

    432KB