Analysis

  • max time kernel
    130s
  • max time network
    134s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-en-20220113
  • submitted
    21/02/2022, 09:47

General

  • Target
    1u0Zwj9C2xbMA6p.exe
  • Size 1.2MB
  • Sample220221-lscc5sagen
  • SHA256 b2196e769c2ab067096df011dfa35bc9d02b594211b610b84d833d3a152ce3f4
  • MD5 SHA1 SHA512

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    smtp.privateemail.com

  • Port

    587

  • Password

    Nigerian99

Extracted

Family
  • matiex

Credentials
  • Protocol

    smtp

  • Host

    smtp.privateemail.com

  • Port

    587

  • Password

    Nigerian99

Signatures

  • Matiex

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

  • Matiex Main Payload 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Reads data files stored by FTP clients 2 TTPs

    Tries to access configuration files associated with programs like FileZilla.

  • 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
  • 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
  • Drops file in Windows directory 6 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.

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 8 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\1u0Zwj9C2xbMA6p.exe
    "C:\Users\Admin\AppData\Local\Temp\1u0Zwj9C2xbMA6p.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:820
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\Fywrdc" /XML "C:\Users\Admin\AppData\Local\Temp\tmp7874.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2896
    • C:\Users\Admin\AppData\Local\Temp\1u0Zwj9C2xbMA6p.exe
      "C:\Users\Admin\AppData\Local\Temp\1u0Zwj9C2xbMA6p.exe"
      2⤵
        PID:440
      • C:\Users\Admin\AppData\Local\Temp\1u0Zwj9C2xbMA6p.exe
        "C:\Users\Admin\AppData\Local\Temp\1u0Zwj9C2xbMA6p.exe"
        2⤵
        • Accesses Microsoft Outlook profiles
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        • outlook_office_path
        • outlook_win_path
        PID:912
        • C:\Windows\SysWOW64\netsh.exe
          "netsh" wlan show profile
          3⤵
            PID:1488
      • 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:2772

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            memory/820-131-0x0000000007DC0000-0x0000000007E5C000-memory.dmp

            memory/820-132-0x000000007441E000-0x000000007441F000-memory.dmp

            memory/820-133-0x0000000008410000-0x00000000089B4000-memory.dmp

            memory/820-134-0x0000000007F00000-0x0000000007F92000-memory.dmp

            memory/820-135-0x0000000007E80000-0x0000000007E8A000-memory.dmp

            memory/820-136-0x0000000007FA0000-0x0000000007FF6000-memory.dmp

            memory/820-137-0x0000000008040000-0x0000000008041000-memory.dmp

            memory/820-130-0x0000000000E40000-0x0000000000F74000-memory.dmp

            memory/912-142-0x0000000000400000-0x0000000000476000-memory.dmp

            memory/912-144-0x0000000005AE0000-0x0000000005B46000-memory.dmp

            memory/912-145-0x000000007441E000-0x000000007441F000-memory.dmp

            memory/912-146-0x0000000005C50000-0x0000000005C51000-memory.dmp

            memory/912-147-0x0000000007930000-0x0000000007AF2000-memory.dmp

            memory/2772-140-0x000002F487FA0000-0x000002F487FA4000-memory.dmp

            memory/2772-139-0x000002F485920000-0x000002F485930000-memory.dmp

            memory/2772-138-0x000002F485360000-0x000002F485370000-memory.dmp