Prioritization of vulnerabilities

Penetration Test - Survey the Target(9)_git

LEVERAGE INFORMATION
  • Leveraging information to prepare for exploitation
  • Map vulnerabilities to potential exploits
    • Look up vulnerabilities found for possible exploits
    • Nmap - vulners and vulscan scripts
    • Metasploit(search vulnerability)
  • Prioritize activities in preparation for penetration test
    • Will standard exploits work?
    • Will exploits need to be 'tweaked'?
    • Additional steps to prepare test?

Change the directory over to the location of Namp scripts.

cd /usr/share/nmap/scripts

Clone a git repository.

git clone https://github.com/vulnersCom/nmap-vulners.git
git clone https://github.com/scipag/vulscan.git

Penetration Test - Survey the Target(9)_学习_02

ls vulscan/*.csv

Penetration Test - Survey the Target(9)_git_03

Demo to use Namp script.

nmap --script nmap-vulners -sV 10.0.0.15

Penetration Test - Survey the Target(9)_学习_04

nmap --script vulscan -sV 10.0.0.15

Penetration Test - Survey the Target(9)_github_05

nmap --script vulscan --script-args vulscandb=exploitdb.csv -sV 10.0.0.15

Penetration Test - Survey the Target(9)_Penetration Testing_06

QUICK REVIEW
  • A key step in pen test planning is to map vulnerabilities to potential exploits
  • Use nmap scripts (vulners and vulscan) to find exploits for detected vulnerabilities
  • Use metasploit to search for exploits
相信未来 - 该面对的绝不逃避,该执著的永不怨悔,该舍弃的不再留念,该珍惜的好好把握。