This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

Difference between revisions of "AppSensor Cheat Sheet"

From OWASP
Jump to: navigation, search
(old material that can be deleted)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
= Introduction =
+
{{taggedDocument
 
+
| type=delete
All users make mistakes, but attackers also perform actions that the user interface doesn't offer or are impossible to do without using tools like intercepting proxies. The AppSensor concept describes how to make applications attack-aware.
+
| comment=Very old material that can be deleted.
 
+
}}
AppSensor will:
 
 
 
* Identify whether your application is under attack in real time
 
* Optionally initiate an immediate response action to protect the application and its data
 
 
 
AppSensor does not:
 
 
 
* Implement error handling for you (although detection points are often inherently linked with error handling code)
 
* Perform application security logging (but logging mechanisms could be used to record detected events)
 
* Protect you if you have existing vulnerabilities (fix known vulnerabilities and implement secure-SDLC activities to avoid new ones)
 
 
 
Where possible implement the recommendations in the other cheat sheets as thoroughly as possible first, before considering the ideas within AppSensor. Robust error handling mechanisms and security event logging should already be part of  well designed quality software.
 
 
 
= Purpose =
 
 
 
Distribute detection points in the application to detect very suspicious and blatantly malicious use
 
 
 
Collect these event event data
 
 
 
Define a very low tolerance threshold, and take a predefined automated action once a user exceeds the limits of reasonable use
 
 
 
= Pre-requisities =
 
 
 
 
 
 
 
= What to detect =
 
 
 
It is very important not to make detection overly complex, and vital not to include events which could be triggered by normal, even accidental, behavior.
 
 
 
The most commonly implemented detection points are:
 
 
 
*
 
*
 
*
 
 
 
 
 
= How to respond =
 
 
 
Thresholds:
 
 
 
*
 
*
 
*
 
 
 
Typical responses, that the application may already support in some manner, are:
 
 
 
* Change monitoring of the user (e.g. increase logging level)
 
* Raise an alert
 
* Add time delays
 
* Log a user out (and possibly lock the account)
 
 
 
More advanced responses could include
 
 
 
*
 
* Changing a function (adding a CAPTCHA, ??? )
 
* Disabling a function (for the user, for a group of users, for all users)
 
* Affecting behaviour of another systems (e.g. goods despatch held, firewall blocks IP address)
 
* Altering user properties (changing their credit level)
 
 
 
 
 
 
 
= How to =
 
 
 
== Software acquisition ==
 
 
 
== In your own code ==
 
 
 
 
 
 
 
 
 
== No code available ==
 
 
 
 
 
= Related articles =
 
 
 
Other [http://www.jtmelton.com/2012/05/01/year-of-security-for-java-week-18-perform-application-layer-intrusion-detection/ Year of Security for Java Week 18 - Perform Application Layer Intrusion Detection ]
 
 
 
 
 
= Authors and primary contributors =
 
 
 
 
 
 
 
Colin Watson - colin.watson[at]owasp.org
 
 
 
 
 
 
 
 
 
{{Cheatsheet_Navigation}}
 
 
 
[[Category:Cheatsheets]] [[Category:OWASP_Defenders]]
 

Latest revision as of 21:04, 17 August 2018

This page has been recommended for deletion.
You can help OWASP by improving it or discussing it on its Talk page. See FixME
Comment: Very old material that can be deleted.