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 "GSoC2013 Ideas"
Line 163: | Line 163: | ||
− | ===OWASP ZAP: Advanced reporting=== | + | ===OWASP ZAP: Exploring Advanced reporting using BIRT=== |
'''Brief explanation:''' | '''Brief explanation:''' | ||
− | The reports | + | BIRT (Business Intelligence and Reporting Tools) is an open source development framework used for report development. The objective of the project is to explore the development of advance reports in OWASP ZAP using the BIRT Report Designer, which is a an Eclipse plug-in that utilizes BIRT technologies. |
+ | |||
+ | Reports can be designed using the BIRT Report Designer; however a complete integration within OWASP ZAP is the ideal solution. This can be achieve integrating BIRT with OWASP ZAP since the reporting application does not require the BIRT Report Designer user interface to generate a report. | ||
+ | The org.eclipse.birt.report.engine.api package contains the classes and interfaces that an application uses to generate reports. The main classes and interfaces are ReportEngine, EngineConfig, IReportRunnable, IRenderOption and its descendants, and IEngineTask and its descendants. | ||
'''Expected results:''' | '''Expected results:''' | ||
− | A new user interface for | + | *Installed and Configured BIRT Environment into the Eclipse OWASP ZAP project ( this can be delivered as an independent project) |
+ | *Analysis report of the pros-and cons of using BIRT within OWASP ZAP as reporting tool | ||
+ | *Be able to Generate reports from the application using the BIRT report engine API. | ||
+ | *Creation of prototype reports regarding the results output of the Sessions & attacks such as: Alerts, History, Search etc. | ||
+ | *A new user interface for generating reports which is easy to use and provides the user with a wide range of options. | ||
+ | |||
The code should be: | The code should be: | ||
* Clean and easy to follow | * Clean and easy to follow | ||
Line 181: | Line 189: | ||
ZAP is written in Java, so a good knowledge of this language is recommended, as is knowledge of HTML. Some knowledge of application security would be useful, but not essential. | ZAP is written in Java, so a good knowledge of this language is recommended, as is knowledge of HTML. Some knowledge of application security would be useful, but not essential. | ||
− | '''Mentor: | + | '''Mentor: Johanna Curiel''' |
Revision as of 10:07, 10 April 2013
- 1 OWASP Project Requests
- 1.1 OWASP PHP Security Project
- 1.2 OWASP RBAC Project
- 1.3 OWASP XSSer Project
- 1.4 OWASP ZAP: Dynamically Configurable actions
- 1.5 OWASP ZAP: Enhanced HTTP Session Handling
- 1.6 OWASP ZAP: Exploring Advanced reporting using BIRT
- 1.7 OWASP ZAP - SAML 2.0 Support
- 1.8 OWASP Security Research and Development Framework
- 1.9 OWASP ModSecurity CRS - Create "Sniffer-Mode"
- 1.10 OWASP ModSecurity CRS - Port to Java
- 1.11 OWASP ModSecurity CRS - Implement libinjection Code
- 1.12 OWASP ModSecurity CRS - Implement DoS Prevention Code
- 1.13 OWASP ModSecurity CRS - Create a Positive Learning/Profile Engine
- 1.14 OWASP ModSecurity CRS - Create an Engine to Detect Application Flow Anomalies
- 1.15 OWASP OWTF - Reporting
- 1.16 OWASP OWTF - Multiprocessing
- 1.17 OWASP OWTF - SQL database
- 1.18 OWASP Hackademic Challenges - New challenges
- 1.19 OWASP Hackademic Challenges - Source Code testing environment
- 1.20 OWASP Hackademic Challenges - CMS improvements
OWASP Project Requests
OWASP PHP Security Project
Description: OWASP PHP Security project plans to gather around secure PHP libraries, and provide a full featured framework of libraries for secure web applications in PHP, both as separate de-coupled libraries and as a whole secure web application framework. Many aspects of this project are already handled, and are being added to OWASP.
Expected Results: Result of this project is much more security among PHP applications. Most PHP applications are vulnerable and there's no central approach to secure them (due to open source nature). Many people look at OWASP for such information.
Knowledge prerequisite: Anyone with adequate PHP programming language experience (possibly web application development in PHP). There are hard and easy parts of this project. For tougher parts, familiarity with security concepts, advanced SQL, and advanced PHP and web server configuration is required.
Mentor: Abbas Naderi
OWASP RBAC Project
Description: For the last 6 years, improper access control has been the issue behind two of the Top Ten lists.
RBAC stands for Role Based Access Control and is the de-facto access control and authorization standard. It simplifies access control and its maintenance for small and enterprise systems alike. NIST RBAC standard has four levels, the second level hierarchical RBAC is intended for this project.
Unfortunately because of many performance and development problems, no suitable RBAC implementation was available until recently, so developers and admins mostly used ACLs and other forms of simple access control methods, which leads to broken and unmaintainable access control over the time.
OWASP provides the RBAC project, as a stand-alone library with very fast access control checks and standard mature code-base. Currently PHPRBAC which is the PHP version of the RBAC project is released.
Expected Results: Standard NIST level 2 hierarchical RBAC libraries for different programming languages, specially web-based ones such as C/C++/Java/ASP/ASPX/Python/Perl/etc.
Knowledge prerequisite: Good SQL knowledge, library development schemes, familiarity with one of the programming languages.
Mentor: Abbas Naderi
Skill Level: Advanced
For more info, visit phprbac.net
OWASP XSSer Project
XSSer has a correct engine implementation to search/exploit XSS vulnerabilities, but it is necessary to work on some different fields to obtain better results. Some of them are: to fight against "false positive" results, to implemenet a better human-readable output results and to develop some new features (like; CSSer, Code checks user inputs, etc...). Also, it will be nice to update the tool with more valid XSS vectors (DOM, DCP, reflected, etc...) and some "anti-anti-XSS" systems for more common browsers.
There is a roadmap on a pdf file with all tasks required to advance to next release of 'XSSer' (v1.7b - Total Swarm!)
Download: http://xsser.sourceforge.net/xsser/xsser-roadmap.pdf
Brief explanation:
Below is shown a structure of phases and milestones code areas.
Milestones:
• Phase 1: Core: + Bugfixing: - False positives - Fix “swarm” results - Fix 'maximize' screen (bug reported) - Add auto-update revision - Fix multithreading (review) - Research 'glibc' corruption
+ Add crawlering for POST+GET (auto test 'whole' page forms) + Update XSS payloads (vectors.py / DOM.py / DCP.py / etc...) + Advance Statistics results (show more detailed outputs) + Advance Exporting methods (create 'whitehat' reports (xml/json)) + Advance “WebSockets” technology on XSSer 'fortune' option + Update Interface (GTK+)
• Phase 2: New features: + Add 'code pre-check' option: Users can set which code will return target's website, to try to evade false positive results. + Add 'CSSer' option: Payloads for CSS injections. + Research/Search anti-IDS/NIDS/IPS... codes to evade XSS filters. + BurpXSSer: Create a Burp plugin (with Jython libs) + ZAPXSSer: Create a ZAP plugin (with Jython libs)
Expected results:
- To deploy a new stable version of XSSer with GTk+/Web/Shell main features working propertly,
The code should be:
- Clean and easy to follow
- Include a full set of unit tests
- Include good documentation
Knowledge Prerequisite:
XSSer is written in Python, so a good knowledge of this language is recommended, as is knowledge of HTML and Javascript. Also, is necessary to have some knowledge of application security and more in concret about XSS techniques.
Skill Level: Medium
Mentor: epsylon (psy) - OWASP XSSer Project Leader
OWASP ZAP: Dynamically Configurable actions
ZAP provides various mechanisms which allow HTTP requests and responses to be changed dynamically. So (for example) a string in an HTTP request can automatically be changed to another string.
It also supports a scripting interface, which is very powerful but at the moment difficult to use.
This project would introduce something inbetween thess 2 options - a powerful way of defining (potentially) complex rules using a wizard based interface.
The challenge will be to make it as usable as possible while still providing a wide range of functionality.
Brief explanation:
This component would provide a set of highly configurable 'actions' which the user would see up via a wizard.
So they would initially define when the action applies, based on things like regex matching on request elements. And they should be able to define multiple criteria with ANDs and ORs.
Then they would define the actions, which could include:
- Changing the request (adding, removing or replacing strings)
- Raising alerts
- Breaking (to replace existing break points)
- Running custom scripts (which could do pretty much anything)
They would then be able to switch the actions on and off from the full list of defined actions using checkboxes
Expected results:
- A new ZAP add-on providing the above functionality
The code should be:
- Clean and easy to follow
- Include a full set of unit tests
- Include good documentation
Knowledge Prerequisite:
ZAP is written in Java, so a good knowledge of this language is recommended, as is knowledge of HTML. Some knowledge of application security would be useful, but not essential.
Mentor: Simon Bennetts - OWASP ZAP Project Leader
OWASP ZAP: Enhanced HTTP Session Handling
Brief explanation:
ZAP can currently manage multiple sessions. This development would allow ZAP to better handle HTTP Sessions to provide different views of a given target depending on the different user's permissions that the targeted site supports.
This implementation such provide a set of methods to answer questions such as: 1)What nodes(pages) are available to a group of users and not to other groups of users 2)What nodes are available to different users but these contain significant differences in the HTTP headers and/or in the body content.
This will allow ZAP to be used to detect access control issues which would otherwise require manual testing. Expected results:
- ZAP will have an understanding of both users and roles and be able to associate them with HTTP sessions.
- The user will be able to associate credentials with different roles allowing ZAP to automatically authenticate as any user / role.
- ZAP will be able to spider an application using a given user/role.
- ZAP will be able to report the differences between different HTTP sessions.
- ZAP will be able to show different views of the site in the site's tree tab with the pages visible for each session.
- ZAP will be able to attack one session based on the URLs accessed in another session and report which appear to work.
Expected results:
Users will be able to:
- specify exactly which alerts are included, by context, site or on an individual alert basis
- specify what information is included and how it is layed out
- specify a range of output formats, at least including HTML and PDF
- include details of what testing has been performed (automatically generated where possible)
- apply their own branding
- save report templates, and apply templates downloaded from the ZAP marketplace
The code should be:
- Clean and easy to follow
- Include a full set of unit tests
- Include good documentation
Knowledge Prerequisite:
ZAP is written in Java, so a good knowledge of this language is recommended, as is knowledge of HTML and the HTTP protocol specification. Some knowledge of application security would be useful, but not essential.
Mentor: Guifre Ruiz - OWASP ZAP Dev Team
OWASP ZAP: Exploring Advanced reporting using BIRT
Brief explanation:
BIRT (Business Intelligence and Reporting Tools) is an open source development framework used for report development. The objective of the project is to explore the development of advance reports in OWASP ZAP using the BIRT Report Designer, which is a an Eclipse plug-in that utilizes BIRT technologies.
Reports can be designed using the BIRT Report Designer; however a complete integration within OWASP ZAP is the ideal solution. This can be achieve integrating BIRT with OWASP ZAP since the reporting application does not require the BIRT Report Designer user interface to generate a report. The org.eclipse.birt.report.engine.api package contains the classes and interfaces that an application uses to generate reports. The main classes and interfaces are ReportEngine, EngineConfig, IReportRunnable, IRenderOption and its descendants, and IEngineTask and its descendants.
Expected results:
- Installed and Configured BIRT Environment into the Eclipse OWASP ZAP project ( this can be delivered as an independent project)
- Analysis report of the pros-and cons of using BIRT within OWASP ZAP as reporting tool
- Be able to Generate reports from the application using the BIRT report engine API.
- Creation of prototype reports regarding the results output of the Sessions & attacks such as: Alerts, History, Search etc.
- A new user interface for generating reports which is easy to use and provides the user with a wide range of options.
The code should be:
- Clean and easy to follow
- Include a full set of unit tests
- Include good documentation
Knowledge Prerequisite:
ZAP is written in Java, so a good knowledge of this language is recommended, as is knowledge of HTML. Some knowledge of application security would be useful, but not essential.
Mentor: Johanna Curiel
OWASP ZAP - SAML 2.0 Support
Brief explanation:
SAML 2.0 is an XML-based federated single sign-on (FSSO) protocol that uses security tokens containing assertions to pass information about a principal (usually an end user) between a SAML authority, that is an identity provider, and a SAML consumer, that is a service provider. SAML 2.0 enables web-based authentication and authorization scenarios including cross-domain single sign-on (SSO). SAML specifications support many ways, called profiles and bindings, to generate and transport assertions between trusted entities The Web Browser SSO profile is of particular interest here since it enables web applications from 2 separate domains to leverage SSO easily by exchanging assertions via a web browser session.
ZAP provides various mechanisms which allow HTTP requests and responses to be changed dynamically. This project will enhance those capabilities to be able to detect and fuzz various elements and attributes of a SAML Assertion.
The scope of this project is limited to the following SAML bindings, profiles and protocols:
Profiles :
- Web Browser SSO
Bindings:
- HTTP POST
- HTTP Redirect
Protocols:
- Authentication Request Protocol
Expected results:
This component would enable ZAP to:
- Detect SAML Assertions in HTTP requests and responses
- Decode SAML Assertions
- Fuzz various entities and attributes within a SAML assertion
- Re-encode the assertion and send it forward
The code should be:
- Clean and easy to follow
- Include a full set of unit tests
- Include good documentation
Users would have a choice either to fuzz the attributes within an assertion or just add/remove arbitrary attribute (to check for XML and SAML Schema Conformance).
Knowledge Prerequisite:
ZAP is written in Java, so a good knowledge of this language is recommended, as is knowledge of HTML and SAML 2.0 Protocol. Some knowledge of application security would be useful, but not essential. Understanding of SSO and Federated SSO is preferred.
Mentor: Prasad N. Shenoy
OWASP Security Research and Development Framework
Brief explanation:
This is a free open source Development Framework created to support writing security tools and malware analysis tools. And to convert the security researches and ideas from the theoretical approach to the practical implementation.
This development framework created mainly to support the malware field to create malware analysis tools and anti-virus tools easily without reinventing the wheel and inspire the innovative minds to write their researches on this field and implement them using SRDF.
Targeted Applications:
- Packet Analysis Tools (Personal Firewalls, HIDS/HIPS, WAF, Network Analysis, Network Capture)
- Malware Analysis Tools (Static, Dynamic, Behavioral)
- Antivirus and Virus Removal Tools (Signature-based, Behavioral-based)
Expected results:
- Implement XRAY Tool, Recursive Disassembler Tool (based on our disassembler)
- Improve Pokas Emulator and its disassembler engine
- Improve The Kernel-Mode Part and more beta-testing
- Integrate SRDF in python using SWIG
Knowledge Prerequisite:
We need variety of skills in different languages and platforms. We need a good knowledge in C++ in windows. We need a python developer for integrating SRDF in python. We need C++ developers have a good knowledge in Assembly (for working in disassembling part) and we need C++ developers have a knowledge in Kernel-Mode(for Kernel-Mode improvement and beta-testing)
Mentor: Amr Thabet - OWASP Security Research and Development Framework Project Leader
OWASP ModSecurity CRS - Create "Sniffer-Mode"
Brief explanation:
The ModSecurity code includes a "standalone" version that wraps a light weight Apache/APR around the ModSecurity code. This is used as the basis for the ports to the IIS/Nginx web server platforms. The goal for this project task is to extend this standalone version so that it can accept a data feed of network traffic (e.g. libpcap) data as input and apply the ModSecurity CRS rules. One possible solution would be create a ModSecurity "plugin" for the Snort IDS.
Expected results:
This new sniffer mode would allow organizations to run ModSecurity/OWASP ModSecurity CRS in an out of line mode as they do IDS systems.
Knowledge Prerequisite:
C programming and ModSecurity Development Guidelines - http://www.modsecurity.org/developers/.
Mentor: Ryan Barnett - OWASP ModSecurity Core Rule Set Project Leader
OWASP ModSecurity CRS - Port to Java
Brief explanation:
The goal is to have a ModSecurity version that can be used within Java servers (e.g. Tomcat). There may be methods to use JNI to call the standalone code from a filter in Tomcat.
Expected results:
This new version allow organizations to run ModSecurity/OWASP ModSecurity CRS in Java web servers.
Knowledge Prerequisite:
C programming and ModSecurity Development Guidelines - http://www.modsecurity.org/developers/.
Mentor: Ryan Barnett - OWASP ModSecurity Core Rule Set Project Leader
OWASP ModSecurity CRS - Implement libinjection Code
Brief explanation: https://www.modsecurity.org/tracker/browse/MODSEC-327
libinjection (https://github.com/client9/libinjection) is a C library that detects SQLi attacks in user input. It is designed to be embedded in existing or new applications:
- Fast > 100k inspections per second
- No memory allocation
- No threads
- Stable memory usage (approximately 500 bytes on stack)
- 500 lines of C code (plus a few kiobytes of data)
It is based on lexical analysis of SQL and SQLi attempts and does not use regular expressions.
Expected results:
The new C code in ModSecurity will allow us to add new SQL Injection detection methods to the OWASP ModSecurity CRS.
Knowledge Prerequisite:
C programming and ModSecurity Development Guidelines - http://www.modsecurity.org/developers/.
Mentor: Ryan Barnett - OWASP ModSecurity Core Rule Set Project Leader
OWASP ModSecurity CRS - Implement DoS Prevention Code
Brief explanation: https://www.modsecurity.org/tracker/browse/MODSEC-265
Implement a request velocity learning engine to identify dynamic DoS thresholds for both the site and for the particular URL.
Expected results:
The new C code in ModSecurity will allow us to add new DoS Protection methods to the OWASP ModSecurity CRS.
Knowledge Prerequisite:
C programming and ModSecurity Development Guidelines - http://www.modsecurity.org/developers/.
Mentor: Ryan Barnett - OWASP ModSecurity Core Rule Set Project Leader
OWASP ModSecurity CRS - Create a Positive Learning/Profile Engine
Brief explanation: https://www.modsecurity.org/tracker/browse/MODSEC-193
ModSecurity needs a profiling engine that implements the various AppSensor Detection Points - http://blog.spiderlabs.com/2011/08/implementing-appsensor-detection-points-in-modsecurity.html.
Expected results:
The new engine will implement more detection points to detect abnormal request attributes.
Knowledge Prerequisite:
C programming and ModSecurity Development Guidelines - http://www.modsecurity.org/developers/.
Mentor: Ryan Barnett - OWASP ModSecurity Core Rule Set Project Leader
OWASP ModSecurity CRS - Create an Engine to Detect Application Flow Anomalies
Brief explanation:
Need an engine that can track normal application flow paths (click-flows) for business logic transactions - such as transferring money from accounts. After profiling normal application path flows, we want to then be able to alert to anomalies. This type of logic can help to prevent Banking Trojan attacks.
Expected results:
The engine will be able to alert on anomalous application flows.
Knowledge Prerequisite:
C programming and ModSecurity Development Guidelines - http://www.modsecurity.org/developers/.
Mentor: Ryan Barnett - OWASP ModSecurity Core Rule Set Project Leader
OWASP OWTF - Reporting
Brief explanation:
A common complaint about OWASP OWTF so far has been that the report is not very shiny. The intention here is to:
- Move as much of the HTML away from python files into template files: This will facilitate web designer's work in the future.
- Apply some nice web design to the report so that it is more nice and comfortable to work with: Clear the HTML, CSS, etc
- Identify and fix areas of improvement in click flow: For example, try to reduce the distance to move the mouse
Expected results:
- The first reaction when an OWASP OWTF users opens the report is now "wow"
- The report is reliable and easy to work with, even when more than 30 URLs have been assessed (i.e. a lot of data in the report does not crash or make the browser slow)
- The improved design is lightweight and keeps the browser responsive at all times
Knowledge Prerequisite:
HTML, JavaScript, CSS and a bit of Python. Web Designer background or experience would be beneficial for this.
Mentor: Abraham Aranguren - OWASP OWTF Project Leader
OWASP OWTF - Multiprocessing
Brief explanation:
OWASP OWTF can be quite slow when scanning multiple URLs simultanously due to not scanning several hosts in parallel. We would like to use the multiprocessing python library over the threading one to take full advantage of multi-core processors without the global interpreter lock (GIL) issues associated with the threading libary :)
- We would like to scan in parallel several websites when on a different IP:
- We would like to monitor the host machine resources to avoid crashing it before spawning new processes :)
- We would like to run plugins in parallel as much as possible but without compromising integrity: Using file locks where appropriate and so on
Expected results:
- Reliability
- Test cases
- Good documentation
Knowledge Prerequisite:
Python, multiprocessing experience would be beneficial for this
Mentor: Abraham Aranguren - OWASP OWTF Project Leader
OWASP OWTF - SQL database
Brief explanation:
OWASP OWTF scans may take a large amount of disk space due to saving information in text files, we would like to add an option to use a SQL database, probably using the sqlalchemy python library.
- Keep the current text file format as an option
- Add a database storage option using the sqlalchemy library
Expected results:
- Reliability: Both with the sql database option and the text file options.
- Test cases
- Good documentation
Knowledge Prerequisite:
Python, sqlalchemy experience would be beneficial for this
Mentor: Abraham Aranguren - OWASP OWTF Project Leader
OWASP Hackademic Challenges - New challenges
'Brief Explanation:
The challenges that have been implemented so far include: web application challenges covering several vulnerabilities included in the OWASP Top 10, cryptographic challenges, entire virtual machines including several vulnerabilities. New challenges need to be created in order to cover a broader set of vulnerabilities. Also existing challenges can be modified to accept a broader set of valid answers, e.g. by using regular expressions.
Expected Results:
New challenges
Knowledge Prerequisites:
Comfortable in PHP, HTML and possibly Java. Good understanding of Application Security and related vulnerabilities.
Mentor: Konstantinos Papapanagiotou - Hackademic Challenges Project Leader
OWASP Hackademic Challenges - Source Code testing environment
'Brief Explanation:
Existing challenges are based on a dynamic application testing concept. We would like to work on a project that will give the capability to the attacker to review a vulnerable piece of source code, make corrections and see the result in a realistic (but yet safe) runtime environment. The code can either be run if needed or tested for correctness and security. The implementation challenges of such a project can be numerous, including creating a realistic but also secure environment, testing submitted solutions and grading them in an automatic manner. At the same time there are now numerous sites that support submitting code and then simulate or implement a compiler's functionality.
Expected Results:
A source code testing and improvement environment where a user will be able to review, improve and test the result of a piece of source code.
Knowledge Prerequisites:
Comfortable in PHP, HTML and possibly Java. Good understanding of Application Security, source code analysis and related vulnerabilities.
Mentor: Konstantinos Papapanagiotou - Hackademic Challenges Project Leader
OWASP Hackademic Challenges - CMS improvements
'Brief Explanation:
The new CMS was created during last year's GSOC. We have received feedback from users that suggest various improvements regarding functionality e.g. better user, teacher and challenges management. There are also some security improvements that are needed and in general any functionality that adds up to the educational nature of the project is more than welcome.
Expected Results:
User experience, new features and security improvements on the CMS part of the project.
Knowledge Prerequisites:
Comfortable in PHP, HTML and possibly Java. Good understanding of Application Security and related vulnerabilities.
Mentor: Konstantinos Papapanagiotou - Hackademic Challenges Project Leader