Seeing a presentation of the Kaitai project.

If you need to document or describe or decode binary format, Kaitai is clearly there to help.

https://kaitai.io/ @kaitai

#hacklu #kaitai #dfir #cybersecurity

File Format Gallery for Kaitai Struct

Kaitai Struct is a formal language for binary format specification that can be compiled into parser code

File Format Gallery for Kaitai Struct

Kaitai Struct is a formal language for binary format specification that can be compiled into parser code

Shattering the eyeglass: Using Kaitai Structs to dissect the eyeglass’ contents


by @beet_keeper

In my post from 2012: Genesis of a File Format, I created a new file format – the Eyeglass file format. The format provides a mechanism to persist information about a patient’s eye health following a checkup at an opticians. Today in 2023 we can use the format to understand how to make use of Kaitai Structs for understanding file formats.

Given the disclaimer that I am not actually an optician and that the format is purely illustrative, let’s look at the eyeglass again below.

Continue reading “Shattering the eyeglass: Using Kaitai Structs to dissect the eyeglass’ contents”

#code #coding #digipres #digitalLiteracy #digitalPreservation #fileFormat #fileFormatAnalysis #fileFormats #kaitai #pronom #yyyy

The past 2 weeks I've been working on a program to convert #GrandPrix2 car models to OBJ. https://github.com/Dahie/gpx2obj-ruby I had to learn reading binary files, #kaitai, had to learn a lot about SVG. Still somethings to do, but generally quite happy now. Ideally I'd love to put some of this into the GP2careditor, but my C++ is not good enough. #simracing #x86GP2 #gp2
GitHub - Dahie/gpx2obj-ruby: Conversion script to read GP2 Careditor SHP files and convert them to OBJ

Conversion script to read GP2 Careditor SHP files and convert them to OBJ - Dahie/gpx2obj-ruby

GitHub

First spec meeting of the year successful. Many more to come on the road to 1.0, but we've actually started defining a ground truth using #kaitai.

First milestone will be implementing the version handshake routine: https://github.com/rabbitControl/RCP/blob/1.0/Flow.md

#rcp #remotecontrol #rabbitcontrol #creativecoding

RCP/Flow.md at 1.0 · rabbitControl/RCP

Remote Control Protocol. Contribute to rabbitControl/RCP development by creating an account on GitHub.

GitHub

In our new blogpost we guide you through the process of improving the tools available for #pentesting WCF services over the net.tcp binding:

https://blog.silentsignal.eu/2024/10/28/wcf-net.tcp-pentest/

We created a brand new #Kaitai Struct based parser and implemented transformations so messages can be manipulated and replayed with #BurpSuite.

Engineering WCF Hacks

Because we can!

Silent Signal Techblog

I had always wanted to try Kaitai Struct. This workshop of Eloise Brocas at @hack_lu
on exploring firmware just gave me the opportunity to do that on a custom firmware format.

https://ide.kaitai.io/devel/#
https://doc.kaitai.io

#kaitai #firmware #binwalk #unblob #hacklu2024

Kaitai Web IDE

For a #Kaitai example, I did a partial KSY YAML file to describe and parse DPX files (image format used in the cinema industry): https://github.com/robin-francois/dpx-kaitai-struct

Using this YAML file, I generated a parser and discovered that a lot of DPX were not exactly following the specs, and that I was actually getting more metadata than existing metadata extraction tools.

GitHub - robin-francois/dpx-kaitai-struct: Kaitai Struct YAML file to handle DPX files

Kaitai Struct YAML file to handle DPX files. Contribute to robin-francois/dpx-kaitai-struct development by creating an account on GitHub.

GitHub

Another tool that I am trying to use more: #Kaitai Struct.

This is a tool to generate parsers for binaries/files. You describe the structure of the file format in YAML, and then you can generate parsing libraries for a variety of programming languages.

For me, this is most probably a good tool to document a file format or a filesystem.

There is also a web IDE to help you write your YAML Kaitai description: https://ide.kaitai.io/

Link to the project website: https://kaitai.io/

Kaitai Web IDE