Search
Lori MacVittie - Two Different Socks
You are here: DevCentral > Weblogs

posted on Monday, December 07, 2009 3:37 AM

The long, lost application delivery spell compendium has been found! Its once hidden, arcane knowledge is slowly being translated for the good of all web applications. Luckily, you don’t have to be Elminster or Gandalf or <insert powerful wizard you know here> to cast this spell over your infrastructure

Contingency image_thumb6[5]

   School of Magic: Evocation

   Components: Somatic (requires gestures), Material (requires physical component)

   Saving Throw: None

   Spell Resistance: No

Through the use of the contingency spell, application delivery professionals can dictate the conditions of the execution of another spell. The contingency spell and the companion spell(s) are cast at the same time, but the companion spell fires only when the conditions specified by the contingency spell are met.

The material component for this spell is a network-side scripting capable application delivery controller. The somatic component requires the caster to complete a series of mouse clicks and keyboard strokes that deploy a network-side script that fires when the specified event occurs. A verbal component is not necessary, but some casters find it satisfying to complete the invocation of contingency with some sort of joyful noise (defensive casters belonging to the InfoSec Guild tend to call out “Huzzah! Beat that!” for some reason).

The spell to be brought into effect by the contingency can be one that affects layers 2 through 7 and can either be narrow or broad in its targeting. For example, the contingency can be based upon specified triggers such as: HTTP_REQUEST, HTTP_RESPONSE, CLIENT_DATA, ASM_REQUEST_VIOLATION, SIP_RESPONSE, DNS_REQUEST, and ASM_RESPONSE_VIOLATION. Consult your player’s handbook for a complete list of possible triggers. You can use multiple contingency spells at a time, but each will fire according to the order of events specified in the player’s handbook. 

Like many illusionist spells the effects of the companion spell(s) are heavily dependent upon your imagination. Existing spells that have been cast along with contingency that have been made available by their casters can be explored in the companion spell compendium.


EVENT-BASED APPLICATION DELIVERY

Network-side scripting capabilities in application delivery controllers offer a unique method of extending a wide variety of IT-related functions “into the network”. When we talk about Infrastructure 2.0 we tend to focus in on control-plane APIs that enable management and dynamism in the infrastructure but network-side scripting can be as integral to enabling an agile and extensible infrastructure as its control-plane API cousins.

“I wish it would do this when that happens” is an utterance I’m sure most of you have heard – if not muttered/exclaimed yourself. No solution is 100% perfect for your environment and needs; there’s always something you wish it could/would do that it doesn’t. In most cases there’s nothing you can do about it; it’s take it or leave it.

Network-side scripting provides the means by which you can probably make that happen when this happens. The number of that happens supported by network-side scripting capable solutions varies but in some cases is quite lengthy and spans a wide variety of infrastructure concerns. Network-side scripting enables you to say WHEN THAT_HAPPENS do THIS. It provides a framework in which you can tailor application delivery functions – security, authentication, acceleration, optimization, load balancing, routing, transformation - to your unique environment in a way that’s just not possible in a turn-key solution.


EXAMPLE: IMPROVING SECURITY-RELATED RESPONSES

One of the downsides to web application firewalls has been that the range of actions you can perform has always been somewhat limited. You can block, quarantine, log, or ignore policy violations but it’s difficult to enable custom functionality. “Contingency”, a.k.a. network-side scripting, changes that and allows developers and architects to respond to application security policy violations specifically tailored to suit organizational needs. Both inbound (request) and outbound (response) violations can be used to trigger custom responses.

Just a few of the attack types you can respond to are:

  • ATTACK_TYPE_TROJAN_BACKDOOR_SPYWARE
    Trojan/Backdoor/Spyware
  • ATTACK_TYPE_DETECTION_EVASION
    Detection Evasion
  • ATTACK_TYPE_VULNERABILITY_SCAN
    Vulnerability Scan
  • ATTACK_TYPE_ABUSE_OF_FUNCTIONALITY
    Abuse of Functionality
  • ATTACK_TYPE_AUTHENTICATION_AUTHORIZATION_ATTACKS
    Authentication/Authorization Attacks
  • ATTACK_TYPE_BUFFER_OVERFLOW
    Buffer Overflow
  • ATTACK_TYPE_PREDICTABLE_RESOURCE_LOCATION
    Predictable Resource Location
  • ATTACK_TYPE_INFORMATION_LEAKAGE
    Information Leakage
  • ATTACK_TYPE_DIRECTORY_INDEXING
    Directory Indexing
  • ATTACK_TYPE_PATH_TRAVERSAL
    Path Traversal
  • ATTACK_TYPE_XPATH_INJECTION
    XPath Injection

The ability to act on specific policy violations combined with the proper context provides the means by which a web application firewall can be leveraged to enhance business value – by providing helpful information to legitimate users that can assist in resolving the problem without involving the help/support desk – as well as the overall security posture of the applications being defended. Perhaps its nothing more than a custom blocking page on which you emphatically inform the violator that you know what they’re doing or a redirection to a self-service site for users you know, because you have the proper context, are simply having a bad day and need some help.

Ultimately the purpose of this kind of flexibility is to enable a more agile infrastructure and increase visibility into application delivery. Visibility comes from information, and it is a wealth of information that can be provided by examining application security policy violation events. Even if the response is nothing more than to log the details information security pros deem important it’s improving the visibility into the application environment that can aid IT in improving web application security and related processes.

Follow me on Twitter    View Lori's profile on SlideShare  friendfeed icon_facebook

AddThis Feed Button Bookmark and Share

Related blogs & articles:

 



Feedback

1/21/2010 4:19 AM
Gravatar If you need an all in one solution then I would look at something like unified threat management also known as a UTM.Cyberoam firewall is the only UTM firewall that...
Rapid Share
12/10/2009 3:56 AM
Gravatar JSON versus XML: Your Choice Matters More Than You Think
Lori MacVittie
2/20/2010 4:07 PM
Gravatar Range of firewalls really limited. most can say. That it is insufficient for the existing threats. This problem may be considered more carefully.
Ben S
2/23/2010 3:56 AM
Gravatar Thanks for help! This is just what I was looking for!
Alex
3/11/2010 10:12 PM
Gravatar application security policy violation events. Even if the response is nothing more than to log the details information security pros deem important it’s improving the visibility into the application environment that can aid IT in improving web application security and related processes.
pamphlets design
4/22/2010 3:24 PM
Gravatar Ok, sounds nice. On the caching location couldnt/woudlnt it be not as hard to map a network drive to the S3 location and have that as a cache directory in ArcGIS Server versus converting and copying the information, hence the reason I mentioned VPC? Not sure if you can do it other wise.
Car Rental Nice Airport
5/17/2010 11:20 PM
Gravatar Perhaps its nothing more than a custom blocking page on which you emphatically inform the violator that you know what they’re doing or a redirection to a self-service site for users you know, because you have the proper context, are simply having a bad day and need some help.


( Download Movies | Download TV Shows )
randi420
5/28/2010 1:46 AM
Gravatar Perhaps look into something like spyware removal online, it might help with the attacks and problems you're having.
Jake

Let Me Know What You Think


Please use the form below if you have any comments, questions, or suggestions.

Title:
 
Name:
 
Email: (so we can show your gravatar)
Website:
Comment: Allowed tags: blockquote, a, strong, em, p, u, strike, super, sub, code
 
Please add 7 and 1 and type the answer here:

Blog Stats

Posts:978
Comments:1685
Stories:0
Trackbacks:583
  

Image Galleries

  

Application Delivery

  

Cloud Computing

  

Random

  

Security

  

Chat Catcher

82,243 Members in 102 Countries and Growing!

Join DevCentral Today!

About DevCentral

DevCentral has been a successful, thriving community for many years. We have always strived to bring you the best technical documentation, discussion forums, blogs, media and much more that we can.

So dive in, get familiar with DevCentral. We hope you like it, we hope it makes your job easier, and lets you get that much more power out of the community. To learn more, make sure to check out the Getting Started section. And if you have any problems, or think something could be easier to use, drop us a line to let us know.

Got It !

We've received your comment and transmitted it directly to DevCentral HQ.

Thanks for taking time to let us know what's on your mind. At DevCentral | Community Matters!

Get In Touch With Us

Have questions, suggestions or just want to get something off your chest?

Use our handy form below to Direct Connect with DevCentral Mission Control.

Send Us Feedback       or