re-lab project. formats reverse engineering: tools and results

15
RE-LAB Project

Upload: lgworld

Post on 04-Jul-2015

604 views

Category:

Technology


3 download

DESCRIPTION

Insight on re-lab's reverse engineering tools and their usage to implement/improve support for proprietary file formats in your program. Progress report on latest achievements.

TRANSCRIPT

Page 1: Re-lab project. Formats reverse engineering: tools and results

RE-LAB Project

Page 2: Re-lab project. Formats reverse engineering: tools and results

Reverse-engineering of proprietary file formats

A little shy joint efforts project of the GIMP.RU and Giadram Inc.

Alexandre Prokoudine & Valek Filippov

Page 3: Re-lab project. Formats reverse engineering: tools and results

TOOOOLZ

OLE Toy colupatr

“I'm not a programmer”

https://gitorious.org/re-lab/

abr_struct

exp

matcap

Page 4: Re-lab project. Formats reverse engineering: tools and results

OLE Toy

Started as a tool to research MS Publisher files

Mutated into a little monster who digested its predecessors: mfview, cdrvu, fhstruct, vsdump/vsdviewer etc.

“Supports”:

DOC

XLSPPT

WMF

EMF

PUB MDB

VSD

FH

SVM

QPW

EMF+

CDRCMX

CDW

CLP ICC

“Escher”

ZIP

VBA

CFB

CPL

WLD

Page 5: Re-lab project. Formats reverse engineering: tools and results

OLE Toy

Page 6: Re-lab project. Formats reverse engineering: tools and results

OLE Toy features● Search for ASCII, Unicode string or Hex value

● Copy tree path, go to leaf by path

● Scroll hexdump to addr (abs or +/-)

● Search for leaf (with ASCII/Unicode/Hex)

● Collect «dictionaries» for CDR, FH

● Specific searches for XLS and CDR

● Hints on selected bytes

● Parse some formats at selected position

Page 7: Re-lab project. Formats reverse engineering: tools and results

colupatr

Hexviewer on ster^W LSD

Made to reduce r.engineering pains with normal hexviewers:

● Variable lengths of lines

● Comments

● CLI commands to change lines

● Parse hexdump from clipboard

Page 8: Re-lab project. Formats reverse engineering: tools and results
Page 9: Re-lab project. Formats reverse engineering: tools and results

YIELD

Photoshop ABR/GRD specs (Krita, SwatchBooker)

MS Publisher (98,2k-2k7) (LibreOffice GSoC 2012 Project)

Troubleshooting of XLS/WMF/EMF/CLP-related issues in LibreOffice, Gnumeric

Page 10: Re-lab project. Formats reverse engineering: tools and results

Embroidery file formats

YIELD

Page 11: Re-lab project. Formats reverse engineering: tools and results

MS Visio VSD specs LibreOffice GSoC 2011: libvisio

YIELD

Page 12: Re-lab project. Formats reverse engineering: tools and results

Corel DRAW CDR LibreOffice libcdr

YIELD

Page 13: Re-lab project. Formats reverse engineering: tools and results

Aldus/Macromedia FH fh2svg PoC

YIELD

Page 14: Re-lab project. Formats reverse engineering: tools and results

Live demo

Page 15: Re-lab project. Formats reverse engineering: tools and results

Q&A

Tomatoes