AI bot hacking/scraping Home Assistant

a month ago by gdog05 to c/selfhosted

I pay for the Nabu Casa subscription for remote access to Home Assistant. Mostly as a way to give them money for a great service, but it's convenient and felt pretty secure. It should be the only remote way into Home Assistant. About an hour ago I got a login attempt notice that an IP was trying to access API/config. The IP is in some bad IP databases. What I found interesting was that the log shows an AI bot. A Google Gemini bot specifically. Makes me worry that AI is going to make yet another aspect of life frustrating and unfun.

frongt 64 points a month ago

Welcome to the Internet. If it's exposed, people and bots are going to be banging on it.

path: 0 25766855, hotness: undefined, score: 64, children: 4
NarrativeBear 16 points a month ago

Who's getting banged?

path: 0 25766855 25770287, hotness: undefined, score: 16, children: 3
captcha_incorrect 32 points a month ago

My home assistant.

path: 0 25766855 25770287 25770557, hotness: undefined, score: 32, children: 2
domi 20 points a month ago

Good for him!

path: 0 25766855 25770287 25770557 25771923, hotness: undefined, score: 20, children: 1
NarrativeBear 2 points 14 days ago

To shreds, you say?

path: 0 25766855 25770287 25770557 25771923 26114256, hotness: undefined, score: 2, children: 0
Ebby 21 points a month ago

I get frequent login attempts from Google servers too. I got the impression they offer a SaaS service some script kiddie uses to attack home assistant installations.

Make sure passwords are unique and activate incorrect login bans.

path: 0 25765021, hotness: undefined, score: 21, children: 6
SirLeToet 2 points a month ago

How are they casually finding these home assistant servers? I sure hope people dont have port 8123 exposed publicly like that? Are you all broadcasting it in to the ether?

path: 0 25765021 25774626, hotness: undefined, score: 2, children: 5
dean 3 points a month ago

If you use a publicly trusted TLS certificate (either directly, or via Nabu Casa offering), domain will be recorded in Certificate Transparency logs.

You can slightly hide it if you use a wildcard domain in the TLS certificate (e.g. *.example.com), and then use a subdomain for the service. Ideally, something that's not home/hass/ha.example.com, or otherwise easily guessable.

path: 0 25765021 25774626 25781229, hotness: undefined, score: 3, children: 0
CmdrShepard49 3 points a month ago

Because there are a limited number of IPv4 addresses and bots scan them for open ports.

path: 0 25765021 25774626 25781058, hotness: undefined, score: 3, children: 0
lka1988 1 point a month ago

Nabu Casa offers a reverse proxy through their own services. I run mine this way. Haven't really had any problems with it in the year I've been subscribed.

path: 0 25765021 25774626 25776221, hotness: undefined, score: 1, children: 1
deafboy 0 points a month ago

reverse proxy

Wait. Is this really all that nabu casa is doing? Why in the ever loving fuck would anybody agree to that, let alone pay them for it?

Looks like it's true. They are even leaking all the hostnames in the certificate transparency logs for the bots to scrape. Just when you think you've seen it all...

path: 0 25765021 25774626 25776221 25783914, hotness: undefined, score: 0, children: 0
Ebby 1 point a month ago

Haha heck no, at least not in my case. It's not impossible to just stumble on the domain. An infinite monkey sorta thing.

path: 0 25765021 25774626 25776216, hotness: undefined, score: 1, children: 0
daniskarma 16 points a month ago

You have anything online you will be hammered by bots trying to get through. That's the sad reality of the world we live on. It has been like that forever. I get hundreds of bot malicious scans on my server each day.

All that's left is to secure everything as hard as you can so they cannot break through.

path: 0 25772201, hotness: undefined, score: 16, children: 1
SirLeToet 8 points a month ago

It's been that case since forever now. Nothing has really changed and the same rules still apply.

I still remember 'hacking' my ISP ADSL router 2+ decades ago and listening to the WAN interface. Hundreds of thousands of attempts per day in the early 2000s. Mostly US, Russia and China.

My personal #1 threat on the internet for the past 20 years has been DDOS and thanks to billions of IOT devices and privacy invading 'smart' appliances everywhere.... The botnets have never been this plenty. DDOS as a Service for mere cents a day.

LLM's joined the fray in recent years but it still can't do anything it hasn't learned from us humans.

path: 0 25772201 25774493, hotness: undefined, score: 8, children: 0
4am 8 points a month ago

I’ve got Nabu Casa and IPs from the “googleusercontent.com” domain have been hitting my instance about once per day for the last week or so.

Use strong passwords and let’s hope that the login page doesn’t have any vulnerabilities…

path: 0 25768539, hotness: undefined, score: 8, children: 2
InEnduringGrowStrong 7 points a month ago

and let’s hope that the login page doesn’t have any vulnerabilities…

Home assistant also supports mTLS.
home assistant is something you'd likely ever want to allow from a handful of trusted devices, so deploying a client certificate on them can make sense.
This way a non-onboarded device doesn't even get to the html part, it's denied upstream by a reverse proxy before HA is involved.

path: 0 25768539 25769857, hotness: undefined, score: 7, children: 1
captcha_incorrect 5 points a month ago

I follow a guide for authelia and caddy, making it so that I can put authelia infront of anything without it the service behind supporting it. Still have to authenticate on the service behind but that is a small inconvenience.

path: 0 25768539 25769857 25770598, hotness: undefined, score: 5, children: 0
Godnroc 8 points a month ago

104.28.222.47? That one showed up in a log yesterday for me. Super glad the latest update added the option to see the IP for login attempts.

path: 0 25766141, hotness: undefined, score: 8, children: 5
gdog05 8 points a month ago

This one was 66.187.5.19. I tried to find a way to report their behavior on hostodo (the service they're using) but they don't seem to have a report option. I'm guessing because they don't want to prevent this kind of thing.

path: 0 25766141 25766901, hotness: undefined, score: 8, children: 4
WhyJiffie 7 points a month ago

the whois info for the IP might have an abuse email address, try that

path: 0 25766141 25766901 25771358, hotness: undefined, score: 7, children: 1
SteveTech 9 points a month ago

Can confirm it does:

OrgAbuseHandle: ABUSE9107-ARIN
OrgAbuseName:   ABUSE
OrgAbusePhone:  +1-313-516-8908
OrgAbuseEmail:  abuse@hostodo.com
OrgAbuseRef:    https://rdap.arin.net/registry/entity/ABUSE9107-ARIN
path: 0 25766141 25766901 25771358 25771847, hotness: undefined, score: 9, children: 0
IsoKiero 7 points a month ago

OrgAbuseHandle: ABUSE9107-ARIN

OrgAbuseName: ABUSE

OrgAbusePhone: +1-313-516-8908

OrgAbuseEmail: abuse@hostodo.com

OrgAbuseRef: https://rdap.arin.net/...

They have options. No idea if they actually do anything for the reports, but it's worth a shot.

path: 0 25766141 25766901 25772181, hotness: undefined, score: 7, children: 0
kylian0087 1 point a month ago

Often you can just send them a email about the behavior, Using their generic contact info.

path: 0 25766141 25766901 25770576, hotness: undefined, score: 1, children: 0
0x4f1 7 points a month ago

Wireguard can solve secure remote access without* passwords. Android and iPhone both have clients that can be configured to bring the VPN up once you leave wi-fi. Bringing a third party into your home is just not wise.

path: 0 25774002, hotness: undefined, score: 7, children: 0
scottgal 7 points a month ago

@gdog05 Automation tools built using particular llms tend to default to the model name as a UA. UA is largely meaningless nowadays for malicious bots (usually simulates a human UA)

path: 0 25764614, hotness: undefined, score: 7, children: 1
libewa 3 points a month ago

So it's an AI script kiddie?

path: 0 25764614 25764744, hotness: undefined, score: 3, children: 0
lka1988 5 points a month ago

My router (unifi dream machine) offers regional blocking, so I block Russia, China, and a few others that I've gotten hits from. So far so good.

path: 0 25776251, hotness: undefined, score: 5, children: 0
Cyber 3 points a month ago

I've not looked into Nabu Casa much, is it an outbound VPN from our HA instances to their servers? If so, maybe the Nabu Casa admins need a blocklist?

path: 0 25766575, hotness: undefined, score: 3, children: 6
gdog05 1 point a month ago

That is exactly it, yes. And I am thinking about reaching out to them about it and their blocklist. But after thinking about it, anyone with $16 in hosting can start an AI hacking instance. It's just going to get worse.

path: 0 25766575 25766946, hotness: undefined, score: 1, children: 5
i_am_not_a_robot 3 points a month ago

This kind of thing has been going on since long before "AI." Expect anything connected to the internet will have failed login requests. That's why there is a login system.

path: 0 25766575 25766946 25768426, hotness: undefined, score: 3, children: 3
Cyber 1 point a month ago

I agree this is an old thing, my firewall has blocklists and allowlists to prevent known bad IPs and allow only the countries I travel to.

But if Nabu Casa is an outbound VPN, then my blocks won't work. I'd need them to block

Either way it would make sense for HA to also use some crowdsourced blocklists as a 2nd level defense

path: 0 25766575 25766946 25768426 25770947, hotness: undefined, score: 1, children: 2
i_am_not_a_robot 1 point a month ago

What do you do if somebody adds your IP to the crowdsourced blocklist used by your server?

path: 0 25766575 25766946 25768426 25770947 25782728, hotness: undefined, score: 1, children: 1
Natanox 2 points a month ago

Not just that, companies are using "smart" devices as AI scraper botnets to utilize private, basically unbanable IPs. There are only very few companies who I might believe them not doing it (AllenAI and maybe Mistral - tell me if I'm proven wrong pls). But OpenAI, Anthropic, fucking Google and Meta, they all treat your network as their personal internet extension. It's reasonable to assume any "Smart" device with wifi access that isn't FOSS most likely being your enemy.

Our family Nextcloud already got taken down by OpenAI swarming it… overloaded and crashed php-fpm within a minute. At least one client blasting all endpoints still advertised themselves as OpenAI crawler.

path: 0 25766575 25766946 25773372, hotness: undefined, score: 2, children: 0
CompostMaterial 2 points a month ago

I've been seeing this on my HA instance too. I expose HA though cloudflared. So I did some investigation and google has several primary ASNs I blocked them all via Cloudflare. The GCP one is AS396982 so that may be enough but I blocked them all because fuck Google.

path: 0 25916532, hotness: undefined, score: 2, children: 0
Knossos 1 point a month ago

I had a reverse proxy and all services on the web for funsies, behind various security mechanisms. Authentik, CrowdSec....

But in the age of AI, it feels far too dangerous.

Now everything still has a DNS entry and is accessible in Lan with it through my pi hole and Tailscale resolves the local subnet too.

path: 0 25788028, hotness: undefined, score: 1, children: 0
Reannlegge 1 point a month ago

The only place that I use port 22, is my crowdsec pi. I use some other port than the traditional port for HA. I am slowly moving all my things out of the Apple ecosystem once I do I will setup some other blocking system for outgoing stuff, kinda like pihole but in reverse.

Would highly recommend using an alternative port other than the default one for HA and 22.

path: 0 25781782, hotness: undefined, score: 1, children: 0
Decronym 1 point a month ago

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
DNS Domain Name Service/System
ISP Internet Service Provider
TLS Transport Layer Security, supersedes SSL
VPN Virtual Private Network

[Thread #102 for this comm, first seen 11th Sep 2026, 19:50] [FAQ] [Full list] [Contact] [Source code]

path: 0 25781237, hotness: undefined, score: 1, children: 0
selfhosted
selfhosted

@lemmy.world

login for more options
62975
6798
5747

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

go to feed...