Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.84 KB

File metadata and controls

38 lines (32 loc) · 1.84 KB

Static Single Assignment with Binary Ninja

Static Single Assignment (SSA) with Binary Ninja

YouTube Video: https://youtu.be/XL0lepxA2L0

Tools:

Get the Trivision webs binary:

Extract SSA from Trivision webs using the API and the Binary Ninja GUI

Within Binary Ninja we can jump to 0xB7E8, and use current_mlil to do the following:

  • Check if the 3rd param to memcpy takes negative range values
    • current_mlil.ssa_form[25].params[2].possible_values.ranges[0].end

  • Check the def-use for phi nodes
    • ssa = current_mlil.ssa_form[17]
    • (current_mlil.ssa_form.get_ssa_var_definition((ssa).src[0]))
    • (current_mlil.ssa_form.get_ssa_var_uses((ssa).src[0]))

References