Analysis

  • max time kernel
    131s
  • max time network
    134s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-en-20220113
  • submitted
    03-03-2022 16:24

General

  • Target

    nigga b nostartupp.exe

  • Size

    1.5MB

  • MD5

    eef35b609d37962c62bab1df4c0b3c39

  • SHA1

    b009a2c43f9a959c72245e07bfbb32ceb8a2473d

  • SHA256

    da92268cf4a384c5d170d5d4ef9939183328e699c0097bd02b716757a2bc0dde

  • SHA512

    63c54c570a672c2baf246d49e674f55a0b9b51e69db6c7cb8ac4d26ea8b1910e1ada87dc26eaaee13cb3428b9fd06a6277f27db88cf282746a9d9cc5f4d935b5

Malware Config

Extracted

Family

matiex

C2

https://api.telegram.org/bot1769394961:AAF5BB35akL859CwVaXypIqpVsGWlaKvi7A/sendMessage?chat_id=1735544933

Signatures

  • Matiex

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

  • Matiex Main Payload 1 IoCs
  • suricata: ET MALWARE Matiex Keylogger Exfil Via Telegram

    suricata: ET MALWARE Matiex Keylogger Exfil Via Telegram

  • 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.

  • 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.

  • 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
  • Suspicious behavior: EnumeratesProcesses 27 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 31 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\nigga b nostartupp.exe
    "C:\Users\Admin\AppData\Local\Temp\nigga b nostartupp.exe"
    1⤵
    • Checks BIOS information in registry
    • Maps connected drives based on registry
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2784
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\EdmGen.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\EdmGen.exe"
      2⤵
        PID:4808
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\ilasm.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\ilasm.exe"
        2⤵
          PID:4060
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
          2⤵
            PID:860
          • C:\Windows\Microsoft.NET\Framework\v4.0.30319\ComSvcConfig.exe
            "C:\Windows\Microsoft.NET\Framework\v4.0.30319\ComSvcConfig.exe"
            2⤵
              PID:3472
            • C:\Windows\Microsoft.NET\Framework\v4.0.30319\SMSvcHost.exe
              "C:\Windows\Microsoft.NET\Framework\v4.0.30319\SMSvcHost.exe"
              2⤵
                PID:964
              • C:\Windows\Microsoft.NET\Framework\v4.0.30319\dfsvc.exe
                "C:\Windows\Microsoft.NET\Framework\v4.0.30319\dfsvc.exe"
                2⤵
                  PID:4688
                • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
                  "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
                  2⤵
                    PID:4372
                  • C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe
                    "C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe"
                    2⤵
                      PID:4364
                    • 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 behavior: EnumeratesProcesses
                      • Suspicious behavior: GetForegroundWindowSpam
                      • Suspicious use of AdjustPrivilegeToken
                      • Suspicious use of SetWindowsHookEx
                      • Suspicious use of WriteProcessMemory
                      • outlook_office_path
                      • outlook_win_path
                      PID:1112
                      • C:\Windows\SysWOW64\netsh.exe
                        "netsh" wlan show profile
                        3⤵
                          PID:1476

                    Network

                    MITRE ATT&CK Enterprise v6

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    • memory/1112-138-0x0000000000400000-0x0000000000476000-memory.dmp

                      Filesize

                      472KB

                    • memory/1112-140-0x00000000051F0000-0x00000000051F1000-memory.dmp

                      Filesize

                      4KB

                    • memory/1112-139-0x0000000074E2E000-0x0000000074E2F000-memory.dmp

                      Filesize

                      4KB

                    • memory/1112-141-0x0000000006CA0000-0x0000000006E62000-memory.dmp

                      Filesize

                      1.8MB

                    • memory/2784-130-0x0000000000B90000-0x0000000000D1E000-memory.dmp

                      Filesize

                      1.6MB

                    • memory/2784-131-0x0000000074E2E000-0x0000000074E2F000-memory.dmp

                      Filesize

                      4KB

                    • memory/2784-132-0x0000000006300000-0x00000000068A4000-memory.dmp

                      Filesize

                      5.6MB

                    • memory/2784-133-0x00000000060A0000-0x000000000613C000-memory.dmp

                      Filesize

                      624KB

                    • memory/2784-134-0x0000000005700000-0x0000000005792000-memory.dmp

                      Filesize

                      584KB

                    • memory/2784-135-0x00000000031D0000-0x00000000031DA000-memory.dmp

                      Filesize

                      40KB

                    • memory/2784-136-0x0000000005960000-0x0000000005961000-memory.dmp

                      Filesize

                      4KB

                    • memory/2784-137-0x0000000005FF0000-0x0000000006056000-memory.dmp

                      Filesize

                      408KB