Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-15-2008, 12:35 PM
247Tech 247Tech is offline
Novice
 
Join Date: Dec 2008
Posts: 5
247Tech is on a distinguished road
Default Solution. Try this...

Had a client with the same issue, but here extensions did not change; meaning i.e. the .doc did not change. However, when she tried to open the file she got the error.



She copied the files to a usb key and then copied one file back and renamed the file and then it opened. You might not need to copy the file back and forth, just try renaming the files and see if they open.

I haven't tested it myself but give it a whirl.
Reply With Quote
  #2  
Old 12-16-2008, 06:07 PM
MSNobody MSNobody is offline
Novice
 
Join Date: Dec 2008
Posts: 1
MSNobody is on a distinguished road
Default Same thing

I tried to rename - and also used the USB stick trick. Didn't work. Any other ideas? Anything? AVG virus scanner didn't find anything. PLEASE HELP!



Quote:
Originally Posted by 247Tech View Post
Had a client with the same issue, but here extensions did not change; meaning i.e. the .doc did not change. However, when she tried to open the file she got the error.

She copied the files to a usb key and then copied one file back and renamed the file and then it opened. You might not need to copy the file back and forth, just try renaming the files and see if they open.

I haven't tested it myself but give it a whirl.
Reply With Quote
  #3  
Old 12-16-2008, 08:32 PM
247Tech 247Tech is offline
Novice
 
Join Date: Dec 2008
Posts: 5
247Tech is on a distinguished road
Default Corrupted Files

hey Msnobody,

Well it was a long shot, in fact, I'm surprised that worked for her.

Like I said I never tested it or saw the issue first hand to troubleshoot it.

But, it sounds like your files are corrupt and are needing data recovery.

If you send me a few files, as a test, I'll see if I can repair them, at no charge.

Send to Kevin@247techinc.com

Regards,

Kevin

Quote:
Originally Posted by MSNobody View Post
I tried to rename - and also used the USB stick trick. Didn't work. Any other ideas? Anything? AVG virus scanner didn't find anything. PLEASE HELP!
Reply With Quote
  #4  
Old 12-17-2008, 01:12 AM
max max is offline
Novice
 
Join Date: Dec 2008
Posts: 3
max is on a distinguished road
Default FileError_22001

I've been doing more investigation on the corrupted files. (I have CD backup copies of some of my affected files, so I can compare the two and see what has changed.) Below is a technical summary of what I've found so far, which is being provided in the hopes that others working on the problem may find it useful. If you are only looking for the solution, please be aware that I haven't figured it out.

First off, note that simply changing the file names back to *.doc, *.xls, *.jpg, etc. does not work. Nor does copying them to different places. The files have been modified by this virus, which uses some sort of scrambling algorithm.

It appears that identical copies of the corrupted files were stored in both the \CDD and \FLR directories. As mentioned above, the source files have been scrambled with an algorithm that I cannot decipher at this time. An ASCII path & file name were inserted at the beginning of the resulting .fcd file. The ASCII string identifies where the source file came from.

I used a hex editor to determine the following:

There is a hex 00 byte that marks the end of the ASCII string. When I delete the ASCII string and the hex 00 byte at the beginning of the file, the known good file and the corrupted file have the same exact file length. So I don't believe any other data was added to the corrupted .fcd file.

The algorithm used to scramble the data appears to operate on 64-bit (8 byte) values at a time. It generates repeatable results every 64 bits for long strings of the same input value. The results of the algorithm also do not appear to change from one file to the next, so it does NOT look like a separate key value was used to seed the algorithm differently for each file. That's a little good news. Hopefully the results are also repeatable from one computer to the next, but I do not have any way to determine that myself (only one of my computers was affected).

Here are 4 examples of how the algorithm modifies the file data, 8 bytes at a time:

Source data (in hex) Resulting data (in hex)
00 00 00 00 00 00 00 00 CB A7 BE 9E 85 3E DA 3E
00 00 00 00 01 00 00 00 A9 A4 6B 8D 68 D6 C0 07
00 00 00 10 00 00 00 00 D8 5B 98 00 BF F7 95 83
FF FF FF FF FF FF FF FF CC B0 A4 B9 E3 28 DE 73

As mentioned above, if the 8 byte input value repeats, the resulting data repeats as well. So, taking the first example, for every set of 8 consecutive all-zero bytes aligned on a 64-bit boundary, the resulting data is always CB A7 ... This is good news, from the standpoint that there is not some continuous random number seed that percolates through the entire file.

That said, the algorithm is complicated enough to produce wildly different data when even a single bit is changed in the source data. If you look at the difference between the first two lines in the examples above, only one bit differentiates the first and second source data values. Yet the resulting data from the algorithm is quite different between the two. The same is true if you compare the first and third lines.

The scrambling algorithm is more complicated than a simple XOR. I've also looked at some LFSR implementations a little (which are commonly used for scrambling purposes), but have not found anything that explains the behavior yet.

It's not clear that I'll ever figure this out, but I'll keep plugging away at it. I can provide more examples of how the input data gets modified if that would help anybody else to decipher the algorithm. If somebody can figure that out, restoring these files would require an application program, but it would be pretty simple to implement. Good luck all.
Reply With Quote
  #5  
Old 12-17-2008, 01:22 AM
max max is offline
Novice
 
Join Date: Dec 2008
Posts: 3
max is on a distinguished road
Default FileError_22001

Sorry, the table in the post above didn't show up as I typed it. Here's the same data in a more readable format -

Example 1
Source data (in hex)
00 00 00 00 00 00 00 00

Resulting data (in hex)
CB A7 BE 9E 85 3E DA 3E


Example 2
Source data (in hex)
00 00 00 00 01 00 00 00

Resulting data (in hex)
A9 A4 6B 8D 68 D6 C0 07


Example 3
Source data (in hex)
00 00 00 10 00 00 00 00

Resulting data (in hex)
D8 5B 98 00 BF F7 95 83


Example 4
Source data (in hex)
FF FF FF FF FF FF FF FF

Resulting data (in hex)
CC B0 A4 B9 E3 28 DE 73
Reply With Quote
  #6  
Old 12-17-2008, 07:06 AM
247Tech 247Tech is offline
Novice
 
Join Date: Dec 2008
Posts: 5
247Tech is on a distinguished road
Default To remove virus/spyware

Btw, I ran malware-bytes, it's a spyware removal utility, which should get rid of the spyware. You can download it from Free Software Downloads and Reviews - Download.com.

Your files are definitely corrupt and need to be repaired.


Quote:
Originally Posted by max View Post
Sorry, the table in the post above didn't show up as I typed it. Here's the same data in a more readable format -

Example 1
Source data (in hex)
00 00 00 00 00 00 00 00

Resulting data (in hex)
CB A7 BE 9E 85 3E DA 3E


Example 2
Source data (in hex)
00 00 00 00 01 00 00 00

Resulting data (in hex)
A9 A4 6B 8D 68 D6 C0 07


Example 3
Source data (in hex)
00 00 00 10 00 00 00 00

Resulting data (in hex)
D8 5B 98 00 BF F7 95 83


Example 4
Source data (in hex)
FF FF FF FF FF FF FF FF

Resulting data (in hex)
CC B0 A4 B9 E3 28 DE 73
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible virus in Microsoft Word which alters the formatting of documents Shirley Munro Word 8 09-18-2010 12:37 AM
Help-overwriting files-could it be macro virus? Timpotty Word 0 03-06-2009 04:28 PM
Possible Virus in Word which alters formatting of entire document Shirley Munro Word 2 02-09-2009 02:43 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:24 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft