Analysis

  • max time kernel
    151s
  • max time network
    154s
  • platform
    windows10_x64
  • resource
    win10-en-20210920
  • submitted
    03-10-2021 04:15

General

  • Target

    Ref 2998390020 purchasing inquiry.exe

  • Size

    442KB

  • MD5

    4db15735772716ead8b0a838c67f91c6

  • SHA1

    e7770b8a8d3d092f3bd38de265890f6cf17d1406

  • SHA256

    5d65c8c1dbe91d020fe6dfefe37ef17651aaead257fdd7f24aa08b9a38cbb8fc

  • SHA512

    38f0d118a3dfdb2ca0a0fd64b23cde9cdd76c410b85fa1f69dd164b121a25c213ea5dff75a7ab658c57cd5b7822cc16f7e19bcdeb63d202271065147cb22cc4c

Malware Config

Extracted

Credentials

  • Protocol:
    smtp
  • Host:
    mail.thts.vn
  • Port:
    25
  • Username:
    [email protected]
  • Password:
    123luongngan1989

Extracted

Family

matiex

Credentials

  • Protocol:
    smtp
  • Host:
    mail.thts.vn
  • Port:
    25
  • Username:
    [email protected]
  • Password:
    123luongngan1989

Signatures

  • Matiex

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

  • Matiex Main Payload 2 IoCs
  • Drops startup file 1 IoCs
  • 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.

  • 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 64 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Ref 2998390020 purchasing inquiry.exe
    "C:\Users\Admin\AppData\Local\Temp\Ref 2998390020 purchasing inquiry.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:3696
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\vDOhzfeKq" /XML "C:\Users\Admin\AppData\Local\Temp\tmp1ADC.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4256
    • C:\Users\Admin\AppData\Local\Temp\Ref 2998390020 purchasing inquiry.exe
      "C:\Users\Admin\AppData\Local\Temp\Ref 2998390020 purchasing inquiry.exe"
      2⤵
      • Drops startup file
      • Modifies registry class
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:4284
      • C:\Windows\SysWOW64\netsh.exe
        "netsh" wlan show profile
        3⤵
          PID:4324

    Network

    MITRE ATT&CK Enterprise v6

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • memory/3696-124-0x0000000007D10000-0x0000000007D85000-memory.dmp

      Filesize

      468KB

    • memory/3696-122-0x0000000005780000-0x0000000005786000-memory.dmp

      Filesize

      24KB

    • memory/3696-118-0x00000000052D0000-0x00000000052D1000-memory.dmp

      Filesize

      4KB

    • memory/3696-119-0x0000000005290000-0x0000000005291000-memory.dmp

      Filesize

      4KB

    • memory/3696-115-0x00000000009E0000-0x00000000009E1000-memory.dmp

      Filesize

      4KB

    • memory/3696-121-0x00000000077C0000-0x00000000077C1000-memory.dmp

      Filesize

      4KB

    • memory/3696-117-0x00000000057D0000-0x00000000057D1000-memory.dmp

      Filesize

      4KB

    • memory/3696-123-0x0000000007CB0000-0x0000000007D0A000-memory.dmp

      Filesize

      360KB

    • memory/3696-120-0x00000000052D0000-0x00000000057CE000-memory.dmp

      Filesize

      5.0MB

    • memory/4256-125-0x0000000000000000-mapping.dmp

    • memory/4284-126-0x0000000000400000-0x0000000000478000-memory.dmp

      Filesize

      480KB

    • memory/4284-127-0x0000000000472BFE-mapping.dmp

    • memory/4284-131-0x0000000004FF0000-0x0000000004FF1000-memory.dmp

      Filesize

      4KB

    • memory/4284-132-0x0000000005290000-0x0000000005291000-memory.dmp

      Filesize

      4KB

    • memory/4284-137-0x0000000006E30000-0x0000000006E31000-memory.dmp

      Filesize

      4KB

    • memory/4324-136-0x0000000000000000-mapping.dmp