Image
 
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 34 guests and 2 members online
EH-Net Donations

Enter Amount:
$

Google Ads
EH-Net News Feeds
Latest Additions
Book Recommendations





 
Advertisement

You are here: Home arrow Forum arrow Ethical Hacking Discussions and Related Certificationsarrow Network Pen Testingarrow Google Code Search
Ethical Hacker Community Forums
December 02, 2008, 06:15:22 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: ChicagoCon 2-Day Ethical Hacking Conference with MS Blue Hats Oct 31 - Nov 1. Tickets Only $100! www.chicagocon.com/content/view/103/51/
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Google Code Search  (Read 2426 times)
0 Members and 1 Guest are viewing this topic.
dean
Full Member
***
Offline Offline

Posts: 130


View Profile
« on: October 10, 2006, 01:02:25 PM »

Hi All,

Has anyone had a chance to try out Google's new search?

http://www.google.com/codesearch

The search options are pretty extensive and can lead to some pretty, um interesting, search results.

Seeing as you can search specific portions of code it's a great tool for finding possible vulnerabilities.

Check out Michael Sutton's Blog for a few ideas on what to search for:

http://portal.spidynamics.com/blogs/msutton/


Cheers,
Dean
Logged

<script>alert('%52%54%46%4D')</script>
skel
Jr. Member
**
Offline Offline

Posts: 60


"Beam me up Scotty - Only hackers here"


View Profile
« Reply #1 on: October 10, 2006, 10:48:27 PM »

Quote

Hackers find use for Google Code Search
Shortcut for vulnerability seekers (whatever their hat color)


October 06, 2006  (IDG News Service) -- Google Inc. has inadvertently given online attackers a new tool.

The company's new source-code search engine, unveiled Thursday as a tool to help simplify life for developers, can also be misused to search for software bugs, password information and even proprietary code that shouldn't have been posted to the Internet in the first place, security experts said Friday.

Unlike Google's main Web search engine, Google Code Search peeks into the actual lines of code whenever it finds source-code files on the Internet. This will make it easier for developers to search source code directly and dig up open-source tools they may not have known about, but it has a drawback.

"The downside is that you could also use that kind of search to look for things that are vulnerable and then guess who might have used that code snippet and then just fire away at it," said Mike Armistead, vice president of products with source-code analysis provider Fortify Software Inc.

Attackers could also search code for vulnerabilities in password mechanisms, or to search for phrases within software such as "this file contains proprietary," possibly unearthing source code that should never have been posted to the Internet.

Security experts say that the security implications of Google Code Search are noteworthy, if not earth-shattering.

Skilled hackers may already be able to do this type of search with Google's Web search engine, but Code Search is "another tool that makes it a tad easier for the attacker," said Johnny Long, a security researcher with Computer Sciences Corp, in an e-mail interview.

For its part, Google did not have much to say about possible misuse of its new product. "Google recommends developers use generally accepted good coding practices including understanding the implications of the code they implement and testing appropriately," the company said in a statement.

Google has never said much about the steps it takes to cut down on this kind of misuse of its search engine, though the issue comes up from time to time. In July, Websense Inc. used a little known binary search capability within Google Inc.'s search engine to look for malware on the Internet.

While Google Code Search will probably not have much of an effect on popular open-source projects, which are already heavily scrutinized, it could help ferret out vulnerabilities in lesser known pieces of code, according to Lev Toger, a software developer with Beyond Security Ltd.

"Using Google's code search, it's much easier to find interesting code portions," he said via e-mail. "If your task is to find vulnerability in some random code, this filtering can save you a lot of time. "

from http://www.computerworld.com/action/article.do?command=viewArticleBasic&articleId=9003938
Logged

Skel
ryan
Newbie
*
Offline Offline

Posts: 20



View Profile WWW
« Reply #2 on: October 12, 2006, 07:16:20 AM »

using google code search, someone found a copy of the MS-DOS 6.0 Source Code. Mirrored here:

http://www.nurs.or.jp.nyud.net:8080/~nnn/MS-DOS.6.0.Source.Code.zip
Logged

dh1mcp
Newbie
*
Offline Offline

Posts: 1



View Profile
« Reply #3 on: October 12, 2006, 08:10:46 AM »

nice search for sql-queries (and injection-possibilities)
select\s.+from\s.+where lang:jsp

1st hit is
---snip---
where products.subjectid = " + request.getParameter("BrowseSubjectID");
---snap---

*going to look further*
Logged

-- 
dh1mcp
OCA
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.204 seconds with 22 queries.
 
Sponsors

cwnp_moto__120x90.gif

Polls
During the most recent election, I:
 
Support EH-Net


Support EH-Net by
Buying all of your
Amazon items using
the search bar above.

cbtnuggets_logo_125.jpg
Try CBT Nuggets Free!
Recent Forum Topics
Vote For EH-Net

progenic.com
Click here to Vote!

Sadikhov.com
Top IT Cert Sites

binarica.com
Binarica Logo

Add to Technorati Favorites
technorati fave

 
         
Advertisement

© 2008 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.