Add figures for C2 and P2P botnets

This commit is contained in:
Valentin Brandl 2021-11-16 16:02:47 +01:00
parent bf6bc6b0dc
commit baa913d5f8
2 changed files with 36 additions and 0 deletions

16
assets/dot/c2.dot Normal file
View File

@ -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" ];
}

20
assets/dot/p2p.dot Normal file
View File

@ -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;
}