Analysis

  • max time kernel
    140s
  • max time network
    149s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220310-en
  • submitted
    26/03/2022, 17:07

General

  • Target
    959c997ad7beaa75558665d28c9684515da2f5d5cb69b7a5375e1acbe397dc9d.exe
  • Size 790KB
  • Sample220326-vmze6afcc2
  • SHA256 959c997ad7beaa75558665d28c9684515da2f5d5cb69b7a5375e1acbe397dc9d
  • MD5 SHA1 SHA512

Malware Config

Extracted

Family
  • matiex

Credentials
  • Protocol

    ftp

  • Host

    ftp://ftp.minister-finance.com/

  • Port

    21

  • Password

    Dakar@911

Signatures

  • Matiex

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

  • Matiex Main Payload 1 IoCs
  • Looks for VirtualBox Guest Additions in registry 2 TTPs
  • Looks for VMWare Tools registry key 2 TTPs
  • Checks BIOS information in registry 2 TTPs 2 IoCs

    BIOS information is often read in order to detect sandboxing environments.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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 web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Maps connected drives based on registry 3 TTPs 2 IoCs

    Disk information is often read in order to detect sandboxing environments.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Program crash 1 IoCs
  • Creates scheduled task(s) 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 10 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 11 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\959c997ad7beaa75558665d28c9684515da2f5d5cb69b7a5375e1acbe397dc9d.exe
    "C:\Users\Admin\AppData\Local\Temp\959c997ad7beaa75558665d28c9684515da2f5d5cb69b7a5375e1acbe397dc9d.exe"
    1⤵
    • Checks BIOS information in registry
    • Checks computer location settings
    • Maps connected drives based on registry
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3620
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\KmKrfVwAxR" /XML "C:\Users\Admin\AppData\Local\Temp\tmp339B.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:3192
    • C:\Users\Admin\AppData\Local\Temp\959c997ad7beaa75558665d28c9684515da2f5d5cb69b7a5375e1acbe397dc9d.exe
      "{path}"
      2⤵
      • Drops startup file
      • Accesses Microsoft Outlook profiles
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • outlook_office_path
      • outlook_win_path
      PID:2192
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -u -p 2192 -s 1724
        3⤵
        • Program crash
        PID:2280
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 2192 -ip 2192
    1⤵
      PID:5056

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          959c997ad7beaa75558665d28c9684515da2f5d5cb69b7a5375e1acbe397dc9d.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\959c997ad7beaa75558665d28c9684515da2f5d5cb69b7a5375e1acbe397dc9d.exe.log
          • Size 1KB
          • SHA256 c190379a09e8c59d6ad32e782bd83294cbcb6de114a4ba988f65948179ed50e9
          • MD5 SHA1 SHA512

          tmp339B.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp339B.tmp
          • Size 1KB
          • SHA256 c1e24952e5014d2cb952532582e6de5f39803a45c6151c5abbee39c98e68b5f2
          • MD5 SHA1 SHA512

          memory/2192-144-0x0000000000400000-0x0000000000478000-memory.dmp

          memory/3620-134-0x0000000000740000-0x000000000080E000-memory.dmp

          memory/3620-135-0x000000000ADF0000-0x000000000B394000-memory.dmp

          memory/3620-136-0x000000000AA20000-0x000000000AAB2000-memory.dmp

          memory/3620-137-0x000000000A9F0000-0x000000000A9FA000-memory.dmp

          memory/3620-138-0x000000000E270000-0x000000000E30C000-memory.dmp

          memory/3620-139-0x000000000E840000-0x000000000ED6C000-memory.dmp

          memory/3620-140-0x00000000011B0000-0x0000000001216000-memory.dmp