How to Use Maltego: Beginner's Guide to OSINT Graph Analysis in Kali Linux
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.
How to Use Maltego: Beginner's Guide to OSINT Graph Analysis in Kali Linux
Maltego is one of the most powerful open-source intelligence (OSINT) and graphical link analysis tools available today. Whether you are a penetration tester, threat intelligence analyst, law enforcement investigator, or simply someone curious about digital investigations, Maltego provides an intuitive visual interface for mapping relationships between people, companies, domains, IP addresses, and other entities across the internet.
What Is Maltego?
Maltego is a Java-based graphical link-analysis and open-source intelligence (OSINT) platform from Maltego Technologies, formerly Paterva. It turns data points into connected graphs and uses transforms to find related information. Investigators use it for OSINT, threat intelligence, fraud investigation, brand protection, and law enforcement work.
Maltego is not open source. It is a commercial product with a free Community Edition (CE), which requires a free account and is limited to non-commercial use.
The core workflow is simple: pick an entity, run a transform, examine the new entities and relationships, and repeat with the most relevant results.
How to Use Maltego in 6 Steps
maltego. Windows and macOS users can download the official installer from maltego.com.Ctrl+F to fit the graph to the screen and Ctrl+S to save your work.Start with a domain you own; never investigate a person or company without a lawful purpose.
Installing Maltego
On Kali Linux, install Java 17 first if it is missing, then install and launch Maltego:
sudo apt update
sudo apt install openjdk-17-jdk
sudo apt install maltego
maltego
Check whether Java 17 is already installed with java -version before installing it.
java -version
The first two commands are unnecessary if Java 17 is already available. On Windows or macOS, download the appropriate installer from maltego.com.
During the first launch, choose Maltego CE (Free), create a free account, accept the license, and allow the setup process to install the Standard Transforms. For detailed platform-specific instructions, see the Maltego Installation Guide.
Why Use Maltego for OSINT?
You need to connect the dots between domains, email addresses, IPs, and people — Maltego visualizes those relationships on an interactive graph. Instead of switching between a dozen separate tools, Maltego runs transforms that automatically query data sources and map results as interconnected nodes, turning hours of manual research into minutes of investigation.
Key Concepts
Before diving in, you need to understand several core concepts:
Why Use Maltego?
Maltego offers several advantages over manual OSINT gathering:
Common Use Cases
Launching Maltego for the First Time
System Requirements
Before installing Maltego, ensure your system meets these requirements:
| Requirement | Minimum | Recommended |
|---|---|---|
| RAM | 4 GB | 8 GB+ |
| Disk Space | 2 GB | 10 GB+ |
| Java | JDK 11+ | JDK 17+ |
| OS | Windows 10, macOS 10.14, Ubuntu 18.04 | Latest versions |
| Display | 1280x720 | 1920x1080+ |
First Launch Setup
When you first launch Maltego, you will be guided through a setup wizard:
- Maltego built-in transforms
- Shodan transforms
- VirusTotal transforms
- Have I Been Pwned transforms
Understanding the Maltego Interface
The Graph Canvas
The Graph Canvas is the main workspace where entities and their links appear. Use it to select, move, expand, and visually organize investigation results.
The Entity Palette
The Entity Palette contains entity types such as Domain, DNS Name, IPv4 Address, Person, Email Address, and Company. Drag an entity onto the canvas to create a starting point.
The Detail View
The Detail View displays the properties of the selected entity. Check these values before running transforms so that an incorrect domain, address, or name does not produce misleading results.
The Transform Hub
The Transform Hub is where you install and manage transforms and data integrations. Some Hub providers require separate accounts or API keys.
The Investigate Tab and Machines
The Investigate tab provides access to investigation actions, transforms, and Machines. Machines automate a sequence of transforms against selected seed entities.
Understanding Basic Entities
Maltego comes with a rich set of built-in entities. Here are the most commonly used ones:
Person Entities
Network Entities
Infrastructure Entities
Organization Entities
Email and Communication Entities
For a Phone Number entity, use the PhoneInfoga phone-number OSINT tool to validate its international format and check public carrier or web-footprint data before adding findings to the graph. Treat search results as leads and confirm relationships through independent sources.
Running Your First Transform
Let's walk through a basic investigation to demonstrate Maltego's core workflow.
Step 1: Create a New Graph
Ctrl+NStep 2: Add a Seed Entity
example.com)Step 3: Run a Transform
Step 4: Expand Results
Step 5: Analyze the Graph
As you run more transforms, the graph grows. Look for:
Practical Walkthrough: Investigating a Domain
Let's conduct a more thorough investigation of a domain to see Maltego in action.
Phase 1: Domain Reconnaissance
Starting entity: target-company.com
Transforms to run:
- Result: 15-50 subdomains depending on the target
- Look for: staging, dev, test, admin, mail, vpn, remote
- Result: Mail server hostnames and their IPs
- Insight: Often reveals cloud email providers (Google Workspace, Microsoft 365)
- Result: Name server hostnames
- Insight: May reveal hosting provider or DNS management platform
- Result: IP addresses for each subdomain
- Insight: Multiple domains on the same IP may indicate shared hosting
Phase 2: Infrastructure Mapping
Take the IP addresses discovered in Phase 1 and run additional transforms:
Phase 3: Person and Email Discovery
If the target has web applications or public-facing services:
Phase 4: Analysis
After running transforms, step back and analyze the graph:
Worked Example: Mapping a Domain You Own, Step by Step
The following workflow uses example.com, a domain reserved for documentation. The hostnames and infrastructure values described below are illustrative, not claims about its current DNS records.
example.com.| Transform run | What appears | What it tells you |
|---|---|---|
To DNS Name on example.com | Candidate DNS Name entities, such as web or mail hostnames | Which potential subdomains are associated with the domain |
| To IP Address on a DNS Name | One or more IPv4 Address entities | Where that hostname resolves according to the data source |
| Reverse lookup on an IP | A PTR hostname or other associated DNS names | Whether the address may be part of shared infrastructure |
| To MX Record on the Domain | One or more mail exchange entities | Which infrastructure advertises mail handling for the domain |
Verify every link from a second source — Maltego shows relationships, it does not prove them.
Maltego Machines: Automating Investigations
A Machine is a saved sequence of transforms that runs automatically. Machines are useful for repeated footprinting tasks or investigations that would otherwise require many manual transform runs across a large graph.
Machines can flood a graph with entities quickly, making the results difficult to interpret. Begin with Footprint L1 on a small, authorized seed and move deeper only when the earlier results justify it.
Maltego Transforms Cheat Sheet
| Transform | Start entity | What it finds |
|---|---|---|
| To DNS Name | Domain or IPv4 Address | Hostnames, subdomains, or DNS names associated by the source |
| To IP Address | DNS Name | IPv4 addresses to which the name resolves |
| To MX Record | Domain | Mail exchange records for the domain |
| To NS Record | Domain | Authoritative name server records |
| To Email Address | Domain | Publicly associated email addresses |
| To Person | Email Address | Person entities associated with the address by the data source |
| To Social Network Profile | Person | Candidate public social profile entities |
| To Website | Company or Domain | Associated website entities |
| To IP Network / ASN | IPv4 Address | The containing network and autonomous system information |
| To Open Ports (Shodan) | IPv4 Address | Internet-facing ports and services reported by Shodan |
Transforms from the Hub, including Shodan, VirusTotal, and Have I Been Pwned, may need provider API keys. Some providers offer free API keys or limited access, while availability and usage terms can change.
Maltego Community Edition vs Paid Editions
| Feature | Community Edition | Paid editions |
|---|---|---|
| Cost | Free | Paid |
| Entities per graph | Up to 10,000 | Unlimited |
| Transforms | Curated standard set | Full Transform Hub access |
| Commercial use | No; non-commercial use only | Allowed |
| Collaboration | No | Yes |
| Support | Community and self-service resources | Vendor support |
CE is enough to learn and to run small investigations; professional client work normally needs a paid edition.
Maltego vs Other OSINT Tools
| Tool | What it is best at | When to pick Maltego instead |
|---|---|---|
| theHarvester | Fast CLI collection of public emails, hosts, and related domain data | When you need to visualize links and pivot interactively between results |
| SpiderFoot | Broad, automated collection across many data sources | When manual graph exploration and relationship analysis matter more than automated coverage |
| Recon-ng | Modular command-line reconnaissance and structured workspaces | When you want a graphical workflow that makes connections easier to inspect and explain |
| Shodan (website) | Searching for Internet-exposed devices, ports, and services | When you need to connect Shodan findings with domains, networks, companies, or other entity types |
Maltego’s main strength is visual link analysis. Bulk or CLI-oriented tools can be faster for initial collection, while Maltego is better suited to exploring and communicating relationships.
Navigating the Graph
Maltego's graph interface provides several navigation tools:
Zoom and Pan
Ctrl+F to fit all entities in viewSelection Tools
Layout Options
Maltego offers several automatic layout algorithms:
Access layouts through View > Layout or the layout toolbar.
Entity Styling
You can customize entity appearance:
Saving Your Work
Saving a Graph
Ctrl+S.mtgx files (Maltego Graph Exchange format)Creating a Workspace
Workspaces allow you to organize multiple related graphs:
Exporting Results
Maltego supports several export formats:
| Format | Use Case |
|---|---|
| Reports and presentations | |
| CSV | Data analysis in spreadsheets |
| GraphML | Import into other graph analysis tools |
| Image (PNG/SVG) | Documentation and presentations |
| HTML | Interactive reports |
To export: File > Export Graph and select your desired format.
Troubleshooting Maltego Problems
| Problem | Likely cause | Fix |
|---|---|---|
| Login fails | Incorrect credentials, an incomplete account setup, or a network problem | Confirm the account email, reset the password if necessary, and check the Internet connection before retrying. |
| Transforms return no results | The source has no data, the input is incorrect, or an API key or provider limit is involved | Verify the entity type and value, check required API keys, and try another suitable Standard Transform. An empty result can be valid. |
| “Transform not found” | The transform is not installed or does not support the selected entity type | Install the Standard Transforms or required integration from the Transform Hub, then confirm that the transform accepts that entity type. |
| Graph is slow or freezes | Too many entities, links, layouts, or automated transform runs | Stop further expansion, use smaller result limits when available, filter irrelevant results, split the investigation, and save in stages. |
| Maltego will not start on Kali | The package is missing or the installation did not complete | Run sudo apt install maltego, then launch maltego from a terminal so that any startup message remains visible. |
| Java error on launch | Java 17 is missing or unavailable | Install it with sudo apt install openjdk-17-jdk, then relaunch Maltego. |
| CE entity limit reached | The graph has reached the 10,000-entity CE limit | Save the graph as an .mtgx file, remove irrelevant entities or split the work into smaller graphs. Use a paid edition if the full graph must remain together. |
| Exported graph is empty | Filters hide the entities or the visible graph is outside the current view | Clear active filters, press Ctrl+F, confirm that entities are visible, save an .mtgx copy, and export again. |
Is Maltego Legal and Safe to Use?
Use Maltego only to investigate assets you own or have permission to examine. Passive transforms generally query existing third-party data, while active transforms may contact or test target infrastructure and therefore require explicit authorization.
Community Edition is limited to non-commercial use. Treat every result as an investigative lead, verify it through a second source, and remember that a relationship shown by Maltego is not proof of ownership, identity, or wrongdoing.
Tips for Beginners
Common Mistakes to Avoid
Keep Learning
Conclusion
Maltego is an indispensable tool for anyone working in OSINT, cybersecurity, or investigations. Its visual approach to intelligence gathering makes complex relationships accessible and actionable. By mastering the basics covered in this guide, you have a solid foundation for more advanced investigation techniques.
Remember that effective OSINT is not just about tools, it is about methodology. Combine Maltego's technical capabilities with sound investigative practices, ethical considerations, and critical thinking to produce high-quality intelligence products.
The key to becoming proficient with Maltego is practice. Set up a home lab, investigate your own infrastructure, and gradually work up to more complex targets. Always operate within legal and ethical boundaries, and document your methodology for reproducibility.
Knowledge Check
Answers: 1. A graph node representing data such as a domain, person, or IP address; 2. It takes an entity and returns related entities using a script, service, or API; 3. 10,000 entities; 4. Run sudo apt install maltego, followed by maltego, installing Java 17 first if needed; 5. A saved sequence of transforms that runs automatically; 6. Define a lawful scope and begin with an asset you own or have permission to investigate; 7. Data can be outdated, incomplete, or incorrect, and a graph relationship is not proof; 8. Maltego emphasizes visual link analysis, while theHarvester is faster for focused bulk collection from the command line.
Frequently Asked Questions
Continue Learning
Maltego Community Edition: Free OSINT Tool Guide
A 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.
Maltego · IntermediateMaltego Graph Analysis: Reading & Interpreting Investigation Graphs
Master the art of reading and interpreting Maltego investigation graphs. Learn graph layouts, entity relationships, pattern recognition, and how to extract actionable intelligence from complex visualizations.
Maltego · IntermediateMaltego Transforms Explained: How the Transform Engine Works
Deep dive into Maltego's transform engine. Understand transform architecture, categories, chaining, the Transform Hub, TREST API, and how to create custom transforms.
Maltego · BeginnerHow to Install Maltego on Kali Linux, Windows & macOS
Step-by-step installation guide for Maltego on all major platforms. Includes Java setup, first launch configuration, account creation, and transform setup.
Related Security Tools
Maltego
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.
Information GatheringtheHarvester
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 GatheringRecon-ng
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.
Wireless AttacksWifite
Learn how to use Wifite in Kali Linux with this beginner tutorial: check your WiFi adapter, install Wifite, run your first authorized WiFi audit, capture WPA handshakes and PMKIDs, and crack them with a wordlist. Includes Wifite commands, a worked example, troubleshooting for common errors, and how Wifite compares with Aircrack-ng.