-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsystem_documentation.tex
More file actions
231 lines (204 loc) · 6.33 KB
/
system_documentation.tex
File metadata and controls
231 lines (204 loc) · 6.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
\documentclass[a4paper,11pt]{article}
\title{Documentation of SecLab System}
\usepackage[T1]{fontenc}
\usepackage{ae, aecompl}
\usepackage{a4wide}
\usepackage{boxedminipage}
\usepackage{url}
\usepackage{graphicx}
\usepackage{enumerate}
\usepackage{float}
\usepackage{multicol}
\usepackage{tabularx}
% Some useful commands and environments
\begin{document}
\title{Documentation of SecLab System}
\section{Network diagram}
\begin{figure}[H]
\centering
\includegraphics[width=0.9\textwidth]{sysseclab_net_diagram.pdf}
\caption{Network Diagram}
\label{netdiag}
\end{figure}
\section{Servers}
All servers are equipped with at least one NIC corresponding to the network they are in as shown in Figure \ref{netdiag} and a NAT NIC that can be used for internet access (git, apt-get, etc.).
\subsection{MainFirewall}
\subsubsection*{Accounts \& Passwords}
\begin{multicols}{2}
\begin{description}
\item[admin:] wT7nDB7A7d7V
\item[root:] 5hmAMWxN6uVa
\end{description}
\end{multicols}
\subsubsection*{Installed software}
IPCop
\subsubsection*{User for ssh access}
Accesable only on 10.10.10.1 with port 8022 from 10.10.10.33 (user in InfSecIntranet) or from OpenVPN-Network.\newline
ssh -p 8022 admin@10.10.10.1
\subsubsection*{Additional information}
There is a webinterface on https://10.10.10.1:8023. Only accessable from 10.10.10.33 (user in InfSecIntranet).
\subsection{Webserver}
\subsubsection*{Accounts \& Passwords}
\begin{multicols}{2}
\begin{description}
\item[serveruser:] 3FaVLt9RNxLu
\item[root:] cLepMVRq8wDQ
\item[operuser:] KLs3PbjoXu9m
\end{description}
\end{multicols}
operuser cannot use sudo/su and should therefore be used to run the application.
\subsubsection*{Installed software}
Debian, iptables, nginx, python, flask, openSSL, openSSH
\subsubsection*{Running services (lsof -i)}
sshd, nginx
\subsubsection*{User for ssh access}
ssh \{operuser, serveruser\}@50.50.50.50
\subsubsection*{additional information}
SSL signing key for HTTPS: 9klTRxBQcAnM
\subsection{CoreCA}
\subsubsection*{Accounts \& Passwords}
\begin{multicols}{2}
\begin{description}
\item[causer:] 9BxkXM5fLLL8
\item[root:] 8kSeddphG6Ac
\item[operuser:] PrCgs5TLqW4f
\end{description}
\end{multicols}
operuser cannot use sudo/su and should therefore be used to run the application.
\subsubsection*{Installed software}
Debian, iptables, python, mySQL, openSSL, openSSH
\subsubsection*{Running services (lsof -i)}
sshd, mysql (only localhost)
\subsubsection*{User for ssh access}
ssh \{operuser, causer\}@10.10.10.10
\subsubsection*{additional information}
MySQL root: Cm7NsWBhf52C\newline
MySQL dbuser: Q8mxLsBwTLJi\newline
dbuser is only allowed to INSERT, SELECT, UPDATE the table user.iMovies, thus should be used for connecting to the database.
\subsection{Backup/Archive Server}
\subsubsection*{Accounts \& Passwords}
\begin{multicols}{2}
\begin{description}
\item[archiveuser:] 4uMtrPMLxShw
\item[root:] gaBWUt5EH8vU
\item[operuser:] QT5wbxjCN8gG
\end{description}
\end{multicols}
operuser cannot use sudo/su and should therefore be used to run the application.
\subsubsection*{Installed software}
Debian, iptables, syslog, openSSH
\subsubsection*{Running services (lsof -i)}
sshd
\subsubsection*{User for ssh access}
ssh \{operuser, archiveuser\}@10.10.10.100
\subsection{User}
\subsubsection*{Accounts \& Passwords}
\begin{description}
\item[alice:] alice
\end{description}
\subsubsection*{additional information}
When running in netwok InfSec, VPN is possible (VPN start script on Desktop):\newline
\begin{description}
\item[PKCS12 PW:] StgmE58sadQu
\end{description}
When running in netwok InfSecIntranet, firewall web access on https://10.10.10.1:8023
\section{Firewall rules}
\subsection{MainFirewall}
All connections are closed by default. The following list shows the allowed exceptions:\newline
\begin{tabular}{l c l}
Source & Protocol & Destination \\
\cline{1-3}
Webserver & HTTPS (443) & InfSec \\
\cline{1-3}
InfSec & HTTPS (443) & Webserver \\
\cline{1-3}
10.10.10.33 & IPCop HTTPS (8023) & MainFirewall\\
\cline{1-3}
OpenVPN network & IPCop SSH (8022) & MainFirewall \\
\cline{1-3}
10.10.10.33 & IPCop SSH (8022) & MainFirewall \\
\cline{1-3}
BackupServer & IPCop SSH (8022) & MainFirewall \\
\cline{1-3}
OpenVPN network & SSH (22) & Backupserver \\
\cline{1-3}
OpenVPN network & SSH (22) & CACore \\
\cline{1-3}
OpenVPN network & SSH (22) & Webserver \\
\cline{1-3}
Webserver & RPC (4444) & CACore \\
\cline{1-3}
CACore & RPC (4444) & Webserver \\
\cline{1-3}
Backupserver & SSH (22) & Webserver \\
\cline{1-3}
Webserver & SSH (22) & CACore \\
\cline{1-3}
CACore & SSH (22) & Webserver \\
\cline{1-3}
Webserver & syslog (10514) & Backupserver \\
\end{tabular}
\subsection{Webserver}
All connections are closed by default. The following list shows the allowed exceptions:\newline
\begin{tabular}{c c c}
Source & Protocol & Destination \\
\cline{1-3}
Backupserver & SSH (22) & Webserver \\
\cline{1-3}
OpenVPN network & SSH (22) & Webserver \\
\cline{1-3}
InfSec & HTTPS (443) & Webserver \\
\cline{1-3}
CACore & RPC (4444) & Webserver \\
\cline{1-3}
Webserver & HTTPS (443) & \\
\cline{1-3}
Webserver & RPC (4444) & \\
\cline{1-3}
Webserver & syslog (10514) & Backupserver \\
\cline{1-3}
CACore & SSH (22) & Webserver \\
\cline{1-3}
Webserver & SSH (22) & \\
\end{tabular}
\subsection{CoreCA}
All connections are closed by default. The following list shows the allowed exceptions:\newline
\begin{tabular}{c c c}
Source & Protocol & Destination \\
\cline{1-3}
Backupserver & SSH (22) & CACore \\
\cline{1-3}
OpenVPN network & SSH (22) & CACore \\
\cline{1-3}
Webserver & RPC (4444) & CACore \\
\cline{1-3}
CACore & RPC (4444) & Webserver \\
\cline{1-3}
CACore & SSH (22) & Backupserver \\
\cline{1-3}
CAcore & syslog (10514) & Backupserver \\
\cline{1-3}
Webserver & SSH (22) & CACore \\
\cline{1-3}
CACore & SSH (22) & Webserver \\
\end{tabular}
\subsection{Backup/Archive Server}
All connections are closed by default. The following list shows the allowed exceptions:\newline
\begin{tabular}{l c l}
Source & Protocol & Destination \\
\cline{1-3}
CACore & SSH (22) & Backupserver \\
\cline{1-3}
OpenVPN network & SSH (22) & Backupserver\\
\cline{1-3}
Backupserver & SSH (22) & CACore \\
\cline{1-3}
Backupserver & SSH (22) & MainFirewall \\
\cline{1-3}
Backupserver & SSH (22) & Webserver \\
\cline{1-3}
Webserver & syslog (10514) & Backupserver \\
\cline{1-3}
CAcore & syslog (10514) & Backupserver \\
\end{tabular}
\end{document}