Web Security and Malware Attacks
Test your knowledge of web security vulnerabilities including XSS, CSRF attacks, access control, and malware/worms that exploit systems.
Questions
What are the most important steps you would recommend for securing a Web application?
- Make sure Input Validation is enforced within the code - Security QA testing
- Implement software security policy
- Remove or protect hidden files and directories
- 1 and 2
- all
Main aim of XSS attach is given below
- XSS attacks typically directly target the web server
- XSS attacks typically directly target the web application
- XSS attacks typically directly target the user
- All
Prequisite for CSRF attach is as below
- Attacker must aware of target website
- vicktim must logged in the target website
- victim must be tricked executing unwanted actions on a web application in which he/she is currently authenticated.
- Website must be vulnerable to XSS
- 1,2,3
- ALL
which is true about CSRF
- CSRF attacks are also known as "Sea Surf",
- CSRF attacks are also known as Session Riding,
- CSRF attacks are also known as , Hostile Linking.
- CSRF attacks are also known as One-Click attack
- 1 and 2
- All
Is CSRF and Cross-site Scripting the same thing.
- yes
- no
- not a valid question
- No Idea
Prevention from CSRF is
- Only accepting POST requests
- Using a secret cookie
- Both
- None of the above
An internet worm that infects Linux based systems is
- Butter worm
- Cheese worm
- Nachia worm
- Blaster worm
Welchia worm is also known as
- Blaster worm
- Nachia worm
- kak worm
- email worm
A unix shellscript worm that infects Linux Servers is
- kak worm
- tiger worm
- lion worm
- looksky worm
Which of the following are worms that propagate through e-mail?
- Looksky worm
- Warhol worm
- Klez
- Sober
Which of the following are XSS worms?
- Samy worm
- Bom Sabado
- SQL Slammer
- Sober worm
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
Which of the following is appropriate for customer emails regarding a limited time promotional offer?
- Request that the user authenticate him/herself by replying to the email with their account credentials.
- Personalized greeting line
- Providing easy access to the customer's account via a “Click Here” style link
- Sending the email from a domain set up specifically for the special offer
Cross Site Scripting is an attack against
- Client (Browser)
- Database
- Web Application
- Web Server