Analysis

  • max time kernel
    167s
  • max time network
    171s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-en-20220113
  • submitted
    15/02/2022, 10:44

General

  • Target
    3d19bf2c34c0a658803fd2b97e5ec3290498f5f33498b5f529e66c6a3f28fff2.exe
  • Size 1.2MB
  • Sample220215-mszn4seaa8
  • SHA256 3d19bf2c34c0a658803fd2b97e5ec3290498f5f33498b5f529e66c6a3f28fff2
  • MD5 SHA1 SHA512

Malware Config

Extracted

Family
  • matiex

Credentials
  • Protocol

    ftp

  • Host

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

  • Port

    21

  • Password

    emma@yes

Signatures

  • Matiex

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

  • Matiex Main Payload 1 IoCs
  • Suspicious use of NtCreateProcessExOtherParentProcess 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
  • Drops file in Windows directory 8 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Program crash 1 IoCs
  • Checks processor information in registry 2 TTPs 3 IoCs

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

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

  • Enumerates system info in registry 2 TTPs 2 IoCs
  • Suspicious behavior: EnumeratesProcesses 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of WriteProcessMemory 13 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\3d19bf2c34c0a658803fd2b97e5ec3290498f5f33498b5f529e66c6a3f28fff2.exe
    "C:\Users\Admin\AppData\Local\Temp\3d19bf2c34c0a658803fd2b97e5ec3290498f5f33498b5f529e66c6a3f28fff2.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:428
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\EpWPvCwTKb" /XML "C:\Users\Admin\AppData\Local\Temp\tmp89BA.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4460
    • C:\Users\Admin\AppData\Local\Temp\3d19bf2c34c0a658803fd2b97e5ec3290498f5f33498b5f529e66c6a3f28fff2.exe
      "{path}"
      2⤵
      • Drops startup file
      • Accesses Microsoft Outlook profiles
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • outlook_office_path
      • outlook_win_path
      PID:1816
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -u -p 1816 -s 1716
        3⤵
        • Program crash
        • Checks processor information in registry
        • Enumerates system info in registry
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3676
  • C:\Windows\system32\svchost.exe
    C:\Windows\system32\svchost.exe -k netsvcs -p -s wuauserv
    1⤵
    • Drops file in Windows directory
    • Suspicious use of AdjustPrivilegeToken
    PID:4260
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 1816 -ip 1816
    1⤵
    • Suspicious use of NtCreateProcessExOtherParentProcess
    • Suspicious use of WriteProcessMemory
    PID:3156
  • C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1220_none_7e21bc567c7ed16b\TiWorker.exe
    C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1220_none_7e21bc567c7ed16b\TiWorker.exe -Embedding
    1⤵
    • Drops file in Windows directory
    • Suspicious use of AdjustPrivilegeToken
    PID:4868

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        memory/428-138-0x0000000007300000-0x0000000007366000-memory.dmp

        memory/428-130-0x0000000074E4E000-0x0000000074E4F000-memory.dmp

        memory/428-133-0x0000000005960000-0x00000000059F2000-memory.dmp

        memory/428-134-0x0000000005C40000-0x0000000005C41000-memory.dmp

        memory/428-135-0x0000000005920000-0x000000000592A000-memory.dmp

        memory/428-136-0x0000000006B00000-0x000000000702C000-memory.dmp

        memory/428-132-0x0000000006020000-0x00000000065C4000-memory.dmp

        memory/428-131-0x0000000000F90000-0x00000000010BE000-memory.dmp

        memory/428-137-0x0000000005CF0000-0x0000000005D8C000-memory.dmp

        memory/1816-140-0x0000000000400000-0x0000000000478000-memory.dmp

        memory/1816-144-0x0000000074E4E000-0x0000000074E4F000-memory.dmp

        memory/1816-145-0x0000000005A20000-0x0000000005A21000-memory.dmp

        memory/4260-141-0x000001984B770000-0x000001984B780000-memory.dmp

        memory/4260-142-0x000001984BD20000-0x000001984BD30000-memory.dmp

        memory/4260-143-0x000001984E3F0000-0x000001984E3F4000-memory.dmp