IMF 1

This time I am taking a shot at a new Vulnhub challenge called IMF. It’s short for “Impossible Mission Force”.

Here are the plot and objective from the vulnhub website.

Welcome to "IMF", my first Boot2Root virtual machine. IMF is a intelligence agency that you must hack to get all flags and ultimately root. The flags start off easy and get harder as you progress. Each flag contains a hint to the next flag. I hope you enjoy this VM and learn something.

Difficulty: Beginner/Moderate

Continue reading “IMF 1”

Protostar Stack5

Here are the instructions for the challenge

About
Stack5 is a standard buffer overflow, this time introducing shellcode.

This level is at /opt/protostar/bin/stack5

Hints

At this point in time, it might be easier to use someone elses shellcode
If debugging the shellcode, use \xcc (int3) to stop the program executing and return to the debugger
remove the int3s once your shellcode is done.
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>

int main(int argc, char **argv)
{
  char buffer[64];

  gets(buffer);
}

Continue reading “Protostar Stack5”

Arch Linux Part 1

In an attempt to learn more about the inner workings of Linux I am going to start setting up an Arch Linux machine with pentesting tools. I’ve always used more user friendly Linux distributions like Ubuntu, Kali, Backtrack, etc. Arch is designed to give you full control over your operating system. Here is an excerpt from their wiki.

Arch Linux is an independently developed, i686/x86-64 general-purpose GNU/Linux distribution that strives to provide the latest stable versions of most software by following a rolling-release model. The default installation is a minimal base system, configured by the user to only add what is purposely required.

From what I have read it is not a simple process to get Arch up and running. You start with a very minimal amount of tools and everything must be installed and configured by the user. This setup process forces you to learn more about how the system works and in the end you should have a very efficient machine.
Continue reading “Arch Linux Part 1”