Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binwalk Fails to Identify TrueType Font Signature #430

Open
baboomerang opened this issue Oct 28, 2019 · 0 comments
Open

Binwalk Fails to Identify TrueType Font Signature #430

baboomerang opened this issue Oct 28, 2019 · 0 comments

Comments

@baboomerang
Copy link

baboomerang commented Oct 28, 2019

I performed a binwalk -B on a dumped printer firmware.

$: binwalk -B entry.bin 

DECIMAL       HEXADECIMAL     DESCRIPTION
--------------------------------------------------------------------------------
$:

No result....
2019-10-28-155509_937x979_scrot
But at 0x42060 there is the mono spaced font header spanning numerous lines.

When I perform a hexdump of LiberationMono.ttf, it shares a very similar header.

$ xxd /usr/share/fonts/liberation-fonts/LiberationMono-Bold.ttf | head -n 25
00000000: 0001 0000 0012 0100 0004 0020 4646 544d  ........... FFTM
00000010: 6e8a c79f 0004 636c 0000 001c 4744 4546  n.....cl....GDEF
00000020: 70d4 79d2 0004 6388 0000 0086 4750 4f53  p.y...c.....GPOS
00000030: d3e4 d543 0004 6410 0000 333e 4753 5542  ...C..d...3>GSUB
00000040: 28b3 6b5f 0004 9750 0000 0322 4f53 2f32  (.k_...P..."OS/2
00000050: 01c5 bdbc 0000 01a8 0000 0060 636d 6170  ...........`cmap
00000060: 431c 1cd5 0000 2768 0000 062e 6376 7420  C.....'h....cvt 
00000070: 8943 7c37 0000 3b48 0000 02ae 6670 676d  .C|7..;H....fpgm
00000080: 7e61 b611 0000 2d98 0000 07b4 6761 7370  ~a....-.....gasp
00000090: 0016 0009 0004 635c 0000 0010 676c 7966  ......c\....glyf
000000a0: 36f7 fd0c 0000 635c 0003 9898 6865 6164  6.....c\....head
000000b0: 04e4 12a8 0000 012c 0000 0036 6868 6561  .......,...6hhea
000000c0: 0864 0639 0000 0164 0000 0024 686d 7478  .d.9...d...$hmtx
000000d0: db05 b542 0000 0208 0000 2560 6c6f 6361  ...B......%`loca
000000e0: 1182 8120 0000 3df8 0000 2564 6d61 7870  ... ..=...%dmaxp
000000f0: 0def 04c2 0000 0188 0000 0020 6e61 6d65  ........... name
00000100: 5493 94cf 0003 fbf4 0000 0bbb 706f 7374  T...........post
00000110: 3cc8 952a 0004 07b0 0000 5bab 7072 6570  <..*......[.prep
00000120: 0f27 a489 0000 354c 0000 05fa 0001 0000  .'....5L........
00000130: 0002 0000 d7e3 2bca 5f0f 3cf5 021f 0800  ......+._.<.....
00000140: 0000 0000 c850 bf5e 0000 0000 d9a8 0967  .....P.^.......g
00000150: fc25 fcfd 0593 07e8 0001 0008 0000 0001  .%..............
00000160: 0000 0000 0001 0000 06a9 fd99 0000 04cd  ................
00000170: fc25 fa7a 0593 0001 0000 0000 0000 0000  .%.z............
00000180: 0000 0000 0000 0958 0001 0000 0958 0122  .......X.....X."

It would be awesome if you can add support for it 👍
Hope this helps
-i

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant