World Library  
Flag as Inappropriate
Email this Article

Application firewall

Article Id: WHEBN0000956499
Reproduction Date:

Title: Application firewall  
Author: World Heritage Encyclopedia
Language: English
Subject: DMZ (computing), Fortinet, Ipfirewall, Next-Generation Firewall, Firewall software
Collection: Computer Security, Firewall Software
Publisher: World Heritage Encyclopedia

Application firewall

An application firewall is a form of firewall that controls input, output, and/or access from, to, or by an application or service. It operates by monitoring and potentially blocking the input, output, or system service calls that do not meet the configured policy of the firewall. The application firewall is typically built to control all network traffic on any OSI layer up to the application layer. It is able to control applications or services specifically, unlike a stateful network firewall, which is - without additional software - unable to control network traffic regarding a specific application. There are two primary categories of application firewalls, network-based application firewalls and host-based application firewalls.


  • Network-based application firewalls 1
    • History 1.1
  • Host-based application firewalls 2
  • Examples 3
  • Implementations 4
    • Mac OS X 4.1
    • Linux 4.2
    • Windows 4.3
    • Network appliances 4.4
  • Specialized application firewalls 5
    • History 5.1
      • Distributed web application firewalls 5.1.1
      • Cloud-based web application firewalls 5.1.2
  • See also 6
  • References 7
  • External links 8

Network-based application firewalls

A network-based application layer firewall is a computer networking firewall operating at the application layer of a protocol stack,[1] and is also known as a proxy-based or reverse-proxy firewall. Application firewalls specific to a particular kind of network traffic may be titled with the service name, such as a web application firewall. They may be implemented through software running on a host or a stand-alone piece of network hardware. Often, it is a host using various forms of proxy servers to proxy traffic before passing it on to the client or server. Because it acts on the application layer, it may inspect the contents of traffic, blocking specified content, such as certain websites, viruses, or attempts to exploit known logical flaws in client software.

Modern application firewalls may also offload encryption from servers, block application input/output from detected intrusions or malformed communication, manage or consolidate authentication, or block content that violates policies.


Gene Spafford of Purdue University, Bill Cheswick at AT&T Laboratories, and Marcus Ranum described a third generation firewall known as an application layer firewall. Marcus Ranum's work on the technology spearheaded the creation of the first commercial product. The product was released by DEC who named it the DEC SEAL product. DEC’s first major sale was on June 13, 1991 to a chemical company based on the East Coast of the USA.

Under a broader DARPA contract at TIS, Marcus Ranum, Wei Xu, and Peter Churchyard developed the Firewall Toolkit (FWTK), and made it freely available under license on October 1, 1993. The purposes for releasing the freely-available, not for commercial use, FWTK were: to demonstrate, via the software, documentation, and methods used, how a company with (at the time) 11 years' experience in formal security methods, and individuals with firewall experience, developed firewall software; to create a common base of very good firewall software for others to build on (so people did not have to continue to "roll their own" from scratch); and to "raise the bar" of firewall software being used. However, FWTK was a basic application proxy requiring the user interactions.

In 1994, Wei Xu extended the FWTK with the Kernel enhancement of IP filter and socket transparent. This was the first transparent firewall beyond a traditional application proxy, released as the commercial product known as Gauntlet firewall. Gauntlet firewall was rated one of the number 1 firewalls since 1995 until it was acquired by Network Associates Inc, (NAI) in 1998.

The key benefit of application layer filtering is that it can "understand" certain applications and protocols (such as File Transfer Protocol, DNS, or web browsing), and it can detect whether an unwanted protocol is being sneaked through on a non-standard port or whether a protocol is being abused in any harmful way.

Host-based application firewalls

A host-based application firewall can monitor any application input, output, and/or system service calls made from, to, or by an application. This is done by examining information passed through system calls instead of or in addition to a network stack. A host-based application firewall can only provide protection to the applications running on the same host.

Application firewalls function by determining whether a process should accept any given connection. Application firewalls accomplish their function by hooking into socket calls to filter the connections between the application layer and the lower layers of the OSI model. Application firewalls that hook into socket calls are also referred to as socket filters. Application firewalls work much like a packet filter but application filters apply filtering rules (allow/block) on a per process basis instead of filtering connections on a per port basis. Generally, prompts are used to define rules for processes that have not yet received a connection. It is rare to find application firewalls not combined or used in conjunction with a packet filter.[2]

Also, application firewalls further filter connections by examining the process ID of data packets against a ruleset for the local process involved in the data transmission. The extent of the filtering that occurs is defined by the provided ruleset. Given the variety of software that exists, application firewalls only have more complex rulesets for the standard services, such as sharing services. These per process rulesets have limited efficacy in filtering every possible association that may occur with other processes. Also, these per process ruleset cannot defend against modification of the process via exploitation, such as memory corruption exploits.[2] Because of these limitations, application firewalls are beginning to be supplanted by a new generation of application firewalls that rely on mandatory access control (MAC), also referred to as sandboxing, to protect vulnerable services. Examples of next generation host-based application firewalls that control system service calls by an application are AppArmor[3] and the TrustedBSD MAC framework (sandboxing) in Mac OS X.[4]

Host-based application firewalls may also provide network-based application firewalling.

Sandboxing systems can also control file and process accesses as well as network access. Commercial sandboxing systems are available for both Windows and Unix type OSes.


To better illustrate the concept, this section enumerates some specific application firewall examples.


There are various application firewalls available, including both free and open source software and commercial products.

Mac OS X

Mac OS X, as of Leopard, includes an implementation of the TrustedBSD MAC framework, which is taken from FreeBSD.[5] The TrustedBSD MAC framework is used to sandbox some services, such as mDNSresponder, much like AppArmor is used to sandbox services in some Linux distributions. The TrustedBSD MAC framework provides a default layer of firewalling given the default configuration of the sharing services in Mac OS X Leopard and Snow Leopard.

The Application firewall located in the security preferences of Mac OS X starting with Leopard provides the functionality of this type of firewall to a limited degree via the use of code signing apps added to the firewall list. For the most part, this Application firewall only manages network connections by checking to see if incoming connections are directed toward an app in the firewall list and applies the rule (block/allow) specified for those apps.


This is a list of security software packages for Linux, allowing filtering of application to OS communication, possibly on a by-user basis:

  • Kerio Control - a commercial Product
  • DataSunrise - includes database firewall, real-time data masking and monitoring. Also works under Windows, Solaris and other versions of Unix.
  • AppArmor
  • ModSecurity - also works under Windows, Mac OS X, Solaris and other versions of Unix. ModSecurity is designed to work with the web-servers IIS, Apache2 and NGINX.
  • Symantec Data Center Security - Commercial sandbox product. Also works on Windows, Solaris, AIX.
  • Systrace
  • Zorp


Network appliances

These devices are sold as hardware network appliances and in some instances as virtual images that run on basic server hardware.

Specialized application firewalls

Specialized application firewalls offer a rich feature-set in protecting and controlling a specific application. Most specialized network appliance application firewalls are for web applications.


Large-scale web server hacker attacks, such as the 1996 PHF CGI exploit,[6] lead to the investigation into security models to protect web applications. This was the beginning of what is currently referred to as the web application firewall (WAF) technology family. Early entrants in the market started appearing in 1999, such as Perfecto Software’s AppShield,[7] (who later changed their name to Sanctum and in 2004 was acquired by Watchfire[8] (acquired by IBM in 2007), which focused primarily on the ecommerce market and protected against illegal web page character entries. NetContinuum (acquired by Barracuda Networks in 2007) approached the issue by providing pre-configured ‘security servers’. Such pioneers faced proprietary rule-set issues, business case obstacles and cost barriers to wide adoption, however, the need for such solutions was taking root.

In 2002, the open source project OASIS Web Application Security Technical Committee’s (WAS TC) vulnerability work, the market had a stable, well documented and standardized model to follow.

In 2003, the WAS TC’s work was expanded and standardized across the industry through the work of the Open Web Application Security Project’s (OWASP) Top 10 List. This annual ranking is a classification scheme for web security vulnerabilities, a model to provide guidance for initial threat, impact, and a way to describe conditions that can be used by both assessment and protection tools, such as a WAF. This list would go on to become the industry benchmark for many compliance schemes.

In 2004, large traffic management and security vendors, primarily in the network layer space, entered the WAF market through a flurry of mergers and acquisitions. Key among these was the mid-year move by F5 to acquire Magnifire WebSystems,[10] and the integration of the latter’s TrafficShield software solution with the former’s Big-IP traffic management system. This same year, F5 acquired AppShield and discontinued the technology. Further consolidation occurred in 2006 with the acquisition of Kavado by Protegrity,[11] and Citrix Systems’ buying of Teros.[12]

Until this point, the WAF market was dominated by niche providers who focused on web application layer security. Now the market was firmly directed at integrating WAF products with the large network technologies – load balancing, application servers, network firewalls, etc. – and began a rush of rebranding, renaming and repositioning the WAF. Options were confusing, expensive and still hardly understood by the larger market.

In 2006, the Web Application Security Consortium was formed to help make sense of the now widely divergent WAF market. Dubbed the Web Application Firewall Evaluation Criteria project (WAFEC), this open community of users, vendors, academia and independent analysts and researchers created a common evaluation criterion for WAF adoption that is still maintained today.

Wide-scale interest in the WAF began in earnest, tied to the 2006 PCI Security Standards Council formation and compliance mandate. Major payment card brands (AMEX, Visa, MasterCard, etc.) formed PCI as a way to regulate security practices across the industry and curtail the rampant credit card fraud taking place. In particular, this standard mandated that all web applications must be secure, either through secure development or use of a WAF (requirement 6.6). The OWASP Top 10 forms the backbone of this requirement.

With the increased focus on virtualization and Cloud computing to maximize existing resources, scaling of WAF technology has become the most recent milestone.

By 2010, the WAF market had matured to a market exceeding $200M in size according to Forrester. In a February 2010 report, Web Application Firewall: 2010 And Beyond, Forrester analyst Chenxi Wang wrote, "Forrester estimates the 2009 market revenue of the WAF+ market to be nearly $200 million, and the market will grow by a solid 20% in 2010. Security and risk managers can expect two WAF trends in 2010: 1) midmarket-friendly WAFs will become available, and 2) larger enterprises will gravitate toward the increasingly prevalent WAF+ solutions." She also wrote that "Imperva is the stand alone WAF leader."

Distributed web application firewalls

Distributed Web Application Firewall (also called a dWAF) is a member of the web application firewall (WAF) and Web applications security family of technologies. Purely software-based, the dWAF architecture is designed as separate components able to physically exist in different areas of the network. This advance in architecture allows the resource consumption of the dWAF to be spread across a network rather than depend on one appliance, while allowing complete freedom to scale as needed. In particular, it allows the addition / subtraction of any number of components independently of each other for better resource management. This approach is ideal for large and distributed virtualized infrastructures such as private, public or hybrid cloud models.

Cloud-based web application firewalls

Cloud-based web application firewall is also member of the web application firewall (WAF) and web applications security family of technologies. This technology is unique due to the fact that it is platform agnostic and does not require any hardware or software changes on the host. All providers but one require a DNS change, wherein all web traffic is routed through the WAF where it is inspected and threats are thwarted. Cloud-based WAFs are typically centrally orchestrated, which means that threat detection information is shared among all the tenants of the service. This collaboration results in improved detection rates and lower false positives. Like other cloud-based solutions, this technology is elastic, scalable and is typically offered as a pay-as-you grow service. This approach is ideal for cloud-based web applications and small or medium-sized websites that require web application security but are not willing or able to make software or hardware changes to their systems.

  • In 2010, Imperva spun out Incapsula to provide a cloud-based WAF to small to medium-sized businesses.
  • Since 2011, United Security Providers provides the Secure Entry Server as an Amazon EC2 Cloud-based Web Application Firewall
  • Akamai Technologies offers a cloud-based WAF that incorporates advanced features such as rate control and custom rules enabling it to address both layer 7 and DDoS attacks.
  • Since 2012, Penta Security Systems, Inc. offers a cloud-based WAF, named WAPPLES V-Series to the public with the strategic partnership with ISPs including KT, Korea.
  • Indusface provides its SaaS-based Web Application Firewall since May, 2014.[13]
  • CloudFlare
  • Shaka Technologies provides the Ishlangu Load Balancer ADC as a Cloud-based Web Application Firewall,[14]
  • Armorlogic Profense Web Application Firewall
  • EasyWAF offered by BinarySEC
  • ClearWeb proposed by Nexusguard.
  • In 2013, Two students developed an open source CWAF entitled Ghaim, based on forks of ModSecurity and Nginx.
  • In the end of 2013, Runa Capital invested in Wallarm, cloud-based web application firewall and vulnerability assessment tool.
  • Zenedge detects DDoS, SQL injections of malicious code commands and other cyber attacks with the goal of thwarting them before they do damage. The company announced the completion of a $3.5M Series A on October 2014 and promptly emerged from stealth mode.
  • NAXSI, NGINX open source software included in OWASP[15] anti-XSS and anti-SQL injections project.

See also


  1. ^ Luis F. Medina (2003). The Weakest Security Link Series (1st ed.). IUniverse. p. 54.  
  2. ^ a b Software Firewalls: Made of Straw? Part 1 of 2 | Symantec Connect Community. (2010-06-29). Retrieved on 2013-09-05.
  3. ^ "Firewall your applications with AppArmor". Retrieved 2010-02-15. 
  4. ^ "The TrustedBSD Project".  
  5. ^ Mandatory Access Control (MAC) Framework. TrustedBSD. Retrieved on 2013-09-05.
  6. ^ CERT (March 20, 1996). "CERT Advisory CA-1996-06 Vulnerability in NCSA/Apache CGI example code".  
  7. ^ Ellen Messmer (September 7, 1999). "New tool blocks wily e-comm hacker tricks". CNN. Retrieved 2010-11-17. 
  8. ^ Jaikumar Vijayan (August 4, 2004). "Q&A: Watchfire CTO sees Sanctum acquisition as a good fit".  
  9. ^ Jeremy Kirk (September 25, 2006). "Breach Security acquires rival firewall ModSecurity".  
  10. ^ Tim Greene (June 1, 2004). "F5 buys Magnifire for $29 million".  
  11. ^ Linda Rosencrance (August 19, 2005). "Protegrity acquires Web apps security vendor Kavado".  
  12. ^ James Rogers (November 15, 2005). "Citrix Picks Up Teros". Retrieved 2011-12-06. 
  13. ^ "Indusface targets billion-dollar WAF market with the launch of IndusGuard WAF". Information Week. Retrieved 13 March 2015. 
  14. ^ [1] VMWare Solution Exchange. Retrieved on 2013-12-21.
  15. ^ [2] OWASP WAF listing

External links

  • Web Application Firewall, Open Web Application Security Project
  • Web Application Firewall Evaluation Criteria, from the Web Application Security Consortium
  • Safety in the cloud(s): 'Vaporizing' the Web application firewall to secure cloud computing
  • A thesis about cloud-based web application firewall (2013 - fr)
  • A paper about bypassing various application based firewalls.
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.