Patrick

Patrick

@mossymaker.com

Software maker. Tinkerer. Adventurer. he/him https://mossymaker.com

47 followers141 following25 posts

Patrick reposted

Tomorrow, October 16th, marks Practical Accessibility's third birthday. 🎂 To celebrate, I am gifting everybody 25% off for the next 48 hours 🎁 Individual and team licenses alike! The discount is automatically applied during checkout—no code is needed. 👉🏻 practical-accessibility.today Enjoy! #a11y

practical-accessibility.todayThe Practical Accessibility CourseA get-right-down-to-it online course for Web designers and developers who want to start creating more accessible Web user interfaces and digital products today

sweep em up

machinefun.bsky.social@machinefun.bsky.social

🚨 Giveaway time! 🚨 We're giving away a hand crafted Kujisama 500 print! HOW TO ENTER? You must QUOTE POST THIS POST with the phrase "sweep em up" so we can easily track your entry. The winner will be randomly selected on the 6th of May. We'll ship this item anywhere globally. Good luck!

Is my NodeJS container supposed to be running netcat? 😅 I usually wake up sipping coffee, not choking on it seeing my cloud usage, but I made the most of the situation by doing some amateur forensics. #selfhosting has its ups and downs...

View full thread

I tried to inspect its available /proc/<pid> info, but either got nothing back or permission denied. Not sure what was up with that, but I'm sure I have more to learn there. Netstat showed a connection to we.love.servers.at.ioflood​.net—super legit looking. I suspect C2, but I left it alone.

Is my NodeJS container supposed to be running netcat? 😅 I usually wake up sipping coffee, not choking on it seeing my cloud usage, but I made the most of the situation by doing some amateur forensics. #selfhosting has its ups and downs...

View full thread

In this case, it looks like there was probably a remote code execution vulnerability in NextJS that allowed an attacker to steal my hosting resources to mine crypto. I have major respect for folks doing this professionally, using the knowledge to layer security and detect attacks as they occur.

If you selfhost (or otherwise run workloads for fun, etc.), what are your experiences handling attacks or compromised hosts?

Is my NodeJS container supposed to be running netcat? 😅 I usually wake up sipping coffee, not choking on it seeing my cloud usage, but I made the most of the situation by doing some amateur forensics. #selfhosting has its ups and downs...

View full thread

Circling back to the poorly obfuscated "node" process, the file linked to in the process command line was configuration for SupportXMR, a monero crypto miner. 🙄

As more of the services we rely on do awful things, some of us are inclined to selfhost out of spite, but as this incident shows, there are risks. This was isolated, but could have been much worse. It's easy to miss an image update that patches a CVE, or not have time to set up alerting.

Is my NodeJS container supposed to be running netcat? 😅 I usually wake up sipping coffee, not choking on it seeing my cloud usage, but I made the most of the situation by doing some amateur forensics. #selfhosting has its ups and downs...

Had to sift through some metrics, but eventually found the outlier, a NextJS container using 2 vCPU and 3GB ram. Once I got to a shell, the problem was pretty clear: in addition to the expected Node processes, there was a process running from /tmp/.libsystem/node and—uh oh! Netcat.

Netcat (nc) is a utility for making network connections, but is also used—as in this case—to establish remote access by malicious actors. It's convenient for that, too, because it's already present on most Linux systems.

Patrick reposted

So one of the things that I think is lost on AI proponents is what I call the card catalog effect, a thing I shouldn’t call it because a lot of people probably have no experience with a card catalog.

Patrick reposted

Astrophysicists theorize that 85% of the day is spent doing “dark work” which cannot be directly measured but is implied by how tired I feel

You are up to date.