In short
Keitaro is a commercial, self-hosted ad tracker that routes each visitor to a chosen page based on filters such as country, network, device and browser. Marketers use it to manage campaigns. Criminals abuse it as a traffic distribution system (TDS) that shows security scanners a harmless page while sending real targets to scams or malware.
Key takeaways
- What it is
- A self-hosted advertising performance tracker sold by Keitaro. It installs on a Linux VPS and routes clicks through campaigns, flows and filters.
- How it works
- Each click is checked against filters, then redirected, usually with an HTTP 302, to one of several weighted destinations.
- Why it matters
- Microsoft saw DEV-0569 use Keitaro in a 2022 Google Ads campaign to send chosen victims to BATLOADER while avoiding sandbox IP ranges.
- What Odin Research saw
- An estimated 57 of 3,092 Keitaro endpoints in Monograph 12 fit cloaking-gate patterns. None showed where its redirect led, so all stay on watchlists.
- What to do first
- Inspect 302 chains that set Keitaro cookies, and alert when a visit to a young domain is followed by an installer or script launch.
What is Keitaro?
Keitaro is a commercial, self-hosted advertising tracker that routes every visitor to a chosen page using filters such as country, network, operating system and browser. Affiliate marketers use it to split and measure traffic. Criminals abuse the same features as a traffic distribution system (TDS) that hides scams and malware from scanners.
Keitaro is not malware. The vendor's documentation describes a tracker that runs on a VPS, with a database, web server, queue, cache and certificate tools set up by one install script. Infoblox and Confiant call it a self-hosted advertising performance tracker that routes visitors through campaigns, flows, filters and schemas.
In threat reports, Keitaro is usually the gate in front of the payload. It decides who gets the malicious page and who gets a decoy. That makes it a key part of malvertising and fake-update campaigns.
How Keitaro works
A Keitaro campaign has a few moving parts:
- Campaigns and streams. A campaign link receives the click. Streams, also called flows, hold the possible destinations, each with a weight.
- Filters. Keitaro reads the visitor's network (ASN), country, operating system and browser. Odin Research's Monograph 12 notes that these filters decide in milliseconds which visitor sees which page.
- The redirect. A direct redirector answers with an HTTP
302and sets akeitarocookie. A backend setup instead sits behind a WordPress or ad landing page, which calls Keitaro's Click API and receives a token header. - Tracking. Every click is logged so the operator can measure conversions.
According to Keitaro's installation guide, the tracker needs CentOS 9 Stream, or CentOS 10 Stream, on a bare server with no control panel. The minimum is 4 GB of RAM and a 20 GB SSD. The guide scales hardware with daily clicks, up to 64 GB of RAM and 8 CPUs for 5 to 10 million clicks a day.
For an attacker, the filter step is the prize. The same rule that targets mobile users in one country can send security vendors, sandboxes and ad reviewers to a harmless page.
How attackers use Keitaro
Two vendor reports show the pattern:
- Microsoft, November 2022. Microsoft reported that DEV-0569, later renamed Storm-0569, ran a malvertising campaign in late October 2022 that used Google Ads pointing to Keitaro. Keitaro sent most users to a legitimate download site. Under certain conditions it sent them to a BATLOADER download site. Microsoft said the filtering helped the group target specific IP ranges and avoid those tied to security sandboxes. The same Microsoft report links DEV-0569 infection chains to Royal ransomware.
- Infoblox and Confiant, March 2026. Their study of Keitaro abuse from October 2025 to January 2026 found more than 120 distinct spam campaigns. About 96% of Keitaro-linked spam promoted crypto wallet-drainer schemes. Other lures included investment scams, job fraud, fake browser updates and malware such as SocGholish and DarkGate.
Infoblox reported that cracked builds of Keitaro versions 7.x to 9.x circulate on Russian-language forums. It also said traffic brokers such as TA2726 use cracked or stolen licenses. Operators pair Keitaro filters with antibot IP lists and cloaking kits, and some swap page content in the browser with no visible redirect.
Infoblox found Keitaro responsive to abuse reports. The vendor moved abuse reporting to email, updated its trust and safety rules and cancelled accounts the researchers reported.
What Odin Research observed
Monograph 12 studied Keitaro with other dual-use staging tools. Gate addresses are withheld because no sampled gate showed where its redirect led.
- 3,092 Keitaro endpoints. Direct redirectors answered with a
302and a Keitaro cookie on port 443 (1,802 endpoints) and port 80 (1,218 endpoints). - Most is marketing. Commercial agencies usually bind Keitaro to aged brand domains behind Cloudflare. The report found 219 such records.
- An estimated 57 cloaking-gate candidates. They fell into three clusters. About 21 used fresh default self-signed certificates on cheap VPS hosts. About 24 used a templated
SolidityGameServercertificate on paired ports 8081 and 8082, mostly at The Constant Company in Germany. About 12 sat on domains that copy ad or CDN services, on privacy or offshore hosts. - Templated setup. The
SolidityGameServergates shared certificate names, TLS fingerprints and one provider. That uniformity suggests automated setup. - No payload seen. Without the downstream installer, a gate cannot be told apart from an aggressive ad tracker. All eight sampled gates stay on watchlists.
Monograph 02 counted 200 traffic-distribution records, including 45 SolidityGameServer records on 20 hosts. Monograph 13 shows why names mislead: a confirmed C2 server of a different framework carried a Keitaro-named certificate.
How to detect Keitaro abuse
- Redirect cookies. Server
302responses that set a cookie containingkeitarotogether with asubidorstreammarker show a Keitaro gate in the path. - Click API markers. Landing pages that call
/click_api/v3and receive anX-KClick-Tokenheader use Keitaro as a backend. - Gate, then payload. The strongest lead is a chain. A browser visits a domain registered in the last 30 days, and within minutes
msiexec.exe, PowerShell or a script host runs a new file. - Context before blocking. Aged domains behind major CDNs with clean certificates are usually marketers. Fresh certificates, templated names and lookalike ad domains deserve more attention.
Monograph 12 publishes a Suricata signature for Keitaro redirect cookies, a YARA rule for Keitaro gate configs and a Sentinel query that joins fresh-domain visits with installer launches. Find them in the Defense Kit.
How to defend against Keitaro-gated campaigns
- Block the payload step. Restrict
msiexec, script hosts and unsigned installers launched from browser downloads on user machines. - Filter ad clicks. Use DNS and web filtering for newly registered domains, and teach staff to install software only from internal portals. See How to respond to fraudulent ads using your brand.
- Track redirect artifacts. Infoblox recommends using Keitaro cookie and token artifacts to correlate activity, while allowing for collisions between unrelated sites.
- Report abuse. Send gate domains to Keitaro's abuse channel and to registrars. Pair reports with blocking, since takedowns alone cannot keep up with bulk registrations.
Keitaro compared with other dual-use staging tools
| Tool | Legitimate use | Role in an attack chain | Odin handling (Monograph 12) |
|---|---|---|---|
| Keitaro | Affiliate ad tracking | Traffic gate that filters visitors and redirects chosen ones | Watchlist; 57 estimated cloaking gates |
| TacticalRMM | Remote monitoring and management for IT teams | Signed agent that gives remote access after delivery | Watchlist unless paired with offensive tools |
| FRP | Exposing local services through a relay | Reverse tunnel out of a network | Watchlist |
| Hak5 Cloud C2 | Managing Hak5 test devices | Controller for implant devices | Watchlist when standalone |
Frequently asked questions about Keitaro
What is Keitaro?
Keitaro is a commercial, self-hosted ad tracker that routes visitors to different pages based on filters such as country, network, device and browser. It is widely used in affiliate marketing and abused as a traffic distribution system.
Is Keitaro malware?
No. Keitaro is legitimate marketing software. Criminals abuse it, often with cracked copies, to hide scams and malware downloads from scanners and send them only to chosen victims.
What is a Keitaro TDS?
A Keitaro install used as a traffic distribution system: it filters each visitor and redirects real targets to a malicious page while sandboxes and reviewers see a decoy.
Which threat actors have used Keitaro?
Microsoft reported DEV-0569, now Storm-0569, using Keitaro to deliver BATLOADER in 2022. Infoblox reported TA2726 and other actors using cracked or stolen Keitaro licenses.
How do I detect Keitaro on my network?
Look for HTTP 302 responses that set a keitaro cookie with subid or stream markers, Click API calls with an X-KClick-Token header, and installer launches right after visits to young domains.
Should I block all Keitaro servers?
No. Most Keitaro servers serve ordinary marketing. Odin Research keeps suspected gates on watchlists until a redirect to malware is captured.
What are the Keitaro server requirements?
Keitaro's guide requires CentOS 9 or 10 Stream on a bare server, with at least 4 GB of RAM and a 20 GB SSD, scaling up with daily click volume.
Sources
- Keitaro documentation, automatic installation. docs.keitaro.io/en/get-started/auto-installation.html (checked 21 November 2026)
- Microsoft Security, "DEV-0569 finds new ways to deliver Royal ransomware, various payloads", 17 November 2022. www.microsoft.com/en-us/security/blog/2022/11/17/dev-0569-finds-new-ways-to-deliver-royal-ransomware-various-payloads/ (checked 21 November 2026)
- Infoblox Threat Intel and Confiant, "Patterns, Pirates, and Provider Action: What We Learned Working with Keitaro", 31 March 2026. www.infoblox.com/blog/threat-intelligence/patterns-pirates-and-provider-action-what-we-learned-working-with-keitaro/ (checked 21 November 2026)
Related tools and terms
What is GoPhish?
GoPhish is an open-source phishing simulation framework. Companies use it for awareness training and attackers use it for real campaigns.
Phishing frameworkWhat is EvilGoPhish?
EvilGoPhish combines a GoPhish campaign panel with an adversary-in-the-middle reverse proxy that captures session cookies.
Odin Research
Get the rules, not just the definition
Every Odin Research report ships with verified indicators and detection rules you can load today.