Volume 4

Quiz
•
Computers
•
Professional Development
•
Easy
Sweden Garcia
Used 1+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
Which SQL clause can be used by an attacker to combine new SQL queries with the prior query results in an SQL injection attack?
COMBINE
ADD
UNION
MERGE
Answer explanation
The SQL UNION clause accommodates the construction of two SQL statements, appending the results of the second SQL statement to the first. After identifying a server vulnerable to SQL injection, you can craft a secondary query by adding the keyword UNION followed by the new SELECT statement designed to retrieve data from one or more database tables.
2.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
Which of the following is a defense against SSRF and IMDS attacks?
Requiring multi-factor authentication
Requiring IMDSv2 for AWS
Using parametrized queries
Requiring IMDSv2 for Azure
Answer explanation
As a defender, you have several opportunities to protect against SSRF and IMDS attacks. First, you should develop a better understanding of the inputs to the applications you need to defend, including any inputs controlled by the user that could make server-side requests.
Logging resources should also be leveraged to identify misuse of systems. This can include web server logs that may reveal exploits as part of an SSRF attack, but it can also include cloud providers' logs. Finally, for AWS use, you should require that developers use IMDSv2 to protect against SSRF access to IMDS. While this will not protect against access to IMDS by other means of attack (such as command injection), it will mitigate many SSRF attack opportunities against IMDS.
3.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
Which attacker framework requires a hook to be loaded on an XSS-vulnerable website and has modules that allow an attacker to use the victim's browser to scan ports or deliver exploits?
XSS Shell
BeEF
Jikto
Nikto
Answer explanation
An attacker can use BeEF to launch attacks on victims. In order for the attack to be delivered, the victim must execute the BeEF hook (a JavaScript file that is available on the BeEF server). In a drive-by attack, this is not a restriction for the attacker, since the attacker will already have established access to a target website where any JavaScript code can be delivered to the victim.
4.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
Which characteristic distinguishes watering hole attacks from drive-by attacks?
Watering hole attacks target a specific victim group.
Watering hole attacks are focused only against an individual.
Watering hole attacks target vulnerabilities in email clients.
Watering hole attacks target individuals mainly through email.
Answer explanation
A watering hole attack utilizes the same techniques as a drive-by attack with one exception: it is targeted. Where drive-by attacks are mostly opportunistic (the attacker will gladly compromise any vulnerable host), a watering hole attack involves a targeting element against a specific vertical industry or other organization such as a company, government, or political party.
5.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
Drive-by and watering hole attacks use available exploits to target browser vulnerabilities or downloaded files that may be associated with a browser. How are downloaded files associated with a browser thereby allowing exploitation?
MIME file type
DeepBlueCli
Microsoft Office file
MsfVenom
Answer explanation
Drive-by and watering hole attacks use available exploits to take advantage of browser vulnerabilities as well as vulnerabilities in associated software. These exploits may target the browser itself or downloaded files associated with a browser MIME file type.
6.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
XSS is an attack against a user, exploiting a vulnerability where?
Browser
Code
User
Server
Answer explanation
Cross-site scripting (XSS) is an attack against an end-user, leveraging a vulnerability on a server that is not performing input or output validation. This is different from the command injection attack where the server vulnerability is used to exploit the server. In an XSS attack, the user runs malicious code supplied by the attacker from the vulnerable server.
7.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
Which of the following defenses protects against XSS but not SQL injection attacks?
Filtering dangerous characters
Input validation
Parametrized queries
Content Security Policy
Answer explanation
One defense against cross-site scripting (XSS) attacks is using the Content Security Policy (CSP) header on web servers to declare where linked resources can be loaded from in the requested page by the browser. While input validation and filtering dangerous characters are other important defenses, they are useful against both XSS and SQL injection attacks. Using parametrized queries is a defense exclusive to SQL injection attacks, not XSS attacks.
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Herramientas DevSecOps en AWS - Modulo 5

Quiz
•
Professional Development
25 questions
IS.Qz.wk.7.set.A

Quiz
•
Professional Development
30 questions
Cyber Security

Quiz
•
Professional Development
25 questions
SEC+ 001-025

Quiz
•
Professional Development
26 questions
SiberAbluka 601-630

Quiz
•
Professional Development
30 questions
1-30 Quiz

Quiz
•
Professional Development
35 questions
Security+ Wireless Networking and Security

Quiz
•
Professional Development
25 questions
SDdbC#_Final Quiz

Quiz
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade