Author Topic: Ghost File Returns to Haunt  (Read 2095 times)

Offline D76

  • Super Duper Poster
  • ****
  • Posts: 438
    • View Profile
    • http://
Ghost File Returns to Haunt
« on: August 22, 2006, 05:38:00 PM »
This is long but might be worth reading if you're concerned about security.

For the past week I've been trying to get rid of an OS 9 document that  refused to budge because it was in the Twilight Zone. I don't know whether the same problem could occur in OS X, because I don't have the tools to find out, and discovering the Twilight Zone document was a fluke, anyway. But it wouldn't surprise me if the problem is cross-platform.

I was using my OS 9 Norton Utilites' Unerase application in "text search," looking for an unimportant file I really had no hope of finding. Text search offers the choice of looking for "erased files," "real files" or both. I had both checked.

A list of files appeared, and I was surprised because I regularly wipe the free space on all four partitions (two of which contain OS 9; I use one to maintain the other). Then I realized I had  "real files" checked, which explained the list.

I couldn't find the long-gone file, but in examining what had turned up, I discovered that three or four in the list were copies of a legal document dating back a couple of years. It was in the OS 9 partition because I had used AppleWorks and QuarkXpress, and I don't have Quark for X.

The legal document existed only in the Norton Unerase disk scans of "real files" text searches. But I couldn't find it with any file search using 9 or X, including Spotlight, so I wiped that partition's free space again, using OS X's Disk Utility, as well as Norton's version of the same thing.

Another Unerase text scan — they take longer than geologic eons — revealed that the various iterations of that document were still there, and they existed as "real files" because they wouldn't show up when searching in the "erased files" mode, and wiping the free space wouldn't clear them, either.

The document — more than one version — was glued onto one or more legitimate files, but I had no way of finding out which, other than by tedious elimination of every file on the partition, then scanning the disk again after each change. I did this by trashing half the files (from the other OS 9 partition so I could use Norton), then scanning for the text, then trashing half the files that were left, then scanning for the text, until all that remained, of all things, was the system folder.

At that point the light finally dawned (but who'd a thunk?), and I ran the text scan again on the other 9 partition where I had stashed the clip board from the problem partition. The ghost document was back, but it was finally gone from the problem partition.

Way back when, I had copied the document's text from AppleWorks to QuarkXpress, but the clip board hung onto it as a real file. There was no way of knowing this, however, without the fluke discovery when I was looking for another document by typing in a name that had existed in both.

If you sell your computer, wipe everything, including the system, because if this happens in OS X, too, ghost files like that might reveal anything, including your financial data. That clip board could be a back door into your life.

I trashed the clip board and replaced it with the one from the other partition, then duplicated that one, too, and compressed it so I'd always have a clean version, then ran the text scans again on both partitions. There was no trace of the document, so I wiped the free space on both partitions once more, then decided it might be worth while to let you people know what happened, since I'm not the only one still running 9. And as I said, it may be happening with X, too.

I don't use virtual memory with OS 9, so the document hadn't been written to the disk that way. The clip board did that itself, so it doesn't always use RAM to keep everything in memory. How much junk does that clip board carry around with it, anyway? For all I know, there was a ton of it, but it would show up only with a specific text search.

No wonder stuff can be found on a disk years after it was supposedly erased. I guess it's true that the only way you can know for certain a disk is wiped is to tear it apart with a hacksaw then burn it with a blowtorch.
« Last Edit: August 22, 2006, 05:48:41 PM by D76 »

Offline krissel

  • Administrator
  • TS Addict
  • *****
  • Posts: 14735
    • View Profile
Ghost File Returns to Haunt
« Reply #1 on: August 23, 2006, 02:44:43 AM »
Curious, I duplicated the Clipboard doc in the System Folder and then dropped it into TextEditPlus. I then selected the contents, deleted, saved and it then had zero size. So I would assume that would be a way to remove everything from the clipboard. Maybe?

I vaguely remember seeing a way to erase or dump all contents from the clipboard but danged if I can recall how to do it. Thinking.gif


A Techsurvivors founder

Offline D76

  • Super Duper Poster
  • ****
  • Posts: 438
    • View Profile
    • http://
Ghost File Returns to Haunt
« Reply #2 on: August 23, 2006, 07:52:36 AM »
QUOTE(krissel @ Aug 23 2006, 03:44 AM) <{POST_SNAPBACK}>
So I would assume that would be a way to remove everything from the clipboard. Maybe?
Maybe, if it would work on the OS 9 clipboard.
QUOTE
I vaguely remember seeing a way to erase or dump all contents from the clipboard but danged if I can recall how to do it.
Thanks for the tip. I'll look into it. I'd like to know I could clear the clipboard of everything. I don't trust it, now.

The longest and most tedious part of the exercise was finding which file the ghost was glued to.

I remember an older version of Norton had a disk editor. By typing in a word, the program would go to that part of the disk and you could type in anything you wanted or erase it by typing zeros or anything else. The disk editor was another program Norton dropped in its Utilities bundle during its march to oblivion on the Mac. I was wishing I still had it.

In System 8 days or so, I recall that some guy or company sued a customer because Word, I think, did the same thing as my clipboard. The sue-ee had sent a file on a floppy, and it contained a bunch of disparaging remarks that showed up tacked onto the end of the file that somehow the sue-er could read. Then it turned out that Quark was doing this, too. Warnings were issued to rebuild the desktop before copying files onto disks.

I figured this might be the same thing. I rebuilt the desktops using Total Desktop Rebuild, an extension that deletes the old desktop files before building new ones, but the document remained, as it did after running Disk First Aid, Norton Disk Doctor and Disk Warrior. I also copied a huge file into the clipboard to try to displace the ghost, but nothing made any difference. It was as though the ghost was on another sector or something. The document was being dragged around like Marley's chains.

I'd bet this happens all that time. Who'd know? But I was stupid because I didn't check the clipboard's file size. By the time I found out which file was the culprit, all I wanted to do was shoot it between the eyes.
« Last Edit: August 23, 2006, 08:05:43 AM by D76 »

Offline krissel

  • Administrator
  • TS Addict
  • *****
  • Posts: 14735
    • View Profile
Ghost File Returns to Haunt
« Reply #3 on: August 24, 2006, 01:17:57 AM »
QUOTE(D76 @ Aug 23 2006, 08:52 AM) <{POST_SNAPBACK}>
Maybe, if it would work on the OS 9 clipboard.Thanks for the tip. I'll look into it. I'd like to know I could clear the clipboard of everything. I don't trust it, now.



Sorry, I should have made it clear that what I did WAS with the OS 9 Clipboard file in my OS 9 System Folder. Try it. You may need BBEdit or TextEditPlus version for 9. AppleWorks won't open it.


A Techsurvivors founder

Offline D76

  • Super Duper Poster
  • ****
  • Posts: 438
    • View Profile
    • http://
Ghost File Returns to Haunt
« Reply #4 on: August 24, 2006, 02:06:49 AM »
krissel, wow, Thank You!

I booted into 9 and dropped a dupe of the clipboard onto BBEdit, and it revealed junk in there that was at least as old as that ghost document. Some of it was a partial phone list containing about 75 names, and smaller snippets of junk that made hardly any sense at all.

I deleted all the text, and that knocked the size of the clipboard down from 16k to zero.

I tried it in OS X, but there's a bunch of files, each in a different folder. Xclipboard, xclipboard, xclipboard, xclipboard, xclipboard.1, xclipboard.1, and xclipboard.1.html

I option dragged the first two out, one of which had nothing in it when I dropped it onto BBEdit for OS X, and the other that had the html instructions, though it wasn't the xclipboard.html file.

But doing this added to the list of xclipboards. I think I'll leave them all well enough alone before they turn into tribbles.

Thanks again.

Offline krissel

  • Administrator
  • TS Addict
  • *****
  • Posts: 14735
    • View Profile
Ghost File Returns to Haunt
« Reply #5 on: August 24, 2006, 09:46:31 PM »
smile.gif


A Techsurvivors founder

Offline Parker

  • TS Addict
  • *****
  • Posts: 1286
    • View Profile
    • http://www.nyparty.net
Ghost File Returns to Haunt
« Reply #6 on: August 25, 2006, 01:28:24 AM »
they have norton ghost for mac??
This account isn't hacked...
I'm actually back from hiatus (and its about darn time too)!