Trustwave SpiderLabs Exposes Unique Cybersecurity Threats in the Public Sector. Learn More

Trustwave SpiderLabs Exposes Unique Cybersecurity Threats in the Public Sector. Learn More

Services
Capture
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

twi-managed-portal-color
Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

twi-briefcase-color-svg
Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

tw-laptop-data
Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

twi-database-color-svg
Database Security

Prevent unauthorized access and exceed compliance requirements.

twi-email-color-svg
Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

tw-officer
Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

tw-network
Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Microsoft Exchange Server Attacks
Stay protected against emerging threats
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
SpiderLabs Blog

PwnFox - An IDOR Hunter's Best Friend

Maybe I’m a bit late to the game on this one, but I recently discovered PwnFox and it has quickly one of my favorite tools yet.

So, what is PwnFox? To put it simply, it’s a BurpPro extension that works with Firefox. It accomplishes two things. First, it helps containerize up to eight (yes, that’s right… eight!) different sessions within one browser and secondly, it organizes all your proxied traffic in Burp BY COLOR!

I’ll dive a bit more into #2 in a second.

Now, I’m a sucker for manual exploitation. Not because I don’t believe in automation, believe me, I do, but I like to have granular control over what’s going on and PwnFox is a great tool for just that purpose.

Whether you use Firefox or the built-in Chromium browser within Burp, I’m sure there have been at least a few times where you’ve noticed that you have your browser and can also open a new incognito window and run a different session. Usually that’s where Burp stops.

Even if you open another incognito browser, chances are it will pull/share cookies from the other incognito browser, which is certainly annoying.

Enter PwnFox: 

18673_picture1c

Look at the beautiful interface. Notice the different colors at the top of each tab. PwnFox organizes everything in one window, and each “color” tab has its own containerized session/cookies.

And when you navigate in each tab, you will find that your traffic proxied in Burp, has been color-coded!

18674_picture2c

So no more going through each request to see which one belongs to which session. Being able to identify the tab/correlated session is huge!

This capability allows you to send a request to repeater and hot-swap cookies much easier… so yes, finding IDORs has become 10 times more efficient.

Not to mention the fact that if you’re testing a web app, now you can test more than two sessions/roles at a time!

Not quite sold on PwnFox? No problem, I will get you there.

Here’s the set-up:

  1. Head to https://addons.mozilla.org/en-US/firefox/addon/pwnfox/ and download the extension for Firefox and install it.
  2. Now head to https://github.com/yeswehack/PwnFox/releases and download the PwnFox.jar file.
  3. In Burp, head to Extender and import the PwnFox.jar file.
  4. Now, in Firefox, turn the proxy on (via the PwnFox icon) and click any of the container “colors”:

18675_picture3c

And that’s it; you’re done! You should be able to see the color-coded traffic in your Burp proxy history.

Curious how it works?

The container adds an “X-PwnFox-Color” header to each request… this is how Burp knows what color to highlight with each request. Simple, yet brilliant.

There are a few bugs that I’ve noticed:

  • You may need to restart Firefox and Burp for it to work properly
  • Changing the container name may break the colors showing up in Burp. Just leave the default names as is (ex. PwnFox-blue).

And this is just scratching the surface of what PwnFox can do for you. There are other features I still need to explore, such as that Toolbox feature, but save that for another day.

Shout outs:

  • @BitK for creating PwnFox
  • Cesar for introducing this awesome tool to me

Latest SpiderLabs Blogs

Important Security Defenses to Help Your CISO Sleep at Night

This is Part 13 in my ongoing project to cover 30 cybersecurity topics in 30 weekly blog posts. The full series can be found here.

Read More

2024 Public Sector Threat Landscape: Trustwave Threat Intelligence Briefing and Mitigation Strategies

Trustwave SpiderLabs’ 2024 Public Sector Threat Landscape: Trustwave Threat Intelligence Briefing and Mitigation Strategies report details the security issues facing public sector security teams as...

Read More

How to Create the Asset Inventory You Probably Don't Have

This is Part 12 in my ongoing project to cover 30 cybersecurity topics in 30 weekly blog posts. The full series can be found here.

Read More