Analysis

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

    arch:x64arch:x86image:win10v2004-20240419-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08-05-2024 13:17

General

  • Target

    39f92d713caf05bf9043db2649aea9d2df4bd03e139c09a8e68dfca21d545f4a.exe

  • Size

    145KB

  • MD5

    115b5aae8c9a24258d28bfb74f638ac8

  • SHA1

    3265a76ab3e92e5d77336427f3d6892fcb0d9cf7

  • SHA256

    39f92d713caf05bf9043db2649aea9d2df4bd03e139c09a8e68dfca21d545f4a

  • SHA512

    2a8237a4b0f8dfcd6bce208a8b9a096f32edfe8de71ceb35e8bd842ffcc22dceae723c5270e766ab9f10f27e288344dd70d7f66b841cb828d21dcb313d8d058a

  • SSDEEP

    1536:PezR1zewFnNK7GRvKVnnatIl6X0QnX3OON8UbBGk0:PI1zDFMQvynnatC6dW2h0

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
  • 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 48 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 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 19 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\39f92d713caf05bf9043db2649aea9d2df4bd03e139c09a8e68dfca21d545f4a.exe
    "C:\Users\Admin\AppData\Local\Temp\39f92d713caf05bf9043db2649aea9d2df4bd03e139c09a8e68dfca21d545f4a.exe"
    1⤵
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1132
    • C:\Users\Admin\AppData\Local\Temp\39f92d713caf05bf9043db2649aea9d2df4bd03e139c09a8e68dfca21d545f4a.exe
      "C:\Users\Admin\AppData\Local\Temp\39f92d713caf05bf9043db2649aea9d2df4bd03e139c09a8e68dfca21d545f4a.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1036
      • C:\Users\Admin\AppData\Local\Temp\Mzknyiilzkh.exe
        "C:\Users\Admin\AppData\Local\Temp\Mzknyiilzkh.exe"
        3⤵
        • Executes dropped EXE
        • 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\Mzknyiilzkh.exe
          "C:\Users\Admin\AppData\Local\Temp\Mzknyiilzkh.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:264

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\39f92d713caf05bf9043db2649aea9d2df4bd03e139c09a8e68dfca21d545f4a.exe.log

    Filesize

    1KB

    MD5

    f3eb81974dc5933681e933f07209ff5f

    SHA1

    7af8cae0f1d03e82daaf784df9886705685baac7

    SHA256

    e82069884dd428bd6a1c67fe00c5fa56f9c4d62b538b694694a699588f1f4ab2

    SHA512

    d9aa3871dffb76c8a73a7940fa03bbc9b65cf575cbd07f7c1fbf490cb0f3d670415eaef0bf79e34689f61ab3cdfbb104efdef004becc12e54b501f02f948aaff

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\Mzknyiilzkh.exe.log

    Filesize

    805B

    MD5

    58a9108e39c2ea50e65c23be3a9407cf

    SHA1

    fb21f7b9330aa1a77080a3243b81b49035102d7b

    SHA256

    6049be83020702896a539b5c8c13270add224d7b91b3ee0bebc328791b74a84b

    SHA512

    93804ee8a4560503e47c07f5fa4a959e23355a01aba406c103d339debc9b2b1d20a345cdbb8d8069dac97b9151f228cf559ac3dde1500e3484fba1a4126842bf

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

    Filesize

    124KB

    MD5

    9618e15b04a4ddb39ed6c496575f6f95

    SHA1

    1c28f8750e5555776b3c80b187c5d15a443a7412

    SHA256

    a4cd72e529e60b5f74c50e4e5b159efaf80625f23534dd15a28203760b8b28ab

    SHA512

    f802582aa7510f6b950e3343b0560ffa9037c6d22373a6a33513637ab0f8e60ed23294a13ad8890935b02c64830b5232ba9f60d0c0fe90df02b5da30ecd7fa26

  • C:\Users\Admin\AppData\Local\Temp\Mzknyiilzkh.exe

    Filesize

    2.3MB

    MD5

    b5b77f0c912f438cbc5142c42818fa29

    SHA1

    94b5df605f00d34581435e3ca10b47094e31c0ab

    SHA256

    ab3f0c321894430eed1ba65eca338a0471e18ba82cdd554084ed63f36ff91dce

    SHA512

    87a1fbb1b8187377997b219bf6b286102648ff913ab0d73c78c67bee443702e9824bc14e980a2d38e5ece9a1fccc6e134f5dfa6f2b9bd9604ccb0d140418424f

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

    Filesize

    160KB

    MD5

    f310cf1ff562ae14449e0167a3e1fe46

    SHA1

    85c58afa9049467031c6c2b17f5c12ca73bb2788

    SHA256

    e187946249cd390a3c1cf5d4e3b0d8f554f9acdc416bf4e7111fff217bb08855

    SHA512

    1196371de08c964268c44103ccaed530bda6a145df98e0f480d8ee5ad58cb6fb33ca4c9195a52181fe864726dcf52e6a7a466d693af0cda43400a3a7ef125fad

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

    Filesize

    145KB

    MD5

    115b5aae8c9a24258d28bfb74f638ac8

    SHA1

    3265a76ab3e92e5d77336427f3d6892fcb0d9cf7

    SHA256

    39f92d713caf05bf9043db2649aea9d2df4bd03e139c09a8e68dfca21d545f4a

    SHA512

    2a8237a4b0f8dfcd6bce208a8b9a096f32edfe8de71ceb35e8bd842ffcc22dceae723c5270e766ab9f10f27e288344dd70d7f66b841cb828d21dcb313d8d058a

  • memory/264-12146-0x0000000006FB0000-0x0000000007000000-memory.dmp

    Filesize

    320KB

  • memory/264-12145-0x0000000000400000-0x0000000000442000-memory.dmp

    Filesize

    264KB

  • memory/264-12147-0x00000000070A0000-0x000000000713C000-memory.dmp

    Filesize

    624KB

  • memory/264-12148-0x0000000007190000-0x000000000719A000-memory.dmp

    Filesize

    40KB

  • memory/1036-7194-0x0000000006730000-0x00000000067AA000-memory.dmp

    Filesize

    488KB

  • memory/1036-4895-0x0000000000600000-0x00000000006D8000-memory.dmp

    Filesize

    864KB

  • memory/1036-7193-0x0000000005750000-0x00000000057B6000-memory.dmp

    Filesize

    408KB

  • memory/1036-7192-0x0000000005540000-0x000000000554A000-memory.dmp

    Filesize

    40KB

  • memory/1036-7191-0x00000000050B0000-0x0000000005120000-memory.dmp

    Filesize

    448KB

  • memory/1036-7190-0x0000000004D50000-0x0000000004DEE000-memory.dmp

    Filesize

    632KB

  • memory/1036-7252-0x0000000074AD0000-0x0000000075280000-memory.dmp

    Filesize

    7.7MB

  • memory/1036-4910-0x0000000074AD0000-0x0000000075280000-memory.dmp

    Filesize

    7.7MB

  • memory/1036-4897-0x0000000004BD0000-0x0000000004CE6000-memory.dmp

    Filesize

    1.1MB

  • memory/1036-4898-0x0000000074AD0000-0x0000000075280000-memory.dmp

    Filesize

    7.7MB

  • memory/1132-30-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-26-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-18-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-10-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-8-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-7-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-64-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-46-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-62-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-60-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-58-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-56-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-54-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-52-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-50-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-48-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-44-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-70-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-68-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-66-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-4887-0x0000000074AD0000-0x0000000075280000-memory.dmp

    Filesize

    7.7MB

  • memory/1132-4889-0x0000000001130000-0x000000000117C000-memory.dmp

    Filesize

    304KB

  • memory/1132-4888-0x0000000005B40000-0x0000000005C68000-memory.dmp

    Filesize

    1.2MB

  • memory/1132-4890-0x0000000002C20000-0x0000000002C74000-memory.dmp

    Filesize

    336KB

  • memory/1132-23-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-20-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-0-0x0000000074ADE000-0x0000000074ADF000-memory.dmp

    Filesize

    4KB

  • memory/1132-32-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-4896-0x0000000074AD0000-0x0000000075280000-memory.dmp

    Filesize

    7.7MB

  • memory/1132-34-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-38-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-40-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-42-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-36-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-28-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-24-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-14-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-1-0x0000000000980000-0x00000000009A6000-memory.dmp

    Filesize

    152KB

  • memory/1132-16-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-12-0x0000000007780000-0x0000000007A66000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-2-0x0000000074AD0000-0x0000000075280000-memory.dmp

    Filesize

    7.7MB

  • memory/1132-3-0x0000000005320000-0x0000000005326000-memory.dmp

    Filesize

    24KB

  • memory/1132-4-0x0000000007780000-0x0000000007A6C000-memory.dmp

    Filesize

    2.9MB

  • memory/1132-5-0x0000000008020000-0x00000000085C4000-memory.dmp

    Filesize

    5.6MB

  • memory/1132-6-0x0000000007C40000-0x0000000007CD2000-memory.dmp

    Filesize

    584KB

  • memory/2172-12137-0x00000000060C0000-0x000000000612C000-memory.dmp

    Filesize

    432KB

  • memory/2172-12136-0x0000000074AD0000-0x0000000075280000-memory.dmp

    Filesize

    7.7MB

  • memory/2172-12144-0x0000000074AD0000-0x0000000075280000-memory.dmp

    Filesize

    7.7MB

  • memory/2172-12135-0x0000000074AD0000-0x0000000075280000-memory.dmp

    Filesize

    7.7MB

  • memory/2172-7254-0x0000000005AF0000-0x0000000005D20000-memory.dmp

    Filesize

    2.2MB

  • memory/2172-7253-0x0000000074AD0000-0x0000000075280000-memory.dmp

    Filesize

    7.7MB

  • memory/2172-7251-0x0000000000EE0000-0x0000000001132000-memory.dmp

    Filesize

    2.3MB