Jump to content

coldboot episode and usb drive


johnnyrage

Recommended Posts

i downloaded the source code from the website on the show notes for the latest episode about cold boot attacks and following the install instructions inside the /doc folder when i run the make command i get this

root@bt:~/bios_memimage# make

make -C stand

make[1]: Entering directory `/root/bios_memimage/stand'

make[1]: `libstand.a' is up to date.

make[1]: Leaving directory `/root/bios_memimage/stand'

make -C i386

make[1]: Entering directory `/root/bios_memimage/i386'

as -I../include -o start.o start.s

start.s: Assembler messages:

start.s:138: Error: junk `(bios_disk)' after expression

start.s:142: Error: junk `(GDESC)' after expression

start.s:164: Error: can't handle non absolute segment in `ljmp'

start.s:175: Error: junk `(_main)' after expression

start.s:181: Error: junk `(printf)' after expression

start.s:186: Error: junk `(bios_apm_shutdown)' after expression

start.s:195: Error: junk `(IDESC)' after expression

make[1]: *** [start.o] Error 1

make[1]: Leaving directory `/root/bios_memimage/i386'

make: *** [subdiri386] Error 2

has anyone succesfully compiled the .bin file to copy to usb or if anyone has any ideas on how to solve the error would be much appreciated

Link to comment
Share on other sites

  • 4 months later...
  • 1 year later...

I know this is an old post, but I was having trouble with this until I figured it out 2 minutes ago.

Go here and install Mingw : (mingw-get-inst-20110316.exe)

http://sourceforge.net/projects/mingw/files/

After you're done with that, YOU NEED to install gcc core. Here's the info:

http://www.mingw.org/wiki/InstallationHOWTOforMinGW

Here's the link to gcc-core:

http://sourceforge.net/projects/mingw/files/MinGW/BaseSystem/GCC/Version4/gcc-4.5.2-1/gcc-core-4.5.2-1-mingw32-bin.tar.lzma/

Download and install 7zip:

http://www.7-zip.org/

Place "gcc-core-4.5.2-1-mingw32-bin.tar.lzma" in your MinGW directory:

C:\MinGW\

Right click on "gcc-core-4.5.2-1-mingw32-bin.tar.lzma" and extract it using 7-zip.

Then, Right click on "gcc-core-4.5.2-1-mingw32-bin.tar" and extract it, and copy over your files if your prompted to do so.

Make sure you downloaded "bios_memimage-1.2.tar.gz" from http://citp.princeton.edu/memory/code/ and extracted it using 7-zip.

Finally, open Mingw Shell.

cd C:\bios_memimage-1.2.tar.gz\

make -f Makefile.mingw

If you don't get any errors, you're done!

Sorry for this dumbed down tutorial, just want to make sure everybody understands.

Here's my COMPILED version:

http://www.2shared.com/file/yTscnBoZ/memimage.html

It contains the same files as Bios_memimage from Princeton, but also includes the compiled files (scraper.bin) Just head on over to the /usb folder and you'll see it. I recommend you try compiling it yourself though. It's a good learning experience.

Link to comment
Share on other sites

  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...