Analysis

  • max time kernel
    142s
  • max time network
    125s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240704-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240704-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16/07/2024, 19:05

General

  • Target
    4fa42a8beb305337e28cede06ceefa62_JaffaCakes118.exe
  • Size 669KB
  • Sample240716-xryersydph
  • SHA256 c38b853587846014052d5b2206e8764dac66f7de9479ec3080e1872938bd7ceb
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • matiex

Credentials
  • Protocol

    smtp

  • Host

    smtp.privateemail.com

  • Port

    587

  • Password

    MARYolanmauluogwo@ever

Signatures

  • Matiex

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

  • Matiex Main payload 1 IoCs
  • Beds Protector Packer 1 IoCs

    Detects Beds Protector packer used to load .NET malware.

  • Drops startup file 2 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 3 IoCs

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

  • Suspicious use of SetThreadContext 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • Program crash 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 2 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\4fa42a8beb305337e28cede06ceefa62_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\4fa42a8beb305337e28cede06ceefa62_JaffaCakes118.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:4600
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Powershell.exe
      "Powershell.exe" -ExecutionPolicy Bypass -command Copy-Item 'C:\Users\Admin\AppData\Local\Temp\4fa42a8beb305337e28cede06ceefa62_JaffaCakes118.exe' 'C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Drivers.exe'
      2⤵
      • Drops startup file
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:452
    • C:\Users\Admin\AppData\Local\Temp\4fa42a8beb305337e28cede06ceefa62_JaffaCakes118.exe
      "C:\Users\Admin\AppData\Local\Temp\4fa42a8beb305337e28cede06ceefa62_JaffaCakes118.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious use of AdjustPrivilegeToken
      • outlook_office_path
      • outlook_win_path
      PID:616
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -u -p 616 -s 2004
        3⤵
        • Program crash
        PID:3100
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 616 -ip 616
    1⤵
      PID:372

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          4fa42a8beb305337e28cede06ceefa62_JaffaCakes118.exe.log

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

          __PSScriptPolicyTest_xrgz1oix.lbu.ps1

          • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_xrgz1oix.lbu.ps1
          • Size 60B
          • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
          • MD5 SHA1 SHA512

          memory/452-8-0x0000000002930000-0x0000000002966000-memory.dmp

          memory/452-9-0x0000000074F60000-0x0000000075710000-memory.dmp

          memory/452-35-0x00000000072B0000-0x0000000007346000-memory.dmp

          memory/452-31-0x0000000006270000-0x000000000628E000-memory.dmp

          memory/452-32-0x0000000006290000-0x00000000062DC000-memory.dmp

          memory/452-37-0x00000000067C0000-0x00000000067E2000-memory.dmp

          memory/452-18-0x0000000005C90000-0x0000000005FE4000-memory.dmp

          memory/452-36-0x0000000006730000-0x000000000674A000-memory.dmp

          memory/452-11-0x0000000074F60000-0x0000000075710000-memory.dmp

          memory/452-12-0x0000000074F60000-0x0000000075710000-memory.dmp

          memory/452-10-0x0000000005410000-0x0000000005A38000-memory.dmp

          memory/452-13-0x0000000005290000-0x00000000052B2000-memory.dmp

          memory/452-15-0x0000000005C20000-0x0000000005C86000-memory.dmp

          memory/452-14-0x0000000005AB0000-0x0000000005B16000-memory.dmp

          memory/452-41-0x0000000074F60000-0x0000000075710000-memory.dmp

          memory/616-30-0x0000000074F60000-0x0000000075710000-memory.dmp

          memory/616-34-0x0000000074F60000-0x0000000075710000-memory.dmp

          memory/616-27-0x0000000000400000-0x0000000000476000-memory.dmp

          memory/616-42-0x0000000074F60000-0x0000000075710000-memory.dmp

          memory/4600-33-0x0000000074F60000-0x0000000075710000-memory.dmp

          memory/4600-6-0x0000000004EA0000-0x0000000004F46000-memory.dmp

          memory/4600-5-0x0000000005CB0000-0x0000000006254000-memory.dmp

          memory/4600-26-0x0000000004F50000-0x0000000004F66000-memory.dmp

          memory/4600-0-0x0000000074F6E000-0x0000000074F6F000-memory.dmp

          memory/4600-4-0x0000000074F60000-0x0000000075710000-memory.dmp

          memory/4600-3-0x0000000004E00000-0x0000000004E92000-memory.dmp

          memory/4600-2-0x0000000005230000-0x00000000056FC000-memory.dmp

          memory/4600-1-0x0000000000370000-0x000000000041E000-memory.dmp

          memory/4600-7-0x0000000004FF0000-0x000000000508C000-memory.dmp