githubEdit

sync breeze

image.png
  • Scan machine

    we start to scan port number by using unicornscan tool which is faster than nmap. you can install it by this command sudo apt install unicornscan

    Screenshot 2025-03-13 231202.png
    sudo unicornscan -ImT 10.0.2.4:1-2000 # 1-2000 scan ports from 1 to 2000

    we discovered this ports is open let’s know what’s the service is running for each port

after search we find this is old version which is vulnerable to BOF so lets download this service and try to exploit it in our services

  • Fuzzing

    open the browser and Wireshark tool then show the request was sent

    Screenshot 2025-03-13 231447.png

    try to create python code to smash the vulnerable machine

    run this script and we will notice this machine is crashed after 800 char sent

    1.png
  • locate offset

    create offset by using Metasploit

then send it by python script we will notice this machine is crashed

and the offset is 780

let’s know which is four is overwrite in EIP

3.png
  • Hijack execution

    use nasm shell tool to transfer JMP ESP to op code

use mona to search on this code we found this add 10090C83

after transfer this address to Little Endian

  • craft shellcode

    discover bad characters then generate a shell code

  • execute shellcode

    open listener on port 443

Last updated