Skip to main content
Mallory
Malware2 associated actors

sqlmap

Tracked since Jan 25, 2026 · Updated 21 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
Vulns0Associated
Actors2Associated
ATT&CK24Techniques
IOCs1Tracked
Capabilities
Initial access
Platforms
Linux

sqlmap is an open-source penetration-testing tool that automates exploitation of SQL injection vulnerabilities in database-backed applications. It is legitimate dual-use software rather than an inherently malicious malware family and is available in Kali Linux. Adversaries use it to exploit vulnerable public-facing applications and obtain unauthorized access to application databases and administrative functionality.

Magic Hound has obtained and used sqlmap alongside other publicly available penetration-testing tools. In a documented intrusion against a Thai government administrative system, attackers used sqlmap to exploit SQL injection and gain administration-panel access. The attackers subsequently deployed a separate web shell for persistent command execution. These follow-on actions are distinct from sqlmap itself; its presence does not establish that it provides persistence or the capabilities of subsequently deployed malware.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
Magic Hound

Magic Hound has obtained and used open-source penetration testing tools like Havij, sqlmap, Metasploit, and Mimikatz.

via mitre attack websiteattack.mitre.org
Earth Lamia

We suspect they are likely using tools like "sqlmap" to carry out these attacks against their targets.

via trendai security blogtrendaisecurity.com
MITRE ATT&CK

Techniques & procedures

24 distinct techniques documented for this family, organized by ATT&CK tactic.

Reconnaissance

2 techniques
T1595Active ScanningEvidence2

ERA Security Scanner ... nmap, nikto, subfinder, subdomain enumeration, IP reputation, DNS, and mail security analysis ... security-tools-mcp ... nmap, nuclei, sqlmap, nikto, dirsearch, httpx, trivy ... NmapService nmapScan

T1595.002Vulnerability ScanningEvidence2

Earth Krahang also conducts vulnerability scanning with tools like sqlmap, nuclei, xray, vscan, pocsuite, and wordpressscan to find web server vulnerabilities

Resource Development

3 techniques
T1587.001MalwareEvidence1

The platform's core offering is XSS payload management: create payloads, deploy them, monitor when they fire... The platform includes a suite of offensive tools... The SQLMap Command Generator... provides a web-based interface for building SQLMap commands.

T1588.002ToolEvidence2

Adversaries may buy, steal, or download software tools that can be used during targeting. Tools can be open or closed source, free or commercial.

T1588.007Artificial IntelligenceEvidence1

Resource Development - утилита скармливает данные модели, получает приоритизированные векторы с обоснованием и командами. Artificial Intelligence (T1588.007, Resource Development).

Initial Access

2 techniques
T1078Valid AccountsEvidence3

Once cracked, we can log into the website. If someone cracks an admin’s hash, they can cause real damage to the website.

T1190Exploit Public-Facing ApplicationEvidence72

«эксплуатация SQL-инъекций соответствует технике Exploit Public-Facing Application ... (T1190, Initial Access)»

Execution

1 technique
T1059Command and Scripting InterpreterEvidence1

This command provides us with a virtual shell, allowing us to execute single commands... <?php system($_GET['cmd']); ?>

Persistence

4 techniques
T1078Valid AccountsEvidence3

Once cracked, we can log into the website. If someone cracks an admin’s hash, they can cause real damage to the website.

T1505Server Software ComponentEvidence2

Thailand Government administrative application nodes SQLMap-driven data dump of employee national ID records; GIF-polyglot webshell deployment for persistence.

T1505.001SQL Stored ProceduresEvidence1

Havij is used to automate SQL injection. sqlmap can be used to automate exploitation of SQL injection vulnerabilities.

T1505.003Web ShellEvidence2

Asking how sqlmap would be used to upload a potential web shell to a target server.

Privilege Escalation

1 technique
T1078Valid AccountsEvidence3

Once cracked, we can log into the website. If someone cracks an admin’s hash, they can cause real damage to the website.

Stealth

2 techniques
T1070.004File DeletionEvidence1

Risk 3 - запросы с OR в контексте UPDATE / DELETE , которые способны модифицировать или удалить данные.

T1078Valid AccountsEvidence3

Once cracked, we can log into the website. If someone cracks an admin’s hash, they can cause real damage to the website.

Defense Impairment

1 technique
T1685Disable or Modify ToolsEvidence1

It’s protected by a WAF that filters suspicious requests. For this reason we will use tampers... It randomizes the casing of your payload, which can help bypass WAFs.

Credential Access

4 techniques
T1003OS Credential DumpingEvidence1

Using Sqlmap, it was also possible to read password hashes of user accounts. These are MD5 hashes of the passwords without any further salt value.

T1110Brute ForceEvidence3

Credential Access - Brute Force (T1110): встроенный брутфорс извлечённых хешей паролей по словарям

T1212Exploitation for Credential AccessEvidence2

...если есть PHPSESSID , значит PHP-сессии, значит - MySQL/SQLite, значит — SQLi в параметрах входа.

T1649Steal or Forge Authentication CertificatesEvidence1

With SQL Injection, among the available techniques, the most common consists of extracting the users and their password hash. ... Now that we have recovered the users and the hashes we need to find the password in clear text. We will not go into the details of this step here and simply use hashcat with a wordlist to recover the password in plain text.

Discovery

1 technique
T1046Network Service DiscoveryEvidence1

The files include offensive security tooling (sqlmap, masscan, nmap, hping, tcpdump, ngrok, gost, microsocks, frpc/frps, impacket)...

Collection

2 techniques
T1213Data from Information RepositoriesEvidence7

A post presented SQL database files and identified the target as Pakistan Railways... Another post claimed a breach of a Pakistan Government SQL Server... Additional material referenced the Pakistan Military Accounts Department, including a claimed 88-page PDF containing stolen data.

T1213.006DatabasesEvidence1

Collection - Databases (T1213.006): перечисление схем, извлечение данных из таблиц, полный дамп содержимого

Command and Control

3 techniques
T1090ProxyEvidence1

Using Alien’s built-in SOCKS5 proxy, external tools such as sqlmap can access internal web applications through the compromised server.

T1090.001Internal ProxyEvidence1

Using Alien’s built-in SOCKS5 proxy, external tools such as sqlmap can access internal web applications through the compromised server.

T1105Ingress Tool TransferEvidence2

After gaining access to the server, the attackers installed the tools they needed at different times. Specifically, the following commands for third-party installations were identified on one of the servers: apt install traceroute apt-get install nmap apt-get install screen git clone https://github.com/sqlmapproject/sqlmap.git

Impact

1 technique
T1565Data ManipulationEvidence2

SQL injections may result in information modification, sensitive data leakage and unauthorized command executions in underlying database systems.

Indicators of compromise

Observables

1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+4 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching1Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors2Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping24Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.