CY-703-A Ethical Hacking

Ethical Hacking (CY-703-A) Important Questions

The most asked Ethical Hacking (CY-703-A) topics in RGPV papers are Common vulnerabilities in Windows and Linux, Nmap, Scanning and its types and Multi-phased attack simulation. We read the RGPV B.Tech Cyber Security semester 7 papers from 2025 and counted every question. Common vulnerabilities in Windows and Linux, Nmap, Scanning and its types and Multi-phased attack simulation came once each.

Download Paperwala Imp Question & Answer (PDF)

How we made this list
  • Exams counted: 2025
  • All papers on this site: 1 (2025 to 2025)
  • Units asked most: Unit 3 and Unit 1
  • Answers: We wrote these answers with AI help from the real RGPV papers and the syllabus. A teacher has not checked them yet, so read them with your syllabus. How we make these

10 most repeated Ethical Hacking topics (2025)

Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.

Ethical Hacking important questions with answers

Each answer starts with a short answer. Then come how often it was asked, the points to write, a diagram and an exam tip. The questions under each topic are copied from the RGPV papers.

Q1. Common vulnerabilities in Windows and Linux

Short answer. A vulnerability is a weakness that an attacker can use. In both Windows and Linux most of them come from missing patches, weak passwords, wrong settings and too many privileges.

Asked 1 time in 2025 · Unit 1

From the papers

  • “What are some common vulnerabilities found in Windows systems and Linux systems? Discuss.” (June 2025)

Write these points

Windows: common weak points

  • Unpatched system services. Example: the SMBv1 flaw MS17-010 used by WannaCry in 2017.
  • Remote Desktop (RDP) open to the internet with weak passwords.
  • Users working daily as administrator.
  • Theft and reuse of password hashes or login tickets in a domain.
  • Weak service permissions and risky macros in office files.

Linux: common weak points

  • Old kernel or packages. Example: Dirty COW (2016) let a local user gain root.
  • SSH with root login and guessable passwords.
  • Wrong file permissions, world writable files and unsafe SUID programs.
  • Broad sudo rules.
  • Unused services left running. Heartbleed (2014) was a flaw in the OpenSSL library.

How to fix them

ProblemWindows fixLinux fix
Old softwareWindows Update, WSUSapt or dnf updates
Weak loginMFA, lockout policySSH keys, no root login
Extra rightsStandard user accountNarrow sudo rules
Open portsWindows Firewallufw or nftables

Reading one Linux finding.

A check shows a script in /usr/local/bin with permission 777 that root runs every night.

Risk: any local user can edit it, so their commands would run as root.

Fix: set the owner to root and the permission to 750. Check who changed it last.

Real-life example

A house can be unsafe because of a broken lock, a spare key under the mat or a window left open. In a computer these are a missing patch, a weak password and an open service.

Figure: root causes of OS vulnerabilities
Figure: root causes of OS vulnerabilities

Difference between Windows and Linux security

PointWindowsLinuxSame or opposite
Needs regular patchingYesYesSame
Top accountAdministrator or SYSTEMrootOpposite
Source codeClosedMostly openOpposite
Weak passwords are a riskYesYesSame
Usual remote adminRDPSSHOpposite

Exam tip. Make two headings with 4 or 5 points each. Finish with the fix table. Examiners like one named example for each system.

Back to the topic list

Q2. Nmap: host discovery and port scanning

Short answer. Nmap is a free network scanner. It first finds which hosts are up (host discovery) and then sends probes to ports and reads the replies to decide each port's state.

Asked 1 time in 2025 · Unit 1

From the papers

  • “How does NMAP perform host discovery and port scanning? Explain.” (June 2025)

Write these points

Host discovery

  • On a local Ethernet network it uses ARP requests, which are fast and reliable.
  • For remote hosts, a privileged scan sends four probes by default: ICMP echo, TCP SYN to 443, TCP ACK to 80 and ICMP timestamp.
  • Any reply shows that the host is up.
  • The option -sn does discovery without a port scan.

Port scan types

OptionScanHow it works
-sSSYN (half open)Sends SYN, never completes the handshake
-sTTCP connectCompletes the full handshake through the OS
-sUUDPSends UDP probes. Slow
-sAACKMaps firewall filtering, not open ports
-sV / -ODetectionFinds service versions / guesses the OS

Port states

The six states are open, closed, filtered, unfiltered, open|filtered and closed|filtered. By default Nmap scans the 1,000 most common ports of each protocol it scans.

Scan of your own lab machine (sample output).

Command: nmap -sS -sV 192.168.56.101

22/tcp open ssh OpenSSH. 80/tcp open http Apache. 23/tcp closed telnet.

Reading: SSH and a web server are running. Nothing listens on telnet. Next, check that both versions are patched.

Real-life example

A postman first checks which houses in a lane have someone living there. Then the postman knocks on each door. One opens, one says "nobody here" and one gives no answer at all. These are the open, closed and filtered ports.

Figure: replies seen by a SYN scan
Figure: replies seen by a SYN scan

Difference between SYN scan and connect scan

PointSYN scanConnect scanSame or opposite
Finds open TCP portsYesYesSame
Completes handshakeNoYesOpposite
Needs raw packet rightsYesNoOpposite
Can be logged by defendersYesYesSame

Exam tip. Draw the three SYN scan cases. This one figure explains open, closed and filtered ports.

Back to the topic list

Q3. Scanning and its types

Short answer. Scanning is the step where the tester actively probes the target to find live hosts, open ports, services and weaknesses. It comes after footprinting.

Asked 1 time in 2025 · Unit 1

From the papers

  • “What is Scanning? List and explain types of scanning performed.” (June 2025)

Write these points

Main types

  1. Network scanning: finds live hosts and the network layout, often with ping sweeps.
  2. Port scanning: finds open ports and the services on them.
  3. Vulnerability scanning: compares services and settings with known weaknesses. Tools include Nessus and OpenVAS.

Related techniques

  • Banner grabbing: reads the text a service sends to learn its name and version.
  • OS fingerprinting: guesses the operating system from how it answers. Active sends probes. Passive only watches traffic.
  • Credentialed scan: logs in with a given account, so it sees missing patches more accurately.

Care while scanning

Scan only the addresses written in the scope. Control the speed, because a hard scan can disturb old devices. Check results by hand, since scanners give false positives.

Narrowing a small lab network.

Network 192.168.56.0/24 has 254 usable addresses.

Network scan: 3 hosts are up. Port scan: one host has ports 22 and 80 open.

Vulnerability scan: reports an old web server version. A manual check confirms it before it goes into the report.

Real-life example

A doctor first asks which part hurts, then examines it and then orders tests. A tester first finds live hosts, then open ports and then weaknesses.

Figure: scanning in order
Figure: scanning in order

Difference between Port scanning and vulnerability scanning

PointPort scanVulnerability scanSame or opposite
Sends probes to the targetYesYesSame
AnswersWhich ports are openWhich weaknesses existOpposite
Needs a flaw databaseNoYesOpposite
Needs permissionYesYesSame

Exam tip. Define scanning in one line, then give the three types as headings. Add the flow diagram.

Back to the topic list

Q4. Multi-phased attack simulation

Short answer. A multi-phased attack reaches its goal in steps, where each success opens the next. Ethical hackers copy this with written permission to show how small weaknesses join into a big risk.

Asked 1 time in 2025 · Unit 2

From the papers

  • “Discuss how ethical hackers can simulate multi-phased attacks to identify vulnerabilities and improve an organization's security posture.” (June 2025)

Write these points

Plan first

  • Agree the goal, such as reading a dummy file placed on an inner server.
  • Write the scope, time window, forbidden actions and emergency contact.
  • Decide the knowledge given: black box, grey box or white box.
  • Decide the source point: from the internet or from inside.

Phases

  1. Reconnaissance: collect public information.
  2. Scanning and enumeration: find services and accounts.
  3. Initial access: safely prove one weakness, such as a weak test password.
  4. Escalation and movement: check how far that access can go inside the scope.
  5. Reporting and cleanup: remove test accounts and tools, then explain the chain.

How the organisation improves

  • It sees which one fix breaks the whole chain.
  • It tests whether the security team noticed each phase.
  • It orders fixes by real business impact, then retests.

Three medium findings, one high risk.

Finding A: the staff email format is public.

Finding B: one account has no MFA.

Finding C: that account can read an admin shared folder.

Alone each looks moderate. Together they lead to admin data.

Turning on MFA breaks the chain at finding B. Folder rights are fixed next.

Real-life example

In a fire drill the college checks the alarm, the exits and the assembly point together. A problem at one step shows up in the next. A staged security test checks the whole path in the same way.

Figure: a controlled multi-phased test
Figure: a controlled multi-phased test

Difference between Single phase and multi-phased test

PointSingle phaseMulti-phasedSame or opposite
Needs written permissionYesYesSame
What it showsIndividual flawsA chain of flawsOpposite
Time and effortLessMoreOpposite
Ends with a reportYesYesSame
Tests detection over timeLittleMuchOpposite

Exam tip. Mention rules of engagement before the phases. End with how the report improves security.

Back to the topic list

Q5. Controlled attacks and why businesses run them

Short answer. A controlled attack is a planned and authorised security test that behaves like an attacker but stays inside agreed limits. Businesses use it to find and fix weaknesses before a real attacker does.

Asked 1 time in 2025 · Unit 2

From the papers

  • “What is a controlled attack in cyber security, and why do businesses conduct them?” (June 2025)

Write these points

What makes it controlled

  • Written authorisation from the owner of the systems.
  • A clear scope: which addresses, apps and people.
  • Limits: no real data theft, no service damage unless agreed.
  • A time window, a contact person and a stop rule.
  • Safe handling of any data seen during the test.

Why businesses do it

  1. To find real, exploitable weaknesses.
  2. To check that firewalls, alerts and staff respond.
  3. To meet customer, audit or legal needs. Card payment rules (PCI DSS) require penetration testing.
  4. To decide where to spend the security budget.
  5. To protect money, service uptime and trust.

Limits

Inherent limits: a test covers only a period and cannot find every flaw. Imposed limits: the client may block some systems or methods. The report must state both.

A scope line.

In scope: test.example-college.org and 10.10.5.0/24, 10 pm to 4 am, 3 to 7 March.

Out of scope: the live fee payment gateway and any denial of service.

Stop at once and call the IT head if a live system becomes slow.

Real-life example

A bank may hire people to check its locks and alarms on an agreed night. The guards' chief knows the plan. The same act without permission would be a crime.

Figure: life of a controlled attack
Figure: life of a controlled attack

Difference between Controlled attack and real attack

PointControlledRealSame or opposite
May use similar techniquesYesYesSame
PermissionWrittenNoneOpposite
AimImprove securityHarm or profitOpposite
LimitsFixed in scopeNoneOpposite
Can find weaknessesYesYesSame

Exam tip. Underline "written authorisation" and "scope". Then give at least four business reasons.

Back to the topic list

Q6. Justifying the cost of ethical hacking

Short answer. Show that the test costs less than the expected loss it helps to reduce. Present it in business words: money, downtime, law, customers and priority.

Asked 1 time in 2025 · Unit 2

From the papers

  • “How can businesses justify the costs of ethical hacking and penetration testing to stakeholders?” (June 2025)

Write these points

Arguments for stakeholders

  • Loss avoided: response costs, lost sales and recovery work after a breach.
  • Compliance: many contracts and standards ask for security testing.
  • Trust: customers and partners ask for proof of testing.
  • Better spending: fixes go first to risks that were actually shown to work.
  • Preparedness: the response team gets practice.

Risk numbers

TermFormula
SLE (single loss)Asset value × exposure factor
ALE (yearly loss)SLE × yearly rate of occurrence (ARO)
Net benefitALE before − ALE after − yearly cost

Estimated figures for a small firm.

Asset value ₹50 lakh, exposure factor 0.4, so SLE = ₹20 lakh.

ARO before = 0.5, so ALE = ₹10 lakh. After testing and fixes ARO = 0.1, so ALE = ₹2 lakh.

Yearly cost of testing and fixes = ₹3 lakh. Net benefit = 10 − 2 − 3 = ₹5 lakh a year.

These inputs are estimates. Show how the result changes if they are wrong.

Remember. A test alone does not reduce risk. The benefit comes after the fixes are made.

Real-life example

A family pays for a health check-up even when nobody feels ill. Finding a problem early is cheaper than treating it late. A security test is a health check for systems.

Figure: making the business case
Figure: making the business case

Difference between Testing cost and breach cost

PointTestingBreachSame or opposite
Costs money and staff timeYesYesSame
TimingPlannedSuddenOpposite
AmountKnown in advanceUncertainOpposite
Harm to reputationNone expectedPossibleOpposite

Exam tip. Work one ALE example with numbers. It turns a general answer into a strong one.

Back to the topic list

Q7. WEP, WPA, WPA2 and WPA3

Short answer. These are Wi-Fi security standards. WEP is broken, WPA was a temporary repair, WPA2 brought strong AES encryption and WPA3 gives a safer login with a password.

Asked 1 time in 2025 · Unit 3

From the papers

  • “Explain the difference between WEP, WPA and WPA2/WPA3 security protocols.” (June 2025)

Write these points

Comparison

PointWEPWPAWPA2WPA3
CipherRC4RC4 with TKIPAES with CCMPAES (CCMP or GCMP)
IntegrityCRC-32Michael MICCBC-MACCCMP or GCMP tag
Home loginShared keyPSKPSKSAE
StatusBrokenOutdatedUsablePreferred

Main points

  • WEP uses a 24 bit IV. IVs repeat and RC4 key use is weak, so the key can be recovered from captured traffic.
  • WPA changes the key for each packet and uses a 48 bit counter. It ran on old hardware.
  • WPA2-Personal uses a 4 way handshake. A captured handshake allows offline password guessing, so long passwords matter. The KRACK attack (2017) needed client patches.
  • WPA3-Personal uses SAE. It resists offline guessing and gives forward secrecy. It needs protected management frames.
  • Enterprise modes use 802.1X with a login server.

Why a 24 bit IV is too small.

There are only 224 = 16,777,216 different IVs.

At 5,000 frames a second, all are used in about 56 minutes. After that IVs must repeat. With random choice, repeats come much earlier.

For a home router, choose WPA3 (or WPA2-AES), use a long passphrase, turn off WPS and update the firmware.

Real-life example

Think of door locks over the years. The first one opens with a bent pin. The second is a patch on the same door. The third is a strong lock that depends on a good key. The newest also stops a thief from copying the lock to try keys at home.

Figure: Wi-Fi security standards over time
Figure: Wi-Fi security standards over time

Difference between WPA2 and WPA3 Personal

PointWPA2WPA3Same or opposite
Uses a passphraseYesYesSame
Login method4 way handshake with PSKSAE then handshakeOpposite
Offline guessing from captured dataPossibleResistedOpposite
Forward secrecyNoYesOpposite
Uses AESYesYesSame

Exam tip. Draw the four column table first. Write RC4, TKIP, AES-CCMP and SAE clearly.

Back to the topic list

Q8. Stateful and stateless firewalls

Short answer. A stateless firewall judges each packet alone using fixed rules. A stateful firewall also remembers active connections in a state table and judges a packet as part of its connection.

Asked 1 time in 2025 · Unit 3

From the papers

  • “Explain the difference between stateful and stateless firewalls.” (June 2025)

Write these points

Stateless (packet filter)

  • Checks source and destination address, port, protocol and flags.
  • Fast and uses little memory.
  • Reply traffic needs its own rules, which often open wide port ranges.

Stateful

  • Records each connection: addresses, ports, protocol and state.
  • Allows replies that match a known connection.
  • Drops a stray packet that claims to belong to a connection that was never opened.
  • Needs more memory. A flood can fill the state table.

Neither one understands all application data. A web application firewall or proxy looks deeper.

A user opens a website.

Inside 10.0.0.5, port 51000 connects to web server 203.0.113.10, port 443.

Stateless: rule 1 allows outgoing to port 443. Rule 2 must allow incoming from port 443 to high ports.

Stateful: one outgoing rule. The reply is allowed because it matches the saved connection.

An unasked packet from port 443 can pass a loose stateless rule 2. The stateful firewall drops it.

Real-life example

A stateless guard checks every person's pass at the gate and remembers nothing. A stateful guard notes who went out and lets that same person back in. A stranger saying "I just stepped out" is stopped.

Figure: how the two firewalls decide
Figure: how the two firewalls decide

Difference between Stateless and stateful firewalls

PointStatelessStatefulSame or opposite
Filters by IP and portYesYesSame
Keeps connection tableNoYesOpposite
Memory useLowHigherOpposite
Rules for repliesSeparateAutomaticOpposite
Reads all application dataNoNoSame

Exam tip. Draw both paths side by side. The words "state table" must appear.

Back to the topic list

Q9. How attackers evade IDS and IPS

Short answer. Evasion means making harmful traffic look different from what the sensor expects, so it is missed or wrongly rebuilt. Defenders study these ideas to tune their sensors.

Asked 1 time in 2025 · Unit 3

From the papers

  • “How can attackers evade IDS and IPS? List some common evasion techniques.” (June 2025)

Write these points

Common techniques and defences

TechniqueIdeaDefence
FragmentationSplit data into small piecesReassemble before checking
EncodingWrite the same data another wayNormalise (decode) first
EncryptionHide content inside TLS or a tunnelEndpoint sensors, approved inspection
Changing the patternAlter code to miss a signatureBehaviour and anomaly checks
Low and slowSpread actions over a long timeCorrelate logs over days
Alert floodingHide one event among many alertsTune rules, rank alerts

More ideas

  • TTL and overlap tricks make the sensor see different data from the target.
  • Address spoofing and decoys confuse who the source is.
  • Allowed ports carry unwanted traffic, so port number alone is not trusted.

Strong defence

  • Keep signatures and software updated.
  • Use both network and host based sensors.
  • Send logs to one place and test the rules regularly with permission.

Why decoding first matters.

A web rule looks for the text ../ which can mean a path attack.

The same text can arrive URL encoded as %2e%2e%2f.

A sensor that matches raw text misses it. A sensor that decodes first, as the server does, finds it.

Real-life example

A banned item can be broken into parts and carried by different people past a checker who looks at one bag at a time. A better checker joins the information from all bags. This is reassembly and correlation.

Figure: a sensor that is hard to evade
Figure: a sensor that is hard to evade

Difference between Signature and anomaly detection

PointSignatureAnomalySame or opposite
Raises alertsYesYesSame
Compares withKnown patternsNormal behaviourOpposite
New attacksOften missedMay be caughtOpposite
False alarmsUsually fewerUsually moreOpposite
Needs tuningYesYesSame

Exam tip. Write the three column table. Giving the defence beside each technique shows a defender's view.

Back to the topic list

Q10. Effect of IDS and IPS on network scanning

Short answer. An IDS detects a scan and raises an alert. An IPS can also block or slow it, so the scan results may become incomplete or misleading.

Asked 1 time in 2025 · Unit 3

From the papers

  • “Write short note: IDS/IPS impact network scanning” (June 2025)

Write these points

Effects on a scan

  • Many ports hit quickly from one source make a clear signature.
  • An IPS may drop packets, so open ports look filtered.
  • It may block the scanner's address for some time, so later results show hosts as down.
  • It may send resets, which change what the tester sees.
  • Rate limits make scans take longer.

What the ethical tester does

  1. Agrees in advance whether the test measures the IPS or the systems behind it.
  2. To test systems, asks the client to allow the test address for the agreed window.
  3. To test detection, records the time of every scan and compares it with alerts.
  4. Never assumes that filtered means safe.

Same host, two results (illustrative).

With the test address allowed: ports 22, 80 and 3306 show open.

With the IPS blocking: 22 and 80 show filtered and 3306 shows filtered.

Report: port 3306 is really open behind the IPS. The database should not depend on the IPS alone.

Real-life example

If a security guard stops you at the third door you try, you cannot say the other doors are locked. A blocked scanner is in the same position.

Figure: placement of IDS and IPS
Figure: placement of IDS and IPS

Difference between IDS and IPS

PointIDSIPSSame or opposite
Can detect a scanYesYesSame
PlacementWatches a copyIn the traffic pathOpposite
Can blockNot by itselfYesOpposite
Wrong detection harmExtra alertReal traffic blockedOpposite
Needs rule updatesYesYesSame

Exam tip. Draw IDS and IPS placement. Then list three ways an IPS changes scan results.

Back to the topic list

Start with the latest papers

Ethical Hacking - Jun 2025

See all 1 papers →

Ethical Hacking (CY-703-A) FAQs

What are the most important topics in Ethical Hacking?

By how often they were asked in the papers on this site: Common vulnerabilities in Windows and Linux (1 times); Nmap: host discovery and port scanning (1 times); Scanning and its types (1 times); Multi-phased attack simulation (1 times); Controlled attacks and why businesses run them (1 times).

How were these Ethical Hacking important questions chosen?

Each topic was counted from the questions in the past papers listed on this site (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 Ethical Hacking important questions with answers?

Yes. The Paperwala Imp Question & Answer PDF for Ethical Hacking is free to download from this page.

The 10 most repeated topics of Ethical Hacking (CY-703-A) for RGPV B.Tech Cyber Security semester 7, counted from the previous year papers on this site.