Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.
Penetration Testing and Vulnerability Analysis important questions with answers
Each answer starts with the short answer. Then come the points to write, a diagram and an exam tip. The questions under each topic are copied from the RGPV papers.
Q1. Penetration testing: definition, types, black, white and grey box, methodology stages
Asked 3 times in 2024, 2025 · Unit 1
From the papers
“Define penetration testing and explain its various types with suitable examples.” (Jun 2025)
“What are the common stages of a penetration testing methodology?” (Dec 2025)
“Explain penetration testing. Also differentiate between internal and external penetration testing.” (Dec 2025)
“How does a black-box test differ from a white-box and grey-box test?” (Dec 2025)
The short answer
Penetration testing is an authorized, simulated attack on a system, network or application to find weaknesses before real attackers do. It goes beyond listing flaws: the tester tries to exploit them safely and reports the real risk. Tests are grouped by target (network, web, wireless, social, physical), by position (internal or external) and by knowledge (black, grey or white box).
Write these points
Methodology stages
Planning and scoping: goals, targets, rules of engagement, written permission.
Reconnaissance: collect public information (footprinting, OSINT).
Scanning and enumeration: live hosts, open ports, services, vulnerabilities.
Exploitation: gain access through a weakness.
Post-exploitation: escalate privilege, pivot, collect evidence, keep access only as long as allowed, clean up.
Reporting and retest: findings, risk ratings, fixes; retest after fixes.
Retest after fixes: all critical and high issues closed.
Real-life example
A bank hires a locksmith to try breaking into its own vault with permission. The locksmith then writes down every weak lock: that is a penetration test.
Figure: penetration testing methodologyFigure: black, grey and white box testing
Same or opposite: internal and external penetration testing
Point
Internal
External
Same or opposite
Starting point
Inside the network
From the internet
Opposite
Needs written authorization
Yes
Yes
Same
Threat simulated
Insider, infected laptop
Outside hacker
Opposite
Targets
Servers, AD, file shares
Websites, VPN, mail, public IPs
Opposite
Exam tip. Define penetration testing and write the six stages. Give the types table, then compare internal with external and black, grey and white box.
Q2. Reconnaissance, information gathering, footprinting and DNS reconnaissance
Asked 3 times in 2024, 2025 · Unit 1
From the papers
“Explain the process of information gathering in penetration testing. Discuss the techniques used for reconnaissance and footprinting.” (Jun 2025)
“Why is reconnaissance considered the first and most crucial phase of ethical hacking?” (Dec 2025)
“What is the purpose of DNS reconnaissance in the context of penetration testing? Why is it crucial to gather information about an organization's external presence before conducting a penetration test?” (Dec 2024)
The short answer
Reconnaissance (information gathering) is the first phase of a penetration test: the tester collects as much information as possible about the target before touching it. Footprinting builds a profile of the organization: domains, IP ranges, people, technologies. It is the most important phase because every later step depends on knowing what to attack.
Write these points
Passive and active reconnaissance
Kind
Contact with target
Techniques
Passive
None
WHOIS, search engines, social media, job posts, OSINT, public DNS records, Shodan
Active
Direct
Ping sweeps, port scans, DNS zone transfer attempts, banner grabbing
DNS reconnaissance
Finds subdomains (mail, vpn, dev, test), name servers, mail servers (MX), IP addresses.
The tester now knows to check dev.company.in for an old, unpatched Tomcat.
Real-life example
Before a robbery in a film, the gang watches the bank for weeks: guards, timings, camera spots. Reconnaissance is that watching, done with permission.
Figure: reconnaissance
Same or opposite: passive and active reconnaissance
Point
Passive
Active
Same or opposite
Contact with target
None
Direct
Opposite
Gathers information before attacking
Yes
Yes
Same
Risk of detection
Very low
Higher
Opposite
Example
WHOIS, OSINT
Port scan with Nmap
Opposite
Exam tip. Define reconnaissance and footprinting. Give the passive versus active table, DNS reconnaissance tools and what it reveals. Explain why it is the first and most important phase.
Q3. Vulnerability scanning: scanners, tools and techniques
Asked 3 times in 2024, 2025 · Unit 1
From the papers
“What is Vulnerability Scanning? Discuss the tools and techniques used for vulnerability scanning.” (Jun 2025)
“What is a vulnerability scanner and how does it help organizations assess their security posture?” (Dec 2025)
“Write short note on: Vulnerability scanning tools.” (Dec 2024)
The short answer
Vulnerability scanning is the automated checking of hosts, networks and applications against a database of known weaknesses, such as missing patches, weak settings or default passwords. A vulnerability scanner produces a list of findings with severity scores (CVSS). It shows an organization its security posture quickly and regularly.
Write these points
Techniques
Network scanning: live hosts, open ports and service versions (Nmap).
Authenticated (credentialed) scans: log in to check patches and settings deeply.
Unauthenticated scans: see what an outsider sees.
Web application scanning: crawl pages, test inputs for SQL injection, XSS.
Configuration and compliance checks: CIS benchmarks, PCI DSS.
Tool
Type
Nmap with NSE scripts
Port and service scanner
Nessus, OpenVAS
Network vulnerability scanners
Qualys, Rapid7 Nexpose
Enterprise and cloud scanners
Burp Suite, OWASP ZAP, Nikto
Web application scanners
How it helps the organization
Finds weaknesses before attackers do.
Ranks them by CVSS score so the worst are fixed first.
Tracks progress over time and proves compliance.
Limits: false positives, misses business logic flaws; it lists possible issues while a penetration test proves them.
Critical: Apache Log4j (CVSS 10.0) on 2 servers; patch within 24 hours.
High: SMBv1 enabled on 6 servers; disable this week.
After fixes, the rescan shows 0 critical and 3 high.
Real-life example
A car service centre runs a computer check that lists every warning light and worn part. The mechanic then decides which repairs come first.
Figure: vulnerability scanning cycle
Same or opposite: vulnerability scanning and penetration testing
Point
Vulnerability scanning
Penetration testing
Same or opposite
Method
Automated
Manual plus tools
Opposite
Finds security weaknesses
Yes
Yes
Same
Proves exploitability
No
Yes
Opposite
Frequency
Weekly or monthly
Yearly or after big changes
Opposite
Exam tip. Define vulnerability scanning and a scanner. List the techniques and the tools table. Explain severity ranking, posture tracking and the difference from a penetration test.
Q4. Web application security: common vulnerabilities, testing methodology, HSTS, CIA, business logic testing
Asked 3 times in 2024, 2025 · Unit 2
From the papers
“Explain how web applications are tested for security vulnerabilities. Discuss common web application vulnerabilities.” (Jun 2025)
“Define confidentiality, integrity and availability in the context of web security.” (Dec 2025)
“What is business logic testing and why is it important? Give examples.” (Dec 2025)
“Why is it crucial for web applications to employ HTTP Strict Transport Security (HSTS) to enhance security?” (Dec 2024)
The short answer
Web application security protects websites and web services from attacks on their code, logic and data. Testing follows a methodology such as the OWASP Testing Guide and checks the OWASP Top 10 risks. Its goals are the CIA triad: confidentiality, integrity and availability.
Write these points
CIA triad in web security
Confidentiality: only allowed users read data (HTTPS, access control).
Integrity: data are not changed without permission (input validation, signatures).
Availability: the site keeps working (rate limits, backups, DoS protection).
Browser then uses only HTTPS for the site for a year.
Stops SSL stripping (downgrade to HTTP) on public Wi-Fi and cookie theft over plain HTTP.
Business logic flaw.
A shop lets a user change quantity in the cart request.
Tester sends quantity −2 for a ₹1,000 item plus one ₹3,000 item.
Total becomes 3,000 − 2,000 = ₹1,000: the scanner sees nothing wrong.
Fix: the server rejects quantities below 1 and recomputes the price itself.
Real-life example
A ticket counter that checks your ID (confidentiality), prints the right seat (integrity) and stays open (availability) is secure. A clerk who accepts a minus number of tickets has a logic flaw.
Figure: web application testing
Same or opposite: automated scanning and business logic testing
Point
Automated scanning
Business logic testing
Same or opposite
Done by
Tools
Human tester
Opposite
Part of web application testing
Yes
Yes
Same
Finds
Known patterns (XSS, SQLi)
Misuse of real workflows
Opposite
Needs knowledge of the business
No
Yes
Opposite
Exam tip. Define the CIA triad for the web. List OWASP Top 10 items, the testing steps and HSTS with its header. Give one business logic example.
“Discuss the importance of wireless network security. Explain Wi-Fi vulnerabilities and attacks.” (Jun 2025)
“What are the different Wi-Fi security protocols? Explain in detail.” (Dec 2025)
“Explain the main types of Wi-Fi vulnerabilities in detail.” (Dec 2025)
“Explain the importance of packet sniffing in wireless penetration testing.” (Dec 2024)
The short answer
Wireless network security protects Wi-Fi networks, whose signal reaches outside the building where anyone can listen. Weak protocols, default settings and rogue devices make Wi-Fi a common entry point. Wireless penetration testing checks encryption, authentication, access points and clients, often by packet sniffing.
Write these points
Wi-Fi security protocols
Protocol
Encryption
Status
WEP
RC4 with a 24-bit IV
Broken: key cracked from captured traffic in minutes
WPA
TKIP (RC4)
Deprecated
WPA2
AES-CCMP, 4-way handshake
Common; weak passphrases can be cracked offline
WPA3
SAE handshake, forward secrecy
Current standard; resists offline guessing
Wi-Fi vulnerabilities and attacks
Rogue access point: an unapproved AP plugged into the network.
Evil twin: fake AP with the same name tricks users into connecting.
Deauthentication attack: forces clients off to capture the handshake.
WPS PIN brute force; KRACK on WPA2; default router passwords.
Eavesdropping on open networks; jamming (denial of service).
Packet sniffing in wireless testing
Monitor mode captures all frames in the air (Wireshark, airodump-ng).
Captures the WPA2 handshake to test passphrase strength.
Defence: WPA3 or WPA2-AES with a long passphrase, WPS off, 802.1X for offices, wireless IDS.
Why passphrase length matters.
An 8-digit numeric WPA2 passphrase has 10⁸ = 100 million options.
A GPU testing 1 million guesses per second tries them all in 100 seconds.
A 12-character mix of 62 symbols has 62¹² ≈ 3.2 × 10²¹ options.
At the same speed that takes about 100 million years.
Real-life example
Shouting your bank PIN in a crowded market is like using open Wi-Fi. Anyone nearby can hear it without touching you.
Figure: Wi-Fi security protocols
Same or opposite: WPA2 and WPA3
Point
WPA2
WPA3
Same or opposite
Handshake
4-way PSK
SAE (dragonfly)
Opposite
Uses AES encryption
Yes
Yes
Same
Offline passphrase cracking
Possible
Resisted
Opposite
Forward secrecy
No
Yes
Opposite
Exam tip. Explain why wireless needs special care. Give the protocol table, list five Wi-Fi attacks and explain packet sniffing in testing. End with defences.
“Explain different social engineering techniques used for cyber-attacks.” (Jun 2025)
“How can an attacker perform reconnaissance on a physical facility to identify vulnerabilities?” (Dec 2025)
“List three common tactics used in social engineering attacks targeting wireless networks.” (Dec 2024)
“Explain how employee training programs contribute to the mitigation of social engineering risks.” (Dec 2024)
The short answer
Social engineering attacks people rather than machines: the attacker tricks someone into giving access, data or money. Physical security testing checks whether an outsider can enter buildings and reach equipment. Both are tested because the strongest firewall fails if a staff member opens the door.
Write these points
Techniques
Technique
How it works
Phishing, spear phishing
Fake e-mails that steal logins or deliver malware
Vishing and smishing
Fake phone calls and SMS
Pretexting
A made-up story: "I am from IT support"
Baiting
Infected USB drives left in the car park
Tailgating
Following an employee through a secure door
Quid pro quo
Free help in return for a password
Against wireless networks: evil twin with a fake login page, a caller asking for the Wi-Fi password, a rogue AP hidden in a meeting room.
Physical reconnaissance by an attacker
Watch entrances, guard timings, smoking areas and badge types.
Photograph badges; find unlocked side doors and loading bays.
Dumpster diving for printed documents.
Check open network ports in lobbies and meeting rooms.
Mitigation and employee training
Regular awareness training and simulated phishing tests.
Clear reporting channel; no blame for reporting.
Verify callers through a known number.
Badges, visitor escort, no tailgating policy, shredding, locked server rooms, CCTV.
Multi-factor authentication so a stolen password alone is useless.
Effect of training.
First simulated phishing test: 30 of 200 staff (15%) click the link.
After monthly training for six months: 6 of 200 (3%) click.
Reports to IT rise from 10 to 120.
Each click avoided is one less chance of a real breach.
Real-life example
A thief who wears a courier uniform and walks in behind a staff member never needs to break a lock. That is tailgating.
Figure: social engineering techniques
Same or opposite: phishing and pretexting
Point
Phishing
Pretexting
Same or opposite
Channel
E-mail, links
Phone or in person, with a story
Opposite
Tricks a person into giving access
Yes
Yes
Same
Scale
Many targets
Usually one target
Opposite
Example
Fake bank login mail
Caller posing as IT support
Opposite
Exam tip. Define social engineering and physical security testing. Give the techniques table, the physical recon steps and the training and mitigation list.
Q7. Cryptography: encryption and decryption, symmetric and asymmetric, algorithms
Asked 3 times in 2024, 2025 · Unit 4
From the papers
“What is Cryptography? Explain the role of encryption and decryption in secure communication.” (Jun 2025)
“Describe different cryptographic algorithms and their applications.” (Jun 2025)
“How does symmetric encryption differ from asymmetric encryption?” (Dec 2025)
“Write short note on: Decryption.” (Dec 2024)
The short answer
Cryptography protects information by turning readable plaintext into unreadable ciphertext (encryption) and back (decryption) with keys. It gives confidentiality, integrity, authentication and non-repudiation. Symmetric ciphers use one shared key; asymmetric ciphers use a public and private key pair.
Write these points
Role in secure communication
Encryption hides data in transit and at rest (HTTPS, VPN, disk encryption).
Decryption lets only the key holder read it back.
Hashing checks integrity; digital signatures prove who sent a message.
Protocols combine them: TLS uses RSA or ECDHE to agree a key, then AES to encrypt data.
Algorithm
Type
Application
AES
Symmetric block cipher
Wi-Fi WPA2/WPA3, disk and file encryption, TLS
ChaCha20
Symmetric stream cipher
Mobile TLS
RSA
Asymmetric
Key exchange, signatures, certificates
ECC (ECDH, ECDSA)
Asymmetric
TLS, mobile, cryptocurrency
SHA-256
Hash
Integrity, passwords (with salt), blockchain
Key management: generate, store (HSM), rotate and revoke keys safely; most real failures come from poor key handling.
Symmetric and asymmetric together in HTTPS.
Browser gets the server certificate with its public key.
They agree a fresh 256-bit session key using ECDHE (asymmetric).
All page data are then encrypted with AES-256 using that key (symmetric, fast).
Asymmetric solves key sharing; symmetric does the bulk work.
Real-life example
A locked letter box at the post office is asymmetric: anyone can drop a letter, only the postmaster with the key can open it. A diary lock shared by two friends is symmetric.
Figure: encryption and decryption
Same or opposite: symmetric and asymmetric encryption
Point
Symmetric
Asymmetric
Same or opposite
Keys
One shared secret key
Public and private pair
Opposite
Provides confidentiality
Yes
Yes
Same
Speed
Fast
Slow
Opposite
Example
AES
RSA, ECC
Opposite
Exam tip. Define cryptography, encryption and decryption with their role. Give the algorithm table and the symmetric versus asymmetric comparison with the HTTPS example.
Q8. RSA and key space numericals (AES-256 keys, password combinations)
Asked 3 times in 2024, 2025 · Unit 4
From the papers
“If a system uses AES-256 encryption, how many possible keys exist?” (Jun 2025)
“Compute the total number of possible password combinations for an 8-character alphanumeric password (including uppercase, lowercase and digits).” (Jun 2025)
“Perform encryption and decryption using the RSA algorithm for p = 3, q = 11, e = 7, M = 5.” (Dec 2025)
“Demonstrate how the RSA algorithm can be applied to achieve secure communication.” (Dec 2024)
The short answer
RSA is an asymmetric algorithm based on the difficulty of factoring a large number n = p × q. The public key (e, n) encrypts: C = Mᵉ mod n. The private key (d, n) decrypts: M = Cᵈ mod n. Key space numericals count how many keys or passwords exist, which shows how long a brute force attack would take.
Write these points
RSA steps
Choose primes p and q; n = p × q.
φ(n) = (p − 1)(q − 1).
Choose e with gcd(e, φ(n)) = 1.
Find d with e × d mod φ(n) = 1.
Encrypt C = Mᵉ mod n; decrypt M = Cᵈ mod n.
For secure communication: encrypt with the receiver's public key; sign with the sender's private key.
Key space numericals
AES-256: 2²⁵⁶ ≈ 1.16 × 10⁷⁷ possible keys. At 10¹⁸ guesses per second it would take about 3.7 × 10⁵¹ years.
Q9. Legal and ethical considerations; objectives of a penetration test
Asked 2 times in 2024, 2025 · Unit 1
From the papers
“Discuss the legal and ethical considerations associated with penetration testing.” (Jun 2025)
“Evaluate the impact of legal and ethical considerations on the decision-making process for organizations when choosing to conduct penetration testing.” (Dec 2024)
“Discuss the primary objectives of the penetration test in a specific case.” (Dec 2024)
The short answer
A penetration test is legal only with written authorization from the system owner; without it the same actions are crimes (in India under the IT Act 2000, sections 43 and 66). Ethics require staying in scope, protecting data and reporting honestly. The objectives of a test are set before it starts and decide its type and depth.
Write these points
Legal considerations
Signed contract and rules of engagement: scope, dates, IP ranges, allowed techniques.
Third party consent for cloud or hosted systems (provider policies).
Data protection laws (DPDP Act 2023, GDPR) when personal data are seen.
Non-disclosure agreement; liability and insurance for outages.
Ethical considerations
Stay inside the scope; stop if something unexpected is found.
Do no harm: avoid crashing systems and deleting data.
Keep findings confidential; store evidence securely and delete it after the agreed time.
Report every finding honestly, including your own mistakes.
Impact on the organization's decision
Clear legal terms let the organization approve tests on production systems.
Find exploitable weaknesses and their business impact.
Check whether defences detect the attack.
Meet compliance; test after a big change.
Example: an e-commerce site before a festival sale wants to know whether customer card data can be stolen.
Scope letter entries.
Client: XYZ Bank. Targets: netbanking.xyz.in and 10 listed IPs.
Window: 1 to 14 March, 10 pm to 6 am. No denial of service, no social engineering.
Contacts: an emergency phone number on both sides.
Signed by the bank's CISO and the testing firm before any scan starts.
Real-life example
A doctor may operate only with the patient's signed consent; the same cut without consent is assault. Penetration testing works the same way.
Figure: before a test starts
Same or opposite: ethical hacking and malicious hacking
Point
Ethical (penetration testing)
Malicious hacking
Same or opposite
Permission
Written, before testing
None
Opposite
Uses attack techniques
Yes
Yes
Same
Goal
Fix weaknesses
Steal, damage, profit
Opposite
Result
Confidential report
Breach
Opposite
Exam tip. Write the legal needs (authorization, rules of engagement, IT Act), the ethical rules and how they shape the organization's decision. State objectives with a specific case.
“Describe SQL injection and Cross-Site Scripting (XSS) attacks. How can these vulnerabilities be mitigated?” (Jun 2025)
“What is the primary risk associated with SQL injection vulnerabilities in web applications?” (Dec 2024)
The short answer
SQL injection (SQLi) happens when user input is joined into a database query, so an attacker can change the query: read, change or delete data, or bypass login. Cross-site scripting (XSS) happens when user input is put into a web page without encoding, so the attacker's script runs in other users' browsers.
Write these points
SQL injection
Primary risk: loss of the whole database: user data, passwords, card details; changing or deleting records; sometimes control of the server.
Types: in-band (error based, UNION), blind (boolean, time based), out-of-band.
Test with ' OR '1'='1 and sqlmap during an authorized test.
Cross-site scripting
Stored: script saved in a comment and shown to every visitor.
Reflected: script in a link, reflected back in the reply.
DOM based: page JavaScript writes input into the page.
Risk: session cookie theft, fake forms, defacement, actions as the victim.
Mitigation
Attack
Main defences
SQL injection
Parameterized queries or ORM, input validation, least privilege database user, WAF
Code: SELECT * FROM users WHERE name='input' AND pass='pw'.
Attacker types the name ' OR '1'='1' -- and any password.
Query: ... WHERE name='' OR '1'='1' --' ...; the rest is a comment and the condition is always true.
First user (often admin) is logged in. With a parameterized query the input is only data, so the attack fails.
Real-life example
Filling a bank form with "Pay ₹100 to Ravi. Also give me the vault keys" works only if the clerk reads every word as an order. A careful clerk treats your words only as data.
Figure: SQL injection and its fix
Same or opposite: SQL injection and XSS
Point
SQL injection
XSS
Same or opposite
Runs in
Database server
Victim's browser
Opposite
Caused by trusting user input
Yes
Yes
Same
Main target
Stored data
Other users' sessions
Opposite
Key fix
Parameterized queries
Output encoding and CSP
Opposite
Exam tip. Define SQLi with its primary risk and XSS with its three types. Show the login bypass query and the fixes table.
Q11. Exploitation and privilege escalation; knowing the target architecture
Asked 2 times in 2024, 2025 · Unit 2
From the papers
“What are some common tools used for privilege escalation? Explain in detail.” (Dec 2025)
“Why is it important for penetration testers to have a thorough understanding of the target system's architecture before attempting exploitation?” (Dec 2024)
The short answer
Exploitation uses a found weakness to gain access; privilege escalation then raises that access from a normal user to administrator (root or SYSTEM). Understanding the target architecture first (operating systems, network layout, trust links, defences) decides which exploits are safe and useful.
Write these points
Why the target architecture matters
Picks exploits that match the exact OS, version and service.
Avoids crashing production systems; plans safe timing.
Shows trust paths for pivoting (jump servers, domain trusts).
Reveals defences (EDR, IDS) to test detection.
Focuses on the crown jewels: databases, domain controllers.
Privilege escalation
Vertical: user to admin. Horizontal: one user to another user of the same level.
Common causes: unpatched kernel, misconfigured sudo rights, SUID files, weak service permissions, stored passwords, unquoted service paths.
Tool
Platform
Use
LinPEAS, LinEnum
Linux
List misconfigurations and escalation paths
WinPEAS, PowerUp, Seatbelt
Windows
Service, registry and token weaknesses
Metasploit local exploit suggester
Both
Match patches to known exploits
BloodHound
Active Directory
Find paths to domain admin
Mimikatz
Windows
Show reuse of stored credentials (in authorized tests)
A typical escalation path.
Access as web user www-data through an upload flaw.
LinPEAS shows that www-data may run /usr/bin/find with sudo and no password.
That rule lets a command run as root, so full control follows.
Fix: remove the sudo rule; give services only the rights they need.
Real-life example
A visitor pass gets you into the lobby. Finding a staff badge left on a desk gets you into the server room. That second step is privilege escalation.
Figure: exploitation path
Same or opposite: vertical and horizontal privilege escalation
Point
Vertical
Horizontal
Same or opposite
Moves to
Higher privilege (admin)
Same level, other account
Opposite
Abuses weak access control
Yes
Yes
Same
Example
User to root
Customer A reads customer B's orders
Opposite
Impact
Full system control
Other users' data
Opposite
Exam tip. Explain why architecture knowledge comes before exploitation. Define privilege escalation with its two kinds, causes and the tools table. Give one escalation path.
Q12. Reporting and remediation: documentation, stakeholders, tracking and resolving issues
Asked 2 times in 2024, 2025 · Unit 4
From the papers
“Explain the process for tracking and resolving issues identified during testing.” (Dec 2025)
“List the key elements that should be included in a documentation report for a cryptography audit.” (Dec 2024)
“Explain the importance of stakeholder engagement in the successful implementation of cryptographic measures.” (Dec 2024)
The short answer
Reporting and remediation turn test results into fixes. The report documents every finding with evidence, risk and a clear fix. Remediation is tracked until each issue is resolved and retested. Stakeholders (management, IT, developers, legal) must be engaged so that measures are funded, understood and actually used.
Write these points
Key elements of a report (also for a cryptography audit)
A health check-up report lists results, flags what is high, says which doctor to see and when to test again. A penetration test report does the same for systems.
Figure: remediation cycle
Same or opposite: executive summary and technical findings
Point
Executive summary
Technical findings
Same or opposite
Reader
Management
IT and developers
Opposite
Part of the report
Yes
Yes
Same
Language
Plain, business risk
Detailed, technical
Opposite
Content
Overall risk, priorities
Evidence, steps to reproduce and fix
Opposite
Exam tip. List the report elements with the crypto audit items. Write the tracking steps with deadlines by severity and why stakeholders must be engaged.
“What is red teaming? How does it differ from penetration testing?” (Jun 2025)
“Compare between red teaming and penetration testing.” (Dec 2025)
The short answer
Red teaming is a long, goal based simulation of a real adversary: the red team tries to reach a business objective (for example customer data) by any allowed means while the defenders (blue team) are usually not told. Penetration testing is shorter and tries to find as many vulnerabilities as possible in a defined scope.
Write these points
Point
Penetration testing
Red teaming
Goal
Find and list many vulnerabilities
Reach an objective; test detection and response
Scope
Defined systems
Whole organization: people, buildings, technology
Duration
1 to 3 weeks
Weeks to months
Stealth
Not needed; staff may know
High; blue team not informed
Methods
Mostly technical
Technical, social engineering, physical
Output
List of findings and fixes
Attack story, detection gaps
Adversary simulation
Copies tactics of real groups using the MITRE ATT&CK framework.
Tools: command and control (C2) frameworks such as Cobalt Strike or Sliver in authorized exercises.
Purple teaming: red and blue work together to improve detection quickly.
Rules still apply: a signed objective, a trusted agent who can stop the exercise and no real damage.
A red team objective.
Goal: read the CEO's mailbox within 6 weeks.
Week 1: OSINT on staff; week 2: phishing gives one laptop.
Weeks 3 to 5: quiet movement to a mail admin account; the SOC raises one alert but closes it.
Result: goal reached. Lesson: the SOC needs better alert triage, more than another patch.
Real-life example
A school fire drill announced in advance is like a penetration test. A surprise drill that checks whether staff really respond is like red teaming.
Figure: red, blue and purple teams
Same or opposite: red teaming and penetration testing
Point
Red teaming
Penetration testing
Same or opposite
Main question
Can attackers reach the goal undetected?
What weaknesses exist?
Opposite
Needs authorization
Yes
Yes
Same
Defenders informed
No
Usually yes
Opposite
Duration
Long
Short
Opposite
Exam tip. Define red teaming and adversary simulation. Give the comparison table with penetration testing and one objective based example.
“Explain the types of common challenges of CTFs in detail.” (Dec 2025)
“How does a Capture the Flag competition simulate real-world cyber security scenarios? Discuss.” (Dec 2024)
The short answer
A Capture the Flag (CTF) competition is a security contest where teams solve challenges to find hidden text strings called flags (for example flag{...}). It simulates real attacks and defences in a safe, legal lab, so students build the same skills used in penetration testing.
Write these points
Formats
Jeopardy: independent challenges in categories with points.
Attack-defence: each team defends its own services while attacking others.
King of the hill: hold control of a machine as long as possible.
Common challenge types
Category
What you do
Real-world skill
Web
Find SQLi, XSS, logic flaws in a site
Web penetration testing
Cryptography
Break weak ciphers, bad RSA keys
Crypto review
Forensics
Analyze disk images, packets, memory
Incident response
Reverse engineering
Read compiled programs
Malware analysis
Binary exploitation (pwn)
Buffer overflows, format strings
Exploit development
OSINT and steganography
Find data in public sources and images
Reconnaissance
How it simulates the real world
Real tools (Burp, Wireshark, Ghidra, pwntools) on realistic systems.
Time pressure and teamwork, like incident response.
Attack-defence mirrors red and blue teams.
Legal practice space; recruiters value CTF results. Platforms: picoCTF, CTFtime, HackTheBox, TryHackMe.
A small crypto challenge.
Given RSA public key n = 33, e = 7 and ciphertext 14.
n is tiny, so factor it: 33 = 3 × 11; φ = 20; d = 3.
14³ mod 33 = 5. Message 5 maps to the flag flag{5}.
Lesson: RSA with a small n gives no security, the same weakness testers look for in real keys.
Real-life example
A football practice match uses real rules and real skills but nothing is lost. A CTF is a practice match for cyber security.
Figure: CTF challenge categories
Same or opposite: Jeopardy and attack-defence CTF
Point
Jeopardy
Attack-defence
Same or opposite
Play
Solve separate challenges
Attack others and defend your own
Opposite
Captures flags for points
Yes
Yes
Same
Defence needed
No
Yes
Opposite
Best for
Beginners, learning categories
Experienced teams
Opposite
Exam tip. Define CTF and flags. List the three formats and the challenge type table, then explain how CTFs mirror real security work.
Penetration Testing and Vulnerability Analysis (CY-702-A) FAQs
What are the most important topics in Penetration Testing and Vulnerability Analysis?
By how often they were asked in the papers on this site: Penetration testing: definition, types, black, white and grey box, methodology stages (3 times); Reconnaissance, information gathering, footprinting and DNS reconnaissance (3 times); Vulnerability scanning: scanners, tools and techniques (3 times); Web application security: common vulnerabilities, testing methodology, HSTS, CIA, business logic testing (3 times); Wireless security: Wi-Fi vulnerabilities and attacks, security protocols, packet sniffing (3 times).
How were these Penetration Testing and Vulnerability Analysis important questions chosen?
Each topic was counted from the questions in the past papers listed on this site (2024-2025). Repeated is the number of times the topic came. The counts come from keyword matching and the answers are not teacher-reviewed, so use them together with your syllabus.
Is there a PDF of Penetration Testing and Vulnerability Analysis important questions with answers?
Yes. The Paperwala Imp Question & Answer PDF for Penetration Testing and Vulnerability Analysis is free to download from this page.
The 14 most repeated topics of Penetration Testing and Vulnerability Analysis (CY-702-A) for RGPV B.Tech Cyber Security semester 7, counted from the previous year papers on this site.