Professional Community

Proxy Enriched Sequence Diagrams Exporter

PESD Exporter is a Burp Suite extension to visualize web traffic in a way that facilitates the analysis and reporting in scenarios with complex functional flows. It converts Burp Suite's proxy traffic into interactive sequence diagrams defined as Proxy Enriched Sequence Diagrams (PESD). While classic sequence diagrams for software engineering are meant for an abstract visualization and all the information is carried by the diagram itself, PESD is designed to include granular information related to the underlying HTTP traffic being represented in the form of explorable metadata.

Additionally, it executes of structured templates on the generated format to enrich its contents. The Extension currently supports standard OAuth2/OpenID/SAML matching. A frame and custom flags are added to the diagram to surround the standard flows and enrich its contents. We strongly recommend reading the introduction article containing a detailed description and usage examples directly from our testing activities - https://blog.doyensec.com/2023/02/14/pesd-extension-public-release.html

Usage

Select and send specific traffic entries from Burp Suite Tabs to the Exporter tab.

Specify a mode of operation for the export:

  • Domains as Actors - Each domain involved in the traffic is represented as an actor in the diagram. Suitable for multi-domain flows analysis
  • Endpoints as Actors - Each endpoint (path) involved in the traffic is represented as an actor in the diagram. Suitable for single-domain flows analysis

Auto-Export is enabled by default, sending items to the extension will directly result in a export. User is redirected to the Browser view and the items are cleaned after the export within the extension.

Export capabilities

  • Expandable Metadata. Underlined flags can be clicked to show the underlying metadata from the traffic in a scrollable popover
  • Masked Randoms in URL Paths. UUIDs and pseudorandom strings recognized inside path segments are mapped to variable names <UUID_N> / <VAR_N>. The re-renderization will reshape the diagram to improve flow readability. Every occurrency with the same value maintains the same name
  • Notes. Comments from Burp Suite are converted to notes in the resulting diagram. Use <br> in Burp Suite comments to obtain multi-line notes in PESD exports
  • Theme. Use MermaidJS theme veriables to build your own sequence diagram style set in the extension
  • Embedded MD editor. Edit the generated diagram directly in the export to add details (e.g. internal calls to microservices, notes, everything allowed by mermaid JS)
  • Highlight colors from Burpsuite are ported to the sequence diagram arrow colors
  • Invert Proxy History order. If you have the last request on top, activate it
  • Save as : SVG, Markdown, JSON metadata, explorable HTML

Extending the diagram, syntax and metadata with Templates

The Extension currently supports the following templates :

  • OAuth2 / OpenID Connect. The template matches standard OAuth2/OpenID Connect flows and adds related flags + flow frame.
    Oauth2 supported flows :
    • Implicit Grant
    • Code Grant
    OpenID supported flows :
    • Code Grant
    • Implicit Grant
    • Hybrid flow
    Respectively based on rfc6749 and openid-connect-core-1_0
  • SAML SSO. The template matches Single-Sign-On flows with SAML V2.0 and adds related flags + flow frame.
    Based on SAML V2.0 , supported flows:
    • SP-initiated SSO using a Redirect Binding for the SP-to-IdP message and a POST Binding for the IdP-to-SP message
    • SP-initiated SSO using a POST Binding for the message and an Artifact Binding for the message
    • IDP-initiated SSO using a POST Binding for the IdP-to-SP message; no SP-to-IdP message is involved

Author

Author

Francesco Lacerenza

Version

Version

2.0

Rating

Rating

Popularity

Popularity

Last updated

Last updated

30 January 2025

Estimated system impact

Estimated system impact

Overall impact: Low

Memory
Low
CPU
Low
General
Low
Scanner
Low

You can install BApps directly within Burp, via the BApp Store feature in the Burp Extender tool. You can also download them from here, for offline installation into Burp.

You can view the source code for all BApp Store extensions on our GitHub page.

Follow @BApp_Store on Twitter to receive notifications of all BApp releases and updates.

Please note that extensions are written by third party users of Burp, and PortSwigger Web Security makes no warranty about their quality or usefulness for any particular purpose.

Go back to BappStore

Note:

Please note that extensions are written by third party users of Burp, and PortSwigger Web Security makes no warranty about their quality or usefulness for any particular purpose.