Hi newcomers!
I've been contributing to Magika since 2023 (it became public in 2024).
Magika is not AI slop: it's useful in its own way, and used in production.
The recent Rust release doesn't change how Magika is fundamentally working.
This repository offering in depth dissections of binary file formats, including PE, ELF, Mach-O, and more. An essential resource for reverse engineers and developers to uncover the structure of executables and libraries.
github.com/corkami/pics
After the next stream, I'll start redoing my first streams in french! You'll have time to catch up in the meantime. I'll resume english streams afterwards.
Après le prochain direct, je referais mes 7 premiers directs, mais en français cette fois!
Partagez SVP!
Today, I crafted manually tiny polyglot files as easy examples.
In my next stream (tomorrow @ 9PM CET),
I'll walk through some real polyglots:
the releases of PoC||GTFO.
youtube.com/live/POg2Qpxbp…
My stream about crafting a PDF file from scratch is over.
youtube.com/live/q6KgFezu8…
It was pretty chill to take the time to answer questions, thanks again for joining!
The Woff v2 format pushes things further: standard tags are now implicit via an enum, tables-specific transformations are applied to improve compression, and Brotli compression (2013-) is used.
The Woff (Web Open Font Format) is an alternate form of TTF/OTF, in which tables are typically compressed individually w/ Zlib. Besides, the content remains similar and Woff files can be turned back to TTF/OTF.
OTF (OpenType) fonts files are similar to TTF: The version looks like a magic, similar directory / table structure, some tables are shared w/ TTF (OS/2, maxp, cmap...), some are exclusive (CFF ^ glyf, loca).
TTF fonts spaghetti:
- the number of elements in the glyf table is set in the maxp table.
- the relative offsets of the elements in the glyf table are given by the loca table.
- the format of the loca table is specified in the head table.
TTF (and vector fonts in general) are very complex.
A tiny font with a single defined glyph made of a single rectangle... 0x590 (1424) bytes!
They even contain some bytecode!
TTF (TrueType fonts) have no magic, start directly with a directory table pointing to each tagged-tables. The format is uncompressed, many tables start with a version number. Standard software can add their own custom tables (ex: FontForge).
BPG - Better Portable Graphics - was created by Fabrice Bellard (LzExe / FFMpeg / QEmu...) and has a very compact header with variable integers, yet it has a proper magic.
Binary properties list is a serialization format with a PDF-like structure: a magic, a trailer, an xref table, and objects referencing each others.
Which makes it easy to move objects around or overlap them.
45K Followers 3K FollowingChoose disfavour where obedience does not bring honour.
I do math. And was once asked by R. Morris Sr. : "For whom?"
@[email protected]
43K Followers 364 FollowingI built a C library that lets you compile 12kb static binaries that run natively on Linux, Mac, Windows, FreeBSD, OpenBSD, NetBSD and BIOS using just GCC/Clang.
91K Followers 957 FollowingProgrammer, #malware analyst. Author of #PEbear, #PEsieve, #TinyTracer. Private account. All opinions expressed here are mine only (not of my employer etc)
61K Followers 1K FollowingSecurity information portal, testing and certification body.
Organisers of the annual Virus Bulletin conference. @[email protected]
33K Followers 1K Following意志 / mobile research @ ▓▓▓▓▓ / Team 501 / ex IBM Capability Lead & FireEye TORE / I rewrite pointers and read memory / AI Psychoanalyst / Teaching @CalypsoLabs
77 Followers 183 FollowingC.S. Associate Professor, Ph.D. Math & Computer Science, expert in Graph Theory & Combinatorial Optimization, always hungry for new knowledge
2 Followers 58 FollowingCybersecurity tips for professionals. OS Internals, Reversing, Exploitation, Malware. If you live in the debugger, this is for you. 🏴☠️ Code repo: 👇
282 Followers 4K FollowingPh.D. Candidate in Fluid Mechanics. High-Performance Computing, Quantum Computing, Differential Geometry, and Mathematical Physics. Multilingual. Piano Player.
6K Followers 325 FollowingSecurity researcher | Payment systems | Trainer & Speaker | Book author | @MetabaseQ R&D team | Free speech doesn’t pay bills: my tweets are my own.
2K Followers 2K FollowingProfessor (full) of computer insecurity @s3eurecom. Can be seen sometimes procrastinating on Twitter.
@[email protected]
@aurelsec.bsky.social