Information Gathering
Learn how to use Maltego, the graphical OSINT and link analysis tool: install the free Community Edition, add entities to a graph, run transforms and read the relationships between domains, IP addresses, organizations, people, and other entities.
sudo apt install maltego
maltego
To use Maltego, install the free Community Edition, create a free Maltego ID and log in, open a new graph, drag a Domain entity onto the canvas, set it to a domain you own, then right-click it and run the DNS transforms. Maltego queries public sources and draws the results as linked entities on your graph.
Maltego is an open-source intelligence (OSINT) and graphical link analysis tool developed by Maltego Technologies GmbH. It automates the collection and visualization of relationships between pieces of information from public sources across the internet, including DNS records, WHOIS data, social networks, email addresses, and organizational data.
Unlike command-line OSINT tools that return text output, Maltego presents findings as an interactive graph where entities (domains, IP addresses, people, companies, email addresses) appear as nodes and their relationships as connecting lines. This visual approach makes it easy to identify patterns, trace connections, and uncover hidden relationships that would be difficult to spot in raw text output.
Maltego operates through a transform system. Each transform is a small program that queries a specific data source (passive DNS, WHOIS databases, social media APIs, certificate transparency logs) and returns results as entities on the graph. Users chain transforms together to progressively deepen their investigation, starting from a single domain or person and expanding outward to map entire organizations, infrastructure, and social connections.
The Community Edition is free and pre-installed on Kali Linux, making it accessible to beginners learning OSINT techniques. Maltego Pro adds unlimited transform results, private transforms, collaborative workspaces, and enterprise features for professional investigators and security teams.
The workflow never changes: install Maltego, log in with your free account, open a new graph, place one seed entity, run a transform, read the new entities, then pivot from the most interesting one and repeat. Save the graph as a .mtlg file as you go, and export a PDF or PNG when the picture is complete enough to report.
Start with a domain you own, for example example.com. Drag a Domain entity onto the canvas, double-click it and type the domain, then right-click and run To IP Address [DNS Lookup]. An IPv4 Address node appears, linked to the domain with a Resolves To label. Run To DNS Name on the same domain and a mail server node appears, then run To Email Address [from WHOIS] to see the registrant contact the public record lists. Now select the IP address node and run the reverse transform, To DNS Name, and Maltego lists other domains hosted on that same address. Treat those neighbours as a lead, not a conclusion: sites on shared hosting share an IP without sharing an owner, so confirm any connection from WHOIS or a second source before you write it down. Finish by switching to the Hierarchical layout, saving the graph, and exporting a PNG for your notes.
Maltego is commercial software, not open source, and the free Community Edition is the way most beginners start. It costs nothing for non-commercial use, but each transform returns at most 12 results, and some partner data sources stay locked. Maltego Pro raises the limits, adds private transforms and collaborative workspaces, and is aimed at professional investigators and security teams.
Know where your queries run before you investigate anything sensitive. Most built-in transforms run on Maltego cloud servers, so the target sees Maltego's address rather than yours, but some third-party transforms run locally from your own machine, and an Nmap-based transform sends packets from your IP, which can expose you. Keep API keys on a separate email where you can, and never paste them into shared screenshots. A link on the graph shows a relationship, not proof, so verify every claim from a second source and note the source and date. In India, investigating a person needs a lawful, proportionate purpose, and accessing a system without permission is an offence under the Information Technology Act, 2000, while personal data is covered by the Digital Personal Data Protection Act, 2023.
| Command | Purpose |
|---|---|
maltego | Launch the Maltego graphical interface. |
maltego --help | Display all available command-line options. |
maltego -v | Show the installed Maltego version. |
maltego -d | Run Maltego in debug mode for troubleshooting. |
maltego --config-dir /path | Start Maltego with a custom configuration directory. |
maltego --reset | Reset Maltego to default settings. |
maltegoLaunch Maltego graphical interfacemaltego --helpDisplay all available command-line optionsmaltego -vShow Maltego version informationmaltego -dRun Maltego in debug mode for troubleshootingmaltego --config-dir /pathStart Maltego with a custom configuration directorymaltego --resetReset Maltego to default settingsAdd entity: DomainDrag a Domain entity onto the graph canvasRun transform: To DNS NameResolve domain to DNS names using passive DNSRun transform: To Email AddressesFind email addresses associated with a domainRun transform: To IP AddressResolve domain to IP address(es)Run transform: To MX RecordDiscover mail exchange servers for a domainRun transform: To WHOIS InfoRetrieve WHOIS registration data for a domainRun transform: To SubdomainsEnumerate subdomains using passive DNS sourcesRun transform: To Person (from Email)Identify the person behind an email addressRun transform: To Company (from Domain)Find the organization owning a domainRun transform: To Phone NumberDiscover phone numbers linked to an entityRun transform: To Social NetworksFind social media profiles associated with a personRun transform: To Website (from Domain)Crawl and index web pages on a target domainExport graph as SVGSave the investigation graph as a scalable vector imageExport graph as CSVExport entity and relationship data in CSV formatFile > New GraphCreate a new blank investigation workspaceView > Transform HubBrowse and install additional transform packsEdit > Preferences > TransformsConfigure API keys and transform settingsMap complete domain infrastructure including DNS records, subdomains, IP ranges, hosting providers, and related domains through passive reconnaissance.
Discover email addresses associated with a target organization, identify the people behind email addresses, and map email infrastructure.
Investigate individuals by connecting names to email addresses, social media profiles, phone numbers, and organizational affiliations.
Map organizational structures by connecting companies to their domains, employees, IP ranges, and business relationships.
Visualize the complete attack surface of a target by mapping domains, IPs, certificates, and hosting relationships.
Investigate threat actors by tracing infrastructure ownership, connecting malicious domains to known threat groups, and mapping attack campaigns.
Connect social media profiles to real identities, map social networks, and discover relationships between individuals and organizations.
Discover subdomains and related infrastructure through certificate transparency logs using CT transform packs.
| Feature | Maltego | SpiderFoot | Recon-ng |
|---|---|---|---|
| Interface | Interactive graph GUI | Web UI (automated) | CLI (module-based) |
| Best Strength | Visual link analysis | Hands-off automation | Scriptable OSINT at scale |
| Learning Curve | Intermediate | Easy | Steep (CLI) |
| Automation | Manual + machines | Fully automated | Batch workspaces |
| Output | Graph, SVG, CSV | HTML/JSON reports | DB + reports |
| Free Tier | Community Edition (limited) | Open source (full) | Open source (full) |
| Feature | Community | Pro | Enterprise |
|---|---|---|---|
| Price | Free | Paid (annual) | Custom |
| Results per Transform | 12 | Unlimited | Unlimited |
| Commercial Use | No | Yes | Yes |
| Collaboration | No | Limited | Shared workspaces |
| Private Transforms / TDS | No | Add-on | Yes |
| Best For | Learning & light OSINT | Professional investigators | Teams & SOCs |
| Feature | Use Maltego | Use CLI Tool |
|---|---|---|
| Goal is visual relationships | Yes — graph is the point | No |
| Goal is scripted bulk output | Less ideal | Yes (theHarvester, Amass) |
| Presenting to non-technical stakeholders | Yes (clear graphs) | No (raw text) |
| Pipeline / CI automation | No | Yes |
| Pivoting interactively during analysis | Yes | Manual |
Maltego is better for visual link analysis and interactive investigation, while SpiderFoot is better for automated OSINT collection. Professionals often use both: SpiderFoot for bulk data collection, Maltego for visualization and relationship mapping. SpiderFoot runs 200+ modules automatically; Maltego lets you manually explore findings on an interactive graph.
Basic understanding of DNS, WHOIS, and IP addressing is essential. Familiarity with OSINT concepts (passive vs active recon, data sources) helps significantly. Maltego itself is intuitive once you understand the graph interface, but interpreting results requires knowledge of internet infrastructure and investigation methodology.
Yes. Maltego has transforms for social media platforms including LinkedIn, Twitter, Facebook, Instagram, and others through the Transform Hub. These transforms map email addresses and names to social profiles, revealing organizational connections and public information.
Simple domain investigations take 15-30 minutes. Complex investigations with multiple seed entities and deep transform chains can take several hours. The time depends on the number of entities, the transforms used, and whether you use CE (limited results) or Pro (unlimited).
Yes, Maltego is legal. It only queries publicly available data sources. However, the data you gather may be subject to privacy laws (GDPR, CCPA). Always investigate only targets you are legally authorized to research, and respect data protection regulations in your jurisdiction.
Partially. Maltego has 'machines' (macros) that automate transform chains for repeated workflows. For full automation, use SpiderFoot or Recon-ng. Maltego excels at interactive, manual investigation where you make decisions at each step of the transform chain.
Reporting
CherryTree is a hierarchical note-taking application featuring rich text, syntax highlighting, and customizable node structures, widely used for organizing and documenting penetration testing findings.
Information Gathering
Learn how to use theHarvester in Kali Linux: gather emails, subdomains, employee names, open ports, and banners from public sources with a step-by-step first scan, API keys, and worked examples for authorized OSINT recon.
Information Gathering
Recon-ng is a full-featured Web Reconnaissance Framework focused on open source intelligence. It provides a powerful environment to conduct web-based reconnaissance quickly and thoroughly via community modules.
Information Gathering
SpiderFoot is an open-source intelligence (OSINT) automation tool that integrates with over 200 public data sources to gather comprehensive intelligence on IP addresses, domain names, email addresses, and names. Created by Steve Micallef in 2012 and released under the MIT license, SpiderFoot automates the entire OSINT collection process with a powerful correlation engine that links findings across multiple data sources. It provides both a web-based UI (SpiderFoot HX) with interactive visualizations and a CLI for automation, making it one of the most popular OSINT frameworks for penetration testers, threat intelligence analysts, and security researchers. SpiderFoot is intended exclusively for authorized security testing, educational purposes, and defensive research.
Information Gathering
The Shodan Command-Line Interface allows you to interact with the Shodan search engine database directly from the terminal to query internet-connected assets and vulnerability data feeds.
Information Gathering
OWASP Amass is the industry-standard in-depth network mapping and attack surface discovery tool. It uses active and passive techniques, scraping 20+ public data feeds, DNS enumeration, and certificate transparency logs to discover subdomains, IP addresses, and ASN data — making it essential for penetration testing, bug bounty hunting, and enterprise security assessments.
Learn how to use Maltego in Kali Linux — install the Community Edition, run transforms, and map domains and IPs, with a worked example and cheat sheet.
OSINT · IntermediateLearn a complete reconnaissance workflow combining OSINT, DNS enumeration, subdomain discovery, and active scanning for comprehensive target profiling.
OSINT · IntermediateUnderstand the fundamentals of link analysis for OSINT investigations. Learn graph theory basics, node and edge types, pattern recognition, and investigative techniques using Maltego.
Maltego · BeginnerA comprehensive guide to Maltego Community Edition — the free version of Maltego. Learn what you get, what you don't, and how to maximize your OSINT capabilities without spending a dime.
A finished Maltego graph reads like a map: each entity is an icon, a domain, an IP address, an email or a person, and each link is a labelled line such as Resolves To or Registered By that explains why two nodes connect. Click any node and the property panel on the right shows its full attributes, including which transform produced it and when. In the free Community Edition a transform stops at 12 results, so a short list is a licence limit, not proof that nothing else exists. A node with many incoming links is a hub worth pivoting on, while a single stray result is usually noise to delete; chase the hubs, verify each link from a second source, and save the graph before you run the next transform.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.