DockerSecurityPlayground – A Microservices-based Framework For The Study Of Network Security And Penetration Test Techniques

Docker Security Playground is an software that permits you to:

  • Create community and community safety eventualities, to be able to perceive community protocols,
    laws, and safety problems by way of putting in DSP for your PC.
  • Learn penetration checking out ^(https://www.kitploit.com/search/label/Testing) tactics by way of simulating vulnerability ^(https://www.kitploit.com/search/label/Vulnerability) labs eventualities
  • Manage a collection of docker-compose venture . Main function of DSP is to be told in penetration checking out ^(https://www.kitploit.com/search/label/Penetration%20Testing) and community safety, however its flexibility lets in you the introduction, graphic modifying and managment run / prevent of your entire docker-compose labs. For additional info have a look at the Labs Managment ^(https://github.com/giper45/DockerSecurityPlayground/blob/master) web page.

https://github.com/giper45/DSP_Repo.git ^(https://github.com/giper45/DSP_Repo.git)

  • During the set up set github listing param for your forked repository.
  • Now create your labs and percentage it!
  • It is essential that each one photographs that you just use must be to be had to different customers, so:

    • You can post on docker hub so different customers can pull your photographs to be able to use your labs.
    • You can give dockerfiles throughout the .docker-photographs listing, so customers can use construct.sh to construct your photographs and use your repo.

    If you want a “personal approach” to percentage labs you must percentage the repository in alternative ways, at present time there’s no beef up to percentage personal repositories.
    In DSP you’ll organize a couple of consumer repositories (Repositories tab)

    Prerequisites

    • Nodejs (v 7 or later)
    • git
    • docker
    • docker-compose
    • compiler gear (g++, c, c++)

    Installation
    Install must haves and run:

    npm set up

    Troubleshooting throughout set up
    If you may have error relating to node-pty module, attempt to:

    • Install construct-necessities : (In Ubuntu: apt set up -y construct-necessities)
    • Use nodejs LTS (observe-pty has some isseus, as proven right here ^(https://github.com/microsoft/node-pty/issues/319)

    Update the applying:
    When you replace the applying it is very important replace the npm programs (The software makes use of mydockerjs, a npm docker API that I’m growing throughout DSP construction: https://www.npmjs.com/bundle/mydockerjs ^(https://www.npmjs.com/package/mydockerjs))

    npm run replace

    Start
    Run

    npm get started  

    To get started the applying. This will release a server listening on 8080 (or every other when you set have setted ENV variable in index.js record) port of your localhost.
    Go to you favorite browser and digit localhost:8080. You’ll be redirected on set up web page, set parameters and click on set up.

    Documentation
    For documentation about DSP utilization cross to Wiki web page:

    • Main Page: http://gitlab.comics.unina.it/NS-Thesis/DockerSecurityPlayground_1/wikis/house ^(http://gitlab.comics.unina.it/NS-Thesis/DockerSecurityPlayground_1/wikis/home)
    • User Guidehttp://gitlab.comics.unina.it/NS-Thesis/DockerSecurityPlayground_1/wikis/user_guide ^(http://gitlab.comics.unina.it/NS-Thesis/DockerSecurityPlayground_1/wikis/user_guide)
    • Docker Wrapper ^(https://www.kitploit.com/search/label/Wrapper) Image: http://gitlab.comics.unina.it/NS-Thesis/DockerSecurityPlayground_1/wikis/dsp_wrapper_image ^(http://gitlab.comics.unina.it/NS-Thesis/DockerSecurityPlayground_1/wikis/dsp_wrapper_image)

    It is a bit old-fashioned, I can replace it as imaginable !

    Docker Wrapper Image
    DSP implements a label conference known as DockerWrapperImage that permits you to create photographs that disclose motion to execute when a lab is working. Look on the document ^(http://gitlab.comics.unina.it/NS-Thesis/DockerSecurityPlayground_1/wikis/dsp_wrapper_image)

    Error Debug
    MacOS ECONNRESET error:

    occasions.js:183
    throw er; // Unhandled 'error' match
    ^

    Error: learn ECONNRESET
    at _errnoException (util.js:992:11)
    at TCP.onread (web.js:618:25)

    On Mac it kind of feels that there’s some drawback with some node bundle, so to be able to resolve this run:

    MacE-book-Pro:DockerSecurityPlayground gaetanoperrone$ npm set up [email protected] --save-dev --save-actual

    Other data right here: http://gitlab.comics.unina.it/NS-Thesis/DockerSecurityPlayground_1/wikis/docker-operation-mistakes ^(http://gitlab.comics.unina.it/NS-Thesis/DockerSecurityPlayground_1/wikis/docker-operation-errors)

    Contributing

    1. Fork it!
    2. Create your characteristic department: git checkout -b my-new-characteristic
    3. Commit your adjustments: git dedicate -am 'Add some characteristic'
    4. Push to the department: git push foundation my-new-characteristic
    5. Submit a pull request, we will test

    Any Questions?
    Use the Issues ^(http://gitlab.comics.unina.it/NS-Thesis/DockerSecurityPlayground_1/issues) to be able to ask the whole lot you wish to have!.

    Links

    • DSP Vagrant Box utilized in Blackhat Session ^(https://app.vagrantup.com/giper45/boxes/dsp_blackhat)
    • Blackhat situation in Gitlab ^(https://gitlab.com/dsp_blackhat/dsp_blackhat_vagrant.git)

    Relevant DSP Repositories

    • https://github.com/giper45/DSP_Projects.git ^(https://github.com/giper45/DSP_Projects.git) : Official DSP Repository
    • https://github.com/giper45/DSP_Repo.git ^(https://github.com/giper45/DSP_Repo.git) : DSP Template to create every other repository: fork it to begin developing your individual far flung atmosphere
    • https://github.com/NS-unina/DSP_Repo.git ^(https://github.com/NS-unina/DSP_Repo.git) : Repository created for Network Security Course of Simon Pietro Romano in University of the Study in Naples, Federico II

    Contributors

    • Technical beef up: Gaetano Perrone, Francesco Caturano
    • Documentation beef up Gaetano Perrone, Francesco Caturano
    • Application design: Gaetano Perrone, Simon Pietro Romano
    • Application construction: Gaetano Perrone, Francesco Caturano
    • Docker wrapper symbol construction: Gaetano Perrone, Francesco Caturano

    Thanks to Giuseppe Criscuolo for the brand design

    Changelog
    Got to CHANGELOG.md ^(https://github.com/giper45/DockerSecurityPlayground/blob/master/CHANGELOG.md) to look al the model adjustments.

    Download DockerSecurityPlayground ^(https://github.com/giper45/DockerSecurityPlayground)