WorksheetsVolume 4
Total questions: 30
Worksheet time: 3600secs
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
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
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
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.
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
XSS is an attack against a user, exploiting a vulnerability where?
Browser
Code
User
Server
Which of the following defenses protects against XSS but not SQL injection attacks?
Filtering dangerous characters
Input validation
Parametrized queries
Content Security Policy
Which of the following files would an attacker retrieve through an SSRF attack on a Linux cloud target to get credentials?
/etc/environment
/etc/passwd
/etc/shadow
/usr/local/apache/passwd
Which of the following cloud providers requires special headers for IMDS that mitigate exploitation through SSRF?
Alibaba Cloud
Google Compute
DigitalOcean Droplets
AWS IMDSv1
When exploiting an SSRF vulnerability, what indicator can tip off an attacker to try other cloud-centric exploitation tactics against a server?
curl of /etc/system.d
curl of /etc/profile
curl of /etc/passwd
curl of /etc/shadow
Which Metasploit module category makes the target do something the attacker wants?
The exploit
The payload
The post module
The auxiliary module
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?
Eradication
Recovery
Containment
Preparation
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?
Web proxy
Network access controller
Stateful inspection firewall
Static firewall
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
Command injection
SQL injection
Cross-site scripting
Session manipulation
Which Python tool is capable of identifying and exploiting SQL injection flaws?
Sqlmap
Metasploit
Burp
Acunetix
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?
docm
htm
ppt
xlsx
Which of the following attacks could have a significant impact on cloud targets as it could disclose instance metadata?
Cookie harvesting
XSS
SSRF
SQL injection
Which Meterpreter feature makes it difficult to detect communications?
Utilize TLS
Run a process
Terminate one or more processes
Upload a file
An attacker uses the following URL. What are they attempting to do?
Manipulate the search results returned from the victim's browser
Search the target site for functionality that does not filter user-supplied input
Redirect a victim to the attacker's clone of a web page
Get a cookie that a victim has stored in their browser
When performing live system analysis, SRUM-Dump extracts what items?
srudb.dat file and system registry hive
srudb.dat file and software registry hive
srum.dat file and software registry hive
srum.dat file and system registry hive
Which of the following common web attack techniques targets the supporting database of an application?
Path traversal
Command injection
SQL injection
XSS
Which of the following attacks can be used to deliver an exploit to a user browsing the Internet through a seemingly innocuous website?
Drive-by
XSS
SQL injection
Server-side
How often is the SRUM database updated?
Immediately after every monitored action is done
Every hour and at system shutdown
Every five minutes and at system shutdown
Every fifteen minutes and at system shutdown
Which of the following is an example of a command injection attack on a Linux application?
foo.jpg; whoami
foo.jpg -- whoami
foo.jpg 'or '1'='1
foo.jpg # whoami
Which of the following can be an effective defense against SQL injection attacks?
Ensuring all data are HTML-encoded
Filtering user input at the client side
Using parameterized queries
Filtering user input with quotation of double-quote (" ") only
Which Metasploit payload shovels a shell back to the attacker on a TCP port?
Reverse shell
Port binder
Bind shell
Inject control
How many days of historical data are saved in the System Resource Usage Monitor database?
90
15
30
45
Which of the following is an important consideration when using Sqlmap?
You must supply an error-The use of quotes on the URL is optional.
generating URL.
The use of quotes on the URL is optional.
Database tables are dropped unless the --no-drop option is used.
You must always put the URL in quotes.
Which of the following XSS attacks requires some social engineering effort in conjunction with exploitation of web server–side input processing weaknesses to complete?
Embedded cross-site scripting attack
DOM-based cross-site scripting attack
Reflected cross-site scripting attack
Stored cross-site scripting attack
Which of the following techniques can help mitigate command injection attacks in the short term while application vulnerabilities are resolved?
Deploying a WAF
Implementing application allow-listing
Using parameterized queries
Verifying all the code and fixing the web application
