Showing posts with label command prompt. Show all posts
Showing posts with label command prompt. Show all posts

Friday, June 1, 2012

Pastikan Komputer Selamat Dari Virus!


Selalunya orang tidak perasan atau tidak tahu bahawa ada virus didalam komputer mereka. kebanyakannya orang sedia maklum, tetapi mereka tidak tahu menahu dari mana datangnya virus2 ini..ngehaha. Kita tidak dapat mengelakkan diri daripada beronline internet 24jam..jadi tibalah masa..."prevention is better than cures" betul atau tidak..haha...elak lagi bagus daripada nk format balik komputer tuu.

Kebanyakan virus yang terlekat pada komputer tuu sebab sistem komputer tuu xup-to-date, bermakna dia ambil kesempatan terhadap Antivirus software yg tidak diupdate, browser lama, browser plugins, atau application lama yg kamu bukak tu, dia ambil kesempatan terhadap process komputer, atau curi data cmputer. Cara nk selesaikannya masalah yg popular tu cuma updatelah antivirus tu, windows update..browser tu pastikan update.

Tengok sama apa yg kita download amatlah penting. Tp expert pon xtahu sgt file yg korang download tu ok ker x..tp nk elak dia mudah jugak, cuma pastikan sumber dia adalah yg boleh dipercayai. kalau korang xbrapa nk sure virus ker x..tengoklah user comments, feedback tentang apa yg nk didownload tu. satu lagi, kamu jgn la gatal nk download apa yg terpopups kat browser kamu tu..pangkah jer..jgn gatal tgn nk click n download, risiko virus amatlah tinggi.

Juga, adalah penting bagi kita memilih antivirus yg sesuai, walaupon kebyakan antivirus menawarkan penjagaan daripada virus attack, ia juga perlu berjalan operasinya didalam komputer secara tidak henti, ia myebabkan komputer kamu slowdown. Tp xpa, kamu menerima protection daripadanya. Contoh yg terbaik antivirus adalah Avast, dimana unlimited free use and update.

Semudahnya, praktikkan penggunaan internet yg boleh memastikan kita jauh dari infection dan memastikan data dan computer kamu selamat. Jika kamu tidak tahu bagaimana hendak remove virus..tnya saja encik kedai....tapi bagi aku la..lebih senang kita blajar sendiri...tuu..encik google ada. :D.. selamat beramal

Wednesday, December 15, 2010

How To Delete Virus by Using Command Prompt (CMD)

Microsoft Command Prompt "attrib" is a very useful tool to check if your hard drives even your flashdisks have been infected by a virus.
You will know if a Malware is inside your hard drive just by looking at the attributes of each files and the file that has the attributes of +s +h +r
The function of attrib is to set and remove file attributes (read-only, archive, system and hidden).

Launch attrib
To start attrib
  1. Go to Start Menu > Run
  2. Type cmd (cmd stands for command prompt)
  3. Press Enter key
The Command Prompt will appear showing us where is our location in the directory.

                                    command prompt showing the current location in the directory
Using attrib
To use attrib
  1. Go to the root directory first by typing cd\(because this is always the target of Malware / Virus)
2. Type attrib and press Enter key

                      after typing attrib, all the attributes of all the files (excluding folders) will be shown
In this example, I have two files that are considered as malware.
Note that there are two files which I outlined in red (SilentSoftech.exe and autorun.inf). Since you cannot see this file nor delete it (because the attributes that was set on these files are +s +h +r)
  1. +s - meaning it is a system file (which also means that you cannot delete it just by using the delete command)
  2. +h - means it is hidden (so you cannot delete it)
  3. +r - means it is a read only file ( which also means that you cannot delete it just by using the delete command)
Now we need to set the attributes of autorun.inf to -s -h -r (so that we can manually delete it)
  1. Type attrib -s -h -r autorun.inf ( be sure to include -s -h -r because you cannot change the attributes using only -s or -h or -r alone)
  2. Type attrib again to check if your changes have been commited
  3. If the autorun.inf file has no more attributes, you can now delete it by typing del autorun.inf
  4. Since SilentSoftech.exe is a malware you can remove its attributes by doing step 1 and step 3(just change the filename) ex. attrib -s -h -r silentsoftech.exe
      a) I typed the attrib command with the -s -h -r setting b) the result after I presse enter                   -autorun.inf has no attributes left
There you have it!!!!
NOTE : when autorun.inf keeps coming back even if you already deleted it, be sure to check your Task Manager by pressing CTRL + ALT + DELETE ( a virus is still running as a process thats why you cannot delete it. KILL the process first by selecting it and clicking End Process.
NOTE: You can also apply the attrib -s -h -r command to all the partition of your computer, drive D: drive E: drive F: (all of your drives). For example. for drive D, just type "D:" (minus the double quote) then you can see that your current drive is D.. type there the command "attrib -s -h -r *.exe" for exe files and "attrib -s -h -r *.inf" and then delete the file by "del autorun.inf".

Hope this work for you guys.....

prevent your computer from virus infection

firstly..prevention is better than cure....so it much worth if you prevent it.r your computer will be heavy with virus infection.

What is a Virus? and why can be infected? 
Simply put a Virus is a Malicious Software (MalWare) created by people who wants to destroy.. your files, your computer, your flashdisk...
(NOTE: Virus and Malware will be used in this article interchangeably)
Now, How do there Malware infects your computer?
  • Downloading pornographic materials, games and applications in untrusted websites
  • Downloading files through peer-to-peer programs (e.g. limewire, torrent, ares)
  • inserting your flashdisk to other infected computer and inserting it back to your computer without scanning it first

Ways in preventing Virus infection on your Computer

NOTE: If your Antivirus couldn't delete the malware you can Safe Mode you computer by following this:
  1. Restart your computer
  2. After hearing your computer beep once during startup, but before the Windows icon appears, tap the F8 key continually; Instead of Windows loading as normal, the Advanced Options Menu should appear;
  3. Select Run Windows in Safe Mode, then press Enter.
  4. Then scan your computer using an updated Antivirus.
  • SCAN FIRST! Each and everytime you insert a USB drive/flash disk on your computer don't forget to scan it first. (Given that your Antivirus is up-to-date).
  • You can also install utilities that will check the flash disk that you inserted for malware infection. Search it on Major Geeks (this is not an affiliate site)
hope that you can follow this prevention...if virus infect in your computer, you can also delete the virus using Command Prompt <<