Listen to this Post

Introduction
Open Source Intelligence (OSINT) and Cyber Threat Intelligence (CTI) are critical disciplines in cybersecurity, enabling professionals to gather, analyze, and act on publicly available data. With the rise of geopolitical cyber threats, mastering OSINT techniques is essential for threat analysts. This guide covers key tools, commands, and methodologies for effective intelligence gathering.
Learning Objectives
- Learn essential OSINT tools for data collection and analysis.
- Understand how to apply CTI techniques to real-world cyber threats.
- Develop skills in verifying and operationalizing intelligence.
1. Harvesting Data with `theHarvester`
Command:
theHarvester -d example.com -b google,linkedin
What it does:
This command scrapes emails, subdomains, and employee names from Google and LinkedIn related to example.com.
Step-by-Step Guide:
1. Install `theHarvester`:
sudo apt install theHarvester
2. Run the command with your target domain and data sources.
3. Analyze the output for potential attack surfaces (e.g., exposed emails for phishing).
2. Metadata Extraction with `exiftool`
Command:
exiftool -a -u -g1 image.jpg
What it does:
Extracts metadata (GPS coordinates, timestamps, device info) from images or documents.
Step-by-Step Guide:
1. Install `exiftool`:
sudo apt install libimage-exiftool-perl
2. Run the command on a file to uncover hidden data.
3. Use findings to trace leaks or verify authenticity.
3. Domain Recon with `dnsenum`
Command:
dnsenum --enum example.com
What it does:
Enumerates DNS records (MX, A, NS) and identifies subdomains via brute-force.
Step-by-Step Guide:
1. Install `dnsenum`:
sudo apt install dnsenum
2. Execute the command to map a target’s DNS infrastructure.
3. Use results for penetration testing or attack surface analysis.
4. Network Scanning with `nmap`
Command:
nmap -sV -O -T4 192.168.1.1
What it does:
Scans for open ports, services, and OS detection on a target IP.
Step-by-Step Guide:
1. Install `nmap`:
sudo apt install nmap
2. Customize flags (-sV for service versions, `-O` for OS detection).
3. Analyze results to identify vulnerabilities (e.g., outdated services).
5. Automating OSINT with `SpiderFoot`
Command:
spiderfoot -l 127.0.0.1:5001
What it does:
Launches a web-based OSINT automation tool to correlate data from 100+ sources.
Step-by-Step Guide:
1. Install SpiderFoot:
pip install spiderfoot
2. Access the GUI at `http://127.0.0.1:5001`.
3. Input a target (IP, domain, email) to generate a threat report.
6. Social Media Recon with `sherlock`
Command:
python3 sherlock username
What it does:
Searches 200+ social media platforms for a username’s presence.
Step-by-Step Guide:
1. Clone the repository:
git clone https://github.com/sherlock-project/sherlock.git
2. Run the command to track digital footprints.
7. CTI Analysis with `MISP`
Command:
sudo -u www-data php /var/www/MISP/app/Console/cake Admin updateGalaxies
What it does:
Updates threat intelligence galaxies (e.g., malware, attack patterns) in MISP.
Step-by-Step Guide:
- Deploy a MISP instance (see MISP docs).
- Use the command to sync the latest threat data.
- Correlate IOCs (Indicators of Compromise) with your network logs.
What Undercode Say
Key Takeaways:
- OSINT is foundational for proactive defense—tools like `theHarvester` and `SpiderFoot` automate reconnaissance, saving time.
- Metadata and DNS leaks are low-hanging fruit—always sanitize files and monitor domain exposures.
- CTI platforms like MISP turn data into action—integrating threat feeds enhances SOC capabilities.
Analysis:
The convergence of OSINT and CTI is reshaping cybersecurity, especially in geopolitically charged environments. Analysts must master both technical tools and analytical frameworks to stay ahead. Future threats will leverage AI-driven OSINT, making automation and verification skills indispensable.
Prediction:
By 2026, AI-powered OSINT tools will dominate threat intelligence, but human validation will remain critical to counter disinformation. Geopolitical tensions will drive demand for analysts skilled in Asian-language OSINT, as seen in Laetitia LAFARGE’s specialization.
Tools referenced: theHarvester, exiftool, dnsenum, nmap, SpiderFoot, sherlock, MISP.
IT/Security Reporter URL:
Reported By: Laetitia Lafarge – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅


