Hi, First of all, congratulations for your development and to release the code. In my blog (Spanish, sorry), I released a script similar to InMemoryFuzzer.py: http://boken00.blogspot.com/2008/12/desarrollo-de-un-fuzzer-genrico-para.html The way to improve this work is your script Trace.py. Great job! But I don’t know why you don’t automatize the extraction of functions list and start-end address of each function with IDAPython invoked from Trace.py, using IDA command-line options and a little IDAPython script. Probably was for incompatibility with an IDA 4.9 and IDAPython? In the source code of my blog, you can view an example of this. Congratulations! Greets!
Hello sinn3r, Just to clarify my thoughts, how do you select the dll that you get the functions from in step 1 of Tracer.py How to? Thanks, nombre
Hi, I would like to thank you for writing such a nice article. I really want to try it out, but I cannot download the two files(Tracer.py and InMemoryFuzzer.py) from the link that was provided above. Is there any other way that I could download them? Thank you.
Hi there again, I am sorry for this post. After a few more attempts, the link came back alive and I was able to download the files. Once again, thank you for this nice article! Thank you.
Hi, thanks very much for your time and the valuable information. Unfortunately, I could not access to two of the download links that you provided, any pointers are greatly appreciated. Pydasm: http://therning.org/magnus/archive/278 https://redmine.corelan.be:3690/projects/inmemoryfuzzing <– this link requires credential that appears to be different than the one I'm using to access this blog. Best Regard
You can try http://redmine.corelan.be:8800/projects/inmemoryfuzzing/files (or just go to the redmine home page and click the In Memory Fuzzing project). You don’t need any credentials to download the files. Pydasm : try http://dkbza.org/pydasm.html cheers Peter
Thanks Peter for your quick response. I was able to download the pydasm from that site, but the redmine link still ask for credential, I get the connection timeout if try to hit the home page –> https://redmine.corelan.be If possible, please assist to put these two files “Tracer.py and InmemoryFuzzer.py” onto the “free tools” section of this site. Thank you for your prompt support. Best Regards
Hi Peter, may be it’s just me, I tried to access the links (see below) and still has no luck. I really appreciate if you can send me the files via email or put into the “free tools” section on this site. Please disregard this request if time does not permit. http://redmine.corelan.be:3690 http://redmine.corelan.be
Peter, I’m able to download the files from the following link, thanks again for your help. http://redmine.corelan.be:8800/projects/inmemoryfuzzing/files?sort=size%2Cfilename
Hi guys, I am not able yet to run tracer.py because of this error “ImportError: No module named MySQLdb” could somebody show me does he/she installed MySQLdb for python 2.5 on windows? Thank you,
Regarding the “import MySQLdb” issue: The problem has been privately resolved thanks to kewel’s feedback. In case other users might have the same issue, this is due to a missing Try statement in module C:\Python25\Lib\site-packages\utils\code_coverage.py (part of Paimei). Please open this file with notepad, and modify the code like so: try: import MySQLdb except: pass Other similar problems (“No module named xx” error) may also be fixed with this approach.
sinn3r, If you don’t mind I have one more Feedback. after that i executed the script very nice then i had to make Ctrl+C, when i came back to run the script again i got this error :s ================================================== C:\Fuzzer>Tracer.py _____ |_ _| __ __ _ ___ ___ _ __ | || ‘__/ _` |/ __/ _ \ ‘__| | || | | (_| | (_| __/ | by sinn3r |_||_| \__,_|\___\___|_| twitter.com/_sinn3r [*] Function list found [*] Enter a DWORD to track (eg: AAAA): AAAA Traceback (most recent call last): File “C:\Fuzzer\Tracer.py”, line 264, in main() File “C:\Fuzzer\Tracer.py”, line 246, in main functions = tracker.enumerateFunctions() #Grep all matching functions including RETNs File “C:\Fuzzer\Tracer.py”, line 106, in enumerateFunctions funcLength = lsplit[3] #Function block length IndexError: list index out of range =================================================== any reply will be appreciated. Thanks,
Hi, there is an imprecision in the documentation, or a bug in the code, that should be corrected for one to use the fuzzer with no errors. See this for details http://picturoku.blogspot.com/2011/11/do-you-fuzz.html . Thanks and great job.
This tutorial is out of date now I think. pydbg can’t be installed with the newer versions of python that come with immunity debugger. And the newest versions of Paimei doesn’t have pydbg installed by default, (at least there is no longer a file called pydbg.py). A updated fix for this that is newb friendly would be really cool of you guys, thanks.