With all the problems I find with other users encounter with Memory
Integrity option, I thought to run Microsoft Memory Integrity tool
(HVCIScan) to see if it might report a problem.
https://www.microsoft.com/en-us/download/details.aspx?id=105437
When I click on the Download link, it lists 2 downloads:
hvciscan_arm64.exe
hvciscan_amd64.exe
I don't have an ARM computer. I also don't have an AMD CPU, but "amd"
can mean different things. I have an Intel Core i7 8700, so 8th gen. Apparently Memory Intregity works best with 8th gen CPUs with in-silicon
MBEC (Mode-Based Execution Control), an extension to SLAT (Second Level Address Translation).
I got the "amd" version, and ran it. It found one driver incompatible
with Memory Integrity. I knew about this, because I contacted a dev
whose software had a problem a decade ago with Secure Boot which
requires digitally signed kernel-mode drivers, and theirs wasn't signed.
They since fixed that incompatibility, but report a new one. They said:
The Newer Hurdle: Memory Integrity (Core Isolation)
The primary compatibility hurdle you will face today, especially when
moving to Windows 11, is not Secure Boot, but Memory Integrity (a part
of Core Isolation in Windows Security). This advanced security
feature, which uses hardware virtualization, blocks many older
kernel-mode driversrCoincluding those used by audio capture softwarerCoif
they are not specifically built to its stricter standards.
o Result: Even with a properly signed driver, Windows 11 with Memory
Integrity enabled will typically prevent the RMC driver from
loading, causing capture to fail.
o The Workaround: As you anticipated, the standard guidance from
Applian and similar software vendors is to disable Memory
Integrity to install and use our driver.
This for Replay Media Capture (RMC) from Applian (who rebrand jaksta's
Media Recorder program). It can capture video streams, including those
that yt-dlp cannot. It actually rolls in yt-dlp for the easy captures,
but has its own code and proxy for sites where yt-dlp fails.
A decade ago, I ran into RMC wouldn't run in Secure Boot mode, because
its drivers weren't digitally signed, so a lesser capable method of
capture was required. They fixed that, but now Memory Integrity causes
them problems even with their digitally signed kernel-mode drivers.
I'm not intimate with all this hardware-level security fluff to know
what Applian would need to change to make their driver compatible with
Memory Integrity. I'm not sure Memory Integrity really gives big bang
for the buck regarding security. The more I read about Memory Integrity
(and Core Isolation), the less I'm impressed. I think I saw a Microsoft article recommending disabling Memory Integrity when gaming. Should be called Sometimes Incompatible Possibly Slowing Memory Integrity.
VanguardLH wrote:
With all the problems I find with other users encounter with Memory
Integrity option, I thought to run Microsoft Memory Integrity tool
(HVCIScan) to see if it might report a problem.
https://www.microsoft.com/en-us/download/details.aspx?id=105437
I have an Intel Core i7 8700, so 8th gen. Apparently Memory
Intregity works best with 8th gen CPUs with in-silicon MBEC
(Mode-Based Execution Control), an extension to SLAT (Second Level
Address Translation).
It found one driver incompatible
with Memory Integrity.
The Newer Hurdle: Memory Integrity (Core Isolation)
The primary compatibility hurdle you will face today, especially when
moving to Windows 11, is not Secure Boot, but Memory Integrity (a part
of Core Isolation in Windows Security). This advanced security
feature, which uses hardware virtualization, blocks many older
kernel-mode driversrCoincluding those used by audio capture softwarerCoif
they are not specifically built to its stricter standards.
o Result: Even with a properly signed driver, Windows 11 with Memory
Integrity enabled will typically prevent the RMC driver from
loading, causing capture to fail.
o The Workaround: As you anticipated, the standard guidance from
Applian and similar software vendors is to disable Memory
Integrity to install and use our driver.
They would be using an exploit against HVCI, one that security
researchers identified and presented as proof of concept. Microsoft
has to plug these, and the result is, that a program that "worked" in
one year, suddenly stops working.
https://connormcgarr.github.io/hvci/
Protected Video Path, might be what Applian is trying to access.
yt-dlp would normally open a series of download threads and do
block-range downloads and reassemble the video afterwards. If a video
server is not designed to be levered that way, then the slower method
is to record the screen at a 1x speed. Which means a one hour video
would take one hour to download.
Breaking the Protected Video Path then, could be a money maker for
someone to sell as a video recorder service.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 54 |
| Nodes: | 6 (1 / 5) |
| Uptime: | 21:16:14 |
| Calls: | 742 |
| Files: | 1,218 |
| D/L today: |
6 files (8,794K bytes) |
| Messages: | 186,029 |
| Posted today: | 1 |