IDA Pro auto-offset

Reading time ~1 minute

Another day with IDA…

So you have IDA runnig and you dropped in some random binary that you just pulled from a black-box. Every little bit of context helps and those strings used via immediate offsets are invaluable hints for what a section of code is up to. Sure, you could press ‘o’ every time you come across an immediate that wasn’t automatically treated as an offset, but wouldn’t it be nice to have this done for you? The little code snippet below may as well be the “hello world” of IDA scripting because everyone else has probably done it already. Here is a version to share, for those of you who don’t feel like doing it yourself.

Please feel free to improve and submit pull requests. (Get yourself to the GitHub Gist with the link in the bottom left of the code window.) Thanks to @jessemichael for sending me down this path.

Pin-tumbler lock interactive diagram

Teaching lockpicking is a little easier when people can see how the internal mechanism functions. Continue reading

Exploiting Abloy cam locks

Published on November 22, 2014

Advanced Lockpicking Techniques - BSidesPDX 2014

Published on October 04, 2014