One may wonder whether there are some potential security concerns regarding intranet web servers. The answer is globally "yes", depending on the context, and at least the following in most cases:

  1. First of all, please note that internal machines, connected through VPN (mobility) can somewhat be considered as external ones (Internet machines), in terms of security risks: they may be more commonly compromised because they can most of the time access Internet with less security controls (compared to machines within the LAN) eg: HTTP split tunneling for VPN.
  2. Second, if the web server can be accessed from outside (Internet) as well as from inside (intranet), then it may be used to create like an attack gateway, and further compromise internal machines. This is a quite common scenario we see in incident response.
  3. Third and worst scenario is when users will be allowed at some point to upload/modify content hosted on the web server: that content has to be secured/checked. For instance, malicious content may be inserted into the web server content (like links to exploitation codes, etc.), and then be transparently/automatically accessed by any clients browsing the web server.

Web server

Thus, to mitigate the risks, here are a few steps, specific to web servers:


  1. Identify the network flow, in terms of requests: if you know the regular network flow the server is supposed to receive and send, then you can allow and check (content/requests inspection) them, while other traffic/flow would be denied by default (by Firewall). This is a network isolation measure, that will reduce the risk of a malware spread (or a successful intrusion getting deeper into the production network)
  2. Make sure there is no way to directly request your web server, bypassing security filtering layers.
  3. Make sure your DMZ has no possibility to directly access your LAN with "source to any"-like rule (firewall/routers rules to be double-checked).
  4. Deploy Network Intrusion Detection system, that will detect/block malicious network requests. You might want to have a look at the MAPP to find a Microsoft partner ( )
  5. Deploy a WAF (Web Application Firewall) as a front-end of the web server. This will allow to harden the requests control, and tighten the filter to match the specificities of the web application. ModSecurity for IIS (see: could be an example of such a solution, or any other one from the MAPP program. We also recommend you to consider deploying URLscan ( ) to secure URL, data inputs, and protect against code injection ( )
  6. Harden cyphered network communications as much as possible, taking into account the available implementations of SSL/TLS on the Windows systems you are running: . By default, our recommendation is TLS 1.1/1.2. Please keep in mind this has to be enabled on both client and server side.

NB : If you wish to enhance the network isolation (DMZ-like), and if the WAF is not able to provide itself network isolation (clients / server), you might want to deploy a reverse proxy as a front-end of the web server. Forefront UAG could be an example of such a solution, or any other one from the MAPP program.

Data protection

  1. Create a back-up of web server data, on a regular basis.

Application development

  1. Follow security best practices for ASP.Net code, to protect against code injection: and SQL injection: From a more global point of view, please refer to SDL: Audit the hosted code on a regular basis.
  2. Implement white/blacklisting of applications, through AppLocker for example:
  3. Follow security best practices for application layer products, database layer ones, and web server layer.

General best practices for security

But there are also other security best practices that we do recommend you to consider, even for this web server scenario.



  • Deploy all applicable security fixes on the server, on a regular basis (and also inventory all installed software that could require to be updated). SCCM could be helpful for such a task (inventory, deployment, policies enforcement...)
  • Enforce Internet access security through HTTP proxy filtering.
  • Messaging filtering (MTA/MDA). FOPE, FPE could be examples, or you might want to have a look at the MAPP partners list:

Operating system

  • Consider deploying 64 bits systems in priority over those 32 bits, because 64 bits Windows systems embed more security features by default compared to their 32bits equivalent. Note that for instance, ASLR is said to be more efficient on 64bits systems, and DEP is hardware assisted on those platforms (starting with Vista).


  • Protect applications against vulnerabilities exploitation with DEP, ASLR (if applicable). The EMET tool might be helpful to identify application compatible and not compatible with those security enhancements. See:

Lower privileges that users have locally: they should not be local admin if they don't really need to be (very dangerous because malwares will spread quite easily and may take complete control of machines)


Account management

Security guides/best practices to harden and maintain systems: