Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
Which organization manages the standard awareness document for developers and web application security known as the 'Top 10'?
Not quite. Try another option.
Answer: OWASP
OWASP (Open Web Application Security Project) is a non-profit foundation that works to improve the security of software and produces the OWASP Top 10 list of critical web application security risks.
Question 2 of 50
In the context of OWASP Top 10, which vulnerability allows an attacker to access unauthorized functionality or data, such as viewing another user's account details by simply changing a URL parameter?
Not quite. Try another option.
Answer: Broken Access Control
Broken Access Control occurs when restrictions on what authenticated users are allowed to do are not properly enforced, allowing attackers to access unauthorized data or functions.
Question 3 of 50
Which attack involves an attacker stealing a valid session ID to gain unauthorized access to a web server?
Not quite. Try another option.
Answer: Session Hijacking
Session Hijacking is the exploitation of a valid computer session—sometimes also called a session key—to gain unauthorized access to information or services in a computer system.
Question 4 of 50
What is the primary mechanism of a Cross-Site Request Forgery (CSRF) attack?
Not quite. Try another option.
Answer: Tricking a user's browser into sending an unwanted request to a trusted site where the user is authenticated
CSRF forces an end user to execute unwanted actions on a web application in which they are currently authenticated by exploiting the trust that a site has in a user's browser.
Question 5 of 50
Which input would most likely be used to test for a basic SQL Injection vulnerability?
Not quite. Try another option.
Answer: ' OR '1'='1
The payload ' OR '1'='1 (or ) is a classic SQL injection test. It attempts to manipulate the query logic to always return true.
Question 6 of 50
What is the primary defense mechanism against SQL Injection attacks?
Not quite. Try another option.
Answer: Using Parameterized Queries (Prepared Statements)
Parameterized Queries ensure that the database treats user input as data rather than executable code, effectively neutralizing SQL injection attempts.
Question 7 of 50
Which type of XSS attack occurs when the malicious script is permanently stored on the target server (e.g., in a database or forum post)?
Not quite. Try another option.
Answer: Stored (Persistent) XSS
Stored XSS arises when an application receives data from an untrusted source and includes that data within its later HTTP responses in an unsafe way.
Question 8 of 50
In a DOM-based XSS attack, where does the security vulnerability lie?
Not quite. Try another option.
Answer: In the client-side code (JavaScript) processing data
DOM-based XSS occurs when the vulnerability is in the client-side code rather than the server-side code. The attack payload is executed as a result of modifying the DOM environment in the victim's browser.
Question 9 of 50
Which flag should be set on a Set-Cookie HTTP response header to prevent client-side scripts (like XSS payloads) from accessing the cookie?
Not quite. Try another option.
Answer: HttpOnly
The HttpOnly flag directs the browser that the cookie should not be accessible via JavaScript (e.g., document.cookie), mitigating the risk of session theft via XSS.
Question 10 of 50
BeEF is a popular penetration testing tool. What does the acronym stand for?
Not quite. Try another option.
Answer: Browser Exploitation Framework
BeEF stands for Browser Exploitation Framework. It is a penetration testing tool that focuses on the web browser.
Question 11 of 50
Which SQL injection technique involves asking the database true/false questions and determining the answer based on the application's response time?
Not quite. Try another option.
Answer: Time-based Blind SQLi
Time-based Blind SQLi relies on sending an injected query that causes the database to wait (sleep) for a specified period before responding if the condition is true.
Question 12 of 50
What is the mathematical logic often used in tautology-based SQL injection?
Not quite. Try another option.
Answer: (Always True)
Attackers inject statements that evaluate to Always True (like or 'a'='a') to bypass authentication or retrieve all records.
Question 13 of 50
Which mobile deployment model allows employees to use their personal devices for work but requires them to install a Mobile Device Management (MDM) agent?
Not quite. Try another option.
Answer: BYOD (Bring Your Own Device)
BYOD allows employees to use personal devices for work purposes, usually managed partially by corporate MDM software to secure corporate data.
Question 14 of 50
Which OWASP Mobile Top 10 vulnerability refers to the storage of sensitive data (like passwords or API keys) in plain text within the device's file system?
Not quite. Try another option.
Answer: Insecure Data Storage
Insecure Data Storage is a critical vulnerability where developers fail to encrypt sensitive data stored locally on the mobile device.
Question 15 of 50
What is 'Jailbreaking' in the context of mobile security?
Not quite. Try another option.
Answer: Removing software restrictions imposed by the manufacturer on iOS devices
Jailbreaking (on iOS) or Rooting (on Android) involves privilege escalation to remove manufacturer restrictions, allowing the installation of unauthorized software.
Question 16 of 50
Which Bluetooth attack involves sending unsolicited messages (often vCards or images) to a Bluetooth-enabled device?
Not quite. Try another option.
Answer: Bluejacking
Bluejacking is the sending of unsolicited messages over Bluetooth to Bluetooth-enabled devices. It is generally considered annoying rather than damaging.
Question 17 of 50
Which Bluetooth attack allows an attacker to steal data (contacts, calendars, emails) from a device?
Not quite. Try another option.
Answer: Bluesnarfing
Bluesnarfing is the unauthorized access of information from a wireless device through a Bluetooth connection, allowing theft of data.
Question 18 of 50
Which tool is commonly used to automate the detection and exploitation of SQL injection flaws?
Not quite. Try another option.
Answer: sqlmap
sqlmap is an open-source penetration testing tool that automates the process of detecting and exploiting SQL injection flaws and taking over of database servers.
Question 19 of 50
What does a 'Union-based' SQL injection allow an attacker to do?
Not quite. Try another option.
Answer: Combine the results of the original query with the results of a malicious injected query
The UNION operator is used in SQL to combine the result-set of two or more SELECT statements, allowing attackers to retrieve data from other tables.
Question 20 of 50
Which social engineering attack targets mobile users via SMS messages containing malicious links?
Not quite. Try another option.
Answer: Smishing
Smishing (SMS Phishing) is a form of phishing that uses text messages to trick users into clicking malicious links or divulging private information.
Question 21 of 50
In the context of browser exploitation, what is a 'hook'?
Not quite. Try another option.
Answer: A script that binds the victim's browser to the attacker's framework (e.g., BeEF)
In tools like BeEF, a hook is a JavaScript file that, once executed by the victim's browser, establishes a command and control channel back to the attacker.
Question 22 of 50
Which mitigation technique involves generating a unique random token for every user session and validating it with every state-changing request to prevent CSRF?
An Anti-CSRF Token is a unique, random, and unpredictable value submitted by the client application to the server, ensuring the request originated from the legitimate application.
Question 23 of 50
What is 'Bluebugging'?
Not quite. Try another option.
Answer: Taking full control of a Bluetooth device to make calls or listen to conversations
Bluebugging allows an attacker to take over a mobile phone, allowing them to make calls, send messages, and eavesdrop on conversations.
Question 24 of 50
Which vulnerability allows an attacker to inject malicious code into a website that is then executed by other users?
Not quite. Try another option.
Answer: XSS
XSS (Cross-Site Scripting) enables attackers to inject client-side scripts into web pages viewed by other users.
Question 25 of 50
Which COPE deployment model stands for?
Not quite. Try another option.
Answer: Corporate Owned, Personally Enabled
COPE stands for Corporate Owned, Personally Enabled. The company owns the device but allows the employee to use it for personal tasks.
Question 26 of 50
Which type of malware disguises itself as legitimate software to trick the user into installing it?
Not quite. Try another option.
Answer: Trojan Horse
A Trojan Horse is malware that misleads users of its true intent by appearing to be a legitimate program.
Question 27 of 50
What is the primary risk associated with 'Side-Loading' apps on Android?
Not quite. Try another option.
Answer: It bypasses the official app store security checks, increasing malware risk
Side-loading involves installing applications from sources other than the official Google Play Store, bypassing security vetting and increasing the risk of installing malware.
Question 28 of 50
Which attack involves an attacker creating a fake mobile transmission tower to intercept mobile traffic?
Not quite. Try another option.
Answer: IMSI Catcher (Stingray)
An IMSI Catcher mimics a cell tower to trick mobile devices into connecting to it, allowing interception of calls and SMS.
Question 29 of 50
Identify the vulnerability: An application allows uploading a file named shell.php without validating the file type.
Not quite. Try another option.
Answer: Unrestricted File Upload
Unrestricted File Upload allows an attacker to upload malicious scripts (like a web shell) that can be executed on the server.
Question 30 of 50
Which component is essential for a 'Reflected XSS' attack to succeed?
Not quite. Try another option.
Answer: Social engineering to trick a user into clicking a crafted link
Reflected XSS requires the payload to be part of the request (e.g., URL parameters). The attacker must trick the victim into clicking this malicious link.
Question 31 of 50
What does the 'SameSite' cookie attribute helps prevent?
Not quite. Try another option.
Answer: CSRF (Cross-Site Request Forgery)
The SameSite attribute prevents the browser from sending the cookie along with cross-site requests, effectively mitigating CSRF attacks.
Question 32 of 50
Which of the following is a symptom of a mobile device being infected with spyware?
Not quite. Try another option.
Answer: Unexpected high data usage and rapid battery drain
Spyware runs in the background, collecting and transmitting data, which consumes data bandwidth and battery power.
Question 33 of 50
Reverse engineering an Android app (APK) is often used in penetration testing to:
Not quite. Try another option.
Answer: Identify hardcoded API keys and logic vulnerabilities
Penetration testers decompile APKs to view the source code and look for hardcoded secrets (keys) or insecure coding logic.
Question 34 of 50
Which attack involves overlaying a legitimate application with a fake window to trick users into entering sensitive data on a mobile device?
Not quite. Try another option.
Answer: Tapjacking / Overlay Attack
Tapjacking (or screen overlay attack) involves tricking the user into tapping a hidden element by covering it with a fake UI overlay.
Question 35 of 50
In SQL Injection, what is the purpose of the -- or # characters?
Not quite. Try another option.
Answer: To comment out the rest of the original SQL query
In SQL, -- (and # in MySQL) signifies the start of a comment. Attackers use this to ignore the remainder of the original query after injecting their payload.
Question 36 of 50
Which of the following represents a 'Blind' SQL Injection scenario?
Not quite. Try another option.
Answer: The application does not return data but behaves differently (true/false) based on the injection
Blind SQL Injection occurs when the application does not return error messages or data, so the attacker infers data based on the application's behavior (content change or time delay).
Question 37 of 50
Which mobile vulnerability involves an app accidentally sharing access to its components (Activities, Services) with other malicious apps?
If Android components are 'exported' in the manifest without proper permissions, other malicious apps on the device can access them.
Question 38 of 50
What is 'Vishing'?
Not quite. Try another option.
Answer: Voice Phishing (using phone calls)
Vishing stands for Voice Phishing, where attackers use phone calls or VoIP to deceive victims into revealing personal information.
Question 39 of 50
Which technique is used to bypass mobile device screen locks using residues left by fingers?
Not quite. Try another option.
Answer: Smudge Attack
A Smudge Attack analyzes the oily residues (smudges) left on a touchscreen to infer the unlocking pattern.
Question 40 of 50
Which of the following is a valid method to secure a session ID?
Not quite. Try another option.
Answer: Regenerating the Session ID after a successful login
Session Regeneration prevents session fixation attacks by issuing a fresh session ID once the user authenticates.
Question 41 of 50
Malware that encrypts a user's files and demands payment for the decryption key is known as:
Not quite. Try another option.
Answer: Ransomware
Ransomware denies access to a device or data (usually via encryption) until a ransom is paid.
Question 42 of 50
In the context of malware, what is a 'Wrapper' or 'Binder'?
Not quite. Try another option.
Answer: A tool used to combine a malicious executable with a legitimate file
A Wrapper or Binder combines a malicious payload with a benign file (like a game or image) so the user installs the malware while thinking they are opening the safe file.
Question 43 of 50
What is the function of a C2 (Command and Control) server in a malware attack?
Not quite. Try another option.
Answer: To issue instructions to compromised devices (botnet) and receive stolen data
A C2 server allows the attacker to control infected machines remotely, send commands, and exfiltrate data.
Question 44 of 50
Which encoding is often used in XSS payloads to bypass basic keyword filters (e.g., converting < to %3C)?
Not quite. Try another option.
Answer: URL Encoding (Percent Encoding)
URL Encoding replaces unsafe characters with a % followed by two hexadecimal digits, often used to bypass simple string matching filters.
Question 45 of 50
What is 'Session Fixation'?
Not quite. Try another option.
Answer: An attacker setting a user's session ID to a known value before the user logs in
In Session Fixation, the attacker tricks the victim into using a Session ID known to the attacker. Once the victim logs in, the attacker uses that same ID to hijack the session.
Question 46 of 50
Which tool is specifically designed for decompiling Android applications into readable Java source code?
Not quite. Try another option.
Answer: Jadx / APKTool
Jadx and APKTool are standard tools used for reverse engineering Android APK files.
Question 47 of 50
If an attacker inputs admin' -- into a login field, they are attempting to bypass authentication via:
Not quite. Try another option.
Answer: SQL Injection
The input admin' -- attempts to close the string literal and comment out the password check in the SQL query.
Question 48 of 50
Which of the following is an example of a Social Engineering attack utilizing authority?
Not quite. Try another option.
Answer: An attacker pretending to be the CEO asking for an urgent wire transfer
This relies on Authority (impersonating an executive) and Urgency to trick the victim into bypassing procedures.
Question 49 of 50
What defines a 'Hybrid' mobile application?
Not quite. Try another option.
Answer: It is a web application wrapped in a native container
Hybrid apps are built using web technologies (HTML, CSS, JS) and run inside a native container, allowing them to work on multiple platforms.
Question 50 of 50
Which mathematical concept is primarily compromised when an attacker successfully performs a 'Integer Overflow' attack on a web application?
Not quite. Try another option.
Answer: Data Integrity / Correctness of calculation
Integer overflows occur when an arithmetic operation attempts to create a numeric value that is outside of the range that can be represented, compromising the Integrity and logic of the application.
That's unit 4
Answer a few questions and your score shows up here.
Nearly through. Did unit 4 of INT245 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 4 of INT245 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.