Перейти к основному содержимому
Social Media Investigations & Digital Footprint Correlation
Урок 5 из 9

Social Media Investigations & Digital Footprint Correlation

Learn how to enumerate usernames across public platforms with Sherlock and Maigret, pivot through Git commit metadata, and correlate independent signals without falling for false positives.

Средний 24 мин OSINT и киберразведка
Этого урока пока нет на выбранном языке — показана версия на другом языке. Перевод готовится.

Цели обучения

  • Explain how username reuse enables cross-platform pivoting in SOCMINT investigations
  • Run Sherlock and Maigret safely on a handle while distinguishing leads from confirmed matches
  • Extract secondary email addresses, aliases and timezone clues from public Git commit logs
  • Correlate multiple independent signals while avoiding confirmation bias and investigator OPSEC leaks

Рекомендуется заранее: OSINT Methodology, OPSEC, Privacy & Legal BoundariesAdvanced Search Engines, Google Dorking & ShodanEmail Header Forensics (SPF/DKIM/DMARC) & File Metadata/EXIF

#Why this matters

People and threat actors rarely isolate every online account. A distinctive handle chosen on a developer forum often reappears on a code host, a social profile, or an old blog, and a profile avatar or commit email can bridge two accounts that use completely different usernames.

Social media intelligence (SOCMINT) and digital footprint correlation turn those scattered public traces into a coherent timeline. Defenders use these methods to investigate impersonation accounts, assess an organisation's external exposure, and trace public credential or code leaks.

#From one handle to a footprint: pivoting

Pivoting means taking one verified attribute (a handle, email, domain, or image) and querying public sources to discover connected accounts. Automated username checkers speed up the first sweep:

  • Sherlock checks whether a username exists across hundreds of public websites by inspecting HTTP responses and page patterns.
  • Maigret extends that idea to a larger site database, extracts profile metadata (bios, locations, linked IDs), and can follow newly discovered handles recursively.
Enumerating a synthetic lab handle with Sherlock and Maigret
$ sherlock samarkand_lab_dev
[*] Checking username samarkand_lab_dev on:
[+] GitHub: https://github.com/samarkand_lab_dev
[+] GitLab: https://gitlab.com/samarkand_lab_dev

$ maigret samarkand_lab_dev
[*] Starting a report on samarkand_lab_dev
[+] [GitHub] https://github.com/samarkand_lab_dev
[+] [Keybase] https://keybase.io/samarkand_lab_dev

Check sherlock --help and maigret --help for report output options (such as JSON or HTML exports) and timeout controls. Remember that automated checkers can produce false positives when a site returns a generic HTTP 200 page for missing profiles, so always open and verify candidate URLs manually or via captured evidence.

#Correlating evidence without false positives

A matching handle is a lead, never proof. Common handles such as alex99 or dev_test collide across unrelated people worldwide. Reliable correlation requires two or more independent signals linking the profiles.

  1. SeedKnown handle or profile
  2. EnumerateRun Sherlock or Maigret
  3. InspectBios, avatars, commits, timestamps
  4. CorrelateRequire two independent signals
  5. VerifyConfirm match or discard lead
Signal type Example artifact Strength Why it helps or fails
Unique identifier Shared PGP fingerprint or personal domain Strong Cryptographic or DNS ownership is hard to fake
Commit email Secondary email in git log Strong Reveals alternate identity unless noreply is used
Mutual backlink Profile A links to B and B links back to A Strong One-way links can be impersonation; two-way proves control
Avatar or EXIF Identical custom photo or camera metadata Moderate Useful when combined with handle or bio overlap
Activity hours Posting and commit timestamps in +0500 Moderate Supports consistency, though users travel or use scripts
Username only Same common alias on two platforms Weak High risk of username collision

#Pivoting through public code and Git commits

Developer profiles are rich pivot points because Git records author metadata inside every commit object. Even when a user hides their email address on a web profile, cloning or fetching a public repository's history can expose the configured user.name, user.email, and local timezone offset.

Inspecting Git commit metadata in a lab repository
$ git log --format="%h %an <%ae> %ad" -n 3
a14f9c2 Dilshod R. <d.rahimov.dev@example.test> Thu Oct 15 21:14:08 2026 +0500
8b02e11 Dilshod R. <d.rahimov.dev@example.test> Thu Oct 15 20:52:11 2026 +0500
3c71d04 samarkand_lab_dev <samarkand_lab_dev@users.noreply.example.test> Wed Oct 14 10:05:00 2026 +0500

Those three lines give an analyst three concrete pivots: an alternate email address (d.rahimov.dev@example.test), a name variant (Dilshod R.), and a +0500 local timezone offset. Notice how commit 3c71d04 used a noreply address, while later commits from a local workstation leaked the personal address. Combining this with EXIF checks on profile avatars (covered in the previous lesson) and WHOIS or DNS checks on any linked personal domain builds an auditable evidence chain.

#Defending and common mistakes

  • Confirmation bias: Treating a single shared username or similar display name as proof of identity causes false attribution. Always look for contradicting details as actively as confirming ones.
  • Investigator OPSEC leaks: Viewing social profiles while signed into your personal account triggers profile-view notifications and leaks your own identity; use dedicated, isolated lab workflows for passive observation.
  • Leaking personal emails in Git: Configure git config --global user.email to a platform-provided noreply address before pushing public code, and audit existing commits before open-sourcing internal tools.
  • Unarchived evidence: Social posts and repositories can be deleted within minutes; record full URLs, UTC timestamps and cryptographic hashes of downloaded artifacts as you go.

#Summary

Username enumeration tools such as Sherlock and Maigret convert a single handle into candidate leads across hundreds of public platforms. Because handles collide frequently, investigators must confirm links using at least two independent signals such as mutual backlinks, Git commit headers, avatar metadata, or verified domains. Maintaining strict passive scope, preserving evidence with timestamps, and avoiding personal Git email leaks protect both investigators and defenders.

Проверка знаний

Войдите, чтобы проходить тест, завершать уроки и сохранять прогресс. Войти в систему

Практика: проверьте свои знания