Author Topic: BinDyn - A Visual Binary Analysis Tool (Pre-Alpha)  (Read 898 times)

0 Members and 1 Guest are viewing this topic.

Offline HTH

  • Official EZ Slut
  • Administrator
  • Knight
  • *
  • Posts: 395
  • Cookies: 158
  • EZ Titan
    • View Profile
BinDyn - A Visual Binary Analysis Tool (Pre-Alpha)
« on: March 25, 2015, 10:43:37 am »
Well, since Kenjoe41 pointed out yesterday how you were all "waiting and waiting" here it is:

BinDyn, now in C++, with a GUI. it's been about 2 weeks since I said I'd code it in C++, and it's still not done (hell two of the modules are not even started beyond a template and a link to the main program).

However, it CAN:

Scan for signatures, Strings,
Created a few different plots in different ways for rapidly Identifying data structures,
save excerpts from the file you are working on once you have ID'd something you need.
Scan and map entropy with varying windows sizes and resolution.
Generate file statistics useful for Identifying if that blob of random text is say, AES encrypyed or just something like Uuencode.
And interface in the most rudimentary way with gdb and objdump, I don't personally see much use for the gdb one and its still not even close to done, however the objdump part could be useful if you think you have identified a malwares stub f.ex.

I read the guidelines and apparently we need screenshots  so here you go:

Signature and String Scanning:



Digraph and Basic Hex Editor:




Statistics(Histogram) and Self Similarity Plot:



Entropy Map Displaying using space filling curves to keep data locality alive:

Also displaying a byte plot set to 150 (150 data points per line):




Entropy Map with default settings, also a not implemented conversions feature:




Finally, the GDB and Objdump Dissasembler integration:

Funny enough I was going to code my own x86 dissasembler until I realized that I might as well just assume the user has GNU build tools installed and save myself many many hours of life.

Will probably still code a dissasembler for the learning experience but I think Ill choose like IL or ARM.




Anyway that's it for now folks, it's coming along swimmingly, and it's on github:
https://github.com/TheRealHTH/BinDyn

I will be continuing to work on this, and there is lots I want to improve upon but there it is.
<ande> HTH is love, HTH is life
<TurboBorland> hth is the only person on this server I can say would successfully spitefuck peoples women

Offline Deque

  • P.I.N.N.
  • Global Moderator
  • Overlord
  • *
  • Posts: 1203
  • Cookies: 518
  • Programmer, Malware Analyst
    • View Profile
Re: BinDyn - A Visual Binary Analysis Tool (Pre-Alpha)
« Reply #1 on: March 25, 2015, 03:39:59 pm »
Greaaaaat.
But I get
Code: [Select]
make: *** No rule to make target `/usr/share/qt4/mkspecs/linux-g++-64/qmake.conf', needed by `Makefile'.  Stop.

?

Offline HTH

  • Official EZ Slut
  • Administrator
  • Knight
  • *
  • Posts: 395
  • Cookies: 158
  • EZ Titan
    • View Profile
Re: BinDyn - A Visual Binary Analysis Tool (Pre-Alpha)
« Reply #2 on: March 26, 2015, 12:41:15 am »
Did you run:
qmake -project
qmake
make

From the source directory? If so I'll look into why that might be happening, it obviously compiled on my machines lol

Edit: google says that if you did the above and it still happened then the generated .pro file might be borked. Im on my way out but I'll do my best to figure it out tonight
« Last Edit: March 26, 2015, 12:53:57 am by HTH »
<ande> HTH is love, HTH is life
<TurboBorland> hth is the only person on this server I can say would successfully spitefuck peoples women

Offline Teapot

  • Peasant
  • *
  • Posts: 127
  • Cookies: -2
  • E-Book Whore
    • View Profile
Re: BinDyn - A Visual Binary Analysis Tool (Pre-Alpha)
« Reply #3 on: March 26, 2015, 01:06:34 am »
Very nice HTH, i look forward to the projects completion =)

Offline Polyphony

  • VIP
  • Knight
  • *
  • Posts: 178
  • Cookies: 23
    • View Profile
Re: BinDyn - A Visual Binary Analysis Tool (Pre-Alpha)
« Reply #4 on: March 30, 2015, 08:38:01 am »
Kind of a late reply to this thread, but I had been having issues w/ getting bindyn to build correctly (even after qt5 libs were installed, etc).  Here's a little guide on how to build it on xubuntu.

Code: [Select]
user@localhost[bindyn/src] $ qmake -version
QMake version 3.0
Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu
user@localhost[bindyn/src] $ qmake -project
user@localhost[bindyn/src] $ qmake
user@localhost[bindyn/src] $ vim src.pro # add QT += widgets on line 8 manually
user@localhost[bindyn/src] $ make -j4

 ... bunch o' g++ shit here ...

user@localhost[bindyn/src] $ ./src

i always have to add that one QT += widgets line in, i guess i have some sort of misconfiguration in the mess that is my QT installation, but if this is all i have to do to get it to build w/out errors, then that's fine by me.  (hehe)
Code: [Select]
<Spacecow_> for that matter I have trouble believing bitches are made out of ribs
<Gundilido> we are the revolutionary vanguard fighting for the peoples right to display sombrero dawning poultry
<Spacecow> did they see your doodle?
<~phage> Maybe
<+Unresolved> its just not creative enough for me
<+Unresolved> my imagination is to big to something so simple

Offline HTH

  • Official EZ Slut
  • Administrator
  • Knight
  • *
  • Posts: 395
  • Cookies: 158
  • EZ Titan
    • View Profile
Re: BinDyn - A Visual Binary Analysis Tool (Pre-Alpha)
« Reply #5 on: March 30, 2015, 09:07:23 am »
Weird, if you wanted to write a better read me and open a pull request I'd appreciate it.
The commands i shared work for me ;p

i have not much time the next few weeks for anything fun.
« Last Edit: March 30, 2015, 09:13:18 am by HTH »
<ande> HTH is love, HTH is life
<TurboBorland> hth is the only person on this server I can say would successfully spitefuck peoples women