notepad-plus-plus / notepad-plus-plus

Notepad++ official repository

Home Page:https://notepad-plus-plus.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature request] Window Capture Disablement & Stack Protection Flag

SSJPKXL opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

This is just a request to:

  1. Introduce Window Capture Disablement into Notepad++. It protects application from host taking screenshots. Software protected from Window Capture simply doesn't show up on any screenshots as if itsn't even there. It is also known as "Streamer Mode" (in System Informer at least) and as Screen Capture Block in Sandboxie.
  2. Enable support for Kernel-Mode Hardware-Enforced Stack protection by adding Stack Protection flag to Notepad++ executable image.

Describe the solution you'd like.

Just add those features.

Debug Information

None needed

Anything else?

No response

And why do you think these would be desirable features to have in Notepad++?

  1. Enable support for Kernel-Mode Hardware-Enforced Stack protection by adding Stack Protection flag to Notepad++ executable image.

Control Flow Enforcement Technology (CET) was implemented and quickly rolled back after .NET plugins began crashing the application whenever they attempted to handle a system-generated exception: https://community.notepad-plus-plus.org/post/88577

Control Flow Guard was proposed and ultimately rejected: #11758

If "Kernel-Mode Hardware-Enforced Stack protection" refers to either of the above, I would forget about it. The Win32 interface predates modern CPU architecture by decades.