Wireshark Lua Dissector: Transform Fixed Field Protocols into Comedy Bytes

In “A Wireshark Lua Dissector for Fixed Field Length Protocols,” Didier Stevens explains how to use a Lua dissector to parse TCP data. With the Wireshark 4.4.0 release, you can now configure fields like Function and Counter via custom columns, reducing the need for dissectors.

Pro Dashboard

Hot Take:

Who knew that Wireshark and Lua could be the peanut butter and jelly of the cybersecurity world? With Wireshark 4.4.0, you can now cut the Lua middleman for some tasks and just configure your way to happiness. Sorry, Lua, you’re still cool, but Wireshark’s got some new tricks up its packet-sniffing sleeve!

Key Points:

  • Wireshark 4.4.0 Release Candidate 1 introduces field expressions as custom columns.
  • Custom columns can now be configured for specific fields without needing a custom Lua dissector.
  • Examples include using field expressions to parse TCP payload bytes directly.
  • Displayed column values are hexadecimal, with no direct way to convert to decimal integers.
  • Feedback from the community is requested for potential solutions to decimal conversion.

Membership Required

 You must be a member to access this content.

View Membership Levels
Already a member? Log in here
The Nimble Nerd
Confessional Booth of Our Digital Sins

Okay, deep breath, let's get this over with. In the grand act of digital self-sabotage, we've littered this site with cookies. Yep, we did that. Why? So your highness can have a 'premium' experience or whatever. These traitorous cookies hide in your browser, eagerly waiting to welcome you back like a guilty dog that's just chewed your favorite shoe. And, if that's not enough, they also tattle on which parts of our sad little corner of the web you obsess over. Feels dirty, doesn't it?