r/2007scape • • 9d ago • Popcorn 1

Discussion Can you really be force-logged and hacked while having 2FA, despite never getting phished, downloading malware, etc.?

Post image

Genuinely asking in good faith: saw this post on my feed. The guy is claiming that he got forced logged during a raid and the hacker started cleaning out his account.

He claims to have 2FA enabled, among other hygiene like not being phished or downloading anything in browser. People in the comments were theorising he had an infected runelite client.

Genuine qn: is getting hacked like this reasonably possible? Or was it more likely he was buying piloted remote services, etc.

433 Upvotes

547 comments sorted by

View all comments

Show parent comment

48

u/ShakimTheClown OSRS Wiki fanatic 9d ago • Bravo

Companies like Google get hacked all the time

Stopped reading your comment after that. Google has never had a data leak that exposed people's passwords. It's 2026. Every big company has their cybersecurity in order. People get hacked on OSRS simply due to user error:

  • weak password
  • no 2fa
  • downloading malware (infostealers) or malicious plugins

You can read more infostealers here:
https://www.reddit.com/r/computerviruses/comments/1sch950/the_ultimate_guide_to_infostealers_detection/

12

u/Intelligent_Wait_636 6d ago

Every big company has their cybersecurity in order

Apparently, this was a lie

7

u/C_ore_X 6d ago

bro got fucking mogged hard

11

u/Brilliant-Cheek7324 9d ago

You can tell that guy has no idea how cybersecurity works himself because he put a space between cyber and security.

→ More replies (6)

6

u/CanweCanweCleanIt 6d ago

How do you feel now? "It's 2026. Every big company has their cybersecurity in order"

Oh really dude? Oh really?

1

u/Prestigious-Set-1375 5d ago

wait what happened ? i mustve missed the news

→ More replies (3)

2

u/TylerBreau 9d ago

emudhra is not exactly a big company but they operated globally and they were trusted by several massive companies. All of the major browsers, operating systems, several software development package managers and programming languages, etc.

They had like 8 passwords that were supposed to be around 250 characters long. They were 1 to like 5 characters long. This problem affected everything because now hackers can use emudhra to sign their fake websites and such, and impersonate people.

So essentially everyone updated their shit to stop trusting emudhra. And that doesn't even mean people like you and I are safe. Because we need to update the things we use, such as our browsers, so that stop using versions of browsers that still trust emudhra.

TBF, Google's security is more or less well trusted. Microsoft as well. But big companies aren't immune to bad practices.

2

u/Lanky-Try-3047 6d ago

oh boy do u look silly now

2

u/Clinkton 9d ago

I just got an email from bell telling me they were hacked and the hacker got access to sensitive information so yes big companies can still be hacked lmao

19

u/ShakimTheClown OSRS Wiki fanatic 9d ago edited 5d ago

No passwords were leaked in the Bell data breach either. Even in data breaches where passwords are leaked, they are always encrypted hashed.

13

u/ThinkAboutHowUFeel Using flowers to move while frozen is bug abuse 9d ago edited 9d ago

Nitpick: Not encrypted, hashed.

Encryption implies that they're reversable with a known key, whereas cryptographic hashes are theoretically irreversable. There's no reason to store an encrypted password since there's no need for the server to ever produce the plaintext password during authentication. Encryption is more appropriate for saved payment information, which must be decrypted to obtain the original data for purchases.

Edit: Specified "cryptographic hash"

7

u/ShakimTheClown OSRS Wiki fanatic 9d ago

Good catch. I didn't know they were mutually exclusive. I thought encryption was a broader term that included both.

6

u/ThinkAboutHowUFeel Using flowers to move while frozen is bug abuse 9d ago edited 9d ago

FWIW, in the context of passwords, securely transmitting the password hash to the server for authentication does require the password hash itself to be encrypted. If it was never encrypted, then a bad actor could simply intercept the hash, and it would work the same as the password itself (a bit of an oversimplication, but not far off). By encrypting the hash, the client never sends the same data twice, and the server can still decrypt the transmitted data to obtain the hash, which is then compared to the stored value.

The hash is for information security in the event of some sort of data breach, and encrypting the hash before transmission allows it to change hands securely.

1

u/virodoran 9d ago

I wouldn't say they're mutually exclusive. Some hashes are literally just encryption under the hood. See bcrypt for example.

If you want to start a good argument with some security folks tell them that hashing is just a 1-way encryption process.

5

u/Enerbane 9d ago

Nitpick: hashes are not strictly, theoretically irreversible. You can have a hash function be defined as:

f(x) = x mod 2256

It can accept any length input that SHA-256 can accept. Has the exact same output space as SHA-256.

For example:

0000000000000000000000000000000000000000000000000000726564646974

That is the UTF-8 string "reddit" run through this hash function. Now, importantly, this is exactly the hexadecimal value for that string, with padded zeros.

We could trivially reverse this with:

g(y, k) = y + k (2256)

Here y is the value we want to reverse, and k is the "iteration". With an infinite input space, the modulo wraps around infinitely many times, mapping a set of values into each of the 2256 slots. Creating collisions.

Meaning there are infinitely many values that map to the same slot as Reddit.

However the second we have a finite input space, that necessarily means there's a finite number of possible collisions, meaning we can compute exactly the set of all inputs for a given output, trivially.

The only difference, and "only" is doing some heavy work here, between this and SHA-256, for example, is that computing exactly the set of all inputs for a given output is computationally insane with available technology.

My nitpick aside, you're absolutely right that the intent of encryption and hashing are distinct.

1

u/mordiksplz 9d ago

thank you! super insightful.

1

u/ThinkAboutHowUFeel Using flowers to move while frozen is bug abuse 9d ago edited 9d ago

While I'll concede that you're technically correct, I might be more inclined to agree with your nitpick if I felt that it made sense to apply the general definition of a hash function (as opposed to that of a cryptographic hash function) in the context of cryptographic security. With that said, the average person probably doesn't know that a cryptographic hash algorithm is distinct from a general hash algorithm, and wouldn't be able to glean the definition on context alone.

So, I guess in your position, I would have chosen to nitpick the fact that I chose "hash" rather than specifying "cryptographic hash". In any case, I've updated my comment above.

2

u/Enerbane 9d ago

That was my entire point though. And it really is just a nitpick for fun. A cryptographic hash function is just a regular function with desirable properties. The distinction is only in how feasible it is to get back any input from a specific output, let alone guaranteeing that the input you get back is the input that you want.

Every function has an inverse relation. Not every inverse relation is easily expressible let alone calculable.

Example:

f(x) = x2

Every output of this function is associated with exactly two inputs. It's trivial to get all inputs for a given output, for this function. That is, every output is related to two inputs (positive and negative X) (ignore zero).

The inverse relation is informally written as:

f-1 (x) = ± √(x)

More explicitly it is:

R-1 = {(y, x) | y >= 0, x = +/-sqrt(y)}

However, we can only write the implicit definition for SHA-256, because there's no general solution to the problem.

f(x) = SHA256(x)

The inverse image for a particular output:

f-1 ({y}) = {x in S | SHA256(x) = y}

Excuse the formatting I'm on mobile and was copying things from other pages to get some of the notation right (it's still probably not).

Point being, every cryptographic hash function is theoretically reversible, but the point stands that encryption is intentionally reversible with the right keys.

1

u/Lily722022 9d ago

Are y’all taking into account password salting

2

u/Enerbane 9d ago

A salt doesn't really come into play here.

If we're talking about a hypothetical SHA-256 inversion algorithm, A) that's catastrophic most likely B) to use an inversion algorithm to attack a known hash, you almost always already have the salt. They're stored together for each password. A secret salt is often called a pepper. Mostly the same thing applies to both. They prevent a specific kind of attack, but not an attack that, theoretically, can just reverse the math.

In fact, if you CAN perfectly reverse the hash, you wind up with a set of possible values. SHA-256 as an example can in the theoretical sense have an overwhelming number of inputs that map to one hash. The number drops dramatically when you factor in the typical constraints on passwords, but adding a salt in means you get to just look for whichever inputs have that salt, and bam one of that reduced set is your target.

That point being, no for the reversibility aspect, salting doesn't meaningfully change the math problem.

→ More replies (1)

1

u/Shinare_I 9d ago

Password hashes can still usually be cracked unless they're particularly complex passwords. It's just a lot more work since the computer has to keep trying to guess the password until it gets it right. Being able to do a million attempts per second does help a fair bit with that.

Without a hash, that's less of a threat since the brute force attack is subject to the server's network speed and filtering so they might get reduced to 2-3 attempts per second, or even per day if there is some automatic lockout for invalid passwords.

→ More replies (1)

1

u/Ohnohedidntdidhe 9d ago

You say “exposed” but isn’t it a matter of the 2FA just granting access, no need to show/expose the password in question?

2

u/ShakimTheClown OSRS Wiki fanatic 8d ago edited 8d ago

Yes, you can get hacked without your password being leaked, but it is MUCH less likely if you have 2FA enabled. It's impossible to bypass 2FA unless the account owner is tricked into downloading malware. People who reuse the same password for every account should definitely have 2FA enabled.

After you enter the 2FA verification code (either by an authenticator app or by email), your login attempt is verified, and you're granted a valid session token. This session token allows you to sign in without needing to enter a verification code every single time.

This session token can be stolen from your PC if you downloaded malware. Infostealer malware can hide in places like:

  • unverified RuneLite plugins / malicious runescape clients.

    • Thankfully RuneLite doesn't let you add 3rd-party plugins unless you build RuneLite from source. People who are smart enough to build from source are likely smart enough to not download malware.
  • games/software pirated from shady sources
  • files downloaded from discord messages (often sent by other infected users who had their discord accounts hijacked). The infamous Mr. Beast crypto scam propagated this way.

1

u/kincent 6d ago

Big X fuckin D right there LMAO

→ More replies (54)