Analysis

  • max time kernel
    151s
  • max time network
    124s
  • platform
    windows10_x64
  • resource
    win10v20210408
  • submitted
    03-10-2021 09:00

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 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:664
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\vDOhzfeKq" /XML "C:\Users\Admin\AppData\Local\Temp\tmp2ED6.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:3980
    • 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 use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:3756
      • C:\Windows\SysWOW64\netsh.exe
        "netsh" wlan show profile
        3⤵
          PID:740

    Network

    MITRE ATT&CK Enterprise v6

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • memory/664-123-0x0000000007DC0000-0x0000000007E35000-memory.dmp

      Filesize

      468KB

    • memory/664-121-0x0000000007780000-0x0000000007786000-memory.dmp

      Filesize

      24KB

    • memory/664-117-0x0000000005230000-0x0000000005231000-memory.dmp

      Filesize

      4KB

    • memory/664-118-0x0000000005340000-0x000000000583E000-memory.dmp

      Filesize

      5.0MB

    • memory/664-114-0x0000000000850000-0x0000000000851000-memory.dmp

      Filesize

      4KB

    • memory/664-120-0x0000000007810000-0x0000000007811000-memory.dmp

      Filesize

      4KB

    • memory/664-116-0x0000000005840000-0x0000000005841000-memory.dmp

      Filesize

      4KB

    • memory/664-122-0x0000000007D40000-0x0000000007D9A000-memory.dmp

      Filesize

      360KB

    • memory/664-119-0x00000000052F0000-0x00000000052F1000-memory.dmp

      Filesize

      4KB

    • memory/740-135-0x0000000000000000-mapping.dmp

    • memory/3756-125-0x0000000000400000-0x0000000000478000-memory.dmp

      Filesize

      480KB

    • memory/3756-126-0x0000000000472BFE-mapping.dmp

    • memory/3756-130-0x0000000005660000-0x0000000005661000-memory.dmp

      Filesize

      4KB

    • memory/3756-131-0x0000000005850000-0x0000000005851000-memory.dmp

      Filesize

      4KB

    • memory/3756-136-0x00000000073F0000-0x00000000073F1000-memory.dmp

      Filesize

      4KB

    • memory/3980-124-0x0000000000000000-mapping.dmp