mrkiley / polyscripted-php

Build PHP with Polyscripting

Home Page:https://hub.docker.com/r/polyverse/polyscripted-php/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

polyscripted-php

For a demo of a polyscripted website go to: https://github.com/polyverse/dvwa

Polyscripting is a cybesecurity security technique used to stop code injection attacks. It is based on Moving Target Defense approaches (see http://web.mit.edu/br26972/www/pubs/mt_survey.pdf ) which work by increasing the costs for adversaries to successfully attack a system.

Before Polyscripting, any script injection bug (e.g. an unguarded 'eval') would be exploitable across all instances of the script--in the case of PHP, literally billions of computers. In effect, current systems are "break once, run everywhere". By creating unique PHP languages on the fly for every PHP instance, it becomes extremely difficult for attackers build attacks that can work across every machine--"break once, run once".

overview

https://blog.polyverse.io/introducing-polyscripting-the-beginning-of-the-end-of-code-injection-fe0c99d6f199

tutorial

https://github.com/polyverse/polyscripted-php/blob/master/Ps-PlaygroundReadMe.md

About

Build PHP with Polyscripting

https://hub.docker.com/r/polyverse/polyscripted-php/

License:MIT License


Languages

Language:Lex 43.4%Language:Yacc 31.5%Language:PHP 23.1%Language:Shell 1.4%Language:Dockerfile 0.6%