Hepet

Do over the weekend

Nmap Scan

Initial Access

Port 20001

We will first download everything using wget.

Upon inspection, there does not look like there is anything special.

Port 79

There is a way to enumerate for username through this port.

Since we do not want accounts that does not exists, so we will use this command instead.

So now we can see that there is 6 users that is enumerated.

Port 8000

There is a website that is running on port 8000.

However, if we scroll all the way down, we can see something very weird for Jonas

It looks like that is a password.

We can try to test if that is an actual password.

Port 143

We can see that is the password for jonas's email account.

After searching in the inbox, we can see that they are changing their office suite to LibreOffice. This means we are able to do macro attack on it.

Macro Attack

First, we need to create the payload.

Next, we need to split the payload so that we can put into the macro.

Next, we need to ensure that we have installed the LibreOffice suite, so that we are able to put the macro inside.

We will then create the .ods file and put in our macros inside.

We also need to ensure that the macro is set for opening documents.

Last updated