unpacking bird’s eye viewrecon.cx/en/f/lightning-ecarrera-unpacking-birds-eye-view.pdf · plot...

12
Unpacking bird’s eye view Ero Carrera Sabre Security GmbH

Upload: others

Post on 07-Oct-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Unpacking bird’s eye viewrecon.cx/en/f/lightning-ecarrera-unpacking-birds-eye-view.pdf · Plot data • I plotted most of the packer’s data with Mathematica • EIP = blue •

Unpacking bird’s eye view

Ero CarreraSabre Security GmbH

Page 2: Unpacking bird’s eye viewrecon.cx/en/f/lightning-ecarrera-unpacking-birds-eye-view.pdf · Plot data • I plotted most of the packer’s data with Mathematica • EIP = blue •

The idea

• Thought it would be cool to be able to see how unpacking goes

• as easy as tracing all memory writes and EIP location as the unpacker goes on its way

• i’m a slacker and lame, don’t wanna worry about anti-dbg tricks and the like... then... have write my own tool

• cool thing is, I already had it :)

Page 3: Unpacking bird’s eye viewrecon.cx/en/f/lightning-ecarrera-unpacking-birds-eye-view.pdf · Plot data • I plotted most of the packer’s data with Mathematica • EIP = blue •

Gather data

• Run some packers through my black ‘bochs’

Page 4: Unpacking bird’s eye viewrecon.cx/en/f/lightning-ecarrera-unpacking-birds-eye-view.pdf · Plot data • I plotted most of the packer’s data with Mathematica • EIP = blue •

Plot data

• I plotted most of the packer’s data with Mathematica

• EIP = blue

• Memory writes = green

Page 5: Unpacking bird’s eye viewrecon.cx/en/f/lightning-ecarrera-unpacking-birds-eye-view.pdf · Plot data • I plotted most of the packer’s data with Mathematica • EIP = blue •
Page 6: Unpacking bird’s eye viewrecon.cx/en/f/lightning-ecarrera-unpacking-birds-eye-view.pdf · Plot data • I plotted most of the packer’s data with Mathematica • EIP = blue •
Page 7: Unpacking bird’s eye viewrecon.cx/en/f/lightning-ecarrera-unpacking-birds-eye-view.pdf · Plot data • I plotted most of the packer’s data with Mathematica • EIP = blue •
Page 8: Unpacking bird’s eye viewrecon.cx/en/f/lightning-ecarrera-unpacking-birds-eye-view.pdf · Plot data • I plotted most of the packer’s data with Mathematica • EIP = blue •
Page 9: Unpacking bird’s eye viewrecon.cx/en/f/lightning-ecarrera-unpacking-birds-eye-view.pdf · Plot data • I plotted most of the packer’s data with Mathematica • EIP = blue •
Page 10: Unpacking bird’s eye viewrecon.cx/en/f/lightning-ecarrera-unpacking-birds-eye-view.pdf · Plot data • I plotted most of the packer’s data with Mathematica • EIP = blue •
Page 11: Unpacking bird’s eye viewrecon.cx/en/f/lightning-ecarrera-unpacking-birds-eye-view.pdf · Plot data • I plotted most of the packer’s data with Mathematica • EIP = blue •
Page 12: Unpacking bird’s eye viewrecon.cx/en/f/lightning-ecarrera-unpacking-birds-eye-view.pdf · Plot data • I plotted most of the packer’s data with Mathematica • EIP = blue •

Questions?