Zero-day Exploit  - Double Zero day Exploit - Double Zero-day Exploit Discovered in same PDF file Affected Adobe & Windows 7

A researcher discovered new double Zero-day exploit that Acrobat, Reader and older Windows  platforms, Windows Server 2008.

This critical Zero-Day exploit discovered during the analysis conducted by Microsoft against the malicious file that discovered by ESET researcher.

The malicious PDF initially reported to Microsoft as a potential exploit for an unknown Windows kernel vulnerability but the detailed research leads to find another 2 new zero-day exploit within the same PDF.

Initially, this malicious PDF discovered from virustotal which is uploaded by someone. At that time it wasn’t fully prepared to attack and the exploit was in an earlier stage of the development.

Among these 2 critical zero-day exploits, first exploit attacks the Adobe JavaScript engine and run the shellcode and the second exploit affected the older version of Windows 7.

 Zero-Day Exploitation Process

Adobe Acrobat and Reader based Exploit distributed via malicious PDF as a  JPEG 2000 stream that contains the Javascript exploit code.

Later malicious JPEG 2000 stream triggers an out-of-bounds access operation and the access operation is called upon out-of-bounds memory laid out by the heap spray.

- fig 1 overview exploit process - Double Zero-day Exploit Discovered in same PDF file Affected Adobe & Windows 7

After that  corrupted vftable transfers execution into ROP chains then it transfers it into main shellcode.

Later main EoP module loads through reflective DLL loading and finally it launch the  Win32k EoP exploit.

After the successful exploitation, it will drop the .vbs file that designed to download additional payloads to compromise the Victims.

Main Win32k EoP Zero-day Exploit

A loaded PE module exploits the main Win32k elevation-of-privilege (EoP) that was taking advantages of previously unknown vulnerability that affected the windows 7 machine and not present on Windows 10 and newer products.

This exploits using the NULL page to pass malicious records and copies arbitrary data to an arbitrary kernel location.

Intially exploit calls the DLL NtAllocateVirtualMemory  to allocate a data structure at the NULL page.

- fig 8 EoP exploit flow - Double Zero-day Exploit Discovered in same PDF file Affected Adobe & Windows 7

According to Microsoft, the Exploit is working in following ways.

  1. It passes a malformed MEINFOEX structure to the SetImeInfoEx Win32k kernel function.
  2. SetImeInfoEx picks up the fake data structure allocated at the NULL page.
  3. The exploit uses the fake data structure to copy malicious instructions to +0x1a0 on the Global Descriptor Table (GDT).
  4. It calls an FWORD instruction to call into the fake GDT entry instructions.
  5. The exploit successfully calls instructions in the fake GDT entry.
  6. The instructions run shellcode allocated in user mode from kernel mode memory space.

Finally, the exploit modifies the  EPROCESS.Token of the shellcode process and bypass the System and gain the access.

You can also read the ESET Research regarding this Double Zero day Exploits.

Indicators of compromise

SHA-256: dd4e4492fecb2f3fe2553e2bcedd44d17ba9bfbd6b8182369f615ae0bd520933
SHA-1: 7aef049b8c6255f4461affdcfc70e2177a71a9+

Also Read:

Zerodium Pays Upto $1,500,000 Per Fully Functional Zeroday Exploit Submissions

Adobe Issues Patch for Critical Flash Player Zero-day Vulnerability : Its Time to Update

Zero-Day Remote Code Execution Vulnerability Discovered in Microsoft Windows JScript

Hackers Launching Massive Cyber Attack Against 800,000 DrayTek Routers by Exploiting zero-day Vulnerability


Source link


Please enter your comment!
Please enter your name here