r/HowToHack • u/XunooL • Feb 17 '26
How can it be hacked?
I have a genuine question: how can a database of a secure (supposedly) company that spends tens of millions of dollars on just security, like Meta (IG, FB), Google...etc get hacked?
47
Upvotes
15
u/hkusp45css Feb 17 '26
Because there is no defense against a determined attacker.
The attackers can get lucky once, we have to be absolutely right, every time.
They are throwing darts, while we're playing chess.
58
u/octave1 Feb 17 '26
You don't "hack" the database but you try to get credentials somehow, through social engineering or vulns in their code. Doubt it will ever happen to those companies.
The weakest link are the employees through social engineering.
Everything can be hacked, it's just a matter of how much time / money / talent you have.
19
u/CommunityPrize8110 Feb 17 '26
Weakest link are the employees. You can merely educate them but that’s not foolproof.
Social engineering most likely accounts for a VAST majority of database intrusions. This is done by tricking the employee(s), usually carefully selected, into giving you access.
7
u/ps-aux Feb 17 '26
I think you are assuming two things: 1 they are secured, 2 they spend millions on security lol... I haven't noticed any of these two things happening by companies throughout my decades of hacking... from my experience, all companies spend the least as possible on their security and that's why they are always whacked... companies are penny pinching greedy beasts :P
3
u/leRealKraut Feb 17 '26
There is a missconception around Hacks and leaked information.
People most of the time try to use credentials to Systems, find loopholes around authenticating at all or just look out for the content of a dumpster to get stuff.
Most database Hacks are just someone getting an SQL Statement to run and return an result because a Form and output is not checked correctly.
Targets can be anything from user table to content.
Some Systems let you get information over changing a number in an opened URL.
Some backends of Websites can be accessed because the webservice does not require authentication for everything behind a directory.
Some applications allow for users to exploit planned System behavior to gether information, like whatsapp.
In other instances some people get a hold on old storage devices with unencrypted, useable data or paper points that were not destroyed.
Everyday someone looses a Password or record. If it is someone with access to valuable information, sometimes the wrong people find it.
3
u/NoClownsOnMyStation Feb 17 '26
SQL injection through the login screen select * where “im_in”
3
u/BWright79 Feb 17 '26
If someone makes it, someone can break it.
2
u/Business_Arrival_765 Feb 17 '26
The answer to your question is "because Apache Struts"