Open Source Tripwire®
Go to file
Brian Cox 40b1f58612 README.md work in progress 2018-01-18 17:45:44 -08:00
contrib Add twpolmake.pl to contrib folder 2016-07-01 19:43:00 -07:00
installer Tweak install.sh slightly so you can optionally run it standalone instead of thru make install, & add a custom install dir param to it. 2017-09-04 17:24:47 -07:00
man Add 'EXIT STATUS' sections to man pages, per user request. Also do a couple of minor rewordings & bump the page revision dates. 2018-01-04 23:26:42 -08:00
policy Bump version & copyright year 2018-01-01 17:44:15 -08:00
src One more version update; remove an unneeded include 2018-01-02 00:32:07 -08:00
.gitignore Re-add 'compile' script since make dist/distcheck seem to want it; remove it from .gitignore; recreate root Makefile.in with automake 1.15.1 2017-09-01 14:18:19 -07:00
COMMERCIAL Update COMMERCIAL file to be more informative & remove non-working links 2017-01-15 18:06:20 -08:00
COPYING Open Source Tripwire 2.4.2.2 2015-05-03 22:26:18 -07:00
ChangeLog Update ChangeLog for 2.4.3.6 (finally); Tweak a TWUtil test so it expects the right uid value on AROS 2017-09-27 00:07:59 -07:00
LICENSE Initial commit 2015-05-03 22:05:54 -07:00
MAINTAINERS Large file tweaks for e.g. 32-bit Linux; update ReadMe & ChangeLog again. 2016-04-11 20:29:37 -07:00
Makefile.am Add a 'targets' make target to list make targets. Also add a 'test' target as an alias of 'check'. 2017-08-29 18:57:59 -07:00
Makefile.in Re-add 'compile' script since make dist/distcheck seem to want it; remove it from .gitignore; recreate root Makefile.in with automake 1.15.1 2017-09-01 14:18:19 -07:00
Packaging Update 'Packaging' file slightly 2016-04-12 11:03:24 -07:00
README.md README.md work in progress 2018-01-18 17:45:44 -08:00
ReadMe-2.4.3 Update Changelog & fix a hyphen in ReadMe 2017-03-30 23:05:37 -07:00
TRADEMARK Bump version & copyright year 2018-01-01 17:44:15 -08:00
acinclude.m4 Update buildsys for oddball platforms that don't support hardlinks, or have gethostbyname() in a weird library. Still generated w/ older v1.8.x automake/aclocal in order to keep diffs a reviewable size. 2016-03-25 10:59:56 -07:00
aclocal.m4 aclocal.m4 got regenerated by automake 1.15.1, though it actually only updated the version number & copyright year 2017-07-08 19:49:22 -07:00
autogen.sh Merge in contributed files from 2.4.2.3 fork (https://github.com/steakknife/tripwire); Update ChangeLog, Maintainers, Packaging & ReadMe to reflect changes & credit contributors 2016-04-03 20:27:07 -07:00
autogen.sh.README Merge in contributed files from 2.4.2.3 fork (https://github.com/steakknife/tripwire); Update ChangeLog, Maintainers, Packaging & ReadMe to reflect changes & credit contributors 2016-04-03 20:27:07 -07:00
compile Re-add 'compile' script since make dist/distcheck seem to want it; remove it from .gitignore; recreate root Makefile.in with automake 1.15.1 2017-09-01 14:18:19 -07:00
config.guess Update config.guess & config.sub to GNU latest (but re-adding MidnightBSD fix); add config macros for struct stat fields that aren't always present (instead of static defines in platform.h); platform detection & path handling for Redox 2017-09-22 20:20:17 -07:00
config.h.in Update config.guess & config.sub to GNU latest (but re-adding MidnightBSD fix); add config macros for struct stat fields that aren't always present (instead of static defines in platform.h); platform detection & path handling for Redox 2017-09-22 20:20:17 -07:00
config.sub Update config.guess & config.sub to GNU latest (but re-adding MidnightBSD fix); add config macros for struct stat fields that aren't always present (instead of static defines in platform.h); platform detection & path handling for Redox 2017-09-22 20:20:17 -07:00
configure One more version update; remove an unneeded include 2018-01-02 00:32:07 -08:00
configure.ac Bump version & copyright year 2018-01-01 17:44:15 -08:00
install-sh Update buildsys to automake 1.15 and fix resulting warnings. This involved an autoreconf -if, and then reverting config.guess and config.sub since they're actually newer than the ones automake wants to install, and they've been customized a bit to detect e.g. MidnightBSD 2016-06-06 19:51:38 -07:00
lcov.sh Tweak .gitignore to ignore gcov files; add a convenience script (lcov.sh) to run lcov & package results 2017-08-28 23:01:35 -07:00
missing Update buildsys to automake 1.15 and fix resulting warnings. This involved an autoreconf -if, and then reverting config.guess and config.sub since they're actually newer than the ones automake wants to install, and they've been customized a bit to detect e.g. MidnightBSD 2016-06-06 19:51:38 -07:00
mkinstalldirs Update buildsys to automake 1.15 and fix resulting warnings. This involved an autoreconf -if, and then reverting config.guess and config.sub since they're actually newer than the ones automake wants to install, and they've been customized a bit to detect e.g. MidnightBSD 2016-06-06 19:51:38 -07:00
touchconfig.sh Add config.h.in to touchconfig script 2016-06-06 22:18:48 -07:00

README.md

Open Source Tripwire®

Open Source Tripwire® software is a security and data integrity tool useful for monitoring and alerting on specific file change(s) on a range of systems. The project is based on code originally contributed by Tripwire, Inc. in 2000.

Open Source Tripwire is suitable for monitoring a small number of servers, where centralized control and reporting is not needed and professional support or system automation is not a requirement.

General Instruction

via a fork: https://raw.githubusercontent.com/circuitStatic/tripwireOpenSource/master/README.md

The tripwire package comes with a basic configuration file /etc/tripwire/twcfg.txt, which sets the mandatory variables to the defaults as described in the twconfig(4) manual page. This configuration is merely enough to set tripwire to work.

The following five steps can serve you as a quick cookbook for setting tripwire to work.

  1. Choose a convenient HOSTNAME and generate site and local keys using
     twadmin --generate-keys -L /etc/tripwire/${HOSTNAME}-local.key
     twadmin --generate-keys -S /etc/tripwire/site.key

This creates the files named above as arguments.

  1. Compile the configuration file with
     twadmin --create-cfgfile -S /etc/tripwire/site.key /etc/tripwire/twcfg.txt

This creates file /etc/tripwire/tw.cfg.

  1. Create a policy file. A complex example can be found in /usr/share/doc/packages/tripwire/twpol-Linux.txt. For test purposes, a single rule
     /bin -> $(ReadOnly);   # the ending semicolon is mandatory

or alike will do. Compile this with

     twadmin --create-polfile -S /etc/tripwire/site.key /etc/tripwire/twpol.txt

provided /etc/tripwire/twpol.txt is the name of your policy file. This creates file /etc/tripwire/tw.pol.

  1. Generates a baseline database (snapshot of the objects residing on the system, according to the installed policy file) using
     tripwire --init

This creates file /var/lib/tripwire/${HOSTNAME}.twd.

  1. You can check the system with
     tripwire --check

This prints a report on the standard output and generates file /var/lib/tripwire/report/${HOSTNAME}-YYYYMMDD-HHMMSS.twr. The report can be redisplayed using

     twprint --print-report -r /var/lib/tripwire/report/${HOSTNAME}-YYYYMMDD-HMMSS.twr

Getting Started

via template: https://gist.github.com/PurpleBooth/109311bb0361f32d87a2

TODO: These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

TODO: What things you need to install the software and how to install them

Give examples

Installing

TODO: A step by step series of examples that tell you have to get a development env running

Say what the step will be

Give the example

And repeat

until finished

End with an example of getting some data out of the system or using it for a little demo

Running the test suites

TODO: Explain how to run the automated tests for this system

Deployment

TODO: Add additional notes about how to deploy this on a live system

Authors

License

The developer of the original code and/or files is Tripwire, Inc. Portions created by Tripwire, Inc. are copyright 2000-2018 Tripwire, Inc. Tripwire is a registered trademark of Tripwire, Inc. All rights reserved.

This program is free software. The contents of this file are subject to the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. You may redistribute it and/or modify it only in compliance with the GNU General Public License.

This program is distributed in the hope that it will be useful. However, this program is distributed "AS-IS" WITHOUT ANY WARRANTY; INCLUDING THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please see the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Nothing in the GNU General Public License or any other license to use the code or files shall permit you to use Tripwire's trademarks, service marks, or other intellectual property without Tripwire's prior written consent.

If you have any questions, please contact Tripwire, Inc. at either info@tripwire.org or www.tripwire.org.