H
H
HexUserHex2020-03-22 17:03:46
linux
HexUserHex, 2020-03-22 17:03:46

Advice on found files with SUID and SGID bit (CTF points)?

Good afternoon,
I go through CTF, I check files with SUID and SGID bits:

find / -perm /u=s,g=s 2>/dev/null

/run/log/journal
/run/log/journal/5624ff30811344d09d8b70e04d01925e
/usr/local/lib/python3.7
/usr/local/lib/python3.7/dist-packages
/usr/local/lib/python2.7
/usr/local/lib/python2.7/site-packages
/usr/local/lib/python2.7/dist-packages
/usr/sbin/unix_chkpwd
/usr/lib/openssh/ssh-keysign
/usr/lib/vmware-tools/bin32/vmware-user-suid-wrapper
/usr/lib/vmware-tools/bin64/vmware-user-suid-wrapper
/usr/lib/dbus-1.0/dbus-daemon-launch-helper
/usr/lib/eject/dmcrypt-get-device
/usr/bin/dotlockfile
/usr/bin/wall
/usr/bin/expiry
/usr/bin/sudo
/usr/bin/umount
/usr/bin/su
/usr/bin/gpasswd
/usr/bin/newgrp
/usr/bin/bsd-write
/usr/bin/mount
/usr/bin/crontab
/usr/bin/chsh
/usr/bin/chage
/usr/bin/ssh-agent
/usr/bin/passwd
/usr/bin/chfn
/var/local
/var/mail

In my opinion, among these files there is not one that I can use to elevate privileges ... knowledgeable people tell me if this is so ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
arto, 2020-03-26
@artopp

first remove the directories from the list

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question