https://github.com/loneicewolf/vulnserver-2022
My (various and different) latest attempts on the VULNSERVER.
https://github.com/loneicewolf/vulnserver-2022
vulnserver
Last synced: about 1 year ago
JSON representation
My (various and different) latest attempts on the VULNSERVER.
- Host: GitHub
- URL: https://github.com/loneicewolf/vulnserver-2022
- Owner: loneicewolf
- Created: 2022-07-24T08:57:10.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-24T16:29:22.000Z (almost 4 years ago)
- Last Synced: 2025-02-17T08:43:39.899Z (over 1 year ago)
- Topics: vulnserver
- Language: Python
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vulnserver-2022
# note:
this is intended for beginners. I will leave the very deep details and write obvious comments.
this is also not done yet.
My (various and different) latest attempts on the VULNSERVER.
- **attempt 1: just crashing it**
- (choosing a random huge number, say `5000`)
- **attempt 2: overwriting EIP**
- (a bit less than `1`, say EIP overwrite control)
- **attempt 3: predicting registers**
- (begin with small value, move up until it crashed, but not overwrote anything, now - predict by **first try** to overwrite EDI, EBP, then EIP)
- **attempt 4 and onward**
- modifying the memory of other registers from the previous (now controlled) registers
- jump, call and go to's
- assembly
- shellcode
- **Attempt 5(overkill for beginners)**
- using undocumented registers (see link eecg below for more info)
## Screenshots
---
#### EDI Control

##### EDI Call Stack

#### EBP Control

#### EIP Control

> `Note how I also overwrote EBP?`
> `let's change that shall we?`
### Bonus: EBP+EIP control together


---
Given one (assuming no ASLR,DEP,.. is present) registers Position(easy to predict given it's minimal overflowing value) (which, again is easy to predict by itself, given 1 reliable amount of A's' that crash the app
## Coming soon:
- Writeup (describing basics of my methodology)
- Bibliography
- More References
- Finally the code and a Proof Of Concept (POC) not using Metasploit's msfvenom. and Not radare2 either :) (why not make shellcode from scratch? so you know what you really launch at your poor target..)
### References
- PY COD,E R2
- vulnserver
- https://www.eecg.utoronto.ca/~amza/www.mindsec.com/files/x86regs.html
### Bibliography
- coming soon