Analysis

  • max time kernel
    136s
  • max time network
    152s
  • platform
    windows10_x64
  • resource
    win10v20210410
  • submitted
    22/07/2021, 19:01

General

  • Target
    QYD Quotation 20210702.exe
  • Size 1.1MB
  • Sample210722-cednkm438e
  • SHA256 e58284d351b21f134a31fdccd3e53f952133f671892da8a86347d7b930399f28
  • MD5 SHA1 SHA512

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.thts.vn

  • Port

    25

  • Password

    123luongngan1989

Extracted

Family
  • matiex

Credentials
  • Protocol

    smtp

  • Host

    mail.thts.vn

  • Port

    25

  • Password

    123luongngan1989

Signatures

  • Matiex

    Matiex is a keylogger and infostealer first seen in July 2020.

  • Matiex Main Payload 2 IoCs
  • 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.

  • Looks up external IP address via web service 3 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.

  • Creates scheduled task(s) 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Modifies registry class 5 IoCs
  • Suspicious behavior: EnumeratesProcesses 1 IoCs
  • Suspicious behavior: RenamesItself 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\QYD Quotation 20210702.exe
    "C:\Users\Admin\AppData\Local\Temp\QYD Quotation 20210702.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3560
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\DQuUJXrfqT" /XML "C:\Users\Admin\AppData\Local\Temp\tmp8581.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2376
    • C:\Users\Admin\AppData\Local\Temp\QYD Quotation 20210702.exe
      "{path}"
      2⤵
      • Modifies registry class
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: RenamesItself
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:3956
      • C:\Windows\SysWOW64\netsh.exe
        "netsh" wlan show profile
        3⤵
          PID:1308

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          memory/3560-123-0x000000000ABE0000-0x000000000AC8A000-memory.dmp

          memory/3560-117-0x0000000004AB0000-0x0000000004AB1000-memory.dmp

          memory/3560-121-0x00000000080D0000-0x00000000080D1000-memory.dmp

          memory/3560-122-0x0000000006770000-0x0000000006826000-memory.dmp

          memory/3560-114-0x0000000000010000-0x0000000000011000-memory.dmp

          memory/3560-119-0x0000000004A10000-0x0000000004AA2000-memory.dmp

          memory/3560-118-0x0000000004C30000-0x0000000004C31000-memory.dmp

          memory/3560-120-0x0000000008020000-0x0000000008022000-memory.dmp

          memory/3560-116-0x0000000005060000-0x0000000005061000-memory.dmp

          memory/3956-126-0x0000000000400000-0x0000000000474000-memory.dmp

          memory/3956-133-0x0000000005840000-0x0000000005841000-memory.dmp

          memory/3956-134-0x0000000001970000-0x0000000001971000-memory.dmp

          memory/3956-136-0x0000000007200000-0x0000000007201000-memory.dmp