cyberok-org / php-hidden-webshell

Materials from the speech "How to protect yourself from hidden web shells"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to protect from fileless web shells

Materials from the speech "How to protect yourself from hidden web shells". Repository structure:

  • "dev/files" directory -- contains PHP extenstion source-code and shell-code extractor script
  • "dev/generate.sh" -- script for creating and building PHP extension
  • "docker/etc" directory -- contains PHP/httpd config files and web-shell POC
  • "docker/Dockerfile" -- file to create Docker image
  • "docker/main.sh" -- script to automate Docker image creation, run and test web-shell

Run this commands to do everything:

  • docker/main.sh build -- build docker image
  • docker/main.sh run -- run docker image
  • docker/main.sh inject -- inject code into web-server
  • docker/main.sh test -- use web-shell from harmless script

About

Materials from the speech "How to protect yourself from hidden web shells"


Languages

Language:PHP 79.9%Language:C 7.6%Language:Shell 4.4%Language:Python 4.2%Language:Dockerfile 3.9%