Analysis

  • max time kernel
    41s
  • max time network
    87s
  • platform
    windows7_x64
  • resource
    win7-20220414-en
  • submitted
    11-07-2022 12:25

General

  • Target

    memek.exe

  • Size

    42KB

  • MD5

    322968ed58117d4214b4de61ef218b8f

  • SHA1

    e9ee670ad2ff8e2649afeb4a087c7a94b489bcd5

  • SHA256

    8f57b8c2ee18b56685f0ab12dcb274a2df204c5150e734664e1eccce6dc9c452

  • SHA512

    16ae65db4c921d69033fd32ba5ae88ed8d71092ba994cb365d34a38a5c4773155ee0fa913483b575a718431406388813ca7eb4cef8610b99037ec66b92db9b83

Malware Config

Extracted

Family

mercurialgrabber

C2

https://discord.com/api/webhooks/995732479136768131/NBw-NgHIbS4f9yDkhA9vrAFhqEmUpmh68FL4HfA42X_0__B6stGIXFPYFZzeq-iuYz-4

Signatures

  • Mercurial Grabber Stealer

    Mercurial Grabber is an open source stealer targeting Chrome, Discord and some game clients as well as generic system information.

  • suricata: ET MALWARE NightfallGT Mercurial Grabber

    suricata: ET MALWARE NightfallGT Mercurial Grabber

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

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

  • Reads user/profile data of web browsers 2 TTPs

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

  • Legitimate hosting services abused for malware hosting/C2 1 TTPs
  • 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.

  • Program crash 1 IoCs
  • Checks SCSI registry key(s) 3 TTPs 1 IoCs

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

  • Checks processor information in registry 2 TTPs 2 IoCs

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

  • Enumerates system info in registry 2 TTPs 4 IoCs
  • Modifies system certificate store 2 TTPs 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 3 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\memek.exe
    "C:\Users\Admin\AppData\Local\Temp\memek.exe"
    1⤵
    • Looks for VirtualBox Guest Additions in registry
    • Looks for VMWare Tools registry key
    • Checks BIOS information in registry
    • Maps connected drives based on registry
    • Checks SCSI registry key(s)
    • Checks processor information in registry
    • Enumerates system info in registry
    • Modifies system certificate store
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1756
    • C:\Windows\system32\WerFault.exe
      C:\Windows\system32\WerFault.exe -u -p 1756 -s 1952
      2⤵
      • Program crash
      PID:900

Network

MITRE ATT&CK Matrix ATT&CK v6

Defense Evasion

Virtualization/Sandbox Evasion

2
T1497

Install Root Certificate

1
T1130

Modify Registry

1
T1112

Credential Access

Credentials in Files

1
T1081

Discovery

Query Registry

7
T1012

Virtualization/Sandbox Evasion

2
T1497

System Information Discovery

5
T1082

Peripheral Device Discovery

2
T1120

Collection

Data from Local System

1
T1005

Command and Control

Web Service

1
T1102

Replay Monitor

Loading Replay Monitor...

Downloads

  • memory/900-55-0x0000000000000000-mapping.dmp
  • memory/1756-54-0x00000000011C0000-0x00000000011D0000-memory.dmp
    Filesize

    64KB