
The definitive resource for IT professionals on vulnerability assessment and penetration testing methodologies, tools, and best practices.
Vulnerability Assessment (VA) is a proactive security practice where systems, networks, and applications are systematically scanned to detect, categorize, and prioritize potential vulnerabilities. This methodical approach helps organizations identify security weaknesses before they can be exploited.
The primary goal of VA is comprehensive discovery and prioritization of vulnerabilities such as outdated software, insecure configurations, weak passwords, open ports, and unpatched systems. This process typically employs automated tools augmented by expert review to ensure thorough coverage of potential attack surfaces.

Regular vulnerability assessments help organizations maintain security compliance and manage risk effectively by providing early warning of potential security issues.

Penetration testing requires technical depth, creativity, and an understanding of attacker tactics, techniques, and procedures (TTPs).
Penetration Testing (PT)—often called "ethical hacking"—takes security assessment a step further by actively emulating real attacks. Testers attempt to exploit discovered vulnerabilities to determine what a malicious actor could potentially achieve: unauthorized access, privilege escalation, data exfiltration, or business disruption.
PT goes beyond automated tool usage, requiring technical expertise, creative problem-solving, judgment, and an understanding of how real attackers operate. This approach provides organizations with concrete evidence of security weaknesses and their potential impact.
Think of VA as a radar system that identifies potential threats, while PT is a stress test that verifies how well your defenses hold up against actual attack scenarios.
Meet regulatory standards such as ISO 27001, PCI-DSS, HIPAA, and other industry-specific requirements through regular security assessments.
Minimize exposure to cybercrime, fraud, and hacktivism by identifying and addressing vulnerabilities before they can be exploited.
Provide management with actionable information about business risks to guide strategic security decisions and resource allocation.
Determine which security investments will deliver the greatest risk reduction, focusing remediation efforts where they matter most.
Both VA and PT are essential, complementary disciplines that work together to create a comprehensive security assessment program. VA provides regular compliance checking and early warning, while PT validates whether existing defenses are effective against real-world attack scenarios.
Reality: Scanners only catch known flaws; manual review and contextual understanding are necessary for comprehensive security. Automated tools are just one component of a robust security program.
Reality: Well-scoped, professional penetration tests include clear rules of engagement, business hour constraints, and contingency plans to minimize disruption while still providing valuable security insights.
Reality: Vulnerability assessment focuses on detection, while penetration testing emphasizes demonstration of impact. They serve different but complementary purposes in security testing.
Reality: Meeting a compliance standard doesn't mean all real-world threats are addressed. Compliance is a baseline, not a guarantee of security against sophisticated attacks.
Reality: Vulnerabilities and threats evolve constantly—testing must be regular and responsive to changes in the environment, threats, and organizational structure.
Despite providing a strong foundation for security, vulnerability assessment has several important limitations that IT professionals should be aware of:
These limitations highlight why vulnerability assessment alone is insufficient for comprehensive security assurance and must be complemented with other security testing approaches.
PT provides practical attacker simulation that identifies endpoint weaknesses that are reachable via real exploits, not just theoretical vulnerabilities. This answers the critical question of whether your security controls are actually effective.
Detailed documentation of pathways from external access to critical systems, demonstrating potential for data theft, ransomware deployment, or operational sabotage. This helps quantify actual risk in business terms.
Maps privilege escalation opportunities and pivoting pathways through the network, showing how initial access could be leveraged to compromise additional systems and gain higher privileges.
Tests monitoring capabilities and incident response readiness by attempting to evade detection during the penetration test, helping identify blind spots in security monitoring.
Provides contextual ranking of vulnerabilities based on real-world exploitability and business impact, not just theoretical severity scores from automated tools.
No prior knowledge provided to testers, simulating an external "unknown" attacker scenario. Strengths: Objective, mimics real threats. Weaknesses: May miss deeper flaws due to limited context.
Complete internal access—code, architecture, admin rights—allowing for comprehensive testing. Strengths: Thorough, detailed assessment. Weaknesses: Resource-intensive, requires high trust.
Some internal information provided, such as user credentials or documentation. Strengths: Practical, balanced efficiency and realism, simulates insider or partner threat.
Testing of routers, firewalls, servers, and network segmentation to identify misconfigurations and vulnerabilities in the core infrastructure.
Assessment of frontend interfaces, backend logic, session management, and API endpoints to identify security weaknesses in web-based systems.
Testing iOS/Android apps and device communication protocols to uncover vulnerabilities specific to mobile platforms and architectures.
Assessment of Wi-Fi, Bluetooth, and other wireless protocols to identify encryption weaknesses, rogue access points, and unauthorized access opportunities.
Testing human elements through phishing, vishing, and on-site attempts to evaluate security awareness and susceptibility to manipulation.
Evaluation of physical security controls including badge systems, locks, and facility access points to identify weaknesses in physical protection.
Choosing the right type of penetration test depends on your organization's specific security needs, compliance requirements, and risk profile. Many organizations benefit from a combination of testing types to achieve comprehensive security coverage.
After security incidents or data breaches to validate that all vulnerabilities have been addressed and prevent repeat attacks through the same vectors.
Before moving new cloud migrations, infrastructure deployments, or major system changes into production to ensure security has been properly implemented.
When connecting with external systems or partners to ensure proper security controls and risk management at integration points.
Energy, telecommunications, water, transportation and other essential services often have legal requirements for regular security testing.
Define objectives, systems in/out of scope, timeline, escalation contacts, and risk appetite. Document proper legal authorization through Rules of Engagement and NDAs.
Identify public, semi-public, and internal data points through OSINT, subdomain enumeration, and network mapping to understand the attack surface.
Map out attack surfaces including entry points, business-critical assets, and potential adversary goals. Prioritize areas with high business or data impact.
Employ automated and manual scanning, code review (if white-box), and documented checklists to identify potential security weaknesses.
Conduct controlled exploitation to prove flaws while managing risk. Document evidence of successful or partial exploits and system state changes.
Enumerate compromised data, possible pivots, and escalation avenues. Test how defenders might detect and respond to the attack.
Draft technical details, business risk assessment, attack narrative, prioritized remediation recommendations, and references.
Remove shells, test data, and temporary accounts. Ensure all changes are reversed, with evidence logged.
After remediation, validate that vulnerabilities are indeed mitigated with no regressions or new issues introduced.
Sign up at Tenable's website and download the latest Nessus Expert installer for your operating system. You'll need to create an account to obtain your activation code.
Run the appropriate installer for your platform: • Windows: Run the .exe installer and follow prompts • Linux (Debian/Ubuntu): sudo dpkg -i Nessus-.deb • Linux (RedHat/CentOS): sudo rpm -ivh Nessus-.rpm • macOS: Mount .dmg and drag application to Applications
For Linux: sudo systemctl start nessusd The Nessus service will be available at https://localhost:8834 in your web browser.
Create an administrator user account, enter your license key when prompted, and download the latest vulnerability plugins (this initial download may take 10-30 minutes).
Configure your firewall to restrict access to the Nessus web interface port, update plugins regularly, and maintain strong unique credentials for the Nessus admin account.
Most distributions include Nmap in their repositories:
sudo apt-get update
sudo apt-get install nmapFor advanced features, consider compiling from source.
Using Homebrew:
brew install nmapTest that Nmap is working correctly:
nmap -v
nmap scanme.nmap.org
Nmap (Network Mapper) is a powerful open-source network scanning tool used for network discovery, security auditing, and vulnerability assessment. Developed by Gordon Lyon (also known as Fyodor), it has become an essential tool for network administrators and security professionals worldwide.
A method used to check for open TCP ports on a target system by sending TCP packets and analyzing the responses. TCP scans can reveal services running on the target and potential entry points for attackers.
A technique used to discover open UDP ports on a target system by sending UDP packets and interpreting the responses (or lack thereof). UDP scans are important as many critical services use UDP.
Nessus is a widely used vulnerability scanner developed by Tenable that helps identify security issues, misconfigurations, missing patches, and known vulnerabilities in systems, networks, and applications.
Nessus scans targets by sending crafted packets to devices/services, comparing responses to a database of known vulnerabilities, and generating detailed reports with CVEs, risk ratings, and remediation steps. It supports both credentialed and non-credentialed scans for different levels of analysis.

Definition: Scans with valid login credentials to access the system as a trusted user.
Benefits:
Limitations:
Definition: Scans from an external perspective without logging into the system.
Benefits:
Limitations:
Most effective security programs utilize both types of scans: non-credentialed to understand the external attack surface and credentialed for comprehensive internal vulnerability management.
Comprehensive discovery of all live hosts, open ports, service versions, and operating system details to build a complete picture of the network landscape.
Leverages the Nmap Scripting Engine (NSE) to automate vulnerability checks, policy compliance verification, brute-force testing, and anomaly detection.
Advanced techniques including packet fragmentation, decoy hosts, and spoofing to test security control effectiveness and detection capabilities.
Flexible reporting in XML, grepable, and HTML formats to support automation, downstream analysis, and integration with other security tools.
Actively maintained with continual development of new scripts and features by a global community of security professionals and researchers.

Web applications are prime targets for attackers due to their public exposure and integration with multiple systems. A comprehensive security assessment examines various potential vulnerability areas:
Testing for injection flaws, cross-site scripting, and other input-based attacks that can lead to unauthorized data access or system compromise.
Evaluating login mechanisms, password policies, session token handling, and protection against session hijacking or fixation attacks.
Checking for horizontal and vertical privilege escalation vulnerabilities that could allow users to access unauthorized resources or functions.
Identifying improper handling of PII, financial data, or credentials through insufficient encryption, insecure transmission, or excessive data retention.
Examining error messages for information leakage and reviewing system configurations for security weaknesses.
Assessing the security of API endpoints and connections to external services that could introduce vulnerabilities.
The industry standard awareness document for web application security risks, including injection, broken authentication, XSS, and sensitive data exposure.
Application Security Verification Standard providing detailed technical requirements for various application security levels, from basic to advanced.
Payment Card Industry Data Security Standard with specific requirements for web applications processing cardholder data.
Broader information security frameworks that include web application security as part of enterprise-wide information security management.
Specialized requirements based on sector (healthcare, finance, government) that address unique regulatory needs and risk profiles.
Implementing these benchmarks provides a structured approach to web application security assessment and helps ensure comprehensive coverage of potential vulnerabilities.
The Common Vulnerability Scoring System assigns a score from 0-10 with vector strings that detail impact, exploitability, and environmental context. This standardized approach allows for consistent evaluation of vulnerabilities across different applications and environments.
A customized risk assessment approach that maps vulnerabilities to business criticality, often visualized as a heatmap. This method helps prioritize remediation efforts based on both technical severity and business impact.
Establishes guidelines for addressing vulnerabilities, typically emphasizing the fastest remediation for issues with the highest impact on business operations or sensitive data.
Each finding must include clear documentation of the scoring rationale to support auditability and management decision-making. This transparency helps build trust in the security assessment process.


Description: Injects operating system commands via input fields to gain shell access or execute unauthorized commands.
Example payload:
; whoamiImpact: Complete system compromise, data theft, or service disruption.
Description: Injects malicious JavaScript into a vulnerable web page, allowing session theft or defacement.
Example payload:
<script>alert(document.cookie)</script>Impact: Cookie theft, session hijacking, phishing attacks.
Description: Manipulates SQL queries via user input to bypass authentication or extract database contents.
Example payload:
' OR '1'='1Impact: Unauthorized data access, authentication bypass, database modification.
Description: Security flaws in authentication mechanisms that allow unauthorized access to user accounts.
Common causes: Weak passwords, poor session management, missing rate limits.
Impact: Account takeover, data breaches, privilege escalation.
Manual penetration testing requires testers to think and act as real adversaries—exploring beyond the "happy path," misusing functionality, and chaining small vulnerabilities into significant exposures. This approach provides insights that automated tools cannot discover.
Effective manual testing combines insights from automated tool outputs with creative investigation to achieve maximum coverage of potential vulnerabilities.
Never proceed without formal, written, scope-approved permission from the system owner. This protects both the tester and the client from legal and operational risks. Document all authorizations before beginning any testing activities.
Avoid denial of service attacks, data deletion, or privileged actions unless explicitly authorized and scheduled. Stay within the defined scope and use test environments when available to minimize risks to production systems.
Record every payload, request, outcome, and timestamp throughout the testing process. This documentation is essential for accurate reporting, remediation guidance, and potential incident response.
Immediately escalate critical vulnerabilities (such as complete authentication bypass) to the appropriate contacts according to the agreed-upon communication plan.
Remove all test data, reset or revoke created accounts and permissions, and provide a clean exit report detailing all actions taken during testing to ensure no lingering artifacts remain.
Concise overview of the "so what"—biggest risks and impacts written for business decision-makers with clear actionable recommendations and risk assessment.
Details of how the assessment was conducted, which standards were used, and what systems or applications were included or excluded from testing.
For each vulnerability: summary, risk score, affected systems, technical and business impact statements, evidence (sanitized screenshots/logs), step-by-step reproduction instructions, and specific remediation guidance.
Table that maps each finding to relevant security standards (e.g., SQL injection → OWASP A1, PCI 6.5.1, NIST 800-53 SI-10) to support compliance efforts.
Prioritized recommendations for addressing vulnerabilities, strategic security improvements, and timeline suggestions for implementing fixes based on risk and resource requirements.
Tools used, scripts, raw data, and additional technical details that support the findings and may be valuable for remediation teams.
The golden rule of security reporting: Write for both technical experts and business stakeholders. Technical details must be accurate and actionable, while business implications should be clear and contextualized.
By clicking submit button, I confirm that I have read, understood, and will follow the information security and privacy responsibilities outlined in this guide, and will promptly report any security concerns.
NUK 9 Information Security Auditors LLP [NUK 9 Auditors]
E702, Arjun, NL Complex, Anand Nagar, Dahisar East
Mumbai, Maharashtra - 400068. India
This material, including all content, graphics, systems, and tools referenced or used herein, is the intellectual property of NUK 9 Auditors. Unauthorized copying, distribution, modification, or use of this material or related systems is strictly prohibited and may result in disciplinary or legal action.
Use of content is permitted only for internal team, it's contracted services and authorized purposes in accordance with company policies.
Security Scanning and Pentesting Essentials