Giter VIP home page Giter VIP logo

vrend / projectkaguya Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 2.94 MB

A CTF for beginners

License: GNU General Public License v3.0

Dockerfile 16.19% Makefile 4.30% HTML 4.03% PHP 5.90% Shell 16.30% CSS 1.09% Hack 2.19% C 40.09% Python 9.91%
sql sql-injection metasploitable metasploit php c buffer-overflow netcat encryption-decryption network pivoting ctf docker-networks kaguya subnets docker hacking containers security ctf-challenges

projectkaguya's Introduction

Project Kaguya

A CTF for beginners

The name (and the CTF itself) is a homage to the game Hacknet, more specifically the Labyrinths DLC

Dependencies

A virtual machine with the following:

  • docker
  • SystemD (for the service files)
  • ASLR turned OFF (kernel.randomize.va_space=0)
  • GCC and Make
  • A promiscuous network interface

How to Use

Assuming that your VM has all dependencies satisfied, run start_CTF.sh in the VM_files folder.

It may take a few minutes for all of the docker images to start running, and it will take a lot longer if you have not built the images yet.

First thing you need to do is get the IP of your VM. If you name your VM 'Project Kaguya', you can use the provided shell file to get the VM IP.

Then, run netcat on port 4444 of your VM, which will tell you the IP of your flag system.

Telnet to the flag system, with user 'anonymous'

You can cleanup / reset everything by using the 'cleanup.sh' script

A note about networks

By default, the images assume that the internal LAN has the subnet 192.168.2.0/24, and an external LAN of 192.168.1.0/24 This means, that if your external LAN isn't using 192.168.1.0/24, you need to update the 'create_docker_networks.sh' file. Also, if you're using 192.168.2.0/24, be sure to change both docker networks to reflect this change. I don't believe any of the images have their interfaces hardcoded in terms of their subnets, but I'm not sure.

VM Image

I have a virtualbox image prepared that can be imported. All that needs to be configured are the docker networks, but be sure to pull the repository beforehand.

The VM can be found here: https://mega.nz/file/iEYzFC7A#wRD-t1exKVeqOEQ3RwtlcFdzawh22y0jbYWrn8659Ds

The credentials for the VM are: kaguya:by any means necessary

projectkaguya's People

Contributors

vrend avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.