SEED Labs: Buffer Overflow Attack (Level 1)
SEED Labs: Buffer Overflow Attack (Level 1)
Task 3: Launching Attack on 32-bit Program (Level 1)
---
//Commands//
*** Disable countermeasure:
$ sudo sysctl -w kernel.randomize_va_space=0
$ sudo ln -sf /bin/zsh /bin/sh
*** Compile:
$ make
*** Debug:
$ touch badfile
$ gdb stack-L1-dbg
gdb-peda$ b bof
gdb-peda$ run
gdb-peda$ next
gdb-peda$ p $ebp
gdb-peda$ p &buffer
gdb-peda$ p/d 0x0000 - 0x0000
gdb-peda$ quit
*** Edit exploit.py:
$ gedit exploit.py
(save)
*** Create badfile and launch attack
$ ./exploit.py
$ ./stack-L1
-------------------------------
Lab website: https://seedsecuritylabs.org/labsetup...
SEED Lab's are created by Dr. Wenliang Du and all labs are publicly available (https://seedsecuritylabs.org/index.html).
This video is posted under fair usage policy.
#seedvm #seed #seedlabs #seedlab #linux #ubuntu #ubuntu20 #install #tutorial #profsadat
@ProfSadat
Видео SEED Labs: Buffer Overflow Attack (Level 1) канала Professor Sadat
Task 3: Launching Attack on 32-bit Program (Level 1)
---
//Commands//
*** Disable countermeasure:
$ sudo sysctl -w kernel.randomize_va_space=0
$ sudo ln -sf /bin/zsh /bin/sh
*** Compile:
$ make
*** Debug:
$ touch badfile
$ gdb stack-L1-dbg
gdb-peda$ b bof
gdb-peda$ run
gdb-peda$ next
gdb-peda$ p $ebp
gdb-peda$ p &buffer
gdb-peda$ p/d 0x0000 - 0x0000
gdb-peda$ quit
*** Edit exploit.py:
$ gedit exploit.py
(save)
*** Create badfile and launch attack
$ ./exploit.py
$ ./stack-L1
-------------------------------
Lab website: https://seedsecuritylabs.org/labsetup...
SEED Lab's are created by Dr. Wenliang Du and all labs are publicly available (https://seedsecuritylabs.org/index.html).
This video is posted under fair usage policy.
#seedvm #seed #seedlabs #seedlab #linux #ubuntu #ubuntu20 #install #tutorial #profsadat
@ProfSadat
Видео SEED Labs: Buffer Overflow Attack (Level 1) канала Professor Sadat
Комментарии отсутствуют
Информация о видео
24 февраля 2023 г. 12:29:31
00:12:45
Другие видео канала

![MongoDB Advanced Queries - AND, OR, REGEX, ALL, IN [MongoDB# 5]](https://i.ytimg.com/vi/2CPBMPpvUvU/default.jpg)
![Getting Started with Cisco Packet Tracer [01]](https://i.ytimg.com/vi/MNdRmZwkC7k/default.jpg)
![What Can We Store in a MongoDB Document? [MongoDB# 03]](https://i.ytimg.com/vi/tirL0YE4TKI/default.jpg)


![MongoDB Simple Query - Sort, Limit, Skip [MongoDB# 04]](https://i.ytimg.com/vi/cTQCdo9cpUg/default.jpg)



![How To Create a Document in MongoDB [MongoDB# 01]](https://i.ytimg.com/vi/RS1tIGw-t8A/default.jpg)
![Linux File Permission: chmod & chown | Ubuntu [02]](https://i.ytimg.com/vi/C_kKQUBUAWM/default.jpg)







![MongoDB - How to Import and Export JSON Files [MongoDB# 02]](https://i.ytimg.com/vi/B86Gw3kiA0M/default.jpg)