22
Fiddler

Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

Embed Size (px)

Citation preview

Page 1: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

Fiddler

Page 2: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

Introducing Fiddler

• HTTP/HTTPS Debugger• Runs as a proxy server on the local machine

or on a remote server• Written in C# (.NET Framework v2.0)• Freely available from

http://www.fiddler2.com

Page 3: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

How does Fiddler work?

Internet Explorer

WinINET

Office

CryptoAPI WinHTTP

Fiddler

Firefox

CorpNET Proxy

example.com

Firewall

Page 4: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

Debugging non-Windows clients

Fiddler

Mac

Internet

Linu

xPo

cket

PCPC

Page 5: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

Who uses Fiddler?

• Microsoft engineers• Support teams• Lots of external web developers (10K+

downloads per week)• Security researchers

• Some bad guys

Page 6: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

What can Fiddler do?

• HTTP/HTTPS traffic monitoring and analysis

• Request and response modification• Timing and network manipulation

Page 7: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

HTTPS Traffic Decryption

Page 8: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

Fiddler UI: Session List

• Lists all traffic• URLs, size, and key

headers• Icons show status of

request/response

• Icons show status of request/response

Page 9: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

Fiddler UI: Inspectors

Inspectors allow you to visualize requests and responses in meaningful ways.

Page 10: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

FiddlerScript Rules• Rules are where Fiddler gets really fun!• Use JavaScript to manipulate request or

response headers or entity body.

Page 11: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

Extending Fiddler UI

FiddlerScript and extensions can add new menu items or tabs.

Page 12: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

Using Simple Filters

Flag, modify or remove headers from all requests and responses.

Page 13: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

AutoResponder

Replay previously captured or generated traffic.

Page 14: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

Request Builder

Create hand-built HTTP requests, or modify and

reissue a request previously captured.

Page 15: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

Traffic Comparison

Use WinDiff to compare HTTP requests and

responses.

Page 16: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

QuickExec

QuickExec allows you to issue textual commands directly…

Page 17: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

Search Traffic

Search for strings in all captured

traffic.

Page 18: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

Text Encoding / Decoding

Convert text between popular web encodings.

Page 19: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

SAZ Files

• “Session Archive ZIP” files store raw traffic.• SAZ files are compressed and may be

password protected.• SAZ files can be reopened by Fiddler or

standard ZIP utilities.• FiddlerCap allows capture of SAZ files by

non-technical, often remote, users.

Page 20: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

FiddlerCap

Use FiddlerCap for remote collection of evidence.

www.fiddlercap.com

Page 21: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

Fiddler 2

Fiddler ScriptEngine

Inspector2

Inspector2

IFiddlerExtension

IFiddlerExtension

FiddlerCore

Exec

Actio

n.ex

e

YourApp.exe

FiddlerCore

Fiddler application with extensions Your application hosting FiddlerCore

Your FiddlerScript

Xceed*.dll Makecert.exe Xceed*.dll Makecert.exe

Page 22: Fiddler. Introducing Fiddler HTTP/HTTPS Debugger Runs as a proxy server on the local machine or on a remote server Written in C# (.NET Framework v2.0)

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as

of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES,

EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Questions?

https://www.fiddler2.com