tripwire:verify_the_tripwire_configuration
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tripwire:verify_the_tripwire_configuration [2016/11/27 17:09] – peter | tripwire:verify_the_tripwire_configuration [2019/12/04 21:55] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Tripwire - Verify the Tripwire Configuration ====== | ||
- | Check to see what the tripwire report looks like and if there are truly no warnings: | ||
- | |||
- | The basic syntax for a check is: | ||
- | |||
- | <code bash> | ||
- | sudo tripwire --check | ||
- | </ | ||
- | |||
- | You should see a report output to your screen specifying that there were no errors or changes found on your system. | ||
- | |||
- | shows | ||
- | |||
- | < | ||
- | Parsing policy file: / | ||
- | *** Processing Unix File System *** | ||
- | Performing integrity check... | ||
- | The object: "/ | ||
- | The object: "/ | ||
- | The object: "/ | ||
- | The object: "/ | ||
- | Wrote report file: / | ||
- | |||
- | |||
- | Open Source Tripwire(R) 2.4.2.2 Integrity Check Report | ||
- | |||
- | Report generated by: root | ||
- | Report created on: Sat 26 Nov 2016 11:07:10 GMT | ||
- | Database last updated on: Never | ||
- | |||
- | =============================================================================== | ||
- | Report Summary: | ||
- | =============================================================================== | ||
- | |||
- | Host name: server1.sharewiz.net | ||
- | Host IP address: | ||
- | Host ID: None | ||
- | Policy file used: / | ||
- | Configuration file used: / | ||
- | Database file used: / | ||
- | Command line used: tripwire --check | ||
- | |||
- | =============================================================================== | ||
- | Rule Summary: | ||
- | =============================================================================== | ||
- | |||
- | ------------------------------------------------------------------------------- | ||
- | Section: Unix File System | ||
- | ------------------------------------------------------------------------------- | ||
- | |||
- | Rule Name | ||
- | --------- | ||
- | Other binaries | ||
- | Tripwire Binaries | ||
- | Other libraries | ||
- | Root file-system executables | ||
- | Tripwire Data Files | ||
- | * System boot changes | ||
- | (/var/log) | ||
- | Root file-system libraries | ||
- | (/lib) | ||
- | Critical system boot files 100 | ||
- | Other configuration files | ||
- | (/etc) | ||
- | Boot Scripts | ||
- | Security Control | ||
- | Root config files | ||
- | Devices & Kernel information | ||
- | Invariant Directories | ||
- | |||
- | Total objects scanned: | ||
- | Total violations found: | ||
- | |||
- | =============================================================================== | ||
- | Object Summary: | ||
- | =============================================================================== | ||
- | |||
- | ------------------------------------------------------------------------------- | ||
- | # Section: Unix File System | ||
- | ------------------------------------------------------------------------------- | ||
- | |||
- | ------------------------------------------------------------------------------- | ||
- | Rule Name: System boot changes (/var/log) | ||
- | Severity Level: 100 | ||
- | ------------------------------------------------------------------------------- | ||
- | |||
- | Added: | ||
- | "/ | ||
- | "/ | ||
- | "/ | ||
- | "/ | ||
- | "/ | ||
- | "/ | ||
- | "/ | ||
- | "/ | ||
- | "/ | ||
- | "/ | ||
- | "/ | ||
- | "/ | ||
- | "/ | ||
- | "/ | ||
- | "/ | ||
- | "/ | ||
- | |||
- | Modified: | ||
- | "/ | ||
- | "/ | ||
- | "/ | ||
- | |||
- | =============================================================================== | ||
- | Error Report: | ||
- | =============================================================================== | ||
- | |||
- | No Errors | ||
- | |||
- | ------------------------------------------------------------------------------- | ||
- | *** End of report *** | ||
- | |||
- | Open Source Tripwire 2.4 Portions copyright 2000 Tripwire, Inc. Tripwire is a registered | ||
- | trademark of Tripwire, Inc. This software comes with ABSOLUTELY NO WARRANTY; | ||
- | for details use --version. This is free software which may be redistributed | ||
- | or modified only under certain conditions; see COPYING for details. | ||
- | All rights reserved. | ||
- | Integrity check complete. | ||
- | </ | ||
- | |||
- | Notice the following lines near the top of the report. | ||
- | |||
- | < | ||
- | The object: "/ | ||
- | The object: "/ | ||
- | The object: "/ | ||
- | The object: "/ | ||
- | </ | ||
- | |||
- | ===== Do an interactive check ===== | ||
- | |||
- | <code bash> | ||
- | sudo tripwire --check --interactive | ||
- | </ | ||
- | |||
- | This will run the same tests as normal, but at the end, instead of outputting the report to the screen, it is copied into a text file and opened with the default editor. | ||
- | |||
- | This report goes into quite a lot of detail about each file that changed. In fact, on my machine, the report generated was 2,275 lines long. This amount of information is extremely helpful in the event of a real security problem, but in our case, it's generally probably not too interesting for the most part. | ||
- | |||
- | The important part is near the top. After some introductory information, | ||
- | |||
- | < | ||
- | Rule Name: Other binaries (/usr/sbin) | ||
- | Severity Level: 66 | ||
- | ------------------------------------------------------------------------------- | ||
- | |||
- | Remove the " | ||
- | with the new values for this object. | ||
- | |||
- | Added: | ||
- | [x] "/ | ||
- | |||
- | Modified: | ||
- | [x] "/ | ||
- | . . . | ||
- | </ | ||
- | |||
- | These check boxes indicate that you want to update the database to allow these changes. | ||
- | |||
- | If you are not okay with a change, you can remove the " | ||
- | |||
- | After you have decided on which file changes are okay, you can save and close the file. | ||
- | |||
- | At this point, it will ask for your local passphrase so that tripwire can update its database files. | ||
- | |||
- | ===== Do an interactive check ===== | ||
- | |||
- | <code bash> | ||
- | sudo tripwire --check --interactive | ||
- | </ | ||
- | |||
- | This will run the same tests as normal, but at the end, instead of outputting the report to the screen, it is copied into a text file and opened with the default editor. | ||
- | |||
- | This report goes into quite a lot of detail about each file that changed. In fact, on my machine, the report generated was 2,275 lines long. This amount of information is extremely helpful in the event of a real security problem, but in our case, it's generally probably not too interesting for the most part. | ||
- | |||
- | The important part is near the top. After some introductory information, | ||
- | |||
- | Rule Name: Other binaries (/usr/sbin) | ||
- | Severity Level: 66 | ||
- | ------------------------------------------------------------------------------- | ||
- | |||
- | Remove the " | ||
- | with the new values for this object. | ||
- | |||
- | Added: | ||
- | [x] "/ | ||
- | |||
- | Modified: | ||
- | [x] "/ | ||
- | . . . | ||
- | </ | ||
- | |||
- | These check boxes indicate that you want to update the database to allow these changes. You should search for every box that has an " | ||
- | |||
- | If you are not okay with a change, you can remove the " | ||
- | |||
- | After you have decided on which file changes are okay, you can save and close the file. | ||
- | |||
- | At this point, it will ask for your local passphrase so that tripwire can update its database files. | ||
- | |||
- | If we accepted all of the changes, and if we re-run this command, the report should be much shorter now and list no changes. |
tripwire/verify_the_tripwire_configuration.1480266567.txt.gz · Last modified: 2020/07/15 09:30 (external edit)