From baa913d5f8ad3f168a081a286bc6d5a650a15140 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Tue, 16 Nov 2021 16:02:47 +0100 Subject: [PATCH] Add figures for C2 and P2P botnets --- assets/dot/c2.dot | 16 ++++++++++++++++ assets/dot/p2p.dot | 20 ++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 assets/dot/c2.dot create mode 100644 assets/dot/p2p.dot diff --git a/assets/dot/c2.dot b/assets/dot/c2.dot new file mode 100644 index 00000000..d64dfa6d --- /dev/null +++ b/assets/dot/c2.dot @@ -0,0 +1,16 @@ +digraph G { + node [ shape = "circle" ]; + cc [ label = "C2 server"; shape = "box" ]; + { + rank = same; + b1 [ label = "1" ]; + b2 [ label = "2" ]; + b3 [ label = "3" ]; + b4 [ label = "4" ]; + } + + cc -> b1 [ dir = "back" ]; + cc -> b2 [ dir = "back" ]; + cc -> b3 [ dir = "back" ]; + cc -> b4 [ dir = "back" ]; +} diff --git a/assets/dot/p2p.dot b/assets/dot/p2p.dot new file mode 100644 index 00000000..ddc8286e --- /dev/null +++ b/assets/dot/p2p.dot @@ -0,0 +1,20 @@ +digraph G { + splines = false; + node [ shape = "circle" ]; + { + rank = same; + b1 [ label = "a" ]; + b2 [ label = "b" ]; + } + { + rank = same; + b3 [ label = "c" ]; + b4 [ label = "d" ]; + } + + b1 -> b2; + b2 -> b4; + b1 -> b3; + b3 -> b4; + b4 -> b1; +}