# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Hive

# Hive Infrastructure Installation and Configuration Guide

11 November, 2012

- 1
- 2
…
- 6
- 7
- 8
- 9
- 10
…
- 17
- 18

SECRET//NOFORN
(S//NF) Cover Server Hive Infrastructure Configuration Guide
2 (S//NF) Cover Server
2.1 (U//FOUO) Install and Configure Apache web server
• Install the Apache web server using:
yum install httpd
• Go to the directory /etc/httpd/conf
• Edit /etc/httpd/conf/httpd.conf
Add the following line to the bottom of the file.
include /etc/httpd/vhosts.d/*.conf
• Create the directory /etc/httpd/vhosts.d
• Create a file for each domain that is to be served using the name vhost<n>.conf using the
format shown below in an example configuration for /etc/httpd/vhosts.d/vhost1.conf
#NameVirtualHost *:80
Listen 172.16.64.10:8001
<VirtualHost 172.16.64.10:8001>
DocumentRoot /var/www/html/vhosts/vhost1/docroot
ServerName vhost1.edb.devlan.net
ServerAlias 10.6.5.191
ErrorLog /var/log/www/vhosts/vhost1/error.log
TransferLog /var/log/www/vhosts/vhost1/access.log
<Directory /var/www/html/vhosts/vhost1/docroot>
Options Indexes FollowSymLinks Multiviews
AllowOverride None
Order allow,deny
allow from all
</Directory>
</VirtualHost>
Virtual host address – the real (internal address) used for internal routing
ServerAlias – is the address that is seen in the public address space
• /etc/httpd/vhosts.d/vhost2.conf
•
2.2 (U) Secure Apache Web Server
(U) [The configuration files need to be scrutinized carefully to assure that the server has adequate
security.]
2 SECRET//NOFORN//20371105 November 2012

- 1
- 2
…
- 6
- 7
- 8
- 9
- 10
…
- 17
- 18