Giter VIP home page Giter VIP logo

myoscpexperience's Introduction

MyOSCPexperience

My OSCP experience and advices

About the process

Here is my process of the OSCP course and certification:

  • October 26 - registered on the Offensive Security website to see the possible course start dates.
  • October 28 - payed my fee ($800 for 30 days labtime) and got a place in the earlier available lab
  • November 12 - start of my lab time- Received the pdf, videos and access to lab
  • November 22 - scheduled my exam to December 18
  • December 12 - end of my lab time
  • December 18 - exam
  • December 19 (afternoon) - submitted my exam report
  • December 20 (evening) - got successful results e-mail

Preparation before the exam

I have prepared by doing to following VMs (they are sorted from easy to hard). They are all available from vulnhub.com, some of them are linked here below:

  1. LAMP security CTF7
  2. LAMP security CTF4
  3. LAMP security CTF5
  4. Exploit KB Vulnerable Web App
  5. VulnOSv2 https://www.vulnhub.com/entry/vulnos-2,147/
  6. Kioptrix level 2 (1.1) https://www.vulnhub.com/entry/kioptrix-level-11-2,23/
  7. pWnOS v2.0 https://www.vulnhub.com/entry/pwnos-20-pre-release,34/
  8. Holynix v1 https://www.vulnhub.com/entry/holynix-v1,20/
  9. pWnOS https://www.vulnhub.com/entry/pwnos-10,33/
  10. Kioptrix level 3 (1.2) https://www.vulnhub.com/entry/kioptrix-level-12-3,24/
  11. Hackademic RTB1 https://www.vulnhub.com/entry/hackademic-rtb1,17/
  12. LAMP security CTF6 https://www.vulnhub.com/entry/lampsecurity-ctf6,85/
  13. Kioptrix Level 1
  14. Metasploitable
  15. Metasploitable 2
  16. Kioptrix2014 (5)
  17. Kioptrix level 4
  18. SickOS 1.2
  19. Acid: Server
  20. No Exploiting Me
  21. Sedna
  22. Mr. Robot 1

Some of them are more esoteric than others, so if you are stuck, look up a walkthrough. Also keep in mind, that they usually have multiple entry points, while on OSCP there is usually one, clear solution. This also means, that even if you solve these machines, looking up some walkthroughs can still teach you something.

Buffer overflow

On the exam you will have one buffer overflow machine for sure, usually very similar to the one on the pdf. For preparation I have also done this BoF exercise: http://justpentest.blogspot.hu/2015/07/minishare1.4.1-bufferoverflow.html (even though on my 64bit windows VM I have not found any library with no protection mechanism).

Exam schedule

There are multiple strategies to schedule the 23:45 hour exam. I have started it at noon, so that I can sleep some after midnight and have a fresh start next morning. In the end I was lucky enough to have 75 points before midnight, so went to sleep and did the reporting next morning while still having access to the machines. I have submitted the report on that afternoon and got the results next day evening.

The Exam

I have prepared a small script to run unicron scan on all TCP and UDP ports (massively parallel SYN scan), nmap -A on the resulted ports, nikto on the http(s) ports and enum4linux no matter what (since smb/samba is often an attack vector, it doesn't hurt to do some recon). My script is available in this repo. I have started with the buffer-overflow machine and the script was running meanwhile. Then it was faster to just review the scripts output and follow with the attack afterwards.

myoscpexperience's People

Contributors

markszabo avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.