Vulnerability Analysis Workshop Guide
Vulnerability Analysis Workshop Guide
TAREK BELDI
I. Presentation of the workshop:
Our workshop under the name of vulnerability analysis allows for identification and validation.
only the security vulnerabilities in the client's infrastructure using automated tools and
of a limited manual intervention.
In 2013, according to the OWASP (Open Web Application Security Project), "97% of
web applications remain exposed to known vulnerabilities, and the main associated risks
Web applications remain identical, notably SQL injections that allow for
a malicious third party to retrieve, steal, modify, or destroy sensitive information.
1. Nessus:
Nessus is the network vulnerability scanner from Tenable Network Security. Compared to the
Other vulnerability scanners, Nessus has the particularity of being based on an architecture
client/server and be compatible with Windows and Linux. In addition, Nessus stores and manages
all its security vulnerabilities through a plugins system.
Nessus is software that carries out real attacks and presents the results of these attacks.
in the form of a report. Its use can therefore be two-edged. On one side, a
security team can use it to scan its network in order to prevent intrusions
and denial of service. On the other hand, a hacker can use it for dishonest purposes and in
take advantage of the reported vulnerabilities.
1
Nessus became proprietary software starting from version 3. However, it remained
free for non-commercial use. A free fork has been created: OpenVAS
[Link] :
OpenVAS is a new open-source project that has emerged and is underway to take the
Nessus, the popular vulnerability assessment system that has closed its source.
a few years ago.
[Link] :
Burp Suite is a Java application that can be used for security or to perform
penetration tests on web applicationsb1,2The suite consists of different
tools like a proxy server (Burp Proxy), indexing robot (Burp Spider), a tool
intrusion (Burp Intruder), a vulnerability scanner (Burp Scanner) and an HTTP repeater
(Burp Repeater).
2
From where we install a package and under its location, we open the terminal and execute like
suit
Java–[Link]
3
d) Choose Manual Proxy after writing localhost or [Link] in the part
HTTP Proxy and the port must be 8080. Check the box 'Use this'
proxy server for all protocols.” Empty the No Proxy section and click
surOK
4
e) BurpSuite is already open from step a), click on the Proxy Tab then
OptionSubtab
5
f) Intercept Client Requests
→ Select URL Match type and click UP button until URL Match type is reached
1st place.
Check the box 'Intercept requests based on the following rules.'
6
h) Add 'jpeg' file extension.
7
j) Add a new rule
8
Put the new rule in second place.
We are done
9
Now, open your Firefox or Iceweasel and write [Link] in the area
web address. You may see a message 'This connection is Untrusted' if you
use Google via HTTPS. You can add an exception every time this happens
produced when you use a proxy, but can be annoying. We can also
define Firefox or Iceweasel to trust the Burp certificate so that we do not receive
not this Pro version error. Burp process allows us to obtain the certificate easily,
but in the free version we have to do little work. You can browse all
The https allows sites to do this. After opening https allows sites Click on "
I understand the risks
10
n) Click on Add Exception..
o) Click on View
11
p) Click on DetailsTab, select PortSwigger CA and then click.
surExport.
12
Select Desktop then click on Save.
13
s) Click on Advance then on Encryption Subtab then View Certificates.
14
Click on Authorities then Import.
15
v) check 'Trust this CA to identify websites' then click OK.
16
2. Configuration of Nessus:
Wewilhavethisfile:
17
Weexecuteit:
ClickNextuntiltheendoftheinstalation,thenyouneedtocreateaNessusaccount.
18
WeclickonRegisterNow
Andfinally,wepress'Register'.
19
Vulnerability analysis
SECURIDAY 2015 BIG DATA SECURITY
Wereceiveanemailwiththeactivationcode:
[Link]
20
The installation operation has been completed and we will have:
21
3. Configuration of OpenVas:
Once the openvas -setup process is completed, the OpenVAS manager, scanner, and the
GSAD services should be attentive:
22
You can simply start all the necessary services by running openvas -start
Point the browser to [Link] accept the self-signed SSL certificate and the
plugin identification information for the admin user.
The account is set up as follows:
23
Once the login and password are verified, we will have this interface:
24
V. A test scenario
25
1. Manipulation with Burp Suite:
WiththeDVWAapplication,wedothefollowing:
OncliquesousProxy->Interceptisoff
26
Weright-click,
Wepressond' oanactivescan'
Onthescanner->scanqueue,wecanseetheprogress:
Andwhenthescanisfinished,weright-click->showdetails
Wewilhavethislist:
27
Anddetails
Westartbysettingupthetwomachines:thefirstonewithWindowshavingNessus.
physical) and the second machine Metasploitable2_linux (the virtual machine) in the same network
with "host-only" as follows:
OnMetasploitable2:
28
For a vulnerability scan, choose Basic Network Scan.
You are asked to choose certain options. Ports can be specified, for example.
as follows :
29
Once the Policy is created, you can create a new scan
30
Once the scan is finished, you will be able to view a report. This will inform you of the
different vulnerabilities found, as well as their severity
OncliquesurExportcommesuit:
Then "exportPDF"
31
Thefileiscreatedasfollows:
(see annex 1)
Nessus then gives you a detailed description of the problem and a possible solution.
You will notice that the CVE identifier of the vulnerability is also present.
32
WeneedtocheckthatthetwovirtualmachinesKaliandMetasploitable2-Linuxareinthesame
[Link],itguaranteesknowingthemundera
meme network.
UnderMetasploitable2-Linux :
EtsurKali:
WestartbycreatinganewTargetasfollows:
33
Andthescanbegins:
Wecanseetheprogressofthescanasfolows:
Wecanseeherethatwehavestoppedthescans.
34
Areportisthendeliveredontheinterface:
VI. Conclusion
Vulnerability analysis is an important element of security that should be prioritized.
work by any organization wishing to secure their IT infrastructure. It is
recommended by the SANS Institute as a critical control and by the US NIST
like a management control of security. The results show a variation
significant security vulnerabilities discovered by the various tools. It can be
it's useful to compare the vulnerability of scanners to antivirus solutions; they are both a
important contrôle de sécurité qui peut améliorer une posture de sécurité des organisations.
However, like with antivirus software, a vulnerability scanner will not find all the
vulnerabilities. This will be common knowledge for most in the sector of the
security performed network vulnerability tests. When you perform
the vulnerability analysis, it is necessary to verify the accuracy results (false positives)
and to actively search for things that have been missed (false negatives). My approach
recommended for vulnerability analysis consists of: refining the analysis profiles
vulnerability according to your needs carry out a detailed analysis of the results tools
secondary managed (nmap, a secondary solution for vulnerability scanning and/or
specialized tools). The use of multiple tools will provide a high level of coverage and
will help confirm the discovered vulnerabilities.
35
APPENDIX 1 :
36
37
ANNEX 2 :
38
39
40
41
42
43
44