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 Actual Hacker 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"
2
u/Isaac_Atham Feb 17 '26
Well either you gain physical access or access via social engineering etc, you cant ”hack” meta you would with a very slim possibility hack a employee with access
2
u/GlendonMcGladdery Feb 17 '26
This question has already asked and addressed. A corporation with so many employees hires subcontractors and such. All it takes to breach is someone whom was laid off or fired They'll take paperwork with them on the way out so speak.
Mcafee and symmantec both do quarterly projections on virus trends based on how many geeks were layed off and/or don't have employment, for a reason.
2
u/Ronmoz Feb 17 '26
Phishing
1
u/Neverr- Feb 17 '26
Mostly through reconnaissance, enumeration, and initial access.
1
u/texcleveland Administrator Feb 17 '26
Most often it’s either social engineering (tricking someone who has access into giving you access), or misconfiguration, like leaving a port exposed on the public internet.
1
u/Funny-Artichoke-7494 Feb 17 '26
Easier than you think. The user is almost always the weakest link.
1
u/Jccckkk Feb 17 '26
social engineering…what nerd could say no to a temptress (or honeypot ).
1
u/[deleted] Feb 17 '26
There are these people called marketing and sales…
Occasionally they get some great idea and build some great database but fail to put a god damn password on the fucking database.
1
u/billdietrich1 Feb 18 '26
Please use better, more informative, titles (subject-lines) on your posts. Give specifics right in the title. Thanks.
1
u/creativeboulder Social Engineering Feb 18 '26
Everything can be hacked. If attacking it head-on (via sole exploit, etc) then there's social engineering (getting an employee to give up creds), among other methods.
25 years as an IT guy, coder, techie-- nothing is 100% unhackable. Nothing.
1
u/Wa-a-melyn Feb 19 '26
Obviously everybody mentions phishing. Once someone has access to the network on any level, they can do a lot more investigation into how it works and look for exploits, and eventually move laterally, or potentially find a privilege escalation. Eventually, maybe you could do DNS poisoning or a mitm or something and phish for more important credentials that would give you unrestricted access.
While there are some common tactics, there really is no single answer as to how this happens—the exploits are specific to each network.
1
u/RE_Obsessed Software Mar 02 '26
Just think about how massive their code base must be for any given product, subdomain, etc. Imagine how much of that was written by former employees, how much of it is legacy code, what percent of their code base was written over a decade ago. What don't they maintain anymore?
It's essentially scope creep over multiple years combined with other issues. Massive attack surface.
1
u/Pale-Refrigerator541 Aug 18 '26
Hack dls
0
u/[deleted] Feb 17 '26
[deleted] — view deleted comment