This was by far the best video..... Normally Computerphile tries to address a wider audience, but I personally would like to see more of these kind of in-depth videos.
Dvo rak yeah I learned how to do basic stack overflows and run stack overflows back in the XP days, but I never learned in depth, complex attacks. I learned enough to run a debugger, find the memory address, write a nopales, etc but I never got deep enough to learn heap spraying, etc. They can get really complex now to bypass ASLR and other measures. I am trying to revisit this and learn more!
Frist time he can show what i spend his time on...Most people would not listen maybe cause they dont understand or maybe because they believe its something illegal.
It's refreshing to see positivity and enthusiasm towards typically dry subjects. This whole channel is great, but this guy in particular is probably their most enjoyable to watch.
@stephen schneider it may be tricky but it is definitely not 'insanely hard'... U just need to know at least the basics of forward programming ( C programing for example) and you can start from there, i would say i love it more than any other field but everyone has an opinion
I know this particular video was years ago, but this guy is actually fun to watch. I'm terrible at learning, but he makes sense of a lot of things without dragging on the boring part.
I'm a cs major, but I don't normally like watching cs related youtube channels. These videos are awesome though, some of them are things I thought I had a decent grasp on and I end up learning something. I also love how happy Dr. Pound seems when he is talking about something, you can tell he really likes what he does.
Absolutely brilliant demonstration. All universities that I know teach C/C++, but they don't teach the essence of software security, which should be pounded into every student's head right from the beginning.
@@NightLife094same. The info was taught in an intro to cyber course which made us do a lab that required us to attain root access using buffer overflow just like in the video.
Fun fact, buffer overflows are where most of the famous glitches in the original Pokemon games come from. From Missingno. to fighting Professor Oak, to getting a Mew in Cerulean City. All done through buffer overflowing and putting numbers where they shouldn't be.
@@JohnDoe-m8i Back then it was easier to predefine your array sizes since you had complete control over the CPU and memory. The downside to this is that you had no segfaults or anything to stop a mistake like a buffer overrum
I watched this a long time ago, but after taking an Assembly class in uni, I suddenly completely understand what he did and why it works! this is an absolutely amazing video as it actually gives an incentive to continue learning low-level programming and such.
Dr Mike Pound, i do not know if you know this but you are saving a lot of network security students with your videos on these subjects. They are incredibly informative and makes a whole subject comprehensible in the matter of minutes. A Great thank you.
Just a slight error for future viewers, at the 7:10 minute mark, he points from "a" to the start of "buffer". What he meant was that we are at "ebp" to the start of the buffer is what sub $0x1f4, %esp does :)
Nice presentation, thanks! It would be even nicer to have the stack video segment made clickable, given UA-cam's tendency to "Suggest" everything but related videos.
+Anvilshock Also, it would be awesome if it was mentioned where in the video he talks about them, since we may not necessarily have 10-15 minutes to watch the whole video.
Damn! Excellent presentation on how stack overflow exploits work! No hand-waving; a complete demonstration of how it's done, down to aligning the return address and the no-op sled mitigation.
messing with, and forcibly messing with the stack is the source of a few old school console hacks if I recall, particularly on NES games. You write memory by doing very specific things to set certain memory values in an unusual way
Think its how PS1 and onwards did it as well. Gameshark and Gamemaster ripped the values off the game corresponding to a particular attribute. Then you tweak the code to get outcome like inf items, inf health etc. Never knew this was the science behind it hah
Excellent job on video, I still don't understand why ppl hate your video. Your is more detailed and professional , then the other I video saw on UA-cam.look like they don't know what there talking about.
for years ive been reading and trying to work out the ins and outs of bufferoverflow i can honestly say this is one of the most simple and effective videos out there on BO well done and Kudos loved watching it (for the 100th time)
Great video! There's a lot of virus "concept" videos that explain how they work, but not many that show the actual implementation and writing of specific attacks. More please!
Eduardo I didn’t think it matters. I thought even small buffers could be exploited because the exploit payload just overflows and gets thrown into the stack. As long as you nopsled is hit by the pointer it just keeps running until it hits the return address which jumps to the shell code? Is that not correct?
Well... If I'm not writing codes for dev boards that has memory capped at few KBs, I usually allocate a lot more, like 4096 bytes. It has hardly any drawback for machines with GBs of RAM and lowers the risks of writing data beyond the buffer zone.
I am a C++ programmer and this is an awesome easy-to-understand introduction to gdb. Thanks for this video, I love low level C, bash, and Linux commands (like the Heartbleed video, for example)
This video explains it better than a $2000 course I've been doing in Cyber Security (which goes into far more than just BOF) Drawing it tremendously helped me understand it!
Seriously im going all around youtube looking for perfect explanation of buffer overflow. I always ignore this video thinking that it wont explain it. But man i was wrong. the best video about buffer overflow explaining things like nopsled deym. Tyyyyy
youtube algorithms are like now this guy has just finished watching bootstrap in 1 hours & that more than enough to recommend him buffer overflow attack videos
Studying for a security certificate and was having a hard time understanding exactly what was going on with the way they explained it in their videos. Your video really helped me understand it better, mostly by visualizing how the memory is laid out.
it has taken me at least 5 times the duration of the video and a lot of zapping around to understand most of it. but it was extremely instructive, so thank you.
Thibaud so? Are we supposed to intensively research a person’s personal life now to make sure they’re absolutely 100% single before we’re allowed to have an innocent crush on them? It’s not as if you can control such feelings and it’s not like OP was exactly sending the guy a marriage proposal.
Thank you! I've never seen this explained in its entirety and there are lots nuances that have always inhibited my own educational endeavors. Knowing GDB, assembler, endianness, no-op sleds, etc were all concepts I understood but could never completely tie together. Excellent video.
Apart from the attack, it's so interesting to see how the computer actually processes the programme... I mean, I never really thought about it, that all the functions and returns and variables have to be stored somewhere and that it has to know how to execute it... I really like to think of a computer as a human being XD
On the original diagram: Functions do not (normally) go on the stack. The stack is only data (including return addresses). With architectures having hardware support for not executing data (often called an "NX" bit), such as a lot of the Intel processors, trying to execute a function on the stack with the NX bit set would cause an exception, which in Linux in turn would generate a signal (something like SIGSEGV), and without a signal handler would kill the process. (Yay, memory protection!) oh...and I think you mean backslash x ninety.
***** , oh, yeah... As Mike says (paraphrasing), there are so many things which would make great videos on what goes on in GDB and assembly...simply fascinating how all that stuff was developed over the years.
+rchandraonline Function code doesn't, but all the local variables used by the function go on stack, otherwise recursive functions wouldn't be possible.
+rchandraonline For running shell (or other simple tasks), NX bit is quite easy to workaround with return-to-libc attack. But that can be hardened with address randomization.
When you know a lot about something, sometimes it's hard to tell when you're being overwhelming and when you're going too slow. I guess he just randomizes it to keep going.
Haha that's why I love this kind of videos. "Look at this ebp register, for example. B stands for base and B is the second letter of the latin alphabet. It is allocated in 0x6404whatever5A in memory"
To be fair, there was the video on stacks which anyone who wasn't familiar with could go and watch, so there isn't [wasn't] much point of repeating what's been done already.
This channel is by far one of the best....I made a computer application similar to chain reaction using the swing framework of java....I got a stackOverFlow error because of infinite recursion....this video really sorted me out....thanks!!!😁😁😊
This is actually very interesting, because the noop sled trick actually reminds me of something we use when looking for things in genetic code. I guess there is a lot of overlap that isn't immediately apparent between programming and genetics.
+Edgewalker001 I learned programming first and then genetics, and all I see when I look at DNA is program code. It's a state machine, a sequencer and self modifying code at the same time. Awesome!
I truly love the method Cumputerphine explains things. These are very advanced concepts explained so simply. Hats off for your effort. I am a researcher in the field of WSN. But I truly love this type of work. I would love to know what research field are related to this type of work. Once again. Great explanation. Love your videos!
You can truly see the passion gleaming outta his face it's so obvious and i love that so much reminds me of myself :) he can barely stop smiling i love this guy!
It's the smallest "taxi cab number": a positive integer expressible as the sum of two positive integer cubes in two different ways (1729=12^3+1^3=9^3+10^3).
Keith its not the smallest taxi cab number lol it was just the number of a cab which some guy noticed was a boring number and then he told his even smarter friend that it was boring to which the smarter friend said na bro its the smallest number that you can get by adding two cubes in two different ways
strncpy is the replacement. The n is a parameter asking how much to copy. If more than the buffer length being used, the function itself won't compile.
How would the "hacker" get the correct return address? They'd have to run gdb and list the addresses like in the video? How'd they do it automatically without root access?
wow! such an insightful glimpse at how computers "think" and Dr. Pound you are so charimastic ^___^ thank you Computerphile for this video!! I'm just begining my programing education and this fills my cup with drive to push through learning the basics knowing later i will be able to excecute as my will wills
Really nice educational video! Learned new things here. Even as an experienced developer like me. So basically, this is in fact just yet another example of a "code injection", probably the most important thing that exists in the art of hacking.
+Gabriel Salles I think he used the function 'x' for examine memory, something like 'x/200xw $sp-500' which means examine 200 words in hex format starting at stack pointer minus 500 ;)
+Player Name If you used to be a small air conditioner and now you're a huge fan then you must have been an intermediate ventilation system at some point, right :D ?
This was by far the best video.....
Normally Computerphile tries to address a wider audience, but I personally would like to see more of these kind of in-depth videos.
exactly
Check out liveoverflow if you like this. He has tons of similar stuff, and decently in-depth
this is an introduction
May i know what content is on cat shell_code
Dvo rak yeah I learned how to do basic stack overflows and run stack overflows back in the XP days, but I never learned in depth, complex attacks. I learned enough to run a debugger, find the memory address, write a nopales, etc but I never got deep enough to learn heap spraying, etc. They can get really complex now to bypass ASLR and other measures. I am trying to revisit this and learn more!
You can see he is very excited to tell this.
Tristan T I'm excited to learn this.
@@mcx6-e9d Me too
Frist time he can show what i spend his time on...Most people would not listen maybe cause they dont understand or maybe because they believe its something illegal.
Because people are usually not interested or afraid of complex computer stuff
May i know what content is on cat shell_code
I really like this guy
I'd 100% agree.
Absolutely, max!
Me too, he's cool.
It's refreshing to see positivity and enthusiasm towards typically dry subjects. This whole channel is great, but this guy in particular is probably their most enjoyable to watch.
Dude can hack anything I bet lol. He could devastate a system lol
I would love to see a series on micro-architectures, machine code, and assembly
+ElagabalusRex Agreed!
and micro-waves!
Yes!
please!
@stephen schneider it may be tricky but it is definitely not 'insanely hard'... U just need to know at least the basics of forward programming ( C programing for example) and you can start from there, i would say i love it more than any other field but everyone has an opinion
I know this particular video was years ago, but this guy is actually fun to watch. I'm terrible at learning, but he makes sense of a lot of things without dragging on the boring part.
Are you that mad at someone you don’t even know?
@@Stopinvadingmyhardware You replied to the wrong guy
I'm a cs major, but I don't normally like watching cs related youtube channels. These videos are awesome though, some of them are things I thought I had a decent grasp on and I end up learning something. I also love how happy Dr. Pound seems when he is talking about something, you can tell he really likes what he does.
This was brilliant. More like it, please!
Powerrrrrrrrrrrrrrrrrrrrrrr
BUHAHAHAHAHAAHAHA
whoami
.
.
I am root baby.
May i know what content is on cat shell_code
false.
Absolutely brilliant demonstration. All universities that I know teach C/C++, but they don't teach the essence of software security, which should be pounded into every student's head right from the beginning.
In my university in germany, they taught us these. But i mean the courses are called cybersecurity and reverse engineering
@@NightLife094same. The info was taught in an intro to cyber course which made us do a lab that required us to attain root access using buffer overflow just like in the video.
false.
Fun fact, buffer overflows are where most of the famous glitches in the original Pokemon games come from. From Missingno. to fighting Professor Oak, to getting a Mew in Cerulean City. All done through buffer overflowing and putting numbers where they shouldn't be.
Interesting. Those games were coded directly in assembly though so I don't think they used stack-allocated buffers.
@@williamdrum9899 How else are they meant to store information?
@@JohnDoe-m8i Back then it was easier to predefine your array sizes since you had complete control over the CPU and memory. The downside to this is that you had no segfaults or anything to stop a mistake like a buffer overrum
The way this man explains things is absolutely DIAMOND.
This hits especially hard since I just finished my assembly and computer systems class. Great video!
I watched this a long time ago, but after taking an Assembly class in uni, I suddenly completely understand what he did and why it works! this is an absolutely amazing video as it actually gives an incentive to continue learning low-level programming and such.
i love how he explains every topic like its the best in the world... i could use him as my personal coach !
false.
Dr Mike Pound, i do not know if you know this but you are saving a lot of network security students with your videos on these subjects. They are incredibly informative and makes a whole subject comprehensible in the matter of minutes. A Great thank you.
Just a slight error for future viewers, at the 7:10 minute mark, he points from "a" to the start of "buffer". What he meant was that we are at "ebp" to the start of the buffer is what sub $0x1f4, %esp does :)
So the buffer starts from esp minus 500 and the buffer progresses towards ebp, right?
To err is human, but to really foul things up requires the root password.
-Unknown
Love it.
It was Aristotle!
sivalley Stealing-no, borrowing this
Or SUDOer's password.
To err is human.
-Grammarly
Nice presentation, thanks! It would be even nicer to have the stack video segment made clickable, given UA-cam's tendency to "Suggest" everything but related videos.
+Anvilshock I'll sort that! >Sean
***** Much obliged, thanks!
+Computerphile I suggest heap sort for that.
:)
+Computerphile Still not really fixed. It's currently neither a card or an annotation.
+Anvilshock Also, it would be awesome if it was mentioned where in the video he talks about them, since we may not necessarily have 10-15 minutes to watch the whole video.
Damn! Excellent presentation on how stack overflow exploits work! No hand-waving; a complete demonstration of how it's done, down to aligning the return address and the no-op sled mitigation.
messing with, and forcibly messing with the stack is the source of a few old school console hacks if I recall, particularly on NES games. You write memory by doing very specific things to set certain memory values in an unusual way
Pokemon! If I remember correctly, that missingno nonsense in Pokemon Red was a stack overflow.
The game genie does this
Think its how PS1 and onwards did it as well. Gameshark and Gamemaster ripped the values off the game corresponding to a particular attribute. Then you tweak the code to get outcome like inf items, inf health etc. Never knew this was the science behind it hah
The only truly knowledgeable bunch of geeks on the internet that also know how to explain what they know. You sirs earned by EIP hi5
Mike has a certain Dr. Evil vibe in that he clearly enjoys writing "Malicious Code." :)
false.
Excellent job on video, I still don't understand why ppl hate your video. Your is more detailed and professional , then the other I video saw on UA-cam.look like they don't know what there talking about.
This was amazingly informative, especially for someone not using Linux. Well done!
false.
for years ive been reading and trying to work out the ins and outs of bufferoverflow i can honestly say this is one of the most simple and effective videos out there on BO well done and Kudos loved watching it (for the 100th time)
I absolutely love videos on things like malware, exploits and similar stuff, feel free to upload more of it if you can :D
Might be by far the best explanation i’ve ever watched
Great video! There's a lot of virus "concept" videos that explain how they work, but not many that show the actual implementation and writing of specific attacks. More please!
Best explanation of a buffer overflow I’ve ever seen.
Everyone else:
*makes a 20 char buffer*
Mike: "We allocate a buffer that's 500 characters long"
You need the buffer to be big enough to be able to comfortably hold your machine code plus a hefty padding for memory address variations.
still wondering how he is going to type all 500 characters until he pulls out his python
Eduardo I didn’t think it matters. I thought even small buffers could be exploited because the exploit payload just overflows and gets thrown into the stack. As long as you nopsled is hit by the pointer it just keeps running until it hits the return address which jumps to the shell code? Is that not correct?
@@dicksonZero I see what you did there
Well...
If I'm not writing codes for dev boards that has memory capped at few KBs, I usually allocate a lot more, like 4096 bytes.
It has hardly any drawback for machines with GBs of RAM and lowers the risks of writing data beyond the buffer zone.
I am a C++ programmer and this is an awesome easy-to-understand introduction to gdb. Thanks for this video, I love low level C, bash, and Linux commands (like the Heartbleed video, for example)
Gdb is damn good. Also try valgrind
It would have been pleasure to sit in his classes. We need more professors like this.
This video explains it better than a $2000 course I've been doing in Cyber Security (which goes into far more than just BOF) Drawing it tremendously helped me understand it!
What a video! Great job on explaining this attack, I'll definitely be looking forward to learn more of this as I get into assembler at University!
Seriously im going all around youtube looking for perfect explanation of buffer overflow. I always ignore this video thinking that it wont explain it. But man i was wrong. the best video about buffer overflow explaining things like nopsled deym. Tyyyyy
Had this for a homework assignment. It was quite hard to understand how to manipulate the stack at first, but this video helped a lot.
currently have this as assignment
@@itissmallagain8002 same here in 2024
Been reading my textbook for a while wondering what the hell the author is talking about and you cleared it up in the first fifteen seconds. Thanks!
Awesome video. Especially the bit about the no-op slope.
false.
Ok, I was finally able to translate from Brit: "Buffalo, Buffalo at Work" =="Buffer Overflow Attack" Great video and explanation.
And this, kids, is why you should always sanitize your inputs.
+hellterminator HAHAHAHAAHA!
+hellterminator Little Robby Drop Tables
Simon WoodburyForget Interesting language. I'm probably gonna stick with C/C++, but Rust is definitely interesting.
false.
youtube algorithms are like now this guy has just finished watching bootstrap in 1 hours & that more than enough to recommend him buffer overflow attack videos
yeah! A technical video :-) Nice to see some actual code on this channel (even though it's being explained in a simple way :) )
Man! How am I only finding your channel now!? This was great. Thank you for taking the time to put this together.
The guy is quite smart and he knows his stuff
Studying for a security certificate and was having a hard time understanding exactly what was going on with the way they explained it in their videos. Your video really helped me understand it better, mostly by visualizing how the memory is laid out.
Welldone on explaining this so well
it has taken me at least 5 times the duration of the video and a lot of zapping around to understand most of it. but it was extremely instructive, so thank you.
The more I learn about computers, the more I realize how easy they are. Great video.
I have studied exploit dev for a number of years and this is by far one of the best explanations ever! Keep it up!
I like his playful manners and smiles. I think I have a crush.
He s married bro
I want him to overflow my buffer 😍
Thibaud so? Are we supposed to intensively research a person’s personal life now to make sure they’re absolutely 100% single before we’re allowed to have an innocent crush on them? It’s not as if you can control such feelings and it’s not like OP was exactly sending the guy a marriage proposal.
J T Maybe OP isn’t but I am. Marry me Mr. Pound
I do as well
One of the best videos on Computerphile. Mike really knows his trade.
+Marcin Konarski *hobby
More on similar topics please :)
Thank you! I've never seen this explained in its entirety and there are lots nuances that have always inhibited my own educational endeavors. Knowing GDB, assembler, endianness, no-op sleds, etc were all concepts I understood but could never completely tie together. Excellent video.
Apart from the attack, it's so interesting to see how the computer actually processes the programme... I mean, I never really thought about it, that all the functions and returns and variables have to be stored somewhere and that it has to know how to execute it... I really like to think of a computer as a human being XD
the first 3 minutes of video give me more efficient information than any other videos i watched about this title
very nice Video. would love to See more of this sort in the future
Fear not my friend! Botnets and iPhone decryption coming soon!
Well that is a truly marvelous thing to hear. Am looking forward to it!
the stack content visualization and the no-op sled animation were really awesome
On the original diagram: Functions do not (normally) go on the stack. The stack is only data (including return addresses). With architectures having hardware support for not executing data (often called an "NX" bit), such as a lot of the Intel processors, trying to execute a function on the stack with the NX bit set would cause an exception, which in Linux in turn would generate a signal (something like SIGSEGV), and without a signal handler would kill the process. (Yay, memory protection!)
oh...and I think you mean backslash x ninety.
+rchandraonline I've a feeling that's what Mike was talking about at the end.... >Sean
***** , oh, yeah...
As Mike says (paraphrasing), there are so many things which would make great videos on what goes on in GDB and assembly...simply fascinating how all that stuff was developed over the years.
+rchandraonline Function code doesn't, but all the local variables used by the function go on stack, otherwise recursive functions wouldn't be possible.
+rchandraonline For running shell (or other simple tasks), NX bit is quite easy to workaround with return-to-libc attack. But that can be hardened with address randomization.
gcc -fstack-protector-strong -std=c11 foo.c -o foo
I'm so happy this channel exists
These types of videos are better than the robots/drones stuff
Not for a person who isn't interested in SW security or programming in general.
this guys is my favourite out of all others on Computerphile tbh
"I'm assuming you know what a stack is."
*defines function*
When you know a lot about something, sometimes it's hard to tell when you're being overwhelming and when you're going too slow. I guess he just randomizes it to keep going.
Hahaha
Haha that's why I love this kind of videos. "Look at this ebp register, for example. B stands for base and B is the second letter of the latin alphabet. It is allocated in 0x6404whatever5A in memory"
To be fair, there was the video on stacks which anyone who wasn't familiar with could go and watch, so there isn't [wasn't] much point of repeating what's been done already.
I don't know why, but this felt a lot more interesting than all the other topics he's talked about. Rock on!
The real question is, how can someone be so damn motivated at 7 in the morning?!
Eating healthy breakfast cereals and grains.
@@RonaldMcPaul yummy
false.
This channel is by far one of the best....I made a computer application similar to chain reaction using the swing framework of java....I got a stackOverFlow error because of infinite recursion....this video really sorted me out....thanks!!!😁😁😊
I really liked the way he taught, didn't get it,but liked it xD
This is actually very interesting, because the noop sled trick actually reminds me of something we use when looking for things in genetic code. I guess there is a lot of overlap that isn't immediately apparent between programming and genetics.
+Edgewalker001 I learned programming first and then genetics, and all I see when I look at DNA is program code. It's a state machine, a sequencer and self modifying code at the same time. Awesome!
Ignorant friend: "Why would you ever use Assembly?"
Me: "..."
Finally a solid explanation of BO’s
"Can't type while people are watching."
I'm not the only one!
I truly love the method Cumputerphine explains things. These are very advanced concepts explained so simply. Hats off for your effort.
I am a researcher in the field of WSN. But I truly love this type of work. I would love to know what research field are related to this type of work.
Once again. Great explanation. Love your videos!
at 13:40 which command exactly do you use to list those 200 registers at the stack pointer minus 550
x/200xg $rsp (i think)
i dont get why stack ptr minus 550 but not just 508 if the program stopped at the return address, can anyone explain it please ?
Today is the day I finally exploited a full buffer overflow attack to gain shell.
Thank you Mike.
And the animation is so helpful.
"there is nothing you can't do as root"
except makepkg on arch :(
nice one xD
but you can create a user with whatever password you like, su into that user and run makepkg. you can still get ANYTHING done if you have root access.
I LOLed.
and some programmes does not allow you to run on root :D for security reasons
You can't run VLC on root :(
But you can patch it easily :)
Very clearly explained... I have been looking for a tutorial like this for about ten years.
Can anyone explain why 10 duplicates of the return address was needed as "padding"?
These type of guys gimme the chills, he's literally accessing chip register buffer memory, and it's making him giddy... YAIKS!
13:53 which command did he use here?
x/200x $(ebp-100)
Was it this?
Same doubt bro
i think he used this : x/200x $esp - 550
You can truly see the passion gleaming outta his face it's so obvious and i love that so much reminds me of myself :) he can barely stop smiling i love this guy!
Video is 17:29 long.
Mathematicians, unite!
What's so special about this? I'm not familiar with numbers and stuff
It's the smallest "taxi cab number": a positive integer expressible as the sum of two positive integer cubes in two different ways (1729=12^3+1^3=9^3+10^3).
Oh, that's nice.
Don't worry if you don't understand why that is important, because it really isn't.
Keith its not the smallest taxi cab number lol it was just the number of a cab which some guy noticed was a boring number and then he told his even smarter friend that it was boring to which the smarter friend said na bro its the smallest number that you can get by adding two cubes in two different ways
Best explanation of shell code injection by far!
and this, kids, is why strcpy is removed from C11.
Many of the string functions were removed and replaced with safe versions in C11.
also use
-fstack-protector,
-fstack-protector-all
or
-fstack-protector-strong
with gcc for non-time-critical stuff.
strncpy is the replacement. The n is a parameter asking how much to copy. If more than the buffer length being used, the function itself won't compile.
Thaaaaaank you soooo much, You don't know how much this video helped me understanding this topic for my finals !!!
Very helpful! What is the gdb command (not shown on screen) to list the 200 registers at the stack point of -550?
Google it Pal!
@@jbrhsn8406 what is it
@Tim Thompson did you find out what the command was? I need it😫 ..... thanks
Something like "x/500xw $esp -550" could work. I may be wrong
a very good video, explains beautifully the why stack works and how to exploit a buffer overflow
How would the "hacker" get the correct return address? They'd have to run gdb and list the addresses like in the video? How'd they do it automatically without root access?
I think:
Since every process works assuming it has the full RAM and in C you can get the address of anything using & you can probably get it.
Gdb doesn't require root access
@@chasehiatt5595 interesting
gdb is just a debugging tool. Can run it on any executable if you have permissions to execute that executable.
wow! such an insightful glimpse at how computers "think" and Dr. Pound you are so charimastic ^___^ thank you Computerphile for this video!! I'm just begining my programing education and this fills my cup with drive to push through learning the basics knowing later i will be able to excecute as my will wills
*Segmentation fault*
Me: "Oh damn, I fcked up."
Peter Parker: "That's exactly what we wanted."
Really nice educational video! Learned new things here. Even as an experienced developer like me.
So basically, this is in fact just yet another example of a "code injection", probably the most important thing that exists in the art of hacking.
What was the command that he typed at 13:40 ?
+Gabriel Salles I think he used the function 'x' for examine memory, something like 'x/200xw $sp-500' which means examine 200 words in hex format starting at stack pointer minus 500 ;)
@@unforkableonion5081 thank you :o
I learn more from Dr. Mike then i do from my profs at uni. You are an inspiration Sir :)
You know you're 1337 when you use Kali.
Black arch ftw
Newbies think it's cool
Actually it's very handy, i've been pentesting and bug hunting for a long time and Kali is always my go-to.
probably one of the best computerphile videos yet. Thank you Dr. Pound!
when a video on the ROP chains? with ASLR on and nX :p
I like how the guy gets excited and makes me excited aswell!!
I'm guess I'm showing my age when I mention that this was how the Morris worm back in 1988 infected systems. :-)
Cool! I was wondering on actual, real cases in which this has happened
Like how he not only talks about stuff but also demonstrates
who's watching this after the discovery of the sudo exploit ? x)
what is the sudo exploit
?
@@loneranger4282 Barron Samedit
His best yet IMO. Love the level of detail and honesty enthusiasm of the topic 😁
Cover the iPhone/Apple/FBI issue!
+Reck Tominvayed Can you wait til Friday.... :) >Sean
+Computerphile
Yay! Thanks for the reply as well! I'm a huge fan!
....but I used to be a small air conditioner.
Had to :P
+Player Name If you used to be a small air conditioner and now you're a huge fan then you must have been an intermediate ventilation system at some point, right :D ?
Iv seen a bunch of videos on the same topic BUT THIS BY FAR is the best explanation !