Penetration testing (pen testing) is an authorised, simulated cyber attack performed by security professionals to identify vulnerabilities in a system before real attackers find them. The key distinction from criminal hacking is written permission and agreed scope — pen testers are hired by organisations to find weaknesses, not exploit them maliciously.
The goal is to produce a detailed report listing vulnerabilities found, their severity, and recommended fixes — so the organisation can strengthen its defences.
Tester has full knowledge of the system — architecture, source code, credentials. Most thorough. Simulates an insider threat or post-breach attacker.
Tester has no prior knowledge — simulates an external attacker. Realistic but may miss issues that only appear with internal knowledge. Time-consuming.
Tester has partial knowledge (e.g. user-level credentials). Simulates an attacker who has already gained some internal access. Most common in practice.
| Aspect | Penetration Testing | Criminal Hacking |
|---|---|---|
| Permission | Written authorisation from the organisation | No permission — illegal |
| Scope | Agreed and limited scope | No limits |
| Intent | Find and report vulnerabilities to improve security | Exploit for financial gain, espionage, disruption |
| Outcome | Detailed report with remediation advice | Damage, data theft, disruption |
| Legal status | Legal (under the Computer Misuse Act when authorised) | Illegal under the Computer Misuse Act |
Network forensics is the collection, analysis, and preservation of network data to investigate security incidents. After a breach, forensic analysis determines: what happened, when, how, what data was accessed, and who was responsible.
Audit logs record all significant system events — logins, file access, configuration changes, failed attempts. They provide an audit trail for forensic investigation. Logs must be stored securely and in a tamper-proof format — otherwise attackers may delete them to cover their tracks.
An automated form of finding weaknesses — scanning software (e.g. Nessus, OpenVAS) checks systems against a database of known vulnerabilities. Less thorough than pen testing (no exploitation), but faster and cheaper. Used routinely to monitor for newly disclosed vulnerabilities in software versions in use.
8 questions · 19 marks
| Term | Definition |
|---|
Timed exam conditions.