24
Tel.+41 55-214 41 60 Fax+41 55-214 41 61 [email protected] www.csnc.ch Compass Security AG Glärnischstrasse 7 Postfach 1628 CH-8640 Rapperswil Web Security Tools Web Security Wargames

Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 [email protected] Compass Security AG Glärnischstrasse 7 Postfach

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

Tel.+41 55-214 41 60

Fax+41 55-214 41 61

[email protected]

www.csnc.ch

Compass Security AG

Glärnischstrasse 7

Postfach 1628

CH-8640 Rapperswil

Web Security Tools

Web Security Wargames

Page 2: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

© Compass Security AG Slide 2www.csnc.ch

Howto analyze Web Applications

Inspection Proxies

Paros

Burp

Web Scarab

Charles Proxy

Firefox

Firebug

Tamper Data | LiveHttpHeader | SwitchProxy | Add N Cookie Editor

Internet Explorer

Fiddler

HttpAnalyze

Opera

Java Script Debugger

Page 3: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

Tel.+41 55-214 41 60

Fax+41 55-214 41 61

[email protected]

www.csnc.ch

Compass Security AG

Glärnischstrasse 7

Postfach 1628

CH-8640 Rapperswil

Inspection Proxy

Page 4: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

© Compass Security AG Slide 4www.csnc.ch

Inspection Proxies

Introduction

HTTP/S request

modification tool

Is a HTTP proxy

Features

HTTPS traffic inspection

by terminating HTTPS

connection

On the fly request

modification based

on regular expressions

Record and replay of whole

HTTP requests

Browser

InspectionProxy

Server

Console

Request Repository

RegularExpressions

HTTP/S

HTTP/S

Page 5: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

© Compass Security AG Slide 5www.csnc.ch

Configure Proxy in Browser

Inspection Proxy

Start browser

Configure your

Firefox by plug-in

or manually

Modify proxy settings

http 127.0.0.1:8080

https 127.0.0.1:8080

Press OK or Apply button to

activate settings

Page 6: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

© Compass Security AG Slide 6www.csnc.ch

Proxy:Paros

Usage

Switch to the 'Trap‘ pane

Tick the 'Trap Request' checkbox to intercept requests

Change the requests parameters directly in the 'Header' or in the 'Body' text

area

Click 'Continue' to release the modified request

Page 7: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

© Compass Security AG Slide 7www.csnc.ch

Proxy:Paros

Header Auto Replacement

Switch to the 'Filters' pane

Check the 'ReplaceRequestHeader' box

Click the 'ReplaceRequestHeader' button, insert your regular expression and

activate it

Page 8: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

© Compass Security AG Slide 8www.csnc.ch

Proxy:Burp Suite

Page 9: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

© Compass Security AG Slide 9www.csnc.ch

Proxy:Charles Proxy (Commercial)

Page 10: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

© Compass Security AG Slide 10www.csnc.ch

Proxy:Web Scarab

Page 11: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

Tel.+41 55-214 41 60

Fax+41 55-214 41 61

[email protected]

www.csnc.ch

Compass Security AG

Glärnischstrasse 7

Postfach 1628

CH-8640 Rapperswil

Firefox Extensions

Page 12: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

© Compass Security AG Slide 12www.csnc.ch

Firefox::LiveHttpHeader Plugin

Page 13: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

© Compass Security AG Slide 13www.csnc.ch

Firefox::Tamper Plugin

Page 14: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

© Compass Security AG Slide 14www.csnc.ch

Firefox::Firebug Plugin

Page 15: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

© Compass Security AG Slide 15www.csnc.ch

Firefox:Cookie Editor Plugin

Page 16: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

Tel.+41 55-214 41 60

Fax+41 55-214 41 61

[email protected]

www.csnc.ch

Compass Security AG

Glärnischstrasse 7

Postfach 1628

CH-8640 Rapperswil

System Tools for Monitoring

Page 17: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

© Compass Security AG Slide 17www.csnc.ch

HTTP Analyze (Commercial)

Page 18: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

© Compass Security AG Slide 18www.csnc.ch

Fiddler (Free Microsoft Tool)

Page 19: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

Tel.+41 55-214 41 60

Fax+41 55-214 41 61

[email protected]

www.csnc.ch

Compass Security AG

Glärnischstrasse 7

Postfach 1628

CH-8640 Rapperswil

Web Scanner

Page 20: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

© Compass Security AG Slide 20www.csnc.ch

Acunetix (Commercial)

Page 21: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

© Compass Security AG Slide 21www.csnc.ch

Acunetix Firefox Plugin

Page 22: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

Tel.+41 55-214 41 60

Fax+41 55-214 41 61

[email protected]

www.csnc.ch

Compass Security AG

Glärnischstrasse 7

Postfach 1628

CH-8640 Rapperswil

Landing Page

Page 23: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

© Compass Security AG Slide 23www.csnc.ch

What is a landing page

Hacking-Lab staff members play the role of the victim

They will click on an URL you provide

Therefore, you should have your own web server with you, a web

server on your local computer, a landing page

Please take a webserver with you

Page 24: Web Security Tools - Hacking-Lab...Fiddler HttpAnalyze Opera Java Script Debugger Tel.+41 55-214 41 60 Fax+41 55-214 41 61 team@csnc.ch Compass Security AG Glärnischstrasse 7 Postfach

© Compass Security AG Slide 24www.csnc.ch