Skip to content

emirgra/LeonardoE95-OSCP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSCP

This repository contains useful information related to the OSCP certification.

Specifically, I have organized all the knowledge you need to know in order to obtain the OSCP certification into nine different modules. For each module, you will find a specific folder containing information regarding that module. The modules are listed below.

NOTE: Currently there's not much in these modules, because I just started to work on this. In the following months you should see more content coming.

Other material that I developed regarding OSCP

If you want to support my work, feel free to donate:

01 – Web

For the web module the following topics have been covered.

02 – Linux

For the linux module the following topics have been covered.

  • System shell
  • PATH Hijacking
  • SUID exploitation
  • System enumeration
  • Cronjob enumeration
  • SUDO exploitation
  • Wildcard expansion

03 – Windows

For the windows module the following topics have been covered.

  • System shell
  • System enumeration
  • Useful system commands
  • SeImpersonatePrivilege Exploitation
  • Service Hijacking Exploitation
  • Unquoted Service Paths Exploitation

04 – Password Attacks

For the password attacks module the following topics have been covered.

  • Hash cracking theory
  • Hash cracking tools
  • KeePass databases
  • Ssh keys
  • NTLM hash
  • Net-NTLMv2 hash
  • AS-REP hash
  • Kerberoasting hash

05 – Using Existing Exploits

For the using existing exploits module the following topics have been covered.

  • Metasploit
  • exploit-db
  • CVE-2021-41773

06 – Port Forwarding and Pivoting

For the port forwarding and pivoting module the following topics have been covered.

  • Local Port Forwarding
  • Dynamic Port Forwarding
  • Remote Port Forwarding
  • Remote Dynamic Port Forwarding

07 – Client-side Attacks

For the client-side attacks module the following topics have been covered.

  • Cross-Site Scripting
  • Microsoft Word Macros
  • Windows Library Files

08 – Active Directory

For the active directory module the following topics have been covered.

  • Enumeration
  • Main tools
  • Kerberoasting
  • AS-REP roasting
  • DCsync attack
  • Mimikatz
  • NTLM authentication
  • Kerberos authentication

09 – Report Writing

In the ./report you will find a folder ready to be used for the final exam. The idea is simple: you write your exam findings in a report using either the markdown or org markup languages, and then you can use the generate.sh script to generate a final PDF. Two sample reports report.md and report.org are presented. You can take inspiration from those and customize it to your own need.

To actually generate the report, make sure you have pandoc installed with the latex theme eisvogel. If you do not have such file I suggest to download it from github.

wget https://raw.githubusercontent.com/Wandmalfarbe/pandoc-latex-template/master/eisvogel.tex

Then, edit the script ./report/generate.sh in order to insert your own OSID value. So for example assuming my OSID was 99999999 then I would write on top of the file

OSID=99999999 

Finally, just execute ./generate.sh, and you should see the following

[leo@archlinux report]$ ./generate.sh 
[INFO]: Checking requirements
[INFO]: All good, we're ready to generate!
[INFO]: Generated succesfully, creating 7z archive!
[INFO]: MD5 of archive (e9b9424d742bf230748665cd614ba240)

After the script has succesfully executed, you will see two new files:

  • OSCP-OS-99999999-Exam-Report.pdf, which contains the generated pdf for previewing
  • OSCP-OS-99999999-Exam-Report.7z, which contains the final artifat you can use to submit your record.

Notice how at the end the MD5 of the artifact is computed. This can be used during OffSec upload procedure to make sure you uploaded the correct file. Finally, if you want to change the input filename to export, just give an argument to the generate.sh script as follows. Just remember that the scripts only supports markdown and org syntaxes.

./generate.sh report.md
./generate.sh report.org

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 84.4%
  • C 15.6%