Ethical Hacking Training at InfoSec Institute Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: how to simulate/insert a hard drive (physical) bad block error? |
|---|---|
| Date: | Mon, 4 Apr 2005 00:36:43 -0700 |
hi ya On Fri, Apr 00, 2005 at 07:58:32PM -0800, Gary Funck wrote:
We'd like to test a disk imaging/copy device/procedure to see how it fares if the source drive has one/more bad block errors. Is there a way, by communicating with the hard drive, presumably at a very low level, to convince the drive that it should mark a sector as having a permannent error, and to _not_ have it try and spare this particular sector to a good sector on an alternate track? Basically, we'd like to insert what appears to be several (physical) bad blocks for the purposes of testing.
badblocks are defined several places ..
- at the disk controller ... you probably wont have access to
changing that ( in firmware )
- marked on the tracks of the platter ...
( you can write/flag it as bad ) with a standard dos bios interrupt
- fs badblock checking
using dd will probably give you some bad blocks too if you're willing
to check it bit by bit ..
- good data on the source written to bad blocks on the target
with c/h/s remapping disabled
c ya
alvin
-----------------------------------------------------------------
This list is provided by the SecurityFocus ARIS analyzer service.
For more information on this free incident handling, management
and tracking system please see: http://aris.securityfocus.com
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: how to simulate/insert a hard drive (physical) bad block error?, Jeffrey Denton |
|---|---|
| Next by Date: | Destroying filesystems, Maurizio Trinco |
| Previous by Thread: | Re: how to simulate/insert a hard drive (physical) bad block error?, Jeffrey Denton |
| Next by Thread: | Re: how to simulate/insert a hard drive (physical) bad block error?, Chris Harrison |
| Indexes: | [Date] [Thread] [Top] [All Lists] |