GO KALI FREE

Maltego

Information Gathering

Intermediatelow risk

Maltego is a powerful OSINT and graphical link analysis tool that maps relationships between pieces of information gathered from the internet, visualizing connections between domains, IP addresses, organizations, people, and other entities.

Installation

sudo apt install maltego

Basic Syntax

maltego

Quick Facts

Full Name
Maltego
License
Community Edition (Free) / Pro (Paid)
Developer
Maltego Technologies GmbH
Written In
Java (JVM)
Platforms
Linux, Windows, macOS
Category
OSINT & Link Analysis
First Release
2004
Transform Framework
Maltego Transform API (TREST)
GUI
Built-in Graphical Interface
Account Required
Yes (free registration)

Tool Overview

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.

Common Commands

maltegoLaunch Maltego graphical interface
maltego --helpDisplay all available command-line options
maltego -vShow Maltego version information
maltego -dRun Maltego in debug mode for troubleshooting
maltego --config-dir /pathStart Maltego with a custom configuration directory
maltego --resetReset Maltego to default settings
Add entity: DomainDrag a Domain entity onto the graph canvas
Run transform: To DNS NameResolve domain to DNS names using passive DNS
Run transform: To Email AddressesFind email addresses associated with a domain
Run transform: To IP AddressResolve domain to IP address(es)
Run transform: To MX RecordDiscover mail exchange servers for a domain
Run transform: To WHOIS InfoRetrieve WHOIS registration data for a domain
Run transform: To SubdomainsEnumerate subdomains using passive DNS sources
Run transform: To Person (from Email)Identify the person behind an email address
Run transform: To Company (from Domain)Find the organization owning a domain

Step-by-Step Guide

  1. 1Open a terminal and launch Maltego with 'maltego' or find it in Kali Linux application menu
  2. 2When prompted, create a free Maltego Community Edition account at maltego.com
  3. 3Open a new graph and drag a starting entity (Domain, Person, Email, or Company) onto the canvas
  4. 4Right-click the entity and select 'All Transforms' or a specific transform to run
  5. 5Watch as Maltego queries public data sources and populates the graph with related entities
  6. 6Run additional transforms on discovered entities to expand your investigation deeper
  7. 7Use graph layout options (Hierarchical, Organic, Central) to organize complex investigations
  8. 8Review entity details in the property editor panel on the right side of the interface
  9. 9Export your completed investigation graph as SVG, CSV, or graphML for reporting
  10. 10Save your workspace to resume the investigation later or share with team members

Warnings

Use Cases

Domain Investigation

Map complete domain infrastructure including DNS records, subdomains, IP ranges, hosting providers, and related domains through passive reconnaissance.

Email Enumeration

Discover email addresses associated with a target organization, identify the people behind email addresses, and map email infrastructure.

People Search

Investigate individuals by connecting names to email addresses, social media profiles, phone numbers, and organizational affiliations.

Company Reconnaissance

Map organizational structures by connecting companies to their domains, employees, IP ranges, and business relationships.

Infrastructure Mapping

Visualize the complete attack surface of a target by mapping domains, IPs, certificates, and hosting relationships.

Threat Intelligence

Investigate threat actors by tracing infrastructure ownership, connecting malicious domains to known threat groups, and mapping attack campaigns.

Social Media Analysis

Connect social media profiles to real identities, map social networks, and discover relationships between individuals and organizations.

Certificate Transparency

Discover subdomains and related infrastructure through certificate transparency logs using CT transform packs.

Key Features

Comparison

Maltego vs SpiderFoot vs Recon-ng — OSINT Approach

FeatureMaltegoSpiderFootRecon-ng
InterfaceInteractive graph GUIWeb UI (automated)CLI (module-based)
Best StrengthVisual link analysisHands-off automationScriptable OSINT at scale
Learning CurveIntermediateEasySteep (CLI)
AutomationManual + machinesFully automatedBatch workspaces
OutputGraph, SVG, CSVHTML/JSON reportsDB + reports
Free TierCommunity Edition (limited)Open source (full)Open source (full)

Maltego Editions — Community vs Pro vs Enterprise

FeatureCommunityProEnterprise
PriceFreePaid (annual)Custom
Results per Transform12UnlimitedUnlimited
Commercial UseNoYesYes
CollaborationNoLimitedShared workspaces
Private Transforms / TDSNoAdd-onYes
Best ForLearning & light OSINTProfessional investigatorsTeams & SOCs

When to Use Maltego vs a CLI OSINT Tool

FeatureUse MaltegoUse CLI Tool
Goal is visual relationshipsYes — graph is the pointNo
Goal is scripted bulk outputLess idealYes (theHarvester, Amass)
Presenting to non-technical stakeholdersYes (clear graphs)No (raw text)
Pipeline / CI automationNoYes
Pivoting interactively during analysisYesManual

Best Practices

Common Errors

Maltego won't launch / blank window on start
Install a Java 11+ runtime (sudo apt install openjdk-17-jre) and clear the cache in ~/.maltego. Launch from a terminal with 'maltego' to read any Java stack trace.
Login failed / cannot authenticate Community Edition
Verify connectivity to maltego.com, register a free account, and configure any proxy under Preferences > Internet. Re-enter credentials; reset the password if the account is new.
Transform returned no results
Confirm the entity type matches the transform, add required API keys under the Transform Hub, and remember CE caps results — upgrade or narrow the query for completeness.
Transform failed: API key not configured
Open the Transform Hub, install the transform pack, and enter your API key under its settings. Free-tier keys work but carry rate limits.
Rate limit exceeded / too many requests
Space out transforms, run them on fewer entities at a time, and upgrade API tiers for heavy use. CE is intentionally rate-limited.
Transform Hub is empty or won't load
Check connectivity and proxy settings under Preferences > Internet, then restart Maltego. The Hub loads its catalog online.
Graph is slow or unresponsive with many entities
Increase the JVM memory allocation in maltego.vmoptions (e.g. -Xmx4g), collapse entity collections, and use bookmarks to segment large investigations.
OutOfMemoryError: Java heap space
Edit maltego.vmoptions and raise -Xmx (for example -Xmx4g or -Xmx8g), then restart. Ensure the host has enough physical RAM.
Entities not connecting / relationships missing
Verify you ran the transform on the correct source entity and check the entity type. Use 'Select Links' to inspect and manually add missing relationships if needed.
Cannot save or export the graph
Choose a writable directory, verify disk space, and note that some export formats (e.g. bulk report exports) require a paid edition.
Java version incompatible / class version error
Install the Java version Maltego recommends (commonly Java 11 or 17), and point JAVA_HOME to it if multiple JREs are installed.
Proxy or firewall blocks transforms
Whitelist Maltego's transform endpoints, configure the proxy under Preferences > Internet, and confirm outbound 443 is permitted.

People Also Ask

Is Maltego better than SpiderFoot for OSINT?

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.

What skills do I need to use Maltego effectively?

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.

Can Maltego investigate social media profiles?

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.

How long does a typical Maltego investigation take?

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).

Is Maltego legal to use?

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.

Can Maltego automate investigations?

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.

Learning Path

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Related Tools

theHarvester

Information Gathering

Email and subdomain harvester using public sources. Feed discovered emails and domains into Maltego for visual investigation.

Recon-ng

Information Gathering

Full-featured OSINT framework with modular reconnaissance. Complements Maltego with database-backed automated collection.

Shodan

Information Gathering

Search engine for internet-connected devices. Discover infrastructure exposed to the internet and integrate with Maltego transforms.

Nmap

Information Gathering

Network scanner for active port and service discovery. Use after Maltego identifies targets for deeper active reconnaissance.

SpiderFoot

Information Gathering

Automated OSINT tool with 200+ modules. Complements Maltego with fully automated intelligence gathering.

Amass

Information Gathering

OWASP subdomain enumeration tool for deep attack surface discovery. Feed comprehensive subdomain lists into Maltego.

WHOIS

Information Gathering

Domain registration data lookup. Provides the raw WHOIS data that Maltego's WHOIS transforms visualize as graph entities.

DNSenum

Information Gathering

DNS enumeration tool for zone transfers and subdomain brute-forcing. Complements Maltego's passive DNS with active enumeration.

Frequently Asked Questions

What is Maltego?

Maltego is an open-source intelligence (OSINT) and graphical link analysis tool used for mapping relationships between pieces of information from public internet sources. It visualizes connections between domains, IP addresses, email addresses, people, organizations, and other entities as an interactive graph.

What does Maltego do?

Maltego automates the collection and visualization of publicly available intelligence data. It queries DNS databases, WHOIS records, social networks, certificate transparency logs, and other public sources through transforms, then displays the results as a visual graph showing relationships between entities.

How does Maltego work?

Maltego works through a transform system. Users add seed entities (domains, emails, people) to a graph, then right-click to run transforms that query public data sources and return results as new entities on the graph. Chaining transforms progressively deepens the investigation, revealing hidden connections between data points.

How to use Maltego?

Install Maltego (apt install maltego on Kali Linux), create a free account at maltego.com, launch the application, add a starting entity to a new graph, right-click to run transforms, expand the investigation by running transforms on discovered entities, and export the graph when complete.

How to install Maltego on Kali Linux?

Maltego is pre-installed on Kali Linux. Launch it from the application menu or run 'maltego' in a terminal. If not installed, run 'sudo apt update && sudo apt install maltego'. On first launch, create a free account at maltego.com to activate transforms.

What are Maltego transforms?

Transforms are small programs that query specific public data sources and return results as entities on the Maltego graph. Each transform targets a particular data type (DNS, WHOIS, social media, certificates). Built-in transforms cover common OSINT tasks; additional transforms are available through the Transform Hub.

What are Maltego entities?

Entities are the nodes in a Maltego graph. Each entity represents a type of data: Domain, IP Address, Email Address, Person, Company, Phone Number, or Social Media Profile. Entities have properties (attributes) and can be connected to other entities through transform results.

Is Maltego free?

Maltego Community Edition (CE) is free and includes the full graph interface and built-in transforms. The CE edition limits results per transform (typically 10-12). Maltego Pro costs approximately $1,500/year and removes result limits, adds private transforms, and includes enterprise features.

What is Maltego Community Edition?

Maltego Community Edition (CE) is the free version of Maltego that provides the full graphical interface, built-in transforms, and basic investigation capabilities. It limits each transform to 10-12 results, which is sufficient for learning and small-scale investigations but not for professional OSINT work.

How does graph analysis work in Maltego?

Maltego's graph analysis displays entities as icons connected by relationship lines. Multiple layout algorithms (Hierarchical, Organic, Central) organize the graph. Users can filter entities by type, color-code by source, zoom into clusters, and identify patterns like communication networks and infrastructure relationships.

What is Maltego used for in cyber security?

In cybersecurity, Maltego is used for OSINT reconnaissance, threat intelligence, incident response, and digital forensics. Security professionals use it to map target infrastructure, investigate phishing emails, trace threat actor infrastructure, and build comprehensive target profiles during penetration testing.

How does Maltego compare to theHarvester?

TheHarvester is a command-line tool focused on email and subdomain enumeration from search engines. Maltego provides visual graph analysis that maps relationships between all entity types. Use theHarvester for quick data collection and Maltego for visualizing and mapping the relationships in that data.

How does Maltego compare to SpiderFoot?

SpiderFoot is an automated OSINT tool with 200+ modules that runs reconnaissance without user interaction. Maltego provides interactive visual graph analysis for manual investigation. SpiderFoot automates collection; Maltego visualizes relationships. Many professionals use both tools together.

What is the Maltego Transform Hub?

The Transform Hub is Maltego's marketplace for additional transform packs. It includes integrations with Shodan, VirusTotal, Have I Been Pwned, and dozens of other services. Many transforms require API keys, which you configure in Edit > Preferences > Transforms.

Can Maltego perform active scanning?

No. Maltego is strictly a passive OSINT tool. It queries public data sources (DNS databases, WHOIS records, social networks, certificate transparency logs) and never sends packets to target systems. For active scanning, use Nmap, Masscan, or similar tools.

What file format does Maltego use to save investigations?

Maltego saves investigations as .mtgx (Maltego Graph Exchange) files. This format preserves all entities, relationships, transform results, and graph layout settings. You can also export graphs as SVG images, CSV data, or GraphML for use in other tools.

Do I need an API key to use Maltego?

Some transforms work without API keys (basic DNS, WHOIS transforms). However, many powerful transforms (Shodan, VirusTotal, Have I Been Pwned, social media) require API keys. Configure them in Edit > Preferences > Transforms. Free tiers are available for most services.

What is Maltego used for in penetration testing?

During penetration testing, Maltego maps target infrastructure before active scanning. It discovers subdomains, email addresses, IP ranges, hosting providers, and social connections through passive OSINT. This information feeds into Nmap for port scanning and Metasploit for exploitation.

Can Maltego investigate social media profiles?

Yes. Maltego includes transforms for discovering social media profiles associated with people and organizations. You can connect names to Twitter, LinkedIn, and other social profiles, then map social networks to identify relationships and affiliations.

Is Maltego legal to use?

Maltego itself is legal software. It queries only publicly available data sources. However, using the information gathered for unauthorized access, harassment, stalking, or other illegal activities is prohibited. Always use Maltego ethically and in compliance with local privacy laws (GDPR, CCPA).

What is a Maltego transform?

A transform is a small piece of code that takes one entity as input, queries a data source (passive DNS, WHOIS, crt.sh, social APIs), and returns related entities onto the graph. Chaining transforms is how you expand an investigation — for example, Domain → To DNS Names → To IP Address → To Netblock. Transforms are grouped into transform sets and installed from the Transform Hub.

What is the difference between Maltego CE, Pro, and Enterprise?

Community Edition (CE) is free, requires a registered account, and caps transform results (typically 12 entities per run) with a limited set of public transforms. Maltego Pro removes result limits, adds commercial transforms, and enables larger graphs. Enterprise adds collaboration, on-prem data integration, and case management. Beginners on Kali should start with CE — it is enough to learn the full workflow.

Do I need API keys to use Maltego?

Not to start. The built-in standard transforms (DNS, WHOIS, certificate transparency) work without keys. However, many high-value transforms — Shodan, VirusTotal, Hunter, and other commercial data sources — require you to add an API key under Transform settings. Add keys only for services you have accounts with, and treat them as secrets.

How do I install Maltego on Kali Linux?

Maltego is pre-installed on full Kali images — launch it from the menu or run maltego. If it is missing, install with sudo apt update && sudo apt install maltego. On first launch you register or log in with a free Maltego account, accept the license, and choose the Community Edition product to begin.

Why does Maltego fail to start or show a blank window?

This is almost always a Java/JVM problem. Maltego runs on the JVM and needs a compatible Java runtime and enough memory. Verify Java with java -version, ensure a 64-bit JRE is used, and if graphs are large, raise the heap in maltego.vmoptions (e.g. -Xmx4g). Clearing the config directory or running maltego --reset resolves corrupted-profile startup failures.

How is Maltego different from SpiderFoot and Recon-ng?

Maltego is interactive and visual — you drive the investigation entity by entity and read relationships from a graph. SpiderFoot is fully automated and web-based, running hundreds of modules unattended. Recon-ng is a CLI framework for scripted, at-scale OSINT. Use Maltego when the relationships matter and you want to explore them visually; use SpiderFoot/Recon-ng when you want hands-off bulk collection.

Can Maltego export investigation graphs for reporting?

Yes. You can export the graph as an image (SVG/PNG) for reports, as CSV for entity and link data, or as GraphML for import into other graph tools. Export from the graph toolbar or File menu. For repeatable reporting, keep a consistent layout (Hierarchical or Organic) and annotate key entities with notes before exporting.

What entities can Maltego work with?

Maltego ships with entity types for domains, DNS names, IP addresses, netblocks, AS numbers, websites, email addresses, people, organizations, phone numbers, documents, and social-media profiles. You can also create custom entities. Investigations usually start from a Domain, Person, or Email and branch outward via transforms.

Is Maltego good for beginners learning OSINT?

Yes — it is one of the best tools to learn OSINT because the visual graph makes abstract relationships concrete. Start with the free Community Edition, run a single Domain entity through the standard transforms, and watch the infrastructure map build up. Pair it with a structured guide and practice only on domains you own or are authorized to investigate.

How does Maltego fit into a penetration testing workflow?

Maltego sits in the reconnaissance phase. It passively maps a target's external footprint — subdomains, mail servers, IP ranges, staff, and third-party services — before any active testing. Those findings feed active tools: subdomains and IPs go to Nmap for scanning, discovered services to vulnerability tooling, and emails to phishing or credential-testing engagements (only within authorized scope).

Why are my Maltego transforms returning no results?

Common causes: you hit the Community Edition result cap, the required API key is missing or invalid, the data source is rate-limiting you, or the entity value is malformed (e.g. a domain typed with https://). Check the transform output/error panel, confirm keys under Transform settings, wait out rate limits, and verify the entity value is clean before re-running.

Does Maltego work offline or without an account?

No. Maltego requires a free registered account for first login and license activation, and its transforms query online data sources, so an internet connection is required. There is no meaningful offline mode — the value comes from live queries to public OSINT sources. You can, however, reopen and analyze previously saved graphs offline.

Tags

#reconnaissance#osint#link-analysis#graphical-tool#digital-footprint#cyber-investigation

Output Explanation

Maltego displays results as a visual graph where entities (domains, IPs, emails, people, organizations) appear as icons connected by lines representing relationships. Each entity type has a unique icon and color. The property editor panel shows detailed attributes for selected entities. Transforms run against public data sources and return results directly into the graph, allowing iterative deepening of the investigation.

Ethical Usage Notice

This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.