News for hackers. Stuff that matters.
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by mingus88 on Monday May 19, 2025 @09:49PM (#44036980)
Can you imagine co-opting a trusted and secure (and free) bit of software and just making it worse at seemingly every turn?

And charging for it?!

I’m not sure what is more embarrassing: to be the company or to be a user.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by hypeatei on Monday May 19, 2025 @10:07PM (#44037089)
Why would the company be embarrassed? The users (i.e. high level U.S. officials) did no due diligence. Of course a private company is going to take the easiest and cheapest route. If it goes bad, just shut down and spin up a new entity.

Some speculate this was intentional intelligence gathering by the Israelis which is plausible too.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by n2d4 on Monday May 19, 2025 @10:42PM (#44037251)
> Some speculate this was intentional intelligence gathering by the Israelis which is plausible too.

How does this make sense? If they were gathering data, why would they add a public download? Surely the Israeli officials would not want foreign powers to access this?

Per Hanlon's razor, I don't think this is attributable to anything other than incompetence.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by jojohohanon on Monday May 19, 2025 @11:23PM (#44037481)
There’s room for both sides of the razor. The heapdumpz could be there maliciously, but incompetently made globally accessible.
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by pigbearpig on Monday May 19, 2025 @11:37PM (#44037543)
From the Wired article: "The archive server is programmed in Java and is built using Spring Boot, an open source framework for creating Java applications. Spring Boot includes a set of features called Actuator that helps developers monitor and debug their applications. One of these features is the heap dump endpoint,"

So the heapdumps being available is a Spring Boot feature so it does not appear to be malicious.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by evrflx on Tuesday May 20, 2025 @01:07AM (#44037994)
This feature must be explicitly enabled, it is not on by default nor by accident.
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by bryanrasmussen on Tuesday May 20, 2025 @01:19AM (#44038042)
huh, I sure seem to be needing to debug this a lot, I guess I'll just leave it turned on all the time that way I can say a few seconds next time. Larry Wall says one of the virtues of being a great developer is laziness!
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by terom on Wednesday May 21, 2025 @08:22AM (#44050703)
Based on [1] it seems like one `management.endpoints.web.exposure.include=*` is enough to expose everything including the heapdump endpoint on the public HTTP API without authentication. It's even there in the docs as an example.

Looks like there is a change [2] coming to the `management.endpoint.heapdump.access` default value that would make this harder to expose by accident.

Let's look for `env` next...

[1] https://docs.spring.io/spring-boot/reference/actuator/endpoi...

[2] https://github.com/spring-projects/spring-boot/pull/45624

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by flarecoder on Tuesday May 20, 2025 @10:53AM (#44042327)
I'm the original author of the Spring Boot feature for heapdumps: https://github.com/spring-projects/spring-boot/pull/5670.

It seems that users commonly misconfigure Spring Boot security or ignore it completely. To improve the situation, I made this PR: https://github.com/spring-projects/spring-boot/pull/45624.

When the PR was created in 2016, endpoints were marked as "sensitive" and, for example, the heapdump endpoint would have to be explicitly enabled. However, Spring Boot has evolved over the years, and only the "shutdown" endpoint was made "restricted" in the later solutions. My recent PR will address that weakness in Spring Boot when users misconfigure or ignore security for a Spring Boot app so that heapdumps won't get exposed by default.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by testplzignore on Tuesday May 20, 2025 @02:55PM (#44044688)
In my opinion, the original sin of Spring Boot Actuator is allowing server.port and management.server.port to be the same. It makes it too convenient for developers to skip the security review that would be done for opening a non-standard port.

I think it would be wise to either disallow the ports being the same, or if they are the same, only enable the health endpoint.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by smaudet on Tuesday May 20, 2025 @07:52PM (#44047058)
I'm more of the opinion that developers will make smart choices, when motivated.

Sure, punching buttons for money is a widespread issue in the industry, but devs also like convenience.

Security has the hard problem that it's infuriatingly difficult to troubleshoot (ever tried to write security policies for an app or figure out how to let an app through a firewall, or set of firewalls?), and there's a bit of a culture of "security by obscurity".

So it's kind of expected that this is the behavior...

Sure some people will really just not care, mistakes will be made, but secure defaults, easy to configure and simple to understand are features not often seen from security products generally. This is driven by poor motivations from security folk who want to protect their industry...

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by stackskipton on Tuesday May 20, 2025 @03:23PM (#44044967)
I don't get why 2+ years after Log4J we are still dealing with this from Java libraries developers.

Your end users are not security savvy, they will never be security savvy and you need to protect them from themselves instead of handing them loaded handgun. This language more than most is filled with people punching buttons for paycheck.

- Signed, Angry SRE who gets to deal with this crap.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by barbazoo on Monday May 19, 2025 @11:21PM (#44037461)
Two things can be true at once. Them using their access to unencrypted messages for nefarious purposes and them being incompetent at the same time leaving that endpoint open.
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by notpushkin on Monday May 19, 2025 @11:23PM (#44037479)
I mean, one doesn’t preclude the other. This could be an incompetent intentional intelligence gathering.
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by g-b-r on Monday May 19, 2025 @10:59PM (#44037347)
I mean, it could theoretically have been to provide plausible deniability, but it seems extremely more likely to have been incompetence and carelessness (and if they were also sending everything to Israel, it was probably through some unencrypted ftp upload).
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by michaelt on Tuesday May 20, 2025 @01:05PM (#44043694)
Imagine you ran a spy agency and you were infiltrating signal, Facebook, Google, aws, cloudflare, and so on.

Would you have them make a secure back door that could only be intentionally designed, and potentially traced back to you?

Or would you just have them be incompetent in plausible, deniable ways?

Nobody’s getting shot for espionage because they chose log4j and it had the shell shock bug.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by dylan604 on Monday May 19, 2025 @10:26PM (#44037187)
>Some speculate this was intentional intelligence gathering by the Israelis which is plausible too.

Which does not bode well for the customers' counter intelligence abilities

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by donnachangstein on Tuesday May 20, 2025 @01:23AM (#44038066)
> The users (i.e. high level U.S. officials) did no due diligence.

But why would they? It's not their job. They have massive IT staff supporting them. "High level U.S. officials" are just executives; the pointy-haired bosses to the pointy-haired boss. Only difference is these wear little decorative pins over their breast pocket.

Every Fortune 500 company has dedicated IT staff for execs; someone you can call 24/7 and say "my shit's broke" and they respond "we just overnighted you a new phone".

These people couldn't even install an app on their MDM-controlled device, now the narrative has become we expect them to be making low-level IT decisions too?

Next week we'll be scrutinizing Pete Hegseth's lack of thoughts on rotating backup tapes.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by Jedd on Tuesday May 20, 2025 @01:36AM (#44038122)
> ... narrative has become we expect them to be making low-level IT decisions too?

I think that's a misdirection.

The narrative is that:

a) they were using a compromised piece of software

b) they should not have been using that software - not (necessarily) because it was compromised, but because it wasn't US DoD accredited for that use case.

(I understand your point that these guys are not tech savvy, and do not need to be, but they should be regulation-savvy (clearly they either are not, or willingly broke those regulations), and they should be following organisational guidelines that presumably cover the selection and use of these tools types.)

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by da_chicken on Tuesday May 20, 2025 @01:48PM (#44044054)
Yeah, and the purchase approval process is in place specifically so that someone who knows what to look for has looked at it and verified that it's an acceptable configuration.

This is the exact same problem as Clinton's blackberry enterprise server. Doing it right was hard and time consuming, so they ignored that and did what they wanted.

Only we should be a lot more demanding that our officials in 2025 have a better basic understanding of the importance of computer security than in 2005.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by 3rdDeviation on Tuesday May 20, 2025 @02:06AM (#44038274)
Would tend to agree with most of that, but I think the assertion is Petey needed to ask his IT leadership to do the due diligence before diving in, not that he needed to decide using his own depth of skills and experience.

I assume he did and they said it was a bad idea - the memo they'd released a few weeks prior about Signal vulnerabilities seems to suggest a lack of faith in that approach - but he was already banging away on his phone with all the grocery reminders and definitely not battle plans he needs to keep pushing out. Which is also how it feels in the enterprise space these days.

Strange thing to see our bureaucracy start to behave like a corporation instead of the other way around.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by danieldk on Tuesday May 20, 2025 @01:41AM (#44038144)
It is too early to tell, but given that these people openly attack scientists and other experts (they don’t agree with), I wouldn’t be surprised if they ignored advise of their IT experts.
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by input_sh on Tuesday May 20, 2025 @07:09AM (#44040146)
It's not too early to tell, we knew from the beginning that the use of Signal (let alone its clone) was not authorised to be used for such communications.

Yes, there's a fleet of people who are supposed to make such tech decisions. The people involved specifically went against those rules. The existence of a group chat using an authorised app is a violation on its own, adding a journalist to it is a violation on top of a violation.

Adding a journalist was accidental, but using such an app (despite it not being approved) is very intentional.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by cornholio on Tuesday May 20, 2025 @01:54AM (#44038206)
IT staff that knew it was illegal to provide them tools for a conspiracy were fired or silenced. So the only people left were their cronies, who instantly complied with their illegal request, to the best of the cronies' abilities. For such national failures, the buck has to stop at the very top, not on some IT monkey.

This is typical for highly corrupt governments and autocracies, they crumble from within because the autocrats can't trust random, competent people so their inner circle becomes saturated with people who are selected on the basis of loyalty not competence, and these people end up making the most important decisions and running the country.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by hristov on Tuesday May 20, 2025 @01:40AM (#44038136)
Their massive it staff provides them with a way to communicate securely and they ignore it deliberately so that their communications are not preserved for history or for future court cases.
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by TeMPOraL on Tuesday May 20, 2025 @02:33AM (#44038431)
One man's low Integrity (in the "CIA triad" sense) of communications is another man's improved plausible deniability.
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by nkrisc on Tuesday May 20, 2025 @07:16AM (#44040203)
> now the narrative has become we expect them to be making low-level IT decisions too?

If their staff makes bad decisions, that’s their failure too.

We expect them to be ultimately responsible for what happens on their watch.

Was it Truman who said, “Woah, don’t bring the buck anywhere near me, it stops with my assistant”.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by aucisson_masque on Tuesday May 20, 2025 @04:10AM (#44039042)
The Israeli would have made it secure so only them can access the data because knowing someone else's secret is worth something only when it's still a secret, if china, Russia and everyone can read the log of the American government it's worth nothing.
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by kube-system on Monday May 19, 2025 @10:21PM (#44037168)
The changes to the application are intentional by all parties because message archiving was required by law.
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by brookst on Monday May 19, 2025 @10:36PM (#44037235)
Sure, but they were not required to be done incompetently and insecurely.
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by sneak on Tuesday May 20, 2025 @12:14AM (#44037729)
The fundamental concept of plaintext archiving (escrow) of messages from e2ee messaging apps is insecure by most definitions.

They could have used user-custody public key cryptography, where the end devices have the pubkey of the customer, and archive only re-encrypted messages to TM that they can’t read.

That is not, of course, what they did. They just archive them in plaintext.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by kevincox on Tuesday May 20, 2025 @08:08AM (#44040620)
I don't think it is. I can archive my own messages and E2E security on the messaging layer means I don't have to trust the operator of the messaging service to not read my messages because they can't. The choice of how I archive the messages is completely orthogonal to the choice of messaging platform security. I could choose to use an E2EE approach if I want but in that case it probably wasn't even desired as the point was to have these be archived for audit purposes. (Of course they are more secure options such as archiving to an audit key, but this is still orthogonal to the concern of the messaging protocol)
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by _kb on Monday May 19, 2025 @11:05PM (#44037386)
Well, I suppose technically this /heapdump endpoint does satisfy that archive requirement.
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by HenryBemis on Tuesday May 20, 2025 @02:08AM (#44038282)
(read with sarcastic tone) But hey, this is a 'lite' version or a 'red' version (icon is red) or a 'purple' version (icon is purple), so I am cooler that then others that have the standard.

I haven't used WhatsApp for 'a very long time' as I have exited the FB ecosystem, but back in the day I remember seeing "lite" or "WhatsApp+" or other variations of the software. I wouldn't be surprised that those "lite" or "+" come with baggage.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by yapyap on Tuesday May 20, 2025 @03:24AM (#44038726)
User for sure
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by miki123211 on Tuesday May 20, 2025 @06:34AM (#44039944)
This is why Signal is so opposed to third-party apps (or forks) that connect to their service.

If you want to keep the branding of Signal being the secure app, you need to make sure that all Signal users are actually using a secure version of Signal.

If an insecure fork (like this one) becomes too popular, most groups will have at least one member using it, and then the security is gone.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by calvinmorrison on Tuesday May 20, 2025 @08:02AM (#44040575)
That doesn't seem to be a problem for protocols and having a single implementation can lead to bugs that defy spec yet cause no issues obviously.
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by ctxc on Tuesday May 20, 2025 @09:09AM (#44041194)
But you're not branding or selling implementations
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by ctxc on Tuesday May 20, 2025 @09:10AM (#44041211)
*protocols
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by pchristensen on Tuesday May 20, 2025 @11:37AM (#44042818)
That was Apple's same reasoning for shutting down that iMessage client app. These leaks seem to justify their concerns.
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by xandrius on Tuesday May 20, 2025 @04:02PM (#44045332)
Nah, that was to keep their users hostage and force them to buy a iPhone.
Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by fn-mote on Tuesday May 20, 2025 @06:51PM (#44046719)
This is a shallow dismissal of an argument that should be given more consideration.

Sure, this is HN, we know one of the effects of locking the ecosystem and coloring in-system messages differently is to encourage people to be in the ecosystem.

At the same time, you ALSO need to consider that obviously there will be leaks.

Malicious/advertising apps will target the new messaging interface to gain more data on their victims, etc.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by smaudet on Tuesday May 20, 2025 @07:36PM (#44046976)
Safe encrypted group chat with stangers is an oxymoron.

Locking down a platform is not an acceptable solution to the above conundrum - it doesn't matter if the user is using an official device/app whatever if they are untrusted. They can always turn around and leak everything you say without any technical measures.

Should we have no security? No, if you want to color messages differently based on perceived platform, fine. This is just an illustration that no technical measures can replace the fundamental trust necessary in these types of situations.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by aesh2Xa1 on Wednesday May 21, 2025 @10:16AM (#44051705)
Hm, my understanding is that TeleMessage archival works with iMessage in the same way it does with Signal.

The third-party federation problem is real, but the vulnerability caused by TeleMessage isn't solved by removing federation.

Re:DDoSecrets publishes 410 GB of heap dumps, hacked from Te... by xorcist on Tuesday May 20, 2025 @02:10PM (#44044278)
If your product is a strong brand then that would make total sense.

I believe the main criticism against Signal is that they should focus on getting widespread traction of secure messaging, and that perhaps the brand can be a relatively distant concern.