Jump to content
Nytro

Hacker publishes GitHub secret key hunter

Recommended Posts

Hacker publishes GitHub secret key hunter

TruffleHog snuffles through your dirty commit drawers,.

9 Jan 2017 at 06:56, Team Register
 

A researcher has published a tool to help administrators delve into GitHub commits to find high-entropy secret keys.

The tool, dubbed TruffleHog, is able to locate high-entropy keys with Github potentially saving admins from exposing their networks and sensitive data.

TruffleHog developer Dylan Ayrey, who warned of the Pastejack attack last year, says the tool will locate any high entropy string longer than 20 characters.

 

"[TruffleHog] searches through git repositories for high entropy strings, digging deep into commit history and branches," Ayrey says.

"This is effective at finding secrets accidentally committed that contain high entropy.

"If at any point a high entropy string >20 characters is detected, it will print to the screen."

 

87349587533.png?x=648&y=217&infer_y=1

 

TruffleHog in action.

 

He says it searches the entire commit history of branches, checking each diff in commits, and evaluating the Shannon entropy for both the base64 character set and the hexadecimal character set for every blob of text larger than 20 characters and comprised of those character sets in each diff.

Reddit users praising the tool have claimed Amazon already searches GitHub for AWS keys and shutters the respective service when any are found.

TruffleHog relies only on GitPython. ®

 

Sursa: http://www.theregister.co.uk/2017/01/09/hacker_publishes_github_secret_key_hunter/

  • Upvote 3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...