Analysis

  • max time kernel
    136s
  • max time network
    149s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    21-05-2022 12:41

General

  • Target

    TNT E-Invoice Cosignment Delivery Notification_pdf.exe

  • Size

    1.1MB

  • MD5

    22e5a3e8fb401981cfdb4bc0c9235e7d

  • SHA1

    5a371efcb5183f96f96082b5fefec1e05b84c21f

  • SHA256

    b0dd472a02ed67fe15e20e2faa6167d8c1e9d54c9f0abc95a255197bbf0c0264

  • SHA512

    d787f86a0ef8da1f29ea3accc3871fd3e78d9f09dccafe58cf13dbbc2a5a19cdfd22001e0417301b9401f6bea79d68c40119aba5a29db9e931ea98e2d294dba3

Malware Config

Extracted

Family

matiex

Credentials

  • Protocol:
    smtp
  • Host:
    mail.pkbsl.com
  • Port:
    587
  • Username:
    rehan.aziz@pkbsl.com
  • Password:
    Bsl123Bsl123Bsl
  • Email To:
    dothedoung@yahoo.com

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
  • 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 3 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 use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 8 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\TNT E-Invoice Cosignment Delivery Notification_pdf.exe
    "C:\Users\Admin\AppData\Local\Temp\TNT E-Invoice Cosignment Delivery Notification_pdf.exe"
    1⤵
    • Modifies WinLogon for persistence
    • Drops startup file
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:2744
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\caspol.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\caspol.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious use of AdjustPrivilegeToken
      • outlook_office_path
      • outlook_win_path
      PID:3124
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -u -p 3124 -s 2108
        3⤵
        • Program crash
        PID:4184
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 3124 -ip 3124
    1⤵
      PID:2684

    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

    Collection

    Email Collection

    1
    T1114

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • memory/2744-130-0x0000000000050000-0x0000000000168000-memory.dmp
      Filesize

      1.1MB

    • memory/2744-131-0x0000000004B20000-0x0000000004BBC000-memory.dmp
      Filesize

      624KB

    • memory/2744-132-0x0000000005250000-0x00000000057F4000-memory.dmp
      Filesize

      5.6MB

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

      448KB

    • memory/3124-135-0x00000000059E0000-0x0000000005A46000-memory.dmp
      Filesize

      408KB

    • memory/3124-136-0x0000000006F90000-0x0000000007152000-memory.dmp
      Filesize

      1.8MB