Download Latest Version 13ja1608.7z (502.1 kB)
Email in envelope

Get an email when there's a new version of getLoadLibAddr

Name Modified Size InfoDownloads / Week
Parent folder
3_nov_6_27 2011-11-03
wireshark_2nov_1_34_youtube_mirc 2011-11-03
wireshar_2nov_0_45 2011-11-03
wireshark_2nov_0_27 2011-11-02
wireShark_dump_2nov_0_00 2011-11-02
svn_import_txt_2nov_23_10.pcap 2011-11-02 9.4 MB
tree_loadlibaddr_2nov_22_49.log 2011-11-02 411 Bytes
nm_loadlibaddr_o_2nov_16_34.log 2011-11-02 381 Bytes
ls_la_2nov_15_10_root.log 2011-11-02 764 Bytes
file_command_without_d_option_2nov_13_21.log 2011-11-02 47 Bytes
comp_2_nov_12_28.log 2011-11-02 907 Bytes
svn_import_wireshark_2nov_23_10.pcap 2011-11-02 8.1 MB
tree_full_loadlibaddr_2nov_22_50.log 2011-11-02 3.6 kB
svn_import_XML_loadlibaddr_2nov_22_39.log 2011-11-02 550.9 kB
svn_import_loadlibaddr_2nov_22_39.log 2011-11-02 1.3 MB
dir_2nov_15_40_c_root.log 2011-11-02 5.2 kB
dir_f_cprograms_loadlibddr_2nov_15_16.log 2011-11-02 1.5 kB
ls_la_2_nov_15_08_f_cprograms.log 2011-11-02 3.9 kB
ls_la_2_nov_15_09_f_cprograms_loadlibaddr.log 2011-11-02 1.7 kB
ls_la_2nov_15_10_f_cprograms.log 2011-11-02 3.9 kB
ls_la_2nov_15_18_f_connectBackShellCodeProject.log 2011-11-02 1.2 kB
ls_la_2nov_15_38_c_root.log 2011-11-02 8.4 kB
memdump_2nov_21_25.log 2011-11-02 1.8 kB
nm_l.exe_2nov_16_39.log 2011-11-02 11.4 kB
nm_loadlibaddr.exe_2nov_16_40.log 2011-11-02 11.4 kB
svn_import_root.txt 2011-11-02 233.0 kB
file_command_2nov_13_21.log 2011-11-02 273.9 kB
type_redirectShellIO_c_2nov_13_18.log 2011-11-02 6.0 kB
fc_2_nov_12_28.log 2011-11-02 275.9 kB
svn_import_XML_2nov_23_11.log 2011-11-02 3.8 MB
svn_import_XML_loadlibaddr_2nov_22_39 2011-11-02 550.9 kB
ls_la_2nov_15_20_root.log 2011-11-02 764 Bytes
Totals: 32 Items   24.6 MB 1
/* Created on: 2 de Nov de 2011 at 16:44:44
 * Author: andrec
 * Email : fc26887@alunos.fc.ul.pt
 *
 */

Hello.

This project started out as a win32 exploit development project, based on :

Undestanding Windows Shellcode by Skape (mmiller@hick.org, www.nologin.org).
references/win32-shellcode.pdf

It presents
 several misconceptions, and bugs that are present on the i386 architecture. I know this
 because what ive done, shows that some things are impossible unless something is terrible wrong :). 

It presents some proof-of-concepts realtime situations. The main thing
 to be read is in directory steps/listOfSteps.html. I suggest you take a look
 at the source. The images directory presents things that are best viewed and are hard to comment
 . The asm directory presents the original asm exploit files, and a hash file that has a function
 to hash strings into 4bytes arrays. Check the method in :
 
 Win32 Assembly Components
by
The Last Stage of Delirium Research Group
http://lsd-pl.net
Version: 1.0.1
Updated: December 12th, 2002
Copyright c
2002 The Last Stage of Delirium Research Group, Poland
references/winasm-1.0.1.pdf
 
The examples directory presents some files i write, to help me assist in this project.
For instance redirectShellIO.c was an attempt to create a shell that all its stdin,stdout and stderr
were logged to a file. Obviously that didn't work.

The exe has files compiles from examples, that are interesting.

The hashDB has md5 and sha1 hashes of those exe files. The db is in xml. The tool i used 
was fciv from microsoft.

The log directory has files that are output of commands (instead of putting them directly
to listOfSteps.html, i put a link to them on listOfSteps.html

The Makefiles directory has old makefiles.

The source directory , has for now, the first .c file used in this project. Actually
it was named connectBackShellCode.c but now its named LoadLibAddr.c.

The steps directory is the fundamental directory of the project. It contains all the 
steps i made to achieve certain thins. The listOfStepsNetwork, has steps that are related to
network things.

The webdav exploit project is an attempt to write an exploit to webdav, but
currently it only checks to see if webdav is enable on the server. Though i can't compile it.

On root directory there's:

eclipseConfig.txt

My text editor and IDE for the moment.

*.bat
Some batch files to run gdb (one of them uses gdb.commands to run commands, although it doesn't work
it hangs gdb)

...
That's it.

Later,

andrec




 

My OS version is in : images/windowsVersion.jpg 

My compiler is gcc :
C:\>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.5.0/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.5.0/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-li
bgomp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --disable-werror --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.5.0 (GCC)

I have two debuggers one is gdb :
C:\>gdb -v
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.

the other is ollydbg v1.10 : 
http://top-themen.t-online.de/

my ls version is :

C:\>ls -la --version
ls (GNU coreutils) 5.97
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by Richard Stallman and David MacKenzie.

my nm version is :
C:\>nm --version
GNU nm (GNU Binutils) 2.20.51.20100613
Copyright 2010 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.

my objdump version is:
C:\>objdump --version
GNU objdump (GNU Binutils) 2.20.51.20100613
Copyright 2010 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.

file version is:
C:\>file --version
file-5.04
magic file from /etc/magic:/usr/share/misc/magic

THANKS TO:
blackthorne (for suggestions and ideas)
and all the other dudes for testing the stuff.
Source: readme, updated 2011-11-02