Trustwave SpiderLabs Uncovers Critical Cybersecurity Vulnerabilities Exposing Manufacturers to Costly Attacks. Learn More

Trustwave SpiderLabs Uncovers Critical Cybersecurity Vulnerabilities Exposing Manufacturers to Costly Attacks. Learn More

Services
Capture
Managed Detection & Response

Eradicate cyberthreats with world-class intel and expertise

twi-cloud-lock-color-svg
Managed Security Services

Expand your team’s capabilities and strengthen your security posture

twi-briefcase-color-svg
Consulting & Professional Services

Tap into our global team of tenured cybersecurity specialists

twi-dashboard-color-svg
Penetration Testing

Subscription- or project-based testing, delivered by global experts

twi-database-color-svg
Database Security

Get ahead of database risk, protect data and exceed compliance requirements

twi-email-color-svg
Email Security & Management

Catch email threats others miss with layered security & maximum control

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

Eliminate alert fatigue, focus your SecOps team, stop threats fast, and reduce cyber risk

Solutions
BY TOPIC
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
The Trustwave Approach
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Platform
SpiderLabs Fusion Center
Security Operations Centers
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

Trustwave SpiderLabs Report: LockBit 3.0 Ransomware Vs. the Manufacturing Sector

As the manufacturing sector continues its digital transformation, Operational Technology (OT), Industrial Control Systems (ICS), and Supervisory Control and Data Acquisition (SCADA) are becoming...

Read More

Overview of the Cyberwarfare used in Israel – Hamas War

On October 7, 2023, the Palestinian organization Hamas launched the biggest attack on Israel in years, resulting in numerous casualties and hostages taken. Israel responded with a large-scale ground...

Read More

The 2023 Retail Services Sector Threat Landscape: A Trustwave Threat Intelligence Briefing

The annual holiday shopping season is poised for a surge in spending, a fact well-known to retailers, consumers, and cybercriminals alike. The latter group, however, is poised to exploit any...

Read More