<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://it-arts.net/index.php?action=history&amp;feed=atom&amp;title=OSSIM_-_Base_Documentation</id>
	<title>OSSIM - Base Documentation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://it-arts.net/index.php?action=history&amp;feed=atom&amp;title=OSSIM_-_Base_Documentation"/>
	<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=OSSIM_-_Base_Documentation&amp;action=history"/>
	<updated>2026-05-02T18:29:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://it-arts.net/index.php?title=OSSIM_-_Base_Documentation&amp;diff=1099&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;Category:Wiki  &#039;&#039;&#039;&#039;&#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&#039;&#039;&#039;&#039;&#039;  == OSSIM Configuration ==  === Configuration Files === OSSIM uses several key configuration files that define how it collects, analyzes, and stores security information. These files are typically located in `/etc/ossim/`.  Key configuration files include: * **/etc/ossim/ossim_setup.conf**: This is the main configuration file for OSSIM setup. It contains paths, database creden...&quot;</title>
		<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=OSSIM_-_Base_Documentation&amp;diff=1099&amp;oldid=prev"/>
		<updated>2026-01-17T09:40:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php/Category:Wiki&quot; title=&quot;Category:Wiki&quot;&gt;Category:Wiki&lt;/a&gt;  &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;  == OSSIM Configuration ==  === Configuration Files === OSSIM uses several key configuration files that define how it collects, analyzes, and stores security information. These files are typically located in `/etc/ossim/`.  Key configuration files include: * **/etc/ossim/ossim_setup.conf**: This is the main configuration file for OSSIM setup. It contains paths, database creden...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Wiki]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== OSSIM Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Configuration Files ===&lt;br /&gt;
OSSIM uses several key configuration files that define how it collects, analyzes, and stores security information. These files are typically located in `/etc/ossim/`.&lt;br /&gt;
&lt;br /&gt;
Key configuration files include:&lt;br /&gt;
* **/etc/ossim/ossim_setup.conf**: This is the main configuration file for OSSIM setup. It contains paths, database credentials, and other environment-specific settings.&lt;br /&gt;
* **/etc/ossim/ossim_agent.conf**: Configuration for the agent that collects data from remote systems.&lt;br /&gt;
* **/etc/ossim/ossim_server.conf**: Configuration for the OSSIM server, where most of the analysis and correlation takes place.&lt;br /&gt;
&lt;br /&gt;
Example of basic settings in `/etc/ossim/ossim_setup.conf`:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
# Database settings&lt;br /&gt;
db_host=localhost&lt;br /&gt;
db_name=ossim&lt;br /&gt;
db_user=ossim_user&lt;br /&gt;
db_password=secretpassword&lt;br /&gt;
&lt;br /&gt;
# Timezone configuration&lt;br /&gt;
timezone=UTC&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuring OSSIM Server ===&lt;br /&gt;
OSSIM server configuration determines how logs are processed, stored, and how different components interact.&lt;br /&gt;
&lt;br /&gt;
Example of configuring the OSSIM server to collect logs from different network segments:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
# In the server.conf file&lt;br /&gt;
log_collector.enable=true&lt;br /&gt;
log_collector.port=514&lt;br /&gt;
log_collector.protocol=UDP&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This enables the log collector on port 514 and uses UDP for log transport.&lt;br /&gt;
&lt;br /&gt;
== OSSIM Components ==&lt;br /&gt;
&lt;br /&gt;
=== Sensor and Agent Deployment ===&lt;br /&gt;
OSSIM relies on sensors and agents to collect logs and security data. Agents can be deployed on various endpoints, while sensors gather and process network data.&lt;br /&gt;
&lt;br /&gt;
#### Configuring the OSSIM Agent:&lt;br /&gt;
The agent configuration file is `/etc/ossim/ossim_agent.conf`.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
# Enabling the agent&lt;br /&gt;
agent_enabled=true&lt;br /&gt;
agent_name=example_agent&lt;br /&gt;
sensor_ip=192.168.1.100&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This configuration connects the agent to a specific sensor for data collection.&lt;br /&gt;
&lt;br /&gt;
=== Data Collection and Log Parsing ===&lt;br /&gt;
OSSIM uses various parsers for different types of logs:&lt;br /&gt;
* Syslog&lt;br /&gt;
* Snort IDS logs&lt;br /&gt;
* Firewall logs&lt;br /&gt;
* Application logs&lt;br /&gt;
&lt;br /&gt;
The OSSIM server processes these logs, correlates them, and provides alerts based on predefined policies.&lt;br /&gt;
&lt;br /&gt;
Example of parsing syslog messages:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
syslog_parser.enabled=true&lt;br /&gt;
syslog_parser.source=udp://0.0.0.0:514&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This enables the system to collect logs via syslog from any source on the network.&lt;br /&gt;
&lt;br /&gt;
== Security Concepts ==&lt;br /&gt;
&lt;br /&gt;
=== Role-Based Access Control (RBAC) ===&lt;br /&gt;
OSSIM supports role-based access control (RBAC), allowing administrators to define roles and restrict user access to specific data and functionality.&lt;br /&gt;
&lt;br /&gt;
Example of configuring roles in OSSIM:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
# In the user management section&lt;br /&gt;
role=admin&lt;br /&gt;
permissions=all&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This gives the `admin` role full access to all features in OSSIM.&lt;br /&gt;
&lt;br /&gt;
=== Securing Database Connections ===&lt;br /&gt;
All interactions with the OSSIM database must be secured to prevent unauthorized access. OSSIM uses MySQL, and connections should be encrypted using SSL/TLS.&lt;br /&gt;
&lt;br /&gt;
Configuration for SSL/TLS in `/etc/ossim/ossim_setup.conf`:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
db_ssl_enabled=true&lt;br /&gt;
db_ssl_cert_file=/etc/ssl/certs/ossim_server.crt&lt;br /&gt;
db_ssl_key_file=/etc/ssl/private/ossim_server.key&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This ensures that the connection to the OSSIM database is encrypted.&lt;br /&gt;
&lt;br /&gt;
=== Logging and Monitoring OSSIM Activity ===&lt;br /&gt;
OSSIM provides a robust logging system to track its own activities. Logs should be regularly reviewed to ensure the system is operating securely.&lt;br /&gt;
&lt;br /&gt;
Logs are stored in `/var/log/ossim/`. Regularly check logs like `ossim-server.log` and `ossim-agent.log`.&lt;br /&gt;
&lt;br /&gt;
Example of monitoring logs:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
tail -f /var/log/ossim/ossim-server.log&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This command allows real-time monitoring of the OSSIM server log.&lt;br /&gt;
&lt;br /&gt;
== Network Security Monitoring ==&lt;br /&gt;
&lt;br /&gt;
=== Configuring Network Sensors ===&lt;br /&gt;
OSSIM includes network sensors for collecting network traffic data. These sensors can be placed at strategic points in the network to monitor traffic.&lt;br /&gt;
&lt;br /&gt;
Example of configuring a network sensor:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
sensor.enabled=true&lt;br /&gt;
sensor.ip=192.168.1.101&lt;br /&gt;
sensor.interface=eth0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This sets up a network sensor on `eth0` of the host with IP `192.168.1.101`.&lt;br /&gt;
&lt;br /&gt;
=== Integrating Snort IDS ===&lt;br /&gt;
Snort is often used in OSSIM as an Intrusion Detection System (IDS) to detect malicious network traffic.&lt;br /&gt;
&lt;br /&gt;
To integrate Snort with OSSIM, ensure that Snort logs are forwarded to the OSSIM server.&lt;br /&gt;
&lt;br /&gt;
Example Snort configuration for OSSIM:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
output alert_syslog: localhost,514&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This sends Snort alerts to the OSSIM server on port 514.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting OSSIM Server Connectivity ===&lt;br /&gt;
If the OSSIM server is not collecting or correlating data as expected, verify the following:&lt;br /&gt;
* The agent or sensor is configured correctly and reachable.&lt;br /&gt;
* The server has sufficient system resources (e.g., CPU, RAM).&lt;br /&gt;
* The firewall is not blocking necessary ports (e.g., UDP 514, port for database access).&lt;br /&gt;
&lt;br /&gt;
Check for server status with:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
systemctl status ossim-server&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This shows whether the server is running correctly.&lt;br /&gt;
&lt;br /&gt;
=== Agent Not Sending Data ===&lt;br /&gt;
If an agent is not sending data to the OSSIM server, verify:&lt;br /&gt;
* The agent is properly configured to point to the correct sensor.&lt;br /&gt;
* The network connection is stable.&lt;br /&gt;
* The agent has sufficient permissions to send logs.&lt;br /&gt;
&lt;br /&gt;
Check agent status:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
systemctl status ossim-agent&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
### Common Errors:&lt;br /&gt;
* Incorrect sensor IP address or port.&lt;br /&gt;
* Network issues or firewall blocking communication.&lt;br /&gt;
&lt;br /&gt;
=== High CPU Usage or Slow Performance ===&lt;br /&gt;
High CPU usage can be caused by excessive log traffic, unoptimized configurations, or hardware limitations.&lt;br /&gt;
&lt;br /&gt;
To monitor system performance:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
top&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Identify processes consuming high CPU and analyze log data volume.&lt;br /&gt;
&lt;br /&gt;
== Useful Links ==&lt;br /&gt;
&lt;br /&gt;
* https://www.alienvault.com/products/ossim&lt;br /&gt;
* https://github.com/AlienVault-OSS/ossim&lt;br /&gt;
* https://www.cyberciti.biz/tips/how-to-check-ossim-server-status.html&lt;br /&gt;
* https://www.alienvault.com/blog/ossim-installation-guide&lt;br /&gt;
* https://www.youtube.com/channel/UCwDeTo54A5l1HFhdZCjPglw&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>