PVWA - MaxFieldLength and MaxRequestBytes registry values
91
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:06 PM
Question
What should these registry keys be set to after PVWA hardening?
Environment
10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3
Answer
We do not change these values as part of our hardening and they should both remain as the default value (16384).
Changing these registry keys should be considered to be extremely dangerous. These keys allow larger HTTP packets to be sent to IIS. This, in turn, may cause Http.sys to use more memory. Therefore, such changes can increase the computer's vulnerability to malicious attacks.
HKLM:\SYSTEM\CurrentControlSet\Services\HTTP\Parameters\MaxFieldLength
HKLM:\SYSTEM\CurrentControlSet\Services\HTTP\Parameters\MaxRequestBytes