Fiddler Intro

22
Fiddler

Transcript of Fiddler Intro

Page 1: Fiddler Intro

Fiddler

Page 2: Fiddler Intro

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 Intro

How does Fiddler work?

Internet Explorer

WinINET

Office

CryptoAPI WinHTTP

Fiddler

Firefox

CorpNET Proxy

example.com

Firewall

Page 4: Fiddler Intro

Debugging non-Windows clients

Fiddler

Mac

Internet

Linu

xPo

cket

PCPC

Page 5: Fiddler Intro

Who uses Fiddler?

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

downloads per week)• Security researchers

• Some bad guys

Page 6: Fiddler Intro

What can Fiddler do?

• HTTP/HTTPS traffic monitoring and analysis

• Request and response modification• Timing and network manipulation

Page 7: Fiddler Intro

HTTPS Traffic Decryption

Page 8: Fiddler Intro

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 Intro

Fiddler UI: Inspectors

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

Page 10: Fiddler Intro

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

response headers or entity body.

Page 11: Fiddler Intro

Extending Fiddler UI

FiddlerScript and extensions can add new menu items or tabs.

Page 12: Fiddler Intro

Using Simple Filters

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

Page 13: Fiddler Intro

AutoResponder

Replay previously captured or generated traffic.

Page 14: Fiddler Intro

Request Builder

Create hand-built HTTP requests, or modify and

reissue a request previously captured.

Page 15: Fiddler Intro

Traffic Comparison

Use WinDiff to compare HTTP requests and

responses.

Page 16: Fiddler Intro

QuickExec

QuickExec allows you to issue textual commands directly…

Page 17: Fiddler Intro

Search Traffic

Search for strings in all captured

traffic.

Page 18: Fiddler Intro

Text Encoding / Decoding

Convert text between popular web encodings.

Page 19: Fiddler Intro

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 Intro

FiddlerCap

Use FiddlerCap for remote collection of evidence.

www.fiddlercap.com

Page 21: Fiddler Intro

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 Intro

© 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