Anti-virus experts are experimenting with desktop search as a way of scanning for viral code. Both Google Search and Apple's Spotlight technology come with programming hooks (APIs) that allow their functions to be extended. Using these APIs, executable files might be scanned for malicious signatures.
Andy Payne and Oliver Oliver Schmelzle of security firm WholeSecurity have developed a prototype malware scanner based on Google Desktop Search. In a presentation at last week's Virus Bulletin conference in Dublin, the duo demonstrated the prototype. Admittedly, this is more of an experiment into what's possible than a serious product development project: a lack of full file indexing and kernel system access makes the approach impractical at present.
Conventional anti-virus scanning tools are much more thorough and faster. But as desktop search becomes a core operating system component the potential to use it for security applications increases. Payne said desktop search could be applied to other applications such as searching email inboxes for spam and filtering it automatically. It is unclear if this approach would prove any better than email plug-ins such as SpamBayes - this was beyond the scope of WholeSecurity's research - but it is an interesting idea. As desktop search becomes more pervasive it could be applied to more security functions such as auditing and compliance tools or within anti-phishing technology.
Desktop search also carries potential security risks. Search events might be used to trigger adware pop-ups or virus writers might create malicious indexer plug-ins, making it easier to harvest data from compromised machines, Payne warned. Sidebar user interface interference might also possible, as least theoretically. "Malware could be created that infects as it indexes. What's good for finding might be good for infecting too," he said.
The two sides of desktop search mirror the use of Google queries by both penetration testers and hackers to search for security holes in online systems. Google hacking, as it has become known, has been around for at least two years or more and security researchers are now beginning to grapple with the same sorts of issues on the desktop. ®