Semtex Level 0

Semtex
in
Get a shell
semtex.labs.pulltheplug.org

x86/elf: Connect to port 24000
amd64/elf: Connect to port 24001
ppc/mach-O: Connect to port 24002

Receive data until the port is closed.

Every second byte you receive is trash, ignore it.
The other bytes are an executable that shows you the password.

Then login to semtex1@semtex.labs.pulltheplug.org

Thanks to mrx for the amd64 and ppc binaries!

Reading Material
Beej's guide to network programming

Can't connect

whenever I try to connect to "semtex.labs.pulltheplug.org" I got a "connection refused" no matter if I try on port 24000 for x86 or on port 24001 for amd64. Has anyone else a similar problem?

Best regards
darkelf

Port 24000 is working now

I've written a mail to a aton about the problem with the ports.
He kindly replied and fixed the problem.
Port 24000 is working now and serving also amd64 executables. At least I was able to execute the resulting file on my 64bit-machine.

Thank you aton

Best regards
darkelf

me

just happened to me

hijack: yep, the connection problem is fixed

sha1sum for reconstructed file

Is there a sha1sum/md5sum for the reconstructed file(s) after the random chaff bytes have been stripped out?

I'm not sure if the file is obfuscated or if my script is buggy.

This is what I got: -

x86 3302 bytes

sha1sum -b x86
261a166fc2dd84371c5e9a60c304ad594a01a136 *x86

md5sum -b x86
3bf08bc659d9509e9266e6b1a11b4229 *x86

It does not appear to have complete ELF headers.

When I rerun my script I occasionally get a different file, but often it is this file (after stripping out the random bytes.

Is it meant to be every

Is it meant to be every second recv is trash, not every second byte? The latter wouldn't work.

Blocked?

I think I got blocked or something. I had maybe 5-10 connects before I realized what *may* have been the problem, now I can't connect anymore..

every sec from the start or

every sec from the start or from the 2nd recv? and how do i login on semtex1@semtex.labs.pulltheplug.org. because there is no username & password request...

Compiler??

I have downloaded the file i tried to run it but when i run it i get this error:
-bash: ./output.elf: cannot execute binary file
what am i doing wrong do i need to compile it or am i trying to run it wrong?

Scott.

Who can help i wonder?

Hey every1,

Can somebody tell me if the downloaded file is for windows or linux?

My outputted .exe doesnt load saying theres a sub routine error in windows so either iv fucked my coding up good and proper or its programmed for linux.

Thanks for any help.
TransaeriS.

fixed

lol sorry, as soon as i posted i realised it said it was ELF lmao.

Reading Material Address Incorrect

The Reading Material Address is incorrect, it should be http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html

Corrected

Corrected.