Analysis

  • max time kernel
    103s
  • max time network
    125s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    21-05-2022 10:29

General

  • Target

    Payment receipt.exe

  • Size

    128KB

  • MD5

    497856229ec8ae87bda86469bf72ef64

  • SHA1

    844329ce2db6a3a6929719f27766474f77c7d047

  • SHA256

    b8888ca416fcb0b2fa48e131a3fbadf177ed9f26528d620ff1df804f17ea8c64

  • SHA512

    6cadd85b8a3cdb42b202ff45d198b1ef7b73d1ba4a3d612066be3ee95999d49d46b699f6d073bb143cdd8b3f4d89144c3528b3ad7f788f74abeed846945e932f

Malware Config

Extracted

Family

matiex

Credentials

  • Protocol:
    smtp
  • Host:
    SMTP.privateemail.com
  • Port:
    587
  • Username:
    mentorloz@returntolz.com
  • Password:
    Aboki@1234

Signatures

  • Matiex

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

  • Matiex Main Payload 1 IoCs
  • Modifies WinLogon for persistence 2 TTPs 1 IoCs
  • Drops startup file 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.

  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • Adds Run key to start application 2 TTPs 1 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 1 IoCs
  • Program crash 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 50 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 8 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Payment receipt.exe
    "C:\Users\Admin\AppData\Local\Temp\Payment receipt.exe"
    1⤵
    • Modifies WinLogon for persistence
    • Drops startup file
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1092
    • C:\Users\Admin\AppData\Local\Temp\Payment receipt.exe
      "C:\Users\Admin\AppData\Local\Temp\Payment receipt.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious use of AdjustPrivilegeToken
      • outlook_office_path
      • outlook_win_path
      PID:3308
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -u -p 3308 -s 1716
        3⤵
        • Program crash
        PID:772
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3308 -ip 3308
    1⤵
      PID:980

    Network

    MITRE ATT&CK Matrix ATT&CK v6

    Persistence

    Winlogon Helper DLL

    1
    T1004

    Registry Run Keys / Startup Folder

    1
    T1060

    Defense Evasion

    Modify Registry

    2
    T1112

    Credential Access

    Credentials in Files

    2
    T1081

    Collection

    Data from Local System

    2
    T1005

    Email Collection

    1
    T1114

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • memory/1092-130-0x00000000007D0000-0x00000000007F4000-memory.dmp
      Filesize

      144KB

    • memory/1092-131-0x00000000051D0000-0x000000000526C000-memory.dmp
      Filesize

      624KB

    • memory/1092-132-0x0000000005AD0000-0x0000000006074000-memory.dmp
      Filesize

      5.6MB

    • memory/3308-133-0x0000000000000000-mapping.dmp
    • memory/3308-134-0x0000000000400000-0x0000000000470000-memory.dmp
      Filesize

      448KB

    • memory/3308-135-0x0000000005480000-0x00000000054E6000-memory.dmp
      Filesize

      408KB

    • memory/3308-136-0x0000000006880000-0x0000000006A42000-memory.dmp
      Filesize

      1.8MB