Piotr Bania Chronicles
July 15th, 2009, 11:17
As some of you probably remember in 2006 i have announced a tool called Aslan (4514N). The purpose of this tool was to develop a binary code integration (static binary code rewriting) engine which would allow Portable Executable file modification on the binary level (so without source code). The tool itself was limited to X86-32 architecture. It's quite a shame because i haven't done a single update to this project since 2006, so for about 3 years
However things have changed recently. I have forced myself to sit and think about Aslan for a while. This took me some of my free time, but I have REWRITTEN Aslan completely from scratch - i have made it faster, more stable and more fabulous then ever. But that's not all - i think it is really worth mentioning that i have added a very very innovative feature to it called BINARY CODE WELDING (MERGING). As far as i know i am the first one to introduce this feature on such complication level.
Before even i started creating this technique i was introducing the Aslan concept to one of my good friends HackerFantastic ("http://hackerfantastic.blogspot.com/"). In one of the talks we had few days ago he said it would be total wreck if i could integrate code that is not only written in ASM. As you probably know old Aslan required you to integrate assembly code only (binary form) which typically was a position-independent code too. Not to mention that typically such binary injected stubs needed to resolve API addresses on their own and finally for most of the people assembly is not much fun. So can you imagine how to integrate let say a code written in C to another program at any pseudo-random location? Have you though about what should you repair, how to manage unresolved imported APIs and stuff? It may sound easy but to any researcher following the idea - this is a hell on earth. But yes, i did it. Ok enough words lets bring out some example.
CONTINUE READING ("http://piotrbania.com/all/4514N/index_rev.html")
Before you will get too hasty:
This project is still in development phase, however even if finish it i doubt i will release it for public. This is obvious since most of people would use it for evil purposes and in the end it will not bring me much good karma. Besides i have decided to delete entire GUI so right now Aslan has no interface so i am probably the only person who can use it correctly (not to mention Marcin Mi?ta's cat :-)). I did it for fun additionally it helps me with "pentests"...https://blogger.googleusercontent.com/tracker/5498266518143777458-794751033452273864?l=blog.piotrbania.com
http://blog.piotrbania.com/2009/07/aslan-4514n-binary-code-integrator.html

Before even i started creating this technique i was introducing the Aslan concept to one of my good friends HackerFantastic ("http://hackerfantastic.blogspot.com/"). In one of the talks we had few days ago he said it would be total wreck if i could integrate code that is not only written in ASM. As you probably know old Aslan required you to integrate assembly code only (binary form) which typically was a position-independent code too. Not to mention that typically such binary injected stubs needed to resolve API addresses on their own and finally for most of the people assembly is not much fun. So can you imagine how to integrate let say a code written in C to another program at any pseudo-random location? Have you though about what should you repair, how to manage unresolved imported APIs and stuff? It may sound easy but to any researcher following the idea - this is a hell on earth. But yes, i did it. Ok enough words lets bring out some example.
CONTINUE READING ("http://piotrbania.com/all/4514N/index_rev.html")
Before you will get too hasty:
This project is still in development phase, however even if finish it i doubt i will release it for public. This is obvious since most of people would use it for evil purposes and in the end it will not bring me much good karma. Besides i have decided to delete entire GUI so right now Aslan has no interface so i am probably the only person who can use it correctly (not to mention Marcin Mi?ta's cat :-)). I did it for fun additionally it helps me with "pentests"...https://blogger.googleusercontent.com/tracker/5498266518143777458-794751033452273864?l=blog.piotrbania.com
http://blog.piotrbania.com/2009/07/aslan-4514n-binary-code-integrator.html