top of page

Firefox Browser Forensics Series: Lets Start

I Personally use Mozilla Firefox with increased security

Mozilla Firefox is a widely used open-source browser backed by the Mozilla Foundation, known for its strong emphasis on privacy and customizability. Unlike other browsers, Firefox is designed with transparency in mind, making it a favorite among security-conscious users and forensic analysts alike.


-----------------------------------------------------------------------------------------------------------


Understanding Firefox’s File Structure

Firefox organizes user data into a profile-based structure. Each user profile contains all the necessary browser artifacts, including history, cache, cookies, bookmarks, and more.


On Windows systems, these profiles are stored in:

C:\Users\<Username>\AppData\Roaming\Mozilla\Firefox\Profiles\<random text>.default

%UserProfile%\Local Settings\Application Data\Mozilla\Firefox\Profiles\<random text>.default\Cache

The <random text>.default folder is unique to each installation and user profile. If multiple profiles exist, investigators must check each profile folder separately.



Locating Key Artifacts


File Name

Description

places.sqlite

History – Bookmarks – Auto-complete – Downloads

formhistory.sqlite

Auto complete form data

cookies.sqlite

Cookies

webappsstore.sqlite

Web Storage

extensions.json

Firefox add-ons


-------------------------------------------------------------------------------------------------------------


Evolution of Firefox Data Storage

Over the years, Firefox has refined its data storage mechanisms. Earlier versions relied on the proprietary Mork format, which was difficult to parse. Since Firefox 3, Mozilla has transitioned to SQLite databases, significantly improving performance and forensic accessibility. Most crucial browser artifacts are now stored in either SQLite or JSON, making them easier to analyze using tools like SQLite Browser or forensic scripts.


-------------------------------------------------------------------------------------------------------------


Challenges in Firefox Forensics

  • Frequent Updates: Firefox follows a rapid release cycle (new versions every 4-6 weeks), which can introduce format changes that break forensic tools.

  • Multiple User Profiles: A single system can have multiple Firefox profiles, requiring investigators to check all profile directories.

  • Data Encryption: Some data, such as saved passwords (logins.json), is encrypted and requires a decryption key stored in key4.db.


Conclusion

If you are conducting a forensic investigation involving Firefox, be sure to check key databases like places.sqlite, cookies.sqlite, and formhistory.sqlite for valuable insights. 🚀


--------------------------------------------Dean----------------------------------------------------


 
 
 

Comments


bottom of page