Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf ·...

29
Vulnerability management with OpenVAS Henri Doreau [email protected] 12 th LSM - Strasbourg 2011

Transcript of Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf ·...

Page 1: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

Vulnerability management with OpenVAS

Henri [email protected]

12th LSM - Strasbourg2011

Page 2: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

Outline

1 OpenVASIntroductionArchitecture

2 Vulnerability managementAims and challengesOpenVAS workflow

3 Project newsOpenVAS 4Upcoming OpenVAS 5

2/26

Page 3: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

Outline

1 OpenVASIntroductionArchitecture

2 Vulnerability managementAims and challengesOpenVAS workflow

3 Project newsOpenVAS 4Upcoming OpenVAS 5

3/26

Page 4: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

OpenVAS 4

The world most advanced Open Source vulnerability scanner!

⇒ 100% Free and Open Source Software (GPLv2)

http://www.openvas.org

4/26

Page 5: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

Vulnerability management

Day to day process to measure the IT threats of aninfrastructure

identify

classify

fix/mitigate

5/26

Page 6: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

OpenVAS architecture

3-tiers scalable architecture

6/26

Page 7: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

openvassd: scanning for vulnerabilities

Perform both authenticated and unauthenticated tests

Local Security Checks (LSC)

information gathering

missing updates/patches

configuration correctness

⇒ over SSH

⇒ over SMB/WMI

Unauthenticated checks

network scanning

credentials bruteforce

web applications audit

7/26

Page 8: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

openvassd: scanning for vulnerabilities

Perform both authenticated and unauthenticated tests

Local Security Checks (LSC)

information gathering

missing updates/patches

configuration correctness

⇒ over SSH

⇒ over SMB/WMI

Unauthenticated checks

network scanning

credentials bruteforce

web applications audit

7/26

Page 9: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

openvasmd: the network server

Handle scan information

Scheduled tasks

Scanning results

Authentication

⇒ Ensure scalability

8/26

Page 10: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

OpenVAS clients

Three clients available

Portable (Qt) desktop client

Web interface

CLI for batch processing

python and ruby libraries (unofficial)

9/26

Page 11: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

OpenVAS clients

Three clients available

Portable (Qt) desktop client

Web interface

CLI for batch processing

python and ruby libraries (unofficial)

9/26

Page 12: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

OpenVAS Ecosystem

Leverage specialized tools expertise

nmap (general network scanning)

ncrack (network authentication bruteforce tool)

w3af, arachni, wapiti (web application audit)

10/26

Page 13: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

OpenVAS Ecosystem

Uses and relies upon standards

Common Vulnerability Enumeration

Common Vulnerability Scoring System

Common Platform Enumeration

Open Vulnerability and Assessment Language

IT-Grundschutz

11/26

Page 14: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

What is OpenVAS not?

OpenVAS is not an automated pentester

OpenVAS is not an attack tool

OpenVAS won’t fix vulnerable systems

12/26

Page 15: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

Outline

1 OpenVASIntroductionArchitecture

2 Vulnerability managementAims and challengesOpenVAS workflow

3 Project newsOpenVAS 4Upcoming OpenVAS 5

13/26

Page 16: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

Aims

Keep threats under control

Monitor patchlevel

Detect insecure configurations

Check for compliance with your security policy

⇒ Harden both the exposed perimeter and the core of thenetwork.

14/26

Page 17: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

Scan tasks

Task oriented workflow

Targets

Scan configuration

Schedule

Escalators

15/26

Page 18: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

OpenVAS reports

Technical details and recommandations

16/26

Page 19: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

Questions OpenVAS aims to answer

What can OpenVAS actually do?

17/26

Page 20: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

Questions OpenVAS aims to answer

Vulnerabilities

Which ones?

Where?

How to fix/mitigate?

18/26

Page 21: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

Questions OpenVAS aims to answer

Security policy

Pass or fail?

Does it need improvements?

19/26

Page 22: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

Questions OpenVAS aims to answer

Security status

Is it getting better or worse?

How big is the risk?

What to do first?

20/26

Page 23: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

Outline

1 OpenVASIntroductionArchitecture

2 Vulnerability managementAims and challengesOpenVAS workflow

3 Project newsOpenVAS 4Upcoming OpenVAS 5

21/26

Page 24: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

OpenVAS 4

”biggest step forward ever in the History”

Massive code cleaning effort

Report format plugins framework

Scalable master-slave mode

Performance increase (scan & analysis)

Improved credentials management

. . .

22/26

Page 25: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

OpenVAS 4

”biggest step forward ever in the History of OpenVAS”

Massive code cleaning effort

Report format plugins framework

Scalable master-slave mode

Performance increase (scan & analysis)

Improved credentials management

. . .

22/26

Page 26: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

OpenVAS 5

What’s expected for OpenVAS 5?

High performance network scanning

SSH stack refactoring

Asset management

Convenient trashcan

Delta reports (diff scan results)

23/26

Page 27: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

DevCon #3

bi-annual OpenVAS developers meeting

Discussed core technology

Identified priorities

Established mid/long termprojects

Had great fun!

24/26

Page 28: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

Demo

25/26

Page 29: Vulnerability management with OpenVAS - RMLL2011.rmll.info/IMG/pdf/5-Henri-OpenVAS-RMLL2011.pdf · OpenVAS Vulnerability management Project newsConclusion openvassd: scanning for

OpenVAS Vulnerability management Project news Conclusion

Questions?

http://www.openvas.org

[email protected]

26/26