As the Maximum malwares are spread from the external devices and they may infect to the system, maintaining security while transmission of data from the external storage device to the system is more challengeable in today’s computer world. Malware is malicious software used to collect sensitive info or gain entrance to private computer system. Applications provide facilities for detect and prevent the malware. The aim of this paper is to detect the malware for an external storage device and maintain security and escape losing of data. Security is more significant, thus it requires to make a more secure model which can automatically provide the malware protection from the external storage devices. This application program designed is used to protect external devices like pen-drive, HDD etc. The software is loaded into external devices which user wants to protect from harmful data from the system. Hence, such type of application can be used for protecting external devices.