[VulnDiscuss] RE: Preventing exploitation with rebasing
Chris Ren <[email protected]>
| Newsgroups | gmane.comp.security.vulnerabilities.watch.general,gmane.comp.security.bugtraq,gmane.comp.security.ntbugtraq |
|---|---|
| Message-ID | <[email protected]> |
> -----Original Message----- > From: David Litchfield [mailto:[email protected]] > Sent: Tuesday, February 04, 2003 12:09 AM > To: [email protected]; [email protected]; > [email protected] > Subject: Preventing exploitation with rebasing > > So how easy is it to rebase DLLs and executables? Very. Microsoft have > provided a function to do this, ReBaseImage(), exported by > imagehlp.dll. If > you rebase an image the new base must be on a 64K boundary - > i.e. if the > image base mod 64000 !=0 the base is not valid. > There is a tool called "ReBase" shipped with Visual C++ and Visual C++.NET. <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tools/perf util_2z39.asp> <quote> Rebase is a command-line tool that you can use to specify the base addresses for the DLLs that your application uses. </quote> <quote> Alternatively, you can use the ReBaseImage function. </quote> Chris Ren ----- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You.