Presentation is loading. Please wait.

Presentation is loading. Please wait.

Penetration Testing Training Day Capture the Flag Training.

Similar presentations


Presentation on theme: "Penetration Testing Training Day Capture the Flag Training."— Presentation transcript:

1 Penetration Testing Training Day Capture the Flag Training

2 Presentation to insert name here 2 Boot Up! Insert your discs! Press when Boot prompt appears Start X with startx Set static IP address Team 1 192.168.1.1x Team 2 192.168.1.2x Netmask 255.255.0.0 No gateway Use preferences->network Ping the scorebot 192.168.0.10

3 Presentation to insert name here 3 Discovery What machines can you see? nmap 192.168.0.0/24 nmap –oA results 192.168.0.0/24 nmap –sV –oA results2 192.168.0.0/24

4 Presentation to insert name here 4 Service Analysis - FTP ftp service is enabled ftp 192.168.0.x Each team go to your server! What’s there? Why is this bad? Commands: dir, ls… Special commands! ls –a Log vulnerabilities on sheets

5 Presentation to insert name here 5 Service Analysis - SMB Samba is enabled! smbclient –L 192.168.0.x Your team box again! Which shares are available? Log list of shares Browse to shares What did you do for FTP? What other information is there?

6 Presentation to insert name here 6 Service Analysis - RPC Remote Procedure Calls rpcclient 192.168.0.x getusername lsaenumsid lookupsids xxx enumdomusers Log users!

7 Presentation to insert name here 7 Service Analysis - SSH Secure Shell Users??? ssh –l username 192.168.0.x

8 Presentation to insert name here 8 Service Analysis - MySQL Database server, port 3306 mysql –h mysql –u root –h 192.168.0.x Log vulnerabilities show databases; Show your SQL skills! What do databases normally store?

9 Presentation to insert name here 9 Service Analysis - netcat Netcat – swiss army knife of hackers Simple: Sends and receives data to and from TCP ports nc 192.168.0.x 25 SMTP Netcat can be used to keep access

10 Presentation to insert name here 10 Service Analysis - SNMP Simple Network Management Protocol snmpcheck.pl –t 192.168.0.x

11 Presentation to insert name here 11 Application Testing Start Browser and Burp Configure Firefox proxy as localhost:8080 Browse to http://192.168.0.xhttp://192.168.0.x Intercept is on! Play! Spider site – add to scope

12 Presentation to insert name here 12 Application Testing Find additional content Administration pages http://192.168.0.x/admin Create an account Password vulnerabilities

13 Presentation to insert name here 13 Application Testing SQL Injection Find a product Look at the parameter list Try injection on parameter 1’ or a#

14 Presentation to insert name here 14 Application Testing XSS Search field Try typing things in – the view the response in burp How can you get script in here? Better – how can you get script in without it creating an error?

15 Presentation to insert name here 15 Application Testing Password and account guessing Check security files Mooch around Download img.jpg


Download ppt "Penetration Testing Training Day Capture the Flag Training."

Similar presentations


Ads by Google