Application Security Fundamentals
Covers fundamental security concepts including ASAP security process, OWASP tools, access control principles, data protection, vulnerability mitigation, and secure development practices
Questions
How can we prevent dictionary attacks on password hashes ?
- Hashing the password twice
- Encrypting the password using the private key
- Use an encryption algorithm you wrote your self so no one knows how it works
- Salting the hash
Implementing Access Control based on a hard coded IP address
- Can be done as it as an internal IP
- Can be done for internet facing servers as there are no chances of IP conflicts
- Is a good security practice
- Is a bad security practice
Temporary files
- Should be placed securely in a folder called “temp” in the web root
- Can be placed anywhere in the web root as long as there are no links to them
- Should be completely removed from the server
- Can be placed anywhere after changing the extension
What is the preferred medium for backing up log files ?
- Print the logs to a paper
- Create a copy of data in your laptop/desktop
- Copy the files to CD-R's
- None of the above
What is the common cause of buffer over flows, cross-site scripting, SQL injection and format string attacks?
- Unvalidated input
- Lack of authentication
- Improper error handing
- Insecure configuration management
Configuration Management Security principles apply to
- Commercial applications
- Custom built applications
- In house developed applications
- All of the above
Out of the following which one can be considered as a possible solutions for SQL injection vulnerability?
- Data Validation
- Secure Cookies
- Encryption
- Comprehensive exception handling
Which of the following should be stored in the cookie?
- Session ID
- Account Privileges
- UserName
- Password
Data hashing will
- Ensure that the data has not been tampered with
- Ensure that the session is valid
- Ensure that the user is valid
- All of the above
What should be considered the most while doing data classification
- The type of users who would be accessing the data
- Availability, Integrity and Confidentiality
- The threat level the company faces
- Access controls protecting the data
What are the fundamental principles of Security?
- Availability, Integrity, Confidentiality
- Usability, Reliability, Accountability
- Quality, Accountability, Integrity
- None of the above
When is the best time to think about application security
- During testing
- During development
- During design
- During all phases of application development
What is OWASP WebScarab?
- An insecure J2EE web application
- A framework for analyzing applications that communicate using the HTTP and HTTPS, most common usage is an intercepting proxy
- Static Source Code Analyser
- Penetration Testing Tool
Which among the below is a browser based HTTP tampering tool for Firefox browser?
- LiveHTTPHeaders
- Sqlninja
- Bobcat
- WebGoat
What product among the below can be used as a static code analyzer?
- Ounce
- WebInspect
- IBM RAD
- None of the above
Which product among the below can be used as a penetration testing tool?
- Ounce
- DevInspect
- AppScan
- FXCop
What is OWASP WebGoat?
- Web Proxy
- XSS Scanner
- An insecure J2EE web application
- None of the above
The principle of least privilege as it applies to Access control mandates that:
- Group based access control should be implemented to assign permissions to application users
- Consistent authorization checking should be performed on all application pages
- A set of all allowable actions should be defined for each user role and all other's denied
- All failed access authorization requests should be logged to a secure location for review by administrators
The ASAP process can applied at which phase of an application development for best results?
- During testing
- During development
- During all phases of development starting with requirement analysis and ending with rollout
- During design
In the ASAP process what is the main activity carried out in the requirement analysis phase?
- Capture the customer requirements
- Update the project plan
- Capture and update the URS and SRS with security requirements for the project
- None of the above