HackTheBox - Trick

  Рет қаралды 28,896

IppSec

IppSec

Күн бұрын

Пікірлер: 40
@ianmusyoka9717
@ianmusyoka9717 Жыл бұрын
There was another way of getting a shell using that login which is sql injectable and INTO OUTFILE to drop a shell and execute using LFI... The shell will be www-data but to escalate to the user you dig through nginx config file find that other subdomain Nice walkthrough!!!. The SMTP route totally didn't cross my mind
@hackersworld2974
@hackersworld2974 Жыл бұрын
teach me I'm a noob
@DanielEhlmann
@DanielEhlmann Жыл бұрын
I’m only now getting deep into pentesting and offensive security after some years of managing teams of cybersecurity and IT personnel, and it really feels like I’m unlocking a whole new side of cybersecurity that’s been veiled from my eyes. It’s great. Excellent content.
@SiloGaming777
@SiloGaming777 Жыл бұрын
Great to see the sqlmap things. I didn’t know any of that. The speed ups you used for it were excellent to learn. So thank you.
@DeadAksRab
@DeadAksRab Жыл бұрын
Awesome. I did the box but was waiting for this video and yup I learnt 3 new things again. Brilliant.Thanks ippsec :)
@adityatelange
@adityatelange Жыл бұрын
3:46 AXFR is Asynchronous Transfer Full Range.
@DalBileAbas
@DalBileAbas 3 ай бұрын
Salute Ippsec for the video and revealing other ways to gain RCE via the access logs and mail
@adonistarcio
@adonistarcio Жыл бұрын
I didn't think this was an easy box. But great to see how you did it
@sand3epyadav
@sand3epyadav Жыл бұрын
Easy box
@romilthakkar404
@romilthakkar404 Жыл бұрын
Learning a lot from it. Thank you, appreciate it.
@SakayaNagii
@SakayaNagii Жыл бұрын
Ippsec = 🧠++
@h4gg497
@h4gg497 Жыл бұрын
It doesn't use TCP just for zone transfers. Also for anything that's greater than 512 bytes. DNSSEC, IPv6 etc increase the response size. Although servers should respond to request for any records over TCP if TCP is used by the resolver. RFC 7766 is a good read.
@h4gg497
@h4gg497 Жыл бұрын
There was also an EAR vuln on the preprod-payroll site that offered an easy alternative auth bypass. The response size on the 302 redirect to login.php gives it away.
@h4gg497
@h4gg497 Жыл бұрын
You see it in the index.php code at 10:16. Missing exit; statement after the header('location:login.php').
@lonelyorphan9788
@lonelyorphan9788 Жыл бұрын
Another awesome video 🙂!
@anselmpeter
@anselmpeter Жыл бұрын
Awesome.. things go very fast with ippsec thanks YT have speed control.
@formsight5927
@formsight5927 3 ай бұрын
cool!
@damuffinman6895
@damuffinman6895 Жыл бұрын
Ippsec, how much do you get out of doing the easy to medium boxes? Does it just help to get your methodology down or is it to easy to have an impact.
@celticfans1
@celticfans1 6 ай бұрын
I was wondering why the privesc doesnt seem to work by changing the actionstart instead of actionban? seems easier by just restarting but it's not being executed, why?
@celticfans1
@celticfans1 6 ай бұрын
with sqlmap we had the FILE privilege, but I tried to write a file instead of read which worked. However, I couldn't write to .ssh to try and get a shell that way. Could someone explain why this wasnt possible and we only tried reading in the video?
@FMisi
@FMisi Жыл бұрын
It was an interesting box to pop
@hackersworld2974
@hackersworld2974 Жыл бұрын
how does he scroll so fast in copy mode in tmux ??
@tg7943
@tg7943 Жыл бұрын
Push!
@DeadAksRab
@DeadAksRab Жыл бұрын
How can the "database management system users privileges" be found manually without sqlmap?
@ippsec
@ippsec Жыл бұрын
If you go to ippsec.rocks, and search "file priv SQL", you'll find a video with time stamp answering this question
@and_rotate69
@and_rotate69 Жыл бұрын
33:20 why didn't you just change the perms of the bash shell to be accessed by anyone with +s? is there a downside to it? cause i always use it xD
@ippsec
@ippsec Жыл бұрын
That's a bad habbit to be in as it leaves the server in a much worse state than before you got on it. Forget to change it back and bash will be a privesc for the next person, even if you fixed the vulnerability that allowed you to make it SetUID. A shell in /dev/shm will be erased upon reboot and if you patch the thing that executed it and you need to re-exploit the application to trigger it as another user. It's just safer.
@netcatter
@netcatter Жыл бұрын
@@ippsec What if you copy the /bin/bash into /tmp/bash and then modify the SUID of /tmp/bash instead? Then after escalating, delete the /tmp/bash
@oz.3133
@oz.3133 Жыл бұрын
I'm not getting the root reverse shell after pointing actionban to my reverse shell script on iptables-multiport.conf, restarting fail2ban and subsequently failing ssh. What could be going wrong?
@celticfans1
@celticfans1 6 ай бұрын
i have the same issue
@InfoSecIntel
@InfoSecIntel Жыл бұрын
Hey this is not related to this vid but what is your favorite not os specific command to test for rce that may be blind?
@ippsec
@ippsec Жыл бұрын
Ping against a DNS Name and look for the ICMP/DNS request.
@S2eedGH
@S2eedGH Жыл бұрын
Thanks for the great walkthrough. there is a thing I don't understand clearly on 20:13 . could you please explain it one more time? How the "include()" line should look when php filter working on it?
@ippsec
@ippsec Жыл бұрын
in order for php filter to work, it needs to be at the start of the path to include. So if the include is include( "someFolder/" + $userInput), a PHP include won't work because the folder is at the start of the path.
@tanja84dk1
@tanja84dk1 Жыл бұрын
My first thought why you cant see the enviroment is proc is prob as you say that nginx is running as root ( tbh I havnt done the box myself ) and I feel the reason the reason the website is running as michael is proberbly because the php-fpm is set to use/run as michael in the php-fpm pool configuration
@sand3epyadav
@sand3epyadav Жыл бұрын
Everythink is a trick
@jamesalexander655
@jamesalexander655 Жыл бұрын
First
@pranav9068
@pranav9068 Жыл бұрын
Bruh i used dig -x and it gave a weird ans
@beezball38
@beezball38 Жыл бұрын
I got preprod-marketing by fuzzing. it makes the payroll domain seem like a diversion unless you figure out how to SQL map properly, which I clearly did not very informative video as always.
@yuyu-ce4fz
@yuyu-ce4fz Жыл бұрын
nice
HackTheBox - RedPanda
39:35
IppSec
Рет қаралды 33 М.
HackTheBox - Bookworm
2:05:30
IppSec
Рет қаралды 14 М.
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 16 МЛН
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 28 МЛН
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
HackTheBox - Secret
49:26
IppSec
Рет қаралды 24 М.
HackTheBox - Moderators
1:10:02
IppSec
Рет қаралды 15 М.
HackTheBox - Freelancer
2:05:54
IppSec
Рет қаралды 4,9 М.
Network Security - Deep Dive Replay
3:08:19
Kevin Wallace Training, LLC
Рет қаралды 163 М.
HackTheBox - Retired
54:46
IppSec
Рет қаралды 18 М.
🔴Build Twitter Fleets (stories) with React Native and AWS Amplify
3:43:10
Homelab Setup Guide - Proxmox / TrueNAS / Docker Services
2:44:39
Matthias Benaets
Рет қаралды 186 М.
NixOS Setup Guide - Configuration / Home-Manager / Flakes
3:01:39
Matthias Benaets
Рет қаралды 194 М.
HackTheBox - Pandora
1:06:17
IppSec
Рет қаралды 30 М.
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 16 МЛН