<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Posts on Mario López</title><link>https://marioolf.github.io/posts/</link><description>Recent content in Posts on Mario López</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sun, 09 Aug 2026 12:00:00 +0200</lastBuildDate><atom:link href="https://marioolf.github.io/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>On AI on CTFs</title><link>https://marioolf.github.io/posts/ai-on-ctfs/</link><pubDate>Sun, 09 Aug 2026 12:00:00 +0200</pubDate><guid>https://marioolf.github.io/posts/ai-on-ctfs/</guid><description>Why I think CTF competitions should measure the competitor, not the model or workflow they bring into the event.</description></item><item><title>CRTP Review</title><link>https://marioolf.github.io/posts/crtp/</link><pubDate>Wed, 29 Jan 2025 16:41:43 +0100</pubDate><guid>https://marioolf.github.io/posts/crtp/</guid><description>&lt;p&gt;Last week, I took the Certified Red Team Professional course. My goal was to build a strong foundation in Active Directory attack and defense, and honestly, I couldn&amp;rsquo;t have asked for a better course. From the materials to the lab experience, everything exceeded my expectations.&lt;/p&gt;
&lt;h2 id="course-experience"&gt;Course Experience&lt;/h2&gt;
&lt;p&gt;I started by watching the video tutorials, which explain core Active Directory concepts. These are a must-watch, as they cover everything essential. Taking good notes on these videos can save you a lot of research time later.&lt;/p&gt;</description></item><item><title>Internal Walkthrough</title><link>https://marioolf.github.io/posts/internal/internal-walkthrough/</link><pubDate>Mon, 18 Nov 2024 21:56:18 +0100</pubDate><guid>https://marioolf.github.io/posts/internal/internal-walkthrough/</guid><description>&lt;h2 id="initial-enumeration"&gt;Initial Enumeration&lt;/h2&gt;
&lt;p&gt;So lets deploy the machine and start enumerating.&lt;/p&gt;
&lt;p&gt;&lt;img alt="internal1" loading="lazy" src="https://marioolf.github.io/images/internal/0.png"&gt;&lt;/p&gt;
&lt;p&gt;We can see ssh open on port 22 and a http web server on port 80. If we enter on 10.10.199.61 we see Apache2 Ubuntu Default Page.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" src="https://marioolf.github.io/images/internal/1.png"&gt;&lt;/p&gt;
&lt;p&gt;After some directory enumeration, we find the following:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;/blog
/phpmyadmin
/javascript
/wordpress/wp-login.php
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;img loading="lazy" src="https://marioolf.github.io/images/internal/2.png"&gt;&lt;/p&gt;
&lt;p&gt;It is necessary to add internal.thm to our /etc/hosts file to navigate through the website.&lt;/p&gt;
&lt;p&gt;Since we know admin is a user because he has a post on the website, we can brute force the login page using wpscan and rockyou.txt for the password.&lt;/p&gt;</description></item><item><title>Wreath Walkthrough</title><link>https://marioolf.github.io/posts/wreath/wreath-walkthrough/</link><pubDate>Mon, 18 Nov 2024 21:56:18 +0100</pubDate><guid>https://marioolf.github.io/posts/wreath/wreath-walkthrough/</guid><description>&lt;h2 id="enumeration"&gt;Enumeration&lt;/h2&gt;
&lt;p&gt;Nmap scan for open ports&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;nmap -p-15000 -vv 10.200.81.200
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Nmap scan for OS recognition through headers&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;nmap -vv 10.200.81.200 --script=http-headers
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="exploitation"&gt;Exploitation&lt;/h2&gt;
&lt;p&gt;Once vulnerability is found, download script from github.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;git clone https://github.com/MuirlandOracle/CVE-2019-15107
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;For python pip install:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;sudo apt install python3-pip
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;If privileges are missing use:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;chmod +x yourfile.py
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Now we can open the reverse shell:&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" src="https://marioolf.github.io/images/wreath/wreath1.png"&gt;&lt;/p&gt;
&lt;p&gt;Set up netcat listener to catch reverse shell.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;nc -lvnp 4444
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Use rlwrap to stabilise the shell.&lt;/p&gt;
&lt;p&gt;Now lets get ssh credentials since we won&amp;rsquo;t be able to crack password hash.&lt;/p&gt;</description></item><item><title>eJPT Exam Prep</title><link>https://marioolf.github.io/posts/ejpt/</link><pubDate>Sat, 10 Dec 2022 12:00:00 +0100</pubDate><guid>https://marioolf.github.io/posts/ejpt/</guid><description>&lt;h2 id="metasploit"&gt;Metasploit&lt;/h2&gt;
&lt;p&gt;Basic Commands&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;search x
use x
info
show options, show advanced options
SET X (e.g. set RHOST 10.10.10.10, set payload x)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Meterpreter Commands&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;background
sessions -l
sessions -i 1
sysinfo, ifconfig, route, getuid
getsystem (privesc)
bypassuac
download x /root/
upload x C:\\Windows
shell
use post/windows/gather/hashdump
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="networking-attacks"&gt;Networking Attacks&lt;/h2&gt;
&lt;p&gt;Brute Force with Hydra&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;hydra -L users.txt -P pass.txt -t 10 10.10.10.10 ssh -s 22
hydra -L users.txt -P pass.txt telnet://10.10.10.10
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Windows Shares with null sessions&lt;/p&gt;</description></item></channel></rss>