This project demonstrates how to perform a basic vulnerability assessment on a local machine using free security scanning tools. This is an educational exercise to understand common vulnerabilities and security risks in personal computing environments.
Use free vulnerability scanning tools to identify common security weaknesses on your computer and learn how to interpret scan results and prioritize remediation efforts.
- OpenVAS Community Edition - Open-source vulnerability scanner
- Alternative: Nessus Essentials (free for home use)
- Operating System: [Your OS - Windows/Linux/macOS]
- Python (optional) - For generating custom reports
- Vulnerability scan reports (PDF/HTML format)
- Screenshots of scan process and results
- Analysis of critical vulnerabilities found
- Remediation recommendations
- Interview questions with detailed answers
# Install OpenVAS on Ubuntu/Debian
sudo apt update
sudo apt install openvas
# Setup OpenVAS
sudo gvm-setup
# Start OpenVAS services
sudo gvm-start
# Get admin password
sudo gvm-feed-updateAccess OpenVAS at: https://localhost:9392
- Download from: https://www.tenable.com/products/nessus/nessus-essentials
- Install the package for your OS
- Navigate to:
https://localhost:8834 - Register for activation code (free)
- Complete setup wizard
- Target:
127.0.0.1(localhost) or your local IP address - Scan Type: Full and thorough scan
- Credentials: Provide local admin credentials for authenticated scan
- Port Range: Default (1-65535) or common ports
Scan Name: Local PC Vulnerability Assessment
Target: 127.0.0.1
Scan Policy: Full and thorough
Estimated Time: 30-60 minutes
Date: [Your scan date]
# Linux/macOS
ifconfig | grep inet
# Windows
ipconfig- Log into scanner web interface
- Click "New Scan"
- Select "Basic Network Scan" or "Host Discovery"
- Enter target IP:
127.0.0.1 - Configure scan settings
- Launch the scan
- Monitor progress in dashboard
- Wait for completion (30-60 minutes typical)
- Navigate to completed scan
- Review vulnerability summary
- Check severity ratings (Critical, High, Medium, Low, Info)
- Export detailed report
| Severity | Count | Percentage |
|---|---|---|
| Critical | X | XX% |
| High | X | XX% |
| Medium | X | XX% |
| Low | X | XX% |
| Info | X | XX% |
-
[Vulnerability Name]
- CVSS Score: X.X
- CVE ID: CVE-XXXX-XXXX
- Description: [Brief description]
- Impact: [What could happen]
- Remediation: [How to fix]
-
[Vulnerability Name]
- CVSS Score: X.X
- CVE ID: CVE-XXXX-XXXX
- Description: [Brief description]
- Impact: [What could happen]
- Remediation: [How to fix]
-
[Vulnerability Name]
- CVSS Score: X.X
- CVE ID: CVE-XXXX-XXXX
- Description: [Brief description]
- Impact: [What could happen]
- Remediation: [How to fix]
- Operating system patches missing
- Outdated applications with known vulnerabilities
- End-of-life software still in use
- Default passwords not changed
- Simple or dictionary-based passwords
- No password complexity requirements
- Windows Update disabled
- Automatic updates turned off
- Critical patches not applied
- Unused network services enabled
- Default ports exposed
- Guest accounts active
- Unencrypted protocols (HTTP, FTP, Telnet)
- Open/unrestricted firewall rules
- SMBv1 enabled (vulnerable protocol)
- Outdated browser versions
- Insecure plugins/extensions
- No HTTPS enforcement
-
Update Operating System
# Windows Settings > Update & Security > Windows Update # Linux (Ubuntu/Debian) sudo apt update && sudo apt upgrade # macOS System Preferences > Software Update
-
Update All Applications
- Use package managers (apt, brew, winget)
- Enable automatic updates where possible
- Remove unused/outdated software
-
Enable Firewall
# Windows Enable Windows Defender Firewall # Linux sudo ufw enable # macOS System Preferences > Security & Privacy > Firewall
-
Disable Unnecessary Services
- Review running services
- Disable unused network services
- Close unnecessary ports
-
Strong Password Policy
- Change default passwords
- Use password manager
- Enable multi-factor authentication
CVSS (Common Vulnerability Scoring System) rates vulnerability severity:
| Score Range | Severity | Action Required |
|---|---|---|
| 9.0 - 10.0 | Critical | Immediate action |
| 7.0 - 8.9 | High | Urgent attention |
| 4.0 - 6.9 | Medium | Schedule remediation |
| 0.1 - 3.9 | Low | Review when convenient |
- Remotely exploitable vulnerabilities
- CVSS score 9.0+
- Active exploits in the wild
- Affects internet-facing services
- CVSS score 7.0-8.9
- Local privilege escalation
- Authentication bypass
- Data exposure risks
- CVSS score 4.0-6.9
- Requires user interaction
- Limited impact
- Defense-in-depth improvements
- CVSS score < 4.0
- Informational findings
- Best practice recommendations
- Configuration improvements
A false positive occurs when a vulnerability scanner reports a vulnerability that doesn't actually exist or isn't exploitable in your environment.
- Version-based detection: Scanner flags software version without confirming actual vulnerability
- Protected services: Vulnerability exists but is mitigated by other controls
- Misconfigured scans: Incorrect target information or scan settings
- Network filtering: Service appears vulnerable but is blocked by firewall
- Manually verify the vulnerability
- Test the exploit in a safe environment
- Document why it's a false positive
- Mark as exception in scanner
- Retest in future scans
| Environment | Frequency | Reason |
|---|---|---|
| Personal PC | Monthly | Catch new vulnerabilities |
| Development Systems | Weekly | Frequent changes |
| Production Servers | Weekly-Daily | High risk exposure |
| Critical Infrastructure | Daily-Continuous | Maximum protection |
| After Major Changes | Immediately | Verify security posture |
Include screenshots of:
-
Scanner Dashboard
- Location:
screenshots/01-scanner-dashboard.png - Shows: Initial interface and configuration
- Location:
-
Scan Configuration
- Location:
screenshots/02-scan-config.png - Shows: Target settings and scan policy
- Location:
-
Scan Progress
- Location:
screenshots/03-scan-progress.png - Shows: Running scan with progress indicator
- Location:
-
Vulnerability Summary
- Location:
screenshots/04-vulnerability-summary.png - Shows: Overview of findings by severity
- Location:
-
Detailed Vulnerability
- Location:
screenshots/05-detailed-vuln.png - Shows: Specific vulnerability details with CVSS
- Location:
-
Remediation Recommendations
- Location:
screenshots/06-remediation.png - Shows: Suggested fixes
- Location:
- How to install and configure vulnerability scanners
- Understanding vulnerability reports and metrics
- CVSS scoring and risk assessment
- Remediation planning and prioritization
- Difference between scanning and penetration testing
- Importance of regular security assessments
- Risk-based vulnerability management
- Security patch management
- Regular scanning schedules
- Documented remediation processes
- False positive handling
- Security baseline maintenance
| Aspect | Vulnerability Scanning | Penetration Testing |
|---|---|---|
| Purpose | Identify known vulnerabilities | Exploit vulnerabilities |
| Approach | Automated tool-based | Manual + automated |
| Depth | Surface-level detection | Deep exploitation |
| Frequency | Weekly/Monthly | Quarterly/Yearly |
| Skill Level | Basic-Intermediate | Advanced |
| Cost | Low (free tools available) | High (expert required) |
| Output | Vulnerability list | Exploitation report |
- Only scan systems you own or have written permission to scan
- Unauthorized scanning is illegal (Computer Fraud and Abuse Act)
- Respect privacy and data protection laws
- Follow responsible disclosure for found vulnerabilities
- Don't exploit vulnerabilities found on others' systems
- Report critical vulnerabilities to system owners
- Maintain confidentiality of scan results
- Follow industry standards (NIST, ISO 27001)
- NVD (National Vulnerability Database): https://nvd.nist.gov/
- CVE (Common Vulnerabilities and Exposures): https://cve.mitre.org/
- Exploit-DB: https://www.exploit-db.com/
- OWASP: https://owasp.org/
- SANS Reading Room: https://www.sans.org/reading-room/
- NIST Cybersecurity Framework: https://www.nist.gov/cyberframework
- OpenVAS: https://www.openvas.org/
- Nessus Essentials: https://www.tenable.com/products/nessus/nessus-essentials
- Nikto (web scanner): https://cirt.net/Nikto2
vulnerability-scan-task/
├── README.md # This file
├── INTERVIEW_QUESTIONS.md # Detailed Q&A
├── reports/
│ ├── vulnerability_scan_report.pdf # Full scan report
│ ├── vulnerability_scan_report.html # HTML version
│ └── executive_summary.md # High-level summary
├── screenshots/
│ ├── 01-scanner-dashboard.png
│ ├── 02-scan-config.png
│ ├── 03-scan-progress.png
│ ├── 04-vulnerability-summary.png
│ ├── 05-detailed-vuln.png
│ └── 06-remediation.png
└── scripts/
└── report_parser.py # Optional: Parse scan results
This vulnerability scanning exercise demonstrates the importance of proactive security assessment. Regular scanning helps identify and remediate security weaknesses before they can be exploited by attackers.
Key Takeaways:
- Vulnerability scanning is essential for maintaining security posture
- Regular scans help catch new vulnerabilities quickly
- CVSS scoring helps prioritize remediation efforts
- Automated scanning complements but doesn't replace manual security testing
- Schedule Regular Scans: Set up monthly vulnerability scans
- Track Remediation: Create tickets for each vulnerability
- Verify Fixes: Rescan after applying patches
- Learn More: Study penetration testing techniques
- Practice: Set up intentionally vulnerable VMs (like Metasploitable)
Completed by: [Your Name] Date: [Completion Date] Tool Used: [OpenVAS/Nessus Essentials] Scan Duration: [X minutes]
Stay secure! 🔒