Hacking with Git
summary
Shows concrete Git attack and defense techniques: automated scanners like git-leaks and trufflehog find passwords and AWS keys in repo history; scraping a public .git/index with tools like gin and directory fuzzers reveals full web roots; a proof-of-concept git-fingerprint maps files to specific commit dates to infer vulnerable versions; post-exploit checks of ~/.git-credentials and .git/config expose plaintext credentials and internal remotes; demonstrates exfil and a working reverse shell over Git (repo polling + repo uploads) and notes certutil/base64 for binary transfer through restrictive proxies.
AI-written summary · about
chapters (25)
- 0:00Start
- 2:28What is it?
- 4:00HACKING with Git not Git
- 5:07Using git for Reconnaissance
- 5:56Git Explorers 1 Pre-Existing!
- 6:46A vulnerable Repo
- 7:07Existing Tools
- 7:36Example: GittyLeaks
- 7:53Git Explorers: Defending Part 1
- 9:15[Pre-Existing]
- 10:34Wilnerable Repository
- 11:25Making a Vulnerable Site 2
- 11:49Demonstration 2
- 12:37Git Scrapers - Defending part 1
- 13:47Git Scrapers - Testing Defences
- 14:07[New Technique]
- 20:57Next Steps
- 22:30Using git for Post Exploitation
- 23:14What "it" gives us for Post Exploitation?
- 27:14Rogue Employee Scenario: Infil/Exfil
- 29:54Infiltration - Getting tools in part 1
- 30:50Inflitration - Getting tools in part 2
- 32:16Reverse Shell over Git?
- 34:56Roundup
- 37:54Questions?
