Add Ons - DevSource
DevSource: Microsoft Developer Resource DevSource Home Sponsored by Microsoft Home Add Ons Architecture Languages Techniques Using VS Forums
Home arrow Add Ons arrow Bugle Goes Googling for Source Code Flaws
Bugle Goes Googling for Source Code Flaws
By Ryan Naraine

Rate This Article: Add This Article To:

A source code reviewer in London is working on a project to collect search queries that can be used to identify some of the most common vulnerabilities in open-source code indexed by Google.

The world's most popular search engine can be used to pinpoint software security bugs in source code available on the Internet, according to a new research project launched by a U.K.-based researcher.

The project, called Bugle, is a collection of Google search queries that can be used to identify some of the most common vulnerabilities in open-source code indexed by the search giant.

ADVERTISEMENT

Emmanouel Kellinis, a security penetration tester and source code reviewer for KPMG in London, started working on Bugle privately to find pinpoints to some of the most common coding mistakes and decided to go public with the project to expand the list of search queries.

"Bugle was created mainly to help in open-source projects. Of course, it can also be used by the wider community using the Google desktop utility," Kellinis said in an e-mail interview with eWEEK.

Kellinis believes security researchers can combine Bugle queries with Google's "highly intelligent indexing algorithms" to identify vulnerable code indexed by the search engine. "Bugle will give you hints for a potential vulnerability, but you still require skill to identify an actual issue," he explained.

Websense uses Google to mine for malicious code. Click here to read more.

So far, with the help of third-party researchers, Kellinis has released a search string flaw that can help identify buffer overflows, integer overflows, format string, command injection, SQL injection and cross-site scripting flaws.

The project can also offer help in identifying bad practices and suspicious comments that are typically included in source code. In the early days of the project, Kellinis received input from several well-known programmers and security researchers, including Symantec's Ollie Whitehouse and Google hacker Philipp Lenssen.

In addition, Bugle can trigger Google Alerts, allowing developers and researches to get advance notice on new vulnerable source code for each subscribed query.

"Google is an excellent search engine with highly intelligent indexing algorithms and a huge resources database. It is a very important tool for many tasks, and security research is definitely one of them," Kellinis said.

He thinks an expanded Bugle project can be used by the open-source community as a way to more quickly eliminate security bugs. "Researchers and developers can find vulnerable code and try to report or fix, respectively, a vulnerability without the need to download tons of files," he said.

Kellinis also believes Bugle can be used as a reference for open-source programmers. "[They] can look at the list and know what not to do, so to speak."

The release of Bugle comes on the heels of H.D Moore's malware search project, which offers a Web interface to find live malware samples through Google queries.

Click here to read more about Moore's malware search project.

Moore, creator of the Metasploit hacking tool and the security researcher behind the MoBB (Month of Browser Bugs) project, programmed the malware search tool to directly search Google using fingerprints from known executables. The project uses code strings, or fingerprints in malware samples, then runs a search on Google for those characteristics.

Security researchers at Websense's Security Labs have also used Google in the hunt for malicious .exe files on the Internet. Websense has used the freely available Google SOAP Search API to automate the search for malware hosted on hacker forums, newsgroups and mailing list archives indexed by Google.

This article was originally published on eWEEK.com.




Discuss Bugle Goes Googling for Source Code Flaws
 
>>> Be the FIRST to comment on this article!
 

 
 
>>> More Add Ons Articles          >>> More By Ryan Naraine
 



Microsoft's Future: A Chat With Their CTO, Barry Briggs

Play Video >

All Videos >

Julia explores the Robotics Studio!

Read now >

Messages to Bill Gates!

Read now >

View Now
DevSource RSS FEEDS
XML Want an easy way to keep up with breaking tech news? And the Get DevSource headlines delivered to your desktop with RSS.