Analysis

  • max time kernel
    67s
  • max time network
    126s
  • platform
    windows7_x64
  • resource
    win7v20210410
  • submitted
    22-07-2021 19:01

General

  • Target

    QYD Quotation 20210702.exe

  • Size

    1.1MB

  • MD5

    494fc5838b2ff1381ab5d806cf7820a2

  • SHA1

    d7ec8bb026fe526535ed556936ec057409fb00fa

  • SHA256

    e58284d351b21f134a31fdccd3e53f952133f671892da8a86347d7b930399f28

  • SHA512

    1c18d8524f0aecd4b4dfb2518de69c94362c23c60b3bc2e7229e6b06a9ed6e559212d97f740f4675c028cc5c5f9ab12b51d21589a42656232e207d2866120821

Malware Config

Extracted

Credentials

  • Protocol:
    smtp
  • Host:
    mail.thts.vn
  • Port:
    25
  • Username:
    sales01@mtlvn.com.vn
  • Password:
    123luongngan1989

Extracted

Family

matiex

Credentials

  • Protocol:
    smtp
  • Host:
    mail.thts.vn
  • Port:
    25
  • Username:
    sales01@mtlvn.com.vn
  • Password:
    123luongngan1989

Signatures

  • Matiex

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

  • Matiex Main Payload 3 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 system certificate store 2 TTPs 2 IoCs
  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious behavior: RenamesItself 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 21 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 behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1872
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\DQuUJXrfqT" /XML "C:\Users\Admin\AppData\Local\Temp\tmpAC08.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1652
    • C:\Users\Admin\AppData\Local\Temp\QYD Quotation 20210702.exe
      "{path}"
      2⤵
        PID:1056
      • C:\Users\Admin\AppData\Local\Temp\QYD Quotation 20210702.exe
        "{path}"
        2⤵
        • Modifies system certificate store
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious behavior: RenamesItself
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:340
        • C:\Windows\SysWOW64\netsh.exe
          "netsh" wlan show profile
          3⤵
            PID:1532

      Network

      MITRE ATT&CK Matrix ATT&CK v6

      Execution

      Scheduled Task

      1
      T1053

      Persistence

      Scheduled Task

      1
      T1053

      Privilege Escalation

      Scheduled Task

      1
      T1053

      Defense Evasion

      Install Root Certificate

      1
      T1130

      Modify Registry

      1
      T1112

      Credential Access

      Credentials in Files

      2
      T1081

      Discovery

      System Information Discovery

      1
      T1082

      Collection

      Data from Local System

      2
      T1005

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\tmpAC08.tmp
        MD5

        506ffc1b90f51f0612daf501d0e38077

        SHA1

        33127a3197685752ed8e32c7fbef1c12e952f3c6

        SHA256

        670f5c9f27accf4bdaf4cbbc23116a649fdc81ed0da456e20b0bc285754a7f38

        SHA512

        93647008e43f34d55c0e10e6527b84e042942772a76691246bc21047fb87e7d5f66b85e2e25f39b7962de973656521d43f86d9a79ea5e387fc65ba922221ed2e

      • memory/340-70-0x0000000000400000-0x0000000000474000-memory.dmp
        Filesize

        464KB

      • memory/340-68-0x0000000000400000-0x0000000000474000-memory.dmp
        Filesize

        464KB

      • memory/340-69-0x000000000046E07E-mapping.dmp
      • memory/340-72-0x0000000000DD0000-0x0000000000DD1000-memory.dmp
        Filesize

        4KB

      • memory/1532-73-0x0000000000000000-mapping.dmp
      • memory/1532-74-0x0000000075631000-0x0000000075633000-memory.dmp
        Filesize

        8KB

      • memory/1652-66-0x0000000000000000-mapping.dmp
      • memory/1872-63-0x00000000004F0000-0x00000000004F2000-memory.dmp
        Filesize

        8KB

      • memory/1872-64-0x0000000005E40000-0x0000000005EF6000-memory.dmp
        Filesize

        728KB

      • memory/1872-65-0x0000000007F10000-0x0000000007FBA000-memory.dmp
        Filesize

        680KB

      • memory/1872-62-0x0000000004E30000-0x0000000004E31000-memory.dmp
        Filesize

        4KB

      • memory/1872-60-0x0000000000E20000-0x0000000000E21000-memory.dmp
        Filesize

        4KB