Install an OSSEC agent from the collector to monitor Windows events
OSSEC is an open source intrusion detection system. The OSSEC agent facilitates the collection and processing of Windows system, application, and security event logs in addition to common Linux/Unix event logs. Learn more about OSSEC here.
Before installing the OSSEC agent, add static assets for each device that will have the agent installed. This will prevent failed events when you install the OSSEC agent.
- On the Threat Monitor toolbar, click the Assets tab.
- In the Static Assets (Hosts) list, click New.
- Enter the host name (not the fully-qualified name) and IP address, and then click Save.
Install the OSSEC agent
Install the OSSEC agent on each device that will be monitoring Windows and Linux/unix event logs. The agent automatically connects to the collector.
- In Threat Monitor, navigate to Admin > Manage Collectors.
- In the sensors list, select a collector, and then click Edit.
- Click the OSSEC tab.
Install the agent automatically
- Click the Windows Auto Installer tab, and then click Create New Windows Installer.
- When the Creating New Installer window closes, click Download, and then run the installer on the target device.
Install the agent manually
- On the Agents tab, Click Add.
This process also creates agent specific installers and therefore it's only valid for the machine that it is configured for.
- Enter the host name and IP address of the target device, select an operating system, and then click Submit.
- In the server list, select your new agent, click Download, and then run the installer on the target device.
Add a log source using OSSEC
- Click the Remote Logs tab, and then click Add.
- In the Config Setup window, select the appropriate log format, and then enter the log location.
- From the Type drop-down list, select Host, and then select the appropriate device.
- Click Create, and then click Restart Required to push the changes to all OSSEC agents and the OSSEC server.
Ossec requires a specific log location, such as C:\logs\thisIsmyLogfile.log. Also, OSSEC does not work with wildcards. For example, C:\logs\*.log.