r/ProgrammerHumor • • Oct 22 '26

Meme howDidTheyNotThinkOfThis

Post image
14k Upvotes

295 comments sorted by

476

u/Holiday_Point_603 Oct 22 '26

The guy after posting his big brain idea

4

u/Mathfanforpresident Oct 22 '26

My genius is so large that it creates its own gravity

4.3k

u/ElectrSheep Oct 22 '26

This has actually been done in the past for other RCE vulnerabilities.

2.4k

u/Skaviciusz Oct 22 '26

Yup - some guy patched peoples computers via minecraft when log4j vulnerability was "released"

708

u/UntitledRedditUser Oct 22 '26

New feature! It's just like TeamViewer

72

u/fajarmanutd Oct 22 '26

Taking a slogan "it's not a bug, it's a feature" quite literally.

251

u/AustrianHunter Oct 22 '26 • Popcorn

brb installing a Minecraft client on my webserver

85

u/elmanoucko Oct 22 '26

brb building a redstone webserver on my minecraft client

→ More replies (1)

17

u/Schwifftee Oct 22 '26

Dude is just installing a Minecraft game on their webserver

19

u/AustrianHunter Oct 22 '26

Gotta get my security patches somewhere

70

u/TerryMisery Oct 22 '26

What? It's hilarious, do you have more details?

125

u/RandomSOADFan Oct 22 '26

Not only that but Minecraft, specifically anarchy servers where it is allowed to cheat in-game and it is common (still illegal) to get hacked, is where the exploit was first weaponized at all. It seems to have been reported before, but it took over on 2b2t in december 2021. You'd activate the exploit simply by sending specific strings directly in the in-game chat. In the FitMC video about this he explains how a prominent programmer in the community ended up testing the exploit by making people's calculators open remotely, then they used it to patch the vulnerability

106

u/rhazux Oct 22 '26

Opening calculator is such a classic. We used to open the "cup holder" too but there's no guarantee a machine has a disc drive anymore.

→ More replies (7)

15

u/No-Photograph-5058 Oct 22 '26

Even nowadays though they aren't able to run anything, you sometimes get a bot account joining improperly setup private servers telling the players to fix their whitelist or whatever

→ More replies (3)

21

u/Skaviciusz Oct 22 '26

I'm not sure, but probsbly fitmc (or salc1) has video about it. It is strongly corelated with 2b2t server

27

u/TedGetsSnickelfritz Oct 22 '26

Hello user, plz press Alt+F4 to patch

24

u/TheMoatman Oct 22 '26 edited Oct 22 '26

https://www.mtlc.co/cybereason-releases-vaccine-to-prevent-exploitation-of-apache-log4shell-vulnerability-cve-2021-44228/
Would work on anything with a vulnerable log4j IIRC.

I seem to remember hearing that some TLA was forcefully patching servers too but that was probably just someone misinterpreting the CISA directive for agencies to patch or talking out their ass. e: I was probably thinking of this from earlier in 2021 https://www.theguardian.com/technology/2021/apr/14/fbi-hacks-vulnerable-united-states-computers-to-fix-hack-malicious-malware-microsoft-exchange-software

15

u/opotamus_zero Oct 22 '26

Also the Welchia worm which deleted the Blaster worm and patched for it

https://en.wikipedia.org/wiki/Welchia

7

u/ThisIsMyCouchAccount Oct 22 '26

"released"

You know. I never considered the development side of things.

Does it have a release? Version number? Patch notes?

It would be kinda funny. Sure they're writing a harmful chunk of code but they are still professionals.

→ More replies (2)

2

u/Worldly_Map4877 Oct 22 '26

Before that MikroTik Routers as well.

→ More replies (2)

372

u/elyndar Oct 22 '26 • Heartwarming

Yeah, people don't realize it, but the US gov does it regularly to avoid Russian / Chinese botnets. It's been publicly happening for a while now. Who knows how long it's happened before it was publicly acknowledged.

https://www.itnews.com.au/news/fbi-remotely-patched-privately-owned-routers-to-evict-russian-gru-spies-624880

62

u/teraflux Oct 22 '26

Chaotic good

61

u/luisduck Oct 22 '26

That the US government does exactly this was my most amazed takeaway I got from briefly looking at a random Snowden leak.

25

u/TitularGeneral Oct 22 '26

People really just invented digital vaccines.

4

u/lastdyingbreed_01 Oct 22 '26

I used the vulnerability to destroy the vulnerability

→ More replies (6)

2.7k

u/kwartel Oct 22 '26

Tbf, this has been done many times before https://en.wikipedia.org/wiki/Computer_worm#Helpful_worms

Also, it happens that botnets fix the infected machines vulnerabilities to prevent other botnets from taking root in the system lol

738

u/FUTURE10S Oct 22 '26

I love these people, like it's like finding a virus but it's actually a vaccine acting as a virus

130

u/BetterEveryLeapYear Oct 22 '26

They do that as well. Alter viruses to deliver vaccines, they're called viral vector vaccines:

https://cepi.net/viral-vector-vaccines-what-they-are-and-what-they-are-not

31

u/CelestialFury Oct 22 '26

Red Dwarf went over this as well: positive viruses (it's a real thing too).

18

u/Leon_Flux Oct 22 '26

pokerus

→ More replies (1)

7

u/SolusIgtheist Oct 22 '26

It was a genetic engineering thing in Richard K Morgan's Thin Air book. Good read if you like Cyberpunk.

228

u/Temoffy Oct 22 '26

or alternatively, penicillin. As it's a bacteria that makes antibiotics to remove competition.

109

u/Own_Candidate9553 Oct 22 '26

It's actually from a mold, but you're right that it probably produces penicillin to reduce competition from bacteria. Mold and bacteria use the same resources and inhabit the same spaces.

→ More replies (1)

27

u/BetterEveryLeapYear Oct 22 '26

Penicillin is fungal (comes from a mold). Similar though.

118

u/Boomah422 Oct 22 '26 • Mindblown

My favorite instance of this was in 2023 when QakBot was taken down, then using "court authorized remote hacking"(warrant in question https://www.justice.gov/d9/2023-08/23mj4244_warrant_redacted.pdf)

To disrupt the botnet, the FBI was able to redirect Qakbot botnet traffic to and through servers controlled by the FBI, which in turn instructed infected computers in the United States and elsewhere to download a file created by law enforcement that would uninstall the Qakbot malware. This uninstaller was designed to untether the victim computer from the Qakbot botnet, preventing further installation of malware through Qakbot

https://www.justice.gov/usao-cdca/pr/qakbot-malware-disrupted-international-cyber-takedown

42

u/ParkerGuitarGuy Oct 22 '26

Qak-blocked

9

u/anomalous_cowherd Oct 22 '26

Whoever was running it must have qak'ed up.

72

u/Trackpoint Oct 22 '26

Funny, this might be the thing that will save us from the total hackapocalypse, when rogue agents really get loose. Suddenly millions and millions of vulnerabilities get fixed across connected tech, because agent networks want to protect their potential assets.

35

u/lily_from_ohio Oct 22 '26

Have you heard of the Blackwall in the Cyberpunk series?

22

u/ferrofibrous Oct 22 '26

This was also the end scenario for the older hacking sim "Uplink", toward the end you were in a race to compromise hosts and deploy a countermeasure while a doomsday cult was also compromising those hosts to upload a worm that will shut down the internet if left to spread.

6

u/RayereSs Oct 22 '26

Man, Uplink was so cool

→ More replies (1)

14

u/Trackpoint Oct 22 '26

Thought about referencing this, because that was exactly what I was thinking about, regarding the near future of the open internet!

I mean, I'm not against it per se, looking at the brainrotting dopamin crack it is used for these days by most people.

→ More replies (1)

16

u/RandallOfLegend Oct 22 '26

Botnet just pulling up the ladder...

10

u/hates_stupid_people Oct 22 '26

We used one of those at a LAN party since some people refused to fix it themselves.

10

u/Kerblaaahhh Oct 22 '26

Reminds me of the worms in that one Futurama episode.

6

u/NavalProgrammer Oct 22 '26

Reboot did it firstwhen Hexadecimal spreads herself as a benign virus to cure Daemon

6

u/ShepRat Oct 22 '26

  Also, it happens that botnets fix the infected machines vulnerabilities to prevent other botnets from taking root in the system lol

I remember reading a fascinating piece written by a former botnet developer. The arms race between them was cool, taking over a machine and cleaning up other malware and patching the system to reduce the risk of discovery. 

→ More replies (1)

3.9k

u/KerPop42 Oct 22 '26

Congratulations, you are being patched! Please do not resist.

988

u/bokuWaKamida Oct 22 '26 • Mindblown Bravo

thats literally what microsoft does

312

u/KerPop42 Oct 22 '26

And hey, Microsoft is an industry standard, right? we should adopt their practices. /s

135

u/CircularDonuts Oct 22 '26

Comment raised to the power of /s ?

70

u/KerPop42 Oct 22 '26

The power of /s is not to be trifled with

seriously, though, it's just an aesthetic way to poorly hide the sarcasm tag

→ More replies (7)

17

u/TheInfra Oct 22 '26

with juuuuust a little bit of non-desired changes and extra software with no way to go back

15

u/Dotcaprachiappa Oct 22 '26

Did you know you could do that with copilot? No? Well do you want to do that with copilot? No? Well how about now? No? Ok how about now? No? Ok I'll ask again tomorrow!

5

u/a-walking-bowl Oct 22 '26

copilot starts automatically now on Windows startup, though. In case you suddenly want to use it and your answer has changed from yesterday. No, it hasn't? okay i'll ask you tomorrow

4

u/Isakswe Oct 22 '26

Don’t really see the issue with Defender forcing updates. I’ve seen people with decades old windows versions and would not want them to be running around with decades old protection.

→ More replies (1)

90

u/xxchaitanyaxx Oct 22 '26

Happend in log4j remote code exploit , people in minecraft did that

49

u/GoodiesHQ Oct 22 '26

Patching will continue until morale improves

603

u/Stummi Oct 22 '26

Chaotic Good

355

u/reverendsteveii Oct 22 '26

https://www.scientificamerican.com/article/pulling-up-worms/

When the Blaster worm was prevalent back near the turn of the millennium someone actually created another worm that used the same vulnerability but instead of installing malware it just installed the patch for that vuln then restarted the machine.

84

u/zupzupper Oct 22 '26

Been a minute but IIRC that one also had a nasty habit of flooding the network looking for vulnerable nodes

51

u/Adezar Oct 22 '26

Yes, that era was something else.

Granted I feel like we're about to go through a similar age powered by AI.

20

u/LivingUnglued Oct 22 '26

Yeah it’s decades worth of unknown vulnerabilities being discovered and used/patched. Literally all of the technical debt we’ve accumulated in this modern era. It’s going to be rough for a while. In the end it should result in stronger security in general for those who keep their systems maintained. Though that’s just considering the backlog. With AI script kiddies just got a lot more powerful and there are going to be some crazy hacks it enables. I’m just waiting for the billion dollar heists. Hell South Korean banks already got hacked though the dude was an idiot and also uploaded his CV to Claude on the same account.

9

u/zupzupper Oct 22 '26

While I've got miles of empathy for the admins dealing with all this <gestures at AI powered exploitation / vuln discovery>. I am so glad I'm in a different place in my career where I can just be a spectator to the horrors.

18

u/herk_destro Oct 22 '26

A company I worked for in the 2000's had this issue. The network was secure from the outside, but someone brought in their laptop to work, and it was infected. It brought the whole company down for three days while they patched the servers one at a time to prevent network traffic from overwhelming the systems.

Fun times!

5

u/Hairy_Mycologist_945 Oct 22 '26

Yup, Welchia caused ICMP / ping floods and also randomly rebooted machines. I worked on a detection and response team at the time and while it had a fairly short lifespan it was quite disruptive on its own.

→ More replies (3)

3

u/scriptmonkey420 Oct 22 '26

God I hated the blaster worm. So many reboots on machines just blindly in the dmz.

335

u/octopus4488 Oct 22 '26

New level above "white hat":

"Gold hat" hacker

200

u/laplongejr Oct 22 '26

Sadly that's also what black hats do : once they are in, they patch the vulnerability to ensure no other hackers kick them out.

38

u/DOOManiac Oct 22 '26

Yeah; there are a few crypto miners that do that too, to make sure they don’t have to compete with other miners on the same box.

56

u/Mateorabi Oct 22 '26

Actually more grey-hat as you’re still exploiting people’s computers without permission. 

35

u/braaaaaaainworms Oct 22 '26

tarnished silver-hat, mostly white but you can see that it's not really white

13

u/OttoRenner Oct 22 '26

off-white-hats?

6

u/Bulky-Employer-1191 Oct 22 '26

Nothing new. It's been Grey Hat work for a while. It's still illegal so they have to don some black hat methods to get it done.

75

u/h0uz3_ Oct 22 '26

Back in the 90s, when people used computers with NT 4.0 and ISDN to connect to the internet, the computer would always expose the messaging service to the internet. So users got spam via a neat system window.

Someone was fed up with it and wrote a script that spammed those NT4 machines with a manual on how to disable the messagging service.

65

u/insta Oct 22 '26 edited Oct 22 '26

in the very early 00's when i was still a precocious freshman at highschool, the person sitting next to me in a computer lab was really interested in how my friend and i a few rows away were chatting with each other.

so, i just explained the tool. "net send, and if you add /help it shows you a bunch of options like what machine or network to send the message to. you could even do /domain and send to every machine".

i could see the gears turning, he sent a test message to himself, i saw more gears turning. then, furious typing followed by a triumphant Enter keystrike. nothing for several seconds, his face contorts slightly, then i see every machine in the lab at once pop a message.

Message from [student_id] to [entire_domain]:

SUCK MY BALLS
[ OK ]

it was like 11,000 machines, servers included. i never saw him in that class again, and i kept hearing stories for a few years even after i graduated how a sysadmin would RDP into a print server to update drivers or something, and have to clear that dialog. all the library computers, all the conference room computers.

34

u/h0uz3_ Oct 22 '26

When I was an apprentice, I used net send to chat with a colleague. One day I was joking that „net send *“ couldnt work.

After „net send * Hello World“ ALL PCs in the office beeped. And obvioisly also computers in other buildings.

My boss was quite shocked. IT security fixed it and I didn‘t even got in trouble.

I think this will forever be the stupidest thing I did without negative consequences.

21

u/Aeseld Oct 22 '26

You pointed out a major vulnerability in a completely harmless way. So that's usually a good thing. Was it stupid? Not really. You tested something that shouldn't work, and it did. Now, if you'd sent something obscene...

→ More replies (2)

16

u/BellacosePlayer Oct 22 '26

I had a classmate in highschool create a workaround to bypass the school rules to to download some stuff and burn it to a CD (this was mid 2000s, internet was shit). Somehow fucked up something on the state network really bad. they had cops waiting at the computer lab for him that morning.

Guy works on massive electrical systems now. Good times.

6

u/OttoRenner Oct 22 '26

One guy in my class knocked the school-server out with a .bat loop to * .*

Windows NT...good old times

10

u/Serious_Mastication Oct 22 '26 edited Oct 22 '26

My friend was routinely ddos’ing the entire school district so he could skip school without being caught.

I’m talking district. Every school in the entire province went down so he could miss a class and not get a call home

They never caught him.

They did however catch him stealing iPads from the school and reformatting/jailbreaking them to sell. He only got caught cause even though he was smart enough to do this he was dumb enough to bring the iPad to school in the same case.

And here I was thinking I was smart cause I logged into a teachers admin account and downloaded a secret game folder on every students account (twice, btw. Both jr high and high school, pretty sure the folders still there so you are welcome) so we could play halo and Minecraft Lan. Also teaching the entire school how to bypass firewalls with vpn’s and also how to bypass the firewalls on the vpn’s when they caught on to us

→ More replies (1)

7

u/Aishou_SK Oct 22 '26

Hell, I remember that becoming an issue (net send woo!) when XP was around, not NT4. https://www.wilderssecurity.com/threads/net-send-spam-a-new-headache.4142/

Was definitely an early 2000s problem, not late 90s

61

u/Cylian91460 Oct 22 '26

Yes, in fact that's what happen with log4shell

58

u/octopus4488 Oct 22 '26

While you are at it, could you also take a look at that bug from the accounting team? It is open for like 2 weeks, very tricky.

5

u/parkwayy Oct 22 '26

His name is Jimmy.

175

u/Phamora Oct 22 '26

Well obviously, let me help you

function rce() {
    patch();
}

85

u/noobjaish Oct 22 '26

Forgot the <?php and ?>

0

u/[deleted] Oct 22 '26

[deleted] — view deleted comment

31

u/0xbenedikt Oct 22 '26

Finally someone who is saving previous bytes at the current storage prices

7

u/PM_ME_FIREFLY_QUOTES Oct 22 '26

Bold of you to assume we're on a remotely modern php version.

→ More replies (8)

3

u/postbox134 Oct 22 '26

But how will I find the PHP code in my codebase without find '<?php'

→ More replies (1)

3

u/kampi1989 Oct 22 '26

You also should add a try, catch around this. Use the catch for a rollback to avoid downtimes because of a failed update

39

u/awkward_replies_2 Oct 22 '26

I forgot the name of the movie but there was one about a guy who broke into people's apartments just to fix their broken things.

13

u/XCxBigDong69XCx Oct 22 '26

Someone fixed my broken bike once, that had a broken idk what the english word it, but what it leans on

15

u/WakaFlacco Oct 22 '26

Kickstand

12

u/Minority8 Oct 22 '26

I'm just imagining Liam Neeson now telling me over the phone that he will find me and that he will fix my dripping faucet.

6

u/Vier_Scar Oct 23 '26

"I have a very particular set of skills... skills I have acquired over a very long career. A career in General Maintenance and Repair"

4

u/A_Guy_in_Orange Oct 23 '26

"And you could benefit from these skills if you call Johnsons Heating and Air for a free quote today" this has to be a handyman companies commercial it flows to good

6

u/EzekielYeager Oct 22 '26

Do you know of this movie was in English? This sounds like a fun movie, but it's hard to track the proper title from my googling.

5

u/PM_UR_BRKN_PROMISES Oct 22 '26

I remember it being an urban legend and not a movie. I may be wrong about it, though.

→ More replies (5)

80

u/much_longer_username Oct 22 '26

It's been done. It's a felony in most places though, the laws around this don't really care about your intent so much.

16

u/postbox134 Oct 22 '26

In the UK there's got to be an intent to harm or impair the computer system or access data unauthorised under the Computer Misuse Act:
https://www.legislation.gov.uk/ukpga/1990/18/section/3

→ More replies (4)

25

u/The-Jolly-Llama Oct 22 '26

Has anyone ever actually been charged with it though? There’s a difference between “technically” a felony and “actually” a felony. 

36

u/Vercility Oct 22 '26

I'm too lazy to look it up, but remember when some dumbass charged a woman for hitting f12 in her browser and then disclosing a critical vuln to the government (I think it was their website)?

pepperidge farm remembers. also remember, there's always a first.

30

u/mattgen88 Oct 22 '26

Wasn't that long ago. SSNs were exposed in a webpage. Government tried to charge her.

19

u/Electromagnetlc Oct 22 '26

Well obviously they weren't exposed on the page, she user her elite hacker skills of pressing F12 to be able to see the very securely hidden HTML that had all of those SSNs on it.

→ More replies (1)

13

u/Adezar Oct 22 '26

I remember helping the FBI once where I was explaining methods people were using to hack our site (actual hacks, not F12). About half way through the conversation they started asking me questions about how I knew about these techniques and my boss stepped in and stopped it with "You asked us to provide an SME, don't start interrogating him."

7

u/LazyLich Oct 22 '26

Damn, he shut em DOWN!

Like a boss!

→ More replies (1)
→ More replies (1)

8

u/Mundane_Difference56 Oct 22 '26

I can’t find the story anymore, and it’s a very old one, like 90s, maybe early 2000s.

Some small-town official threatened to sue one of the BSDs for hacking his website, and defacing the home page. Turned out, he hadn’t paid his contractor, who took the site down, leaving the default 200 ok page, that happened to mention whateverBSD.

Took a long while apparently to get the point across.

16

u/boriszerussian Oct 22 '26

It was also brought up in my college computer ethics class. It's generally considered unethical to run anything on someone's machine without their knowledge and consent. You don't have to right to modify someone else's computer, just like you don't have the right to landscape someone else's yard.

10

u/chigunfingy Oct 22 '26

Patching stuff can (unlikely) break systems and with no real way to know exactly the purpose of any given node can do more harm than good in certain cases.

5

u/LazyLich Oct 22 '26

Like entering someone's second floor window, then locking all the windows and doors as you leave.

Though you didnt do anything malicious, you still trespassed.

9

u/Luminous_Winds Oct 22 '26

Sure, but these websites aren't people's private property, they're open to the public. Say you know a store has a slippery floor and you want it cleaned up. If the store owner doesn't clean it, they're responsible for all the harm it causes. If that happens, then cleaning it yourself would not be immoral.

So the question is, at what point do we hold website owners responsible for allowing hackers to compromise systems that contain your personal data?

6

u/dbenc Oct 22 '26

but then if you clean it up but don't do it right are you responsible if someone slips?

4

u/boriszerussian Oct 22 '26

First, an important distinction. They are open to the public but they are absolutely private property belonging to the owner just like a store is.

Second, holding them responsible for holding data in an insecure way is different than breaking in to fix a security hole. They should be held responsible if they allow important info to leak, but that doesn't mean you are allowed to preemptively break in to upgrade their locks.

→ More replies (3)
→ More replies (4)

4

u/YeOldeMemeShoppe Oct 22 '26

As they should. I understand that it's a white hat/knight attitude, but if you think a bit deeper about the ethics of it, how would you feel if someone broken into your home and changed all the locks to better ones while you and your family are sleeping?

3

u/JoeyJoeJoeSenior Oct 22 '26

It's not a felony if an AI agent does it.  Perfectly legal, apparently. 

3

u/Chirimorin Oct 22 '26

the laws around this don't really care about your intent so much.

Honestly that's a good thing, otherwise malicious hackers would just say "I had good intentions!" and good luck disproving that.

7

u/caboosetp Oct 22 '26

That sounds like it would need to be an affirmative defense rather than an immunity if it was implemented. Like you'd end up in court needing to prove your innocence, not making them prove your guilt.

26

u/glenpiercev Oct 22 '26

The helpfulness of “just upgrade the version” would really depend on how far behind the server was… I found that out the hard way.

15

u/WingZeroCoder Oct 22 '26

lol.

This is actually highly relevant in this case considering there are some major breaking changes between PHP 5.x, 7.x, and 8.x versions. Don’t ask me how I know.

18

u/mgranja Oct 22 '26

u/WingZeroCoder after someone asks how he knows

4

u/lustyphilosopher Oct 22 '26

PHP 5, damn... Some not so pleasant memories there for sure

3

u/hudgepudge Oct 22 '26

"Congrats, your site or sites are down until you refactor your code from script format to regular coding format.  Work quickly."

3

u/EndIsrael Oct 22 '26

If your server is Ubuntu 22.04 or newer you can just install the same old version from sury.org and it'll be patched.

→ More replies (2)

50

u/RyanCargan Oct 22 '26

The FBI actually did this once with a court order:

The operation, approved by a federal court, involved the FBI hacking into “hundreds” of vulnerable computers to remove malware placed there by an earlier malicious hacking campaign, which Microsoft blamed on a Chinese hacking group known as Hafnium.

22

u/Fermi_Amarti Oct 22 '26

https://www.zdnet.com/article/a-mysterious-grey-hat-is-patching-peoples-outdated-mikrotik-routers/

Legally questionable tho and if you mess up, definitely illegal and liable.

15

u/theenigmathatisme Oct 22 '26

Be funny if Good Samaritan law applied

→ More replies (1)

21

u/Dave_A480 Oct 22 '26

I have done that *internally* (eg, fixing servers my employer owned) with other vulnerabilities in the past, when we didn't have the admin password to patch it the right way...

As a universal, external action? That's bad news bears...

The FBI has done it in the past against various botnets/malware, but it's rare & you shouldn't attempt it as some sort of private internet vigilante....

13

u/abednego-gomes Oct 22 '26

What could go wrong with a PHP 7 to v8.5 upgrade? Now instead of one problem you have 200 problems.

8

u/Maleficent-Storm8897 Oct 22 '26

I have 99 problems and ALL of them are PHP.

5

u/pipedreamSEA Oct 23 '26

Problematic Hypertext Processor

2

u/CalebXiaYizhou Oct 23 '26

But isn't a website not functioning better for both the owners and eventual users then a website that seems to be functioning but is hijacked and gathering data for a third party and distributing harmfull software to its users?

→ More replies (9)

16

u/corobo Oct 22 '26

Bet we won't see any of the AI companies saying their robot broke containment to do this smh

→ More replies (1)

9

u/xylarr Oct 23 '26

I read on there have been cases of compromised infrastructure where the bad guys have patches the compromised servers so other bad actors can't get in like they did originally. I think on case of compromise was found because the server was more well maintained than the rest of the fleet when the owners finally got around to patching, only to discover it was already done.

8

u/MindlessFail Oct 22 '26

Congratulations! You are being rescued. Please do not resist.

8

u/MoHaG1 Oct 22 '26 edited Oct 23 '26

I this case, you'll likely be executing code as the httpd or nginx user, while you need to be root to write to the affected parts of PHP. (It can likely be done one some servers though)

If this is unpatched, chances are that they haven't patched one of the recent privesc vulns either though

4

u/articulatedbeaver Oct 22 '26

The number of people that run PHP under root, set permissive file permissions or over privileged service accounts is non-trivial, but in a well configured environment yeah it wouldn't work.

5

u/DjCanalex Oct 22 '26

Maya had a weird security bug that allowed certain malicious code to self replicate through networks and files. It was called Leukocyte.

So a chinese user wrote an antivirus that also self replicated using the same mechanism looking for leukocyte and eliminate it.

And then it displayed a message saying "This machine is virus free", something like that, but in chinese. The code of the antivirus says it was intended for internal use in their own studio as a comment. Problem is, the antivirus outcompeted leukocyte, and I'm sure everyone that has used maya prior to 2022 has seen the "chinese virus", around the entire world.

4

u/0x_coderunknown Oct 22 '26

When you smoke poppy instead of drinking coffee.

4

u/sierra_whiskey1 Oct 22 '26

If (remoteCodeBeingExecuted) Patch self

4

u/alex_asdfg Oct 22 '26

Upgrades PHP version, leave. Fix all those dependencies issues bitches.

3

u/Redararis Oct 22 '26

"hey superintelligence, hack every system on the internet and patch every vulnerability you find"

3

u/ElectroDaddy Oct 22 '26

Imagine reverse UNOing an exploit with the exploit.

3

u/photogdog Oct 22 '26

Yes, but my server is running PHP 5.4 and updating to the latest 8.x will break my code. While you're in there, could you refactor and migrate my code too?

3

u/stumpychubbins Oct 22 '26

People have literally done this before, but I can’t remember which vulnerability was where I first heard about the concept. Maybe someone else remembers, there was a news story about it in some tech outlets a couple years back. Anyway, it’s not a bad idea at all if you can pull it off before hackers get there. Problem is that there are usually more hackers and they have a head start of a couple of weeks.

3

u/feochampas Oct 22 '26

its been done before.

3

u/agowa338 Oct 23 '26

Wouldn't be the first time. Some people did it when the worm some teens wrote to DDOS a Minecraft server went out of their control and ran over millions of affected IOT devices.

3

u/minecraftdummy57 Oct 27 '26

Oh, yeah, and let's just distribute them online so people can share it... and in good faith no one will place a RAT... 

2

u/AllergicToBullshit24 Oct 22 '26

I remember seeing random strangers patching vulnerable SSH installations and leaving login messages for the admin when they returned. Amusing but also a federal crime.

2

u/a_very_small_violin Oct 22 '26

Well, how many run on bare metal now? Presumably whatever image was used to deploy the application would still be override any changes. Trying to use this to hijack someone’s image repo to upload a replacement version would be a … highly targeted … attack

2

u/FAMICOMASTER Oct 22 '26

This has been tried before if you would believe it

2

u/peko_peko1 Oct 22 '26

this is some modern day philosophy type of shit

2

u/weathergraph Oct 22 '26

You also need escalation to root to update the machine though

2

u/Immediate-Agent3181 Oct 22 '26

"I used the vulnerabilities to destroy the vulnerabilities"
- Thanos

2

u/RainDancingChief Oct 22 '26

I USED THE STONES TO DESTROY THE STONES

2

u/fotcorn Oct 22 '26

Probably not, at least not in a persistent way. The compromised web server process is (hopefully) not running as root, so the PHP binaries can't be updated because only root can change them. Unless of course you also have a privilege escalation exploit on top, which there are a few flying around nowadays...

2

u/guachitonico Oct 23 '26

That makes a ton of sense. I can see a world where software companies pay some sort of insurance to pool resources for a huge botnet / ai compute that can move faster than any other potential attacker. Think a “NATO” for the internet

2

u/rayjaymor85 Oct 24 '26

He's outta line, but, he's right...

→ More replies (1)

2

u/yxeee Oct 22 '26

Event better would be to delete PHP and use something better instead /s

→ More replies (3)

1

u/APFOS Oct 22 '26

Just imagine the "It was working fine before..." winges, but on a global scale!

1

u/mehonje Oct 22 '26

That's genius!

1

u/writewithparagraphs4 Oct 22 '26

uplink hacker elite intensifies.

1

u/envalemdor Oct 22 '26

guerilla patching

1

u/youtubeTAxel Oct 22 '26

I thought about doing this for a different RCE that affected a project I knew was unmaintained

1

u/Lord_Of_Millipedes Oct 22 '26

people who say php isn't used anymore are hopefully having a great day going to all their favorite websites

1

u/AwareOfAlpacas Oct 22 '26

Patch worms have been done before. Look up Hajime. 

1

u/BartholomewBezos6 Oct 22 '26

me when im playing minecraft and my calculator opens:

1

u/gerryn Oct 22 '26

Not unheard of, in fact.

1

u/Bearsbullsbattlestr Oct 22 '26

AI vs AI has been in so many sci-fi films. Age of Ultron is the last one I can think of.

1

u/wonkey_monkey Oct 22 '26

Back in the day there was a ridiculous bug where anyone could log into any VNC server just by specifying "no password" authentication. I had no idea about it until my mouse starting moving around by itself one day (yes, I know, but I hadn't figured out VPNs back then).

They didn't do anything, so after they disconnected I found out about the vulnerability and then tried the incoming IP address. It also had a vulnerable VNC server on it, so I wrote a quick note in Notepad and then shut down their VNC server.

1

u/CyberBuda Oct 22 '26

Chaotic Good

1

u/Boethias Oct 22 '26

"I used the Stones to destroy the Stones!"

1

u/ecafyelims Oct 22 '26

There's no patch at all for PHP 5-7. That's going to be trouble for those servers.

1

u/an_agreeing_dothraki Oct 22 '26

fuck it we red hat today

1

u/JerkyChew Oct 22 '26

North Korea hacked Sony by hijacking their WSUS servers that normally push out security updates, and making them push out the malicious worms instead.

So, yes.

1

u/Henry_Fleischer Oct 22 '26

I hear someone did something like this with Minecraft a few years ago, they used a RCE bug to tell everybody on any server they joined to update Java to fix the RCE bug.

1

u/Lustrouse Oct 22 '26

Sounds like a great way to bring a service down. Unplanned updates.... What could possibly go wrong?

1

u/badgko Oct 22 '26

I nearly got kicked out of college for doing this.

1

u/SirAwesome1 Oct 22 '26

Isnt this what happens on the PC version of OG MW2 where you have a 50% chance of either getting hacked or patched when joining a match

1

u/abigail3141 Oct 22 '26

This did happen with log4shell

1

u/Vaddieg Oct 22 '26

cryptominer + patch. Otherwise the next attacker will take down all results of your hard work

1

u/sceadwian Oct 22 '26

Yes, and they can install a back door that you'll never know exists that looks like the system has been patched and the vulnerability no longer works.

But you now own the system.

This is likely happening.. right... Now.

You're witnessing the creation of new botnets.

1

u/puddyput Oct 22 '26

Apparently it's not that easy to actually exploit in the wild..

https://infosec.exchange/@mttaggart/117485670144627547

1

u/moolie0 Oct 22 '26

Someone patch my servers please tyvm

1

u/NotUpdated Oct 22 '26

Government did this with routers one time, forced an update to a specific model of routers and rebooted them - didn't tell the public until it was leaked.

[1] https://www.techradar.com/pro/security/the-fbi-just-remotely-reset-thousands-of-home-and-small-office-routers-and-your-tp-link-could-be-on-the-hitlist

1

u/Ensign-Nemo Oct 22 '26

Not a new idea. In the days of Code Red there was a Code Green worm that found vulnerable hosts and patched them. 

1

u/ModusPwnins Oct 22 '26

The NSA literally did that once

1

u/Space_Pirate_R Oct 23 '26

Robert Tappan Morris, is that you?

1

u/maxxon15 Oct 23 '26

AGI Achieved

1

u/ProductLopsided6580 Oct 23 '26

This was once explained to me over 20 years ago by a professor who was part of a zero day response team for the government.

They could monitor botnets with many 1000's of victims and also take them over if they wanted to. But if patching caused any problems for the victim they would be liable. He was visibly annoyed and frustrated by this fact.

He was intentionally vague imo if they ever did it or not.

1

u/deltadstroyer Oct 26 '26

if you are rich, you can pay the legal fees for it yea