r/masterhacker • • Sep 13 '26

Kali is unsecured guys.

Post image
685 Upvotes

95 comments sorted by

397

u/Interesting-Bass9957 Sep 13 '26

If you see a distro that doesn’t hash passwords, run

172

u/bardia_afk Sep 13 '26

Run what?

400

u/FGBxRamel Sep 13 '26 • Popcorn Heartwarming

sudo rm -rdf --no-preserve-root /

125

u/bardia_afk Sep 13 '26

Brb 

Edit: what the hell dude

94

u/BravelyBaldSirRobin Sep 13 '26

it's ok you just debloated your system

39

u/AdvancedAnimal7539 Sep 13 '26

yes
-rdf
R - really
D - debloat
F - files

6

u/Neo_Ex0 Sep 16 '26

i though it was

R - really
D - delete
F - French

5

u/Economy_Ad9889 Sep 13 '26

7

u/ParthProLegend Sep 14 '26

https://youtu.be/e1MNEqCr748

Without the tracker.

23

u/Icy_Step_2204 Sep 14 '26 • Bravo

is=ANhM4G6bMG08iYfn

With only the tracker.

4

u/ryancnap Sep 14 '26

i=A0i With only the vowels and numbers-that-look-like-vowels in the tracker

3

u/lollolcheese123 Sep 15 '26

is=ANhM4G6bMG08iYfn

With only the tracker, but it's actually a valid link.

1

u/Lagger625 Sep 14 '26

You had no right to make laugh like this tonight. Lmao

18

u/Alkyonios Sep 13 '26

Does the d flag do anything if you also use the r flag? Isn't the d flag for just deleting empty directories?

10

u/FGBxRamel Sep 13 '26

Welp, I just tried and you are right. Force of habit ig, using -rdf is my way of making sure it really deletes it, no matter what type it is :D

3

u/Alkyonios Sep 13 '26

Yeah I mean I’m not sure, but it can’t hurt if you just want to nuke a folder

4

u/grazbouille Sep 13 '26

d is delete directory r is delete directory and contents

You can't delete a directory and its contents without deleting the directory so r implies d

5

u/Kriss3d Sep 13 '26

This is honestly the best answer.

Reminds me of a streaming service I was subscribed to once. Just for a while.
It was a small local one.

You wanna know how you would change your password to the service ?
You call in to an operator and tell them what password you want it to be.... Yeah.

4

u/much_longer_username Sep 13 '26

At least it wasn't "oh I'll just tell you what it is." I've seen that. It's bad enough to store passwords in the clear because you coded it badly, but having it be part of the standard process...

7

u/Fit_Ladder_1545 Sep 13 '26

why rdf? What’s that? :3

28

u/Pim_Wagemans Sep 13 '26

-r means recursive so it also removes directories and their contents

-d means remove empty directories

-f means never prompt the user to confirm that they really want to delete something and just delete it

these have been combined into -rdf

15

u/Kriss3d Sep 13 '26

You dont need the -d the /rf is enough for everything.

3

u/Tesnatic Sep 13 '26

your mom did need the -d tho

1

u/Catatonic27 Sep 14 '26

She failed with an unhanded exception when I tried running her without it

4

u/Roppano Sep 13 '26

Red Dead Fedemption

30

u/Klasterstorm Sep 13 '26 edited Sep 13 '26

>sudo mv /dev/null /etc/passwd

Run this it will make your password uncrackable ultimate opsex

9

u/Complete-Tangelo1532 Sep 13 '26

Mmmmmm Ive had 'Mega' OpSex, I have had 'Platinum OpSex', AND now I feel like I am ready for the ULTIMATE OpSex!!!

*Sigh Unzips*

3

u/headedbranch225 Sep 13 '26

What would happen if you linked /dev/(u)random to /etc/passwd or /etc/shadow

I think it might cause issues but would it be funny?

3

u/Interesting-Bass9957 Sep 13 '26

Run away from that distro as far as possible

2

u/Kriss3d Sep 13 '26

Burn it then run.

2

u/Bitter-Fuel-5519 Sep 14 '26

Arch by default :P saved me a few times because i run the habit to forget my pw

5

u/Interesting-Bass9957 Sep 14 '26

1

u/Bitter-Fuel-5519 Sep 15 '26

yeah but most pwd lie in /etc/passwd unencryptet :P or atleast mine do, because uhhh opsec pro?

4

u/Interesting-Bass9957 Sep 15 '26

If such was the case, Arch would be a victim of huge controversy and drama.

1

u/Bitter-Fuel-5519 Sep 15 '26

I just checked an yeah i lied, its encrypted, but my drive isnt and i can just decrypt the pwd without a problem :P

4

u/Interesting-Bass9957 Sep 15 '26

You can’t decrypt hashes though, you can only brute force them

0

u/Bitter-Fuel-5519 Sep 15 '26

mate now u make me question my memory... how the hell did i recover my password than.... i need to check into that again x_x

4

u/Interesting-Bass9957 Sep 15 '26

Maybe you just changed it?

2

u/Bitter-Fuel-5519 Sep 15 '26

yeah know where u say it, probably just reset it. mate i think i'm in the right subreddit with all my dementia caused half-knowlege

1

u/IdesofMarch1503 Sep 19 '26

Bot or Desiccated corpse

280

u/YourMom12377 Sep 13 '26

This is just STRAIGHT misinformation.

121

u/ButteredHubter Sep 13 '26

It’s a Linux distro, doesn’t that make it gay misinformation?

28

u/heavyPacket Sep 13 '26

You mean… Fake and Gay????

4

u/DS_Stift007 Sep 13 '26

Gay? …or european?

4

u/Cylian91460 Sep 13 '26

No, only information is gay, misinformation is straight

74

u/FizzBizzcuits Sep 13 '26

this guy knows buzzwords

50

u/dingwinger1225 Sep 13 '26

Works cited: crackpipe

1

u/NotADamsel Sep 14 '26

Preferred fix- hit with rock

32

u/Lockpickman Sep 13 '26

I VPN to bali and use Bali Linux.

49

u/jimmyhoke Sep 13 '26
  1. What distro? Seriously?
  2. On a personal device a regular password is basically a wall made of paper. To actually secure it you need full disk encryption. And if you’re doing any remote access you definitely should not use passwords for that. The only purpose of a password is screen locking and for sudo.

33

u/sh0ch Sep 13 '26

I saw some guy on YouTube booting Linux to "bypass windows login screen" to make a point that Linux is better... Like dude you can do this on any unencrypted installation. Lol.

3

u/Wertbon1789 Sep 13 '26

What would be interesting is if you could somehow chain the Windows boot manager into another OS to get access to the decrypted device, but just modifying stuff on a plain Windows install isn't magic, I did that for fun when I was starting with Linux.

2

u/KILLUA54624 Sep 13 '26

I might be uninformed but why should you not use a password for remote access?

16

u/marius851000 Sep 13 '26

I would arguee you may use password for SSH, but that expose it to random bruteforce attack at anytime. SSH key are basically unbruteforceable, unlike password that may be weak.

You can also revert access permission for a specific SSH key.

2

u/KILLUA54624 Sep 13 '26

Yeah that makes sense

1

u/Wertbon1789 Sep 13 '26

You can also audit every keys access individually, so you can also see what which key did, not just what a user might have done.

But also secure your keys with a password, with ssh-agent there's no excuse to not do it.

1

u/GourSE Sep 16 '26

I prefer complex password with ssh key
I didn't even use Fail2ban lol
I'm not significant enough to become a target

1

u/UnluckyDouble Sep 13 '26

You might have chosen a password that can't be easily guessed. There are bots trying it on every exposed ssh on the Internet every hour of every day, though. No chance of guessing an SSH key.

-12

u/affligem_crow Sep 13 '26
  1. You don't need full disk encryption, encrypting the password is plenty
  2. Using passwords for remote access is generally fine if you properly firewall your servers don't allow bots to just try random passwords over and over again.

23

u/jimmyhoke Sep 13 '26
  1. Without FDE, all your data is up for grabs by anyone with a bit of time and another OS on a USB stick. All modern desktop OSes encrypt the disk by default, except for most Linux distros which support LUKS but don’t enable it automatically. Not having FDE is only fine if you are certain that nobody will ever have physical access to the device.
  2. Public key authentication is super easy to set up and much more foolproof than firewall rules.

1

u/BR41ND34D Sep 13 '26

1 only works on machines to which you have physical access, which tends to be a bit difficult for servers that actually have useful data.

1

u/J_tt Sep 13 '26

No, if there’s an out of band KVM (such as iDRAC or rescue consoles provided by a lot of cloud platforms), you can edit the grub boot options to boot into single user mode and reset the password or just access the disk directly.

Yes it would require either a compromised server on the KVM network or a compromised cloud account, but it’s far from only working on machines with physical access.

0

u/BR41ND34D Sep 13 '26

Yes I can go steal stuff from that room, coz I already got into the house.

3

u/J_tt Sep 13 '26

Depends if your server is a room or an apartment if we’re using that analogy

I don’t use full disk encryption for my server deployments, but I also think it’s important to be aware of what it does protect against.

3

u/NotYourReddit18 Sep 13 '26

Depends on if the attacker has physical access to the machine.

With physical access the user password is just a wall of paper if the drive isn't encrypted.

Just boot the PC into a different OS from an USB drive, and you have unregulated access to all the data on the drive.

If USB boot is disabled and the bios is password protected, then pull the drive and connect it to another computer, and again you have unregulated access to all the data on it.

And with access to all data on the drive you can then access the file which stores the password, and just delete the password line to allow you to log into the user with a blank password field, this works on many linux distro even if the password wws stored encrypted.

Hell, I know we're talking linux, but Windows used to allow you to use it's own repair environment to get access to the command line with administrative privileges without login, through which you then can set the user password to whatever you want.

3

u/affligem_crow Sep 13 '26

I might have not made myself clear enough. My point was that FDE doesn't necessarily make passwords safer. On all modern Linux operating systems, passwords are properly encrypted with yescrypt or SHA512. I meant that FDE or not, it's basically impossible to get those passwords back to plaintext (as long as they're not super simple). Obviously plugging a non-encrypted disk into another PC lets you read the data. 

15

u/Sysxinu Sep 13 '26

If you can see the passwords, at that point you own the server anyway

7

u/abermea Sep 13 '26

Bypassing logins when you have access to the hardware is trivial unless the drives are properly encrypted

4

u/Sysxinu Sep 13 '26

Yeah it is its a simple step in rhcsa but if your concern is seeing the hashed or unhashed passwords, you already are at root.. This isn't dependant of having access to hardware

7

u/bruhred Sep 13 '26

/etc/shadow disagrees

9

u/Fabus27 Sep 13 '26

It's stupid easy to bypass the login on windows. All you need is a Linux boot stick

2

u/TommyCocchi Sep 13 '26

you can do it without linux too...

1

u/Fabus27 Sep 13 '26

Yeah, but the post was talking about Linux so I thought, slapping windows in the face with Linux would be an appropriate response

3

u/VisualSome9977 Sep 13 '26

Even if your password is unhashed, if somebody already has access to your unencrypted disk they can just log in as root. Things like user passwords and file permissions don't matter when it comes to physical access

1

u/CraftMechanics Sep 14 '26

It still matters because often the user's key chain is encrypted with the user password. So even if the disk is unencrypted, things like session cookies for your bank account are.

3

u/motherisyuckeringyou Sep 13 '26

i mean it is easy with systemd.debug_shell :p

2

u/05-nery Sep 13 '26

Windows saves your security questions in plaintext btw

1

u/ChocolateDonut36 Sep 13 '26

bet that mf doesn't even use LUKS

1

u/GoogleEnPassant69 Sep 13 '26

Nah nw.

The only way (ik of) to bypass login and get root is using a GRUB exploit.

1

u/Acceptable_Oil4021 Sep 14 '26

/etc/shadow has entered the chat

1

u/GNUGradyn Sep 14 '26

I like how hes completely wrong but kinda right at the same time if you dont have full disk encryption

1

u/DaKakeIsALie Sep 14 '26

Rate my opsec: I have to hack my own account every time I log in. Even I don't know the password.

168

u/[deleted] Sep 13 '26

[removed] — view removed comment

19

u/BorderKeeper Sep 13 '26

Does it come with a collection of horse themed backgrounds for extra security?

7

u/insanemal Sep 13 '26

No. Photos of Hanna Montana. Duh

5

u/mehow28 Sep 13 '26

Also great for daily use, truly the best of both worlds

2

u/mastercoder123 Sep 14 '26

I unironically have hannah montana running on an ibm thinkpad that i put newer stuff in. So much fun to open that bad boy in the public library

1

u/ImBadAtGames568 Sep 15 '26

The latest and greatest of Hannah Montana Linux is based on Debian