Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Volume 4

Total questions: 30

Worksheet time: 3600secs

Name
Class
Date
1.

Which SQL clause can be used by an attacker to combine new SQL queries with the prior query results in an SQL injection attack?

a)

COMBINE

b)

ADD

c)

UNION

d)

MERGE

2.

Which of the following is a defense against SSRF and IMDS attacks?

a)

Requiring multi-factor authentication

b)

Requiring IMDSv2 for AWS

c)

Using parametrized queries

d)

Requiring IMDSv2 for Azure

3.

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?

a)

XSS Shell

b)

BeEF

c)

Jikto

d)

Nikto

4.

Which characteristic distinguishes watering hole attacks from drive-by attacks?

a)

Watering hole attacks target a specific victim group.

b)

Watering hole attacks are focused only against an individual.

c)

Watering hole attacks target vulnerabilities in email clients.

d)

Watering hole attacks target individuals mainly through email.

5.

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?

a)

MIME file type

b)

DeepBlueCli

c)

Microsoft Office file

d)

MsfVenom

6.

XSS is an attack against a user, exploiting a vulnerability where?

a)

Browser

b)

Code

c)

User

d)

Server

7.

Which of the following defenses protects against XSS but not SQL injection attacks?

a)

Filtering dangerous characters

b)

Input validation

c)

Parametrized queries

d)

Content Security Policy

8.

Which of the following files would an attacker retrieve through an SSRF attack on a Linux cloud target to get credentials?

a)

/etc/environment

b)

/etc/passwd

c)

/etc/shadow

d)

/usr/local/apache/passwd

9.

Which of the following cloud providers requires special headers for IMDS that mitigate exploitation through SSRF?

a)

Alibaba Cloud

b)

Google Compute

c)

DigitalOcean Droplets

d)

AWS IMDSv1

10.

When exploiting an SSRF vulnerability, what indicator can tip off an attacker to try other cloud-centric exploitation tactics against a server?

a)

curl of /etc/system.d

b)

curl of /etc/profile

c)

curl of /etc/passwd

d)

curl of /etc/shadow

11.

Which Metasploit module category makes the target do something the attacker wants?

a)

The exploit

b)

The payload

c)

The post module

d)

The auxiliary module

12.

An organization is concerned with drive-by attacks and has invested time and money to develop a strategic threat intelligence capability that monitors attack trends. In which phase of incident response does this occur?

a)

Eradication

b)

Recovery

c)

Containment

d)

Preparation

13.

An employee opens a malicious attachment that exploits an unpatched vulnerability. The Meterpreter payload launches and connects to TCP port 443 of an attacker-controlled IP address. The organization's firewall permits outbound connections to any IP address on TCP port 443. Which security device could still prevent the attacker from taking control of the system?

a)

Web proxy

b)

Network access controller

c)

Stateful inspection firewall

d)

Static firewall

14.

Using the following URL, what is the application vulnerable to if userData.pl responds with the output of nslookup?

http://AFineWebApp/cgi-bin/userData.pl?doc=user1.txt;nslookup MyEvilMachine.com

a)

Command injection

b)

SQL injection

c)

Cross-site scripting

d)

Session manipulation

15.

Which Python tool is capable of identifying and exploiting SQL injection flaws?

a)

Sqlmap

b)

Metasploit

c)

Burp

d)

Acunetix

16.

Drive-by and watering hole attacks can use Microsoft Office files to exploit a victim by supporting code execution. What file type below supports this type of code execution attack?

a)

docm

b)

htm

c)

ppt

d)

xlsx

17.

Which of the following attacks could have a significant impact on cloud targets as it could disclose instance metadata?

a)

Cookie harvesting

b)

XSS

c)

SSRF

d)

SQL injection

18.

Which Meterpreter feature makes it difficult to detect communications?

a)

Utilize TLS

b)

Run a process

c)

Terminate one or more processes

d)

Upload a file

19.
a)

Manipulate the search results returned from the victim's browser

b)

Search the target site for functionality that does not filter user-supplied input

c)

Redirect a victim to the attacker's clone of a web page

d)

Get a cookie that a victim has stored in their browser

20.

When performing live system analysis, SRUM-Dump extracts what items?

a)

srudb.dat file and system registry hive

b)

srudb.dat file and software registry hive

c)

srum.dat file and software registry hive

d)

srum.dat file and system registry hive

21.

Which of the following common web attack techniques targets the supporting database of an application?

a)

Path traversal

b)

Command injection

c)

SQL injection

d)

XSS

22.

Which of the following attacks can be used to deliver an exploit to a user browsing the Internet through a seemingly innocuous website?

a)

Drive-by

b)

XSS

c)

SQL injection

d)

Server-side

23.

How often is the SRUM database updated?

a)

Immediately after every monitored action is done

b)

Every hour and at system shutdown

c)

Every five minutes and at system shutdown

d)

Every fifteen minutes and at system shutdown

24.

Which of the following is an example of a command injection attack on a Linux application?

a)

foo.jpg; whoami

b)

foo.jpg -- whoami

c)

foo.jpg 'or '1'='1

d)

foo.jpg # whoami

25.

Which of the following can be an effective defense against SQL injection attacks?

a)

Ensuring all data are HTML-encoded

b)

Filtering user input at the client side

c)

Using parameterized queries

d)

Filtering user input with quotation of double-quote (" ") only

26.

Which Metasploit payload shovels a shell back to the attacker on a TCP port?

a)

Reverse shell

b)

Port binder

c)

Bind shell

d)

Inject control

27.

How many days of historical data are saved in the System Resource Usage Monitor database?

a)

90

b)

15

c)

30

d)

45

28.

Which of the following is an important consideration when using Sqlmap?

a)

You must supply an error-The use of quotes on the URL is optional.

generating URL.

b)

The use of quotes on the URL is optional.

c)

Database tables are dropped unless the --no-drop option is used.

d)

You must always put the URL in quotes.

29.

Which of the following XSS attacks requires some social engineering effort in conjunction with exploitation of web server–side input processing weaknesses to complete?

a)

Embedded cross-site scripting attack

b)

DOM-based cross-site scripting attack

c)

Reflected cross-site scripting attack

d)

Stored cross-site scripting attack

30.

Which of the following techniques can help mitigate command injection attacks in the short term while application vulnerabilities are resolved?

a)

Deploying a WAF

b)

Implementing application allow-listing

c)

Using parameterized queries

d)

Verifying all the code and fixing the web application