p.enthalabs

Show HN: Steal My Bitcoin

stealmybitcoin.com · Read Story HN original

Made this because I'm curious if anyone out there has figured out how to actually use this PHP RCE we spent the last few days panicking over. Have fun!

Comments

Nice CTF! I hope if it's captured by a LLM we'll get a write up as to how it did it.
You have to be really confident that the PHP RCE is not anything serious, 500$ is quite a bit?
It's more like they're offering $500 to be taught how to utilise the exploit.
There’s a lot of techies on this site for whom that’s peanuts.
They should consider donating to the PHP Foundation
I'm sure OP is a good person.

But if they were not, and had ill intentions, they might see $500 as a very inexpensive way to purchase a working exploit to use against others.

Any exploit might be interactive with a backend component that generates and serves payload components based on interactive responses.

OP (and anyone else who exploits the server) would be able to see the transcript between the backend and the vulnerable server, containing the payload customised for the server, but not the actual code of the backend. This would be useful if it was a 0day vulnerability, but with a disclosed vulnerability getting a payload that doesn't work except on their server, without the code that generated it, might not be that much value over what they already have.

That said, there are other ways to scam by structuring things like the OP (none of this should be taken to imply the OP has actually done this, but rather why this structure as a general approach might be a bad idea):

* This could be a 'stone soup' scam where the OP has the wallet keys (obviously), and puts this up to bait the addition of more funds into the wallet by other interested people. The key might not actually even be on the server, or it might not be vulnerable. Once sufficient other people add funds, the OP could withdraw the funds, recouping their original funds plus anything others added. * This could be run as a propaganda scam either to falsely sell that it isn't an easily exploitable vulnerability when it is (by making it unreasonably difficult to exploit compared to real-life deployments), or to over-inflate how exploitable it is (by an insider withdrawal from the wallet). Manipulating public opinion could allow an attacker with a working exploit more time, or help to sell services to fix the problem.

I think an alternative scheme that is less vulnerable to scams would be to have a ZKVM (Risc0 or similar) executing vulnerable code, such that the attacker needs to produce a zero knowledge proof transcript of getting the ZKVM into a particular state that would not be possible if they didn't have an exploit. It should also take an Ethereum address as a public input. Then write an Ethereum contract that will allow funds to be transferred to the public input Ethereum address if submitted with a valid proof transcript, and back to the source of funds after some time has passed. Everyone who wants to add to the jackpot could deploy their own version of the contract, so the one proof transcript could claim from all of them, but if unclaimed the funds go back to the source.

Alternatively (avoiding the risk exploits may be so large as to make the cost of producing the proof transcript impractical), they could be built using a public cloud provider's trusted computing offering (e.g. Google Confidential VMs). The person making the challenge could make it so the derivation (NixOS for example) to produce the entire image executing on the cloud provider in a deterministic way (with publicly known source, and hash codes of each stage publicly available). Then, from the code with the known hash, they use the vTPM to generate an attestation that a key was generated while the vTPM PCRs were in a known state (corresponding to the publicly reproducible hashes), and ensure the only way to access the key from the instance is via an exploit. It would also include logic to generate and wrap a Bitcoin wallet key, and emit the public key (with the attestations and a signature linking back via a vTPM attestation to the cloud provider's key). This way, unless the cloud provider is also in on the scam, people could be assured that the OP isn't scamming them.

It is a price signal. They expect to lose the money they want to show that nobody has an automated swarm just pwning every server running PHP connected to the internet. At least not yet, on day 5 and counting.
That's a good way to make claims about existence of a trivial exploit in the wild falsifiable.
A reminder that this cannot falsify the existence of an exploit, trivial or otherwise.

It can only show you if someone has used an exploit against this server.

It cannot even show that. The server can lie (trivially).
The block chain can't though once the coins are transferred
That assumes the key is actually on the server.
I assume even if it isn't, attacker could deface the website so heavily everyone would know they win.
The server could simply be running a patched PHP.
Sure. Also, we have to trust owner of the site. So it cannot show anything, strictly speaking. Still, it maybe puts a price on exploit demo. Some say "it goes around twitter", "bots are probing and exploiting it", "it's a biggest thing ever in cybersec history, invest in AI now". Some say "it's a fud".

Are these 500$ laying on a ground for anyone to take?

> A reminder that this cannot falsify the existence of an exploit, trivial or otherwise.

No, it's a not a zero knowledge proof. But if the site owner is a generally trustworthy person, then I feel that this effort is strong proof the exploit is not trivial.

Interesting idea! Would like to know how much time need to spend.
The server is getting overloaded, so here's the text for reference:

    Steal my Bitcoin
    0.65 hours without a successful hack
    
    There is a bitcoin key hidden on this server worth about $502.
    
    It is accessible to the PHP user account through the print-flag binary.
    
    This PHP version was selected from before the PHP2SHELL CVEs were released.
    
    First person to get the wallet wins. If you don’t need the money, consider donating it to those who do: givewell.org.
    
    All traffic is logged. This is a known vulnerable machine, so we cannot guarantee privacy. Other attackers may access or monitor activity and data beyond our control. Do not submit anything you want to keep private.
    Challenge wallet
    Explorer ↗
    
    bc1qlnu5…t3cxqy
    
    0.00625104 BTC
    
    ≈ $502.35 USD
    stealmybitcoin.com · Terms of participation
" All traffic is logged."

For $500 he can look in the logs and find all manner of new exploits, or new deviations of the existing ones, he can then sell for thousands. Clever business model lol

These projects would be more interesting and ethical if the current and historical logs were instantly put up somewhere public in real-time for anyone to observe.

Regardless, I'm guessing the smart hackers aren't going to bother.

Author is a genius troll.
I would hope it is logged. would be a pretty shitty plan if you don't read the traffic logs
You are both right.
Great way to inject some price information into the “AI automates exploits at scale” narrative. “AI can now chain complex exploits, it’s point-and-click pwnage, you say? Over or under $500 a pop?”
$500 is the value of the prize. We don't know what the price someone will pay for a lottery ticket is.
It’s not very much information, I agree. Even such scant information, however, is a significant and refreshing improvement on the current state of the narrative. Kudos to the servermaster, I say.
I'm seeing a few comments that say $500 isn't enough, and its not worth it for them to try to hack it. But if it costs fewer than $500 of tokens in an AI, then it seems like it is? I thought a lot of the claim people are making is that you dont actually need to hack anything you just ask an AI and it does it. The exploitable bug is public and documented. All the pieces are theoretically there, and there are repeated claims that AI is trivializing exploits and its super easy to hack things now.

If that were true, and someone can hack the server for less than $500 of tokens, its an easy profit.

Bahaha someone added to the fund. It’s now $1004
That's way funnier than taking it honestly
How so? Anyone can do this, if it fits their agenda. Especially useful way to use your stolen/extorted BTC. If I had an exploit for this right before or right after embargo was lifted, and I could do that again, then it is in my interest to have cybersecurity people get more lax. For example, any secret agency in the world could be behind such a psyop. But also any criminal group or company invested in this field. You seen recently (Shinyhunters) how people can wear double hats.

Another trick could be to increase hype. Original author could've done that, for example because they always planned to burn 1k USD in BTC on this for whatever reason.

And then there's the trick to hope others follow, after which he, ehh, magically takes the money. That's a bit akin to ICO scams.

Can I prove any of the above theories? No. But the author cannot prove their motives are sincere either.

Yep! Modern Coliseum. We just need a live feed.
imagine having so much $ lying around that you do that

i picked the wrong profession

Maybe your username could have been paulrichguy and things would've been different.
I sometimes posted a donation link or joke site and got surprisingly large donations.

Made my tax audit rather painful.... "I posted a joke on the internet about binary numbers not being worth anything and someone gave me $10k of bitcoin that I'm now declaring - is it income for the work of writing the joke, or a gift? The sender likely didn't know who I was, and was likely overseas but I cannot prove who they were or which country they were in".

Wouldn't it be the same as what the tax authorities expect of street buskers, where something was done publicly (just here on the internet) and as a result randoms gave you money/cash (here again the digital equivalent) after the fact with no strings attached?
Yes, just the auditor looked like she was ready to call in the police for fraud when I said it.

Also, I live in a place where that was probably many months pay to the auditor.

0.02500416 BTC

≈ $2,018.29 USD

Now

from flagged wallet? That'd be even funnier.
This could be an interesting bug-bounty type of initiative. Setup a system, lets other dudes at their expense battle for scraps?
This is whack. Op has setup the server to be impossible to exploit, then challenged people to exploit.

The non default php settings he set break the exploit.

> The non default php settings he set break the exploit.

If that's the case, then there is a mitigation for all vulnerable versions, but the team that released php2shell said there is absolutely no complete mitigation and every PHP version between 5.4 and these latest updates is absolutely vulnerable. So which is true?

Well, it's true that serving static HTML through the PHP dev server is a mitigation.

Unfortunately that's only enough to serve a static site and definitely not why or how anyone deploys PHP.

such a cool idea
Made tough here as you’re behind nginx w/ a 1MB request body cap! Sweet idea :)
This will go unclaimed for a bit. It may still get claimed within the day, but

People do have the exploit. The risked opportunity cost of this being a honeypot (and handing over a functional exploit) vs just… not participating and hacking higher value targets (offensive actors) or not circulating any additional details (defensive actors who have privileged intelligence about the vulns) I just…

The value proposition here is so hilariously low for what is required to demonstrate stealing the bitcoin at all.

That doesn’t mean that people won’t try, and perhaps even succeed! But to what end? Demonstrating terrible math skills and a fundamental misunderstanding of the economics at play?

I, and many of my friends and cooks could take this easily. The difference is we know not to.

Make it $15-25k and it’ll get yoinked instantly, most likely without using PHP2Shell at all.

It's worth it to someone.
I suspect this is going to be more a point about the fact that most PHP server configurations do not have the ability to be exploited by the recent vulnerability that made people think the AI vulnpocalypse was here
If the actual price tag behind the “AI can trivially automate exploits, be afraid” narrative is more like $15,000 and not like $150, that puts the narrative in a very different light.
>and handing over a functional exploit

There are dozens (or hundreds) of functional exploits already. The problem with php2shell exploits is that (as of now) there's no "one exploit pwns all", and researchers need to spend nontrivial amount of time on every (potentially) exploitable target.

So I don't think I agree - it's a fun challenge for the itsec people around here, and some people will definitely try. There's no real opportunity cost here. The only problem is that (as of now) exploiting PHP requires some knowledge about the server configuration, and we don't have that here.

> there's no "one exploit pwns all"

I think what he's saying is if you had that, you certainly wouldn't use it on a known honeypot for 500 bucks.

> The only problem is that (as of now) exploiting PHP requires some knowledge about the server configuration, and we don't have that here.

Exactly. This server is exploitable, but not with an off-the-shelf PHP2Shell PoC someone found on GitHub. The PHP2Shell exploit would need adjustment to the specific application configuration, and to that end, you’ve come to the same conclusion I was implying.

The easiest way is to use PHP2Shell _with_ another unknown vulnerability in the stack, such as nginx etc…

The challenge is trivial to those who know better than to even try. You cannot succeed at it without giving away far more than you could ever possibly hope to gain.

Of course, there’s always the wildcard of someone throwing away the nginx 0-day just to be funny.

Correct me if I'm wrong but isn't every PHP RCE... 2 shell?
> But to what end?

It is just kind of fun to poke at something like this.

> Demonstrating terrible math skills and a fundamental misunderstanding of the economics at play?

I don't give a shit about the $500, nor would I ever attempt actually hacking something that wasn't explicitly a game (like this).

> The difference is we know not to.

Borrrrinnnggggg

> I, and many of my friends and cooks could take this easily.

Sure you can.

These grapes are exceptionally low hanging and perfectly not sour, but I will not deign to pick them even though I could obviously.
Two economists walk past $500 lying on the ground. “I know nobody leaves hundred dollar bills lying on the ground, but that really did look like five hundreds bucks back there, should we go back for it?” Says the first. The second replies “I don’t turn around for less than $15,000.”
Besides, someone is probably watching so they can learn how to pick up $15,000 whenever they find it! I'm most certainly not going to tell them.

Hillarious how people are like "I don't want my AI agent to do this hack, because people are probably watching the server, so they will see what the agent outputs." Hah, they can also prompt an agent for less than $500 to find out (also the CVE is public info).

It really just depends on how someone values their own work. When I was a child, I grabbed any money I saw on the ground, even pennies behind crates, as that was my sole "income". I don't anymore.

Your joke does remind me of a time I was doing a work errand with a colleague and he was upset that I didn't turn around and park so we could rush to pick up the cash that was on the ground that we passed. It was probably a dozen bills, but we weren't close enough to see face value. The premise was absurd to me but for him it would have been worth it. At the time we were just out of high school, and his very wealthy parents would have given him anything he asked for anyway, so I didn't see why he cared.

Part of it is the value, part of it is the game.

I suspect you could have quite an interesting experiment at Devos or Martha's Garden or similar; I suspect Warren Buffet would stop to pick up a dollar.

I'm probably not going to stop at freeway speeds for coins or a few bills, but at surface-street speeds? I probably would, more for the game than for the value.

> a fundamental misunderstanding of the economics at play

I’d say you’re the one who doesn’t understand the economics at play here. To me and I’m guessing the OP it’s quite simple. Have the exploits become common/simple enough to be worth $500 yet?

Can you spell out the economics for us?

Let's assume I am a white-hat hacker with access to this allegedly widespread exploit. Obviously, I understand why a nation-state attacker wouldn't want to share their exploit here but what do I as a random citizen stand to lose? It's not like I care about hoarding the exploit to pwn innocent civilians.

You seem to imply there's some economic reason such a white-hat hacker wouldn't take the $500 but don't actually say what it is.

You, the white-hat hacker would be concerned that your attack exploits payload will be logged either by the potentially malicious site operator who could be using this to gather various working exploits, or by other bad actors who already exploited the site before you. Unless your exploit itself is already well known and fully public that is.
Your exploit payload for a patched vulnerability?
PHP runs something like 75% of major websites. It's unlikely they have all been patched.
What an insufferable comment. For all the hullabaloo discussing the economic value of time about $500 being an insufficient prize, you still spent what I can only assume is several minutes penning a comment that derives you zero economic value whatever.
> handing over a functional exploit

I thought the exploit was trivial and we all need to be extremely worried and take down our php services until a patch? So what exactly are you handing over?

> I, and many of my friends and cooks could take this easily.

Extreme doubt.

Every reason you just gave for not hacking this server is also true for servers which don’t have a $500 prize, which is almost all of them out there.
This is a server that allegedly has some BTC on it (AFAICT it’s just a claim made by the website itself, zero corroborating evidence), definitely nothing else valuable, and likely has a lot of monitoring to capture whatever exploit you send, and with a less-vulnerable-than-usual setup. Unless you’re really desperate for the money and want to take a gamble on the server having the not very meaningful bounty it says it has, it’s strictly negative value compared to the average production php server that’s still unpatched. If I have a working exploit I’m mass deploying against everyone, I too would skip this one, similar to how mass market malware tends to disarm itself when it detects security research tooling.

No, I don’t think actual working exploit is trivial either, but people are wayyyy overselling this stunt in this thread.

The average PHP server that is unpatched now will remain unpatched after OP publishes the exploits because that server’s admin is clearly not scouring the web for security vulnerabilities.

Also, an increasing number of admins of PHP servers probably are no longer alive, so they will not be applying security patches.

80h ago everyone was advising everyone else to take all their websites immediately down.

Now it's only worth it to hack a website that's asking to be hacked if the prize is $15k.

Very well said. This is one of the most unintentionally hilarious posts I’ve ever read on HN.
80h ago we had no info other than a vague post from the php page saying a massive security flaw will be announced tomorrow. And a post from a PHP core dev saying shut it all down.

Everyone with inside info was sounding the alarm so the rest of us had to take it incredibly seriously.

> I, and many of my friends and cooks could take this easily.

No, you couldn't.

It runs PHP 8.4.26 (and nginx). Might be useful for others.

Also, the only pages I found are static and not an actual PHP entry point. If it doesn't run any PHP, it's not vulnerable to PHP2Shell. At least I think that's how it works.

I'm a bit curious how you found that.
Fingerprinting for the PHP version, a proxy will tell you what it is most of the time as well.

  curl -sI http://stealmybitcoin.com/
  HTTP/1.1 301 Moved Permanently
  Server: nginx
  Date: Sat, 24 Oct 2026 22:01:11 GMT
  Content-Type: text/html
  Content-Length: 162
  Connection: keep-alive
  Location: https://stealmybitcoin.com/
Edit: Not so easy for this. ProjectDiscovery's httpx could not find the php version. Interesting.

  $ curl -sS -D - -o /dev/null -X FOO https://stealmybitcoin.com/
  HTTP/1.1 501 Not Implemented
  Server: nginx
  Date: Sat, 24 Oct 2026 22:06:58 GMT
  Content-Type: text/html; charset=UTF-8
  Content-Length: 495
  Connection: keep-alive
  Host: stealmybitcoin.com
  X-Powered-By: PHP/8.4.26
So expose_php is On and he filters X-Powered-By in the response when legal HTTP verbs are used, but nothing catches the illegal ones? Interesting.
No, PHP's static handler (php_cli_server_begin_send_static) doesn't emit X-Powered-By but the error page handler (php_cli_server_send_error_page) always does.
If someone did have a working exploit, is $500 enough for them to give it away to whomever is monitoring this honeypot?
You have not proven the key really is on the server. From a game-theory point of view I have no reason to believe it is there, and thus no reason to attack.
Not sure that logic really holds up. If the cost of trying is low, why wouldn't you?
This is where I am, currently. There's a lot of talk about the low opportunity-cost here, but I think that relies on the assumption that there also isn't a single opportunistic person out there with access to the RCE. That doesn't strike me as a strongly supported assumption, in my experience.
For all I know, it's a straight up scam. Someone already sent more bitcoin to the address to double the bounty.
Well, it wasn’t!
what a pedantic way to look at the world
You may need to brush up on your game theory. It's worth it to spend $1 for a 1% chance to win a million dollars. You don't need to be certain the key is there for it to be worth it to do a supposedly trivial exploit.
Your giving away the exploit though so it's not really only $1. How much is having it actually worth, probably more then that, probably more than $500 too.
The exploit is supposedly so trivial that everyone needed to take down their services until they could patch? There should be nothing to give away here, which I think is the point. Either it’s trivial and you swipe the $500 or it’s not and you save it (assuming you have it). In the latter case you shouldn’t really be worried, since they won’t burn an exploit on you either.