trailofbits / trailofbits/algo
Rewrite auditd role to use go-audit
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 30.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
auditd is the best security feature that no one uses. As an optional feature, we should have Algo configured to log security-critical information and email it out of the VM on a regular basis. The role should use go-audit to get its job done.
There's a lot of sample auditd configuration from CI Security that we copied over to this repo. We should verify that these rules are appropriate:
https://github.com/trailofbits/algo/blob/master/templates/audit.rules.j2
https://github.com/trailofbits/algo/blob/master/templates/auditd.conf.j2
https://github.com/trailofbits/algo/blob/master/templates/CIS.conf.j2
https://github.com/trailofbits/algo/blob/master/security.yml#L44-L52
Here's a short guide for installing and configuring go-audit:
https://summitroute.com/blog/2016/12/25/Catching_attackers_with_go-audit_and_a_logging_pipeline/
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing templates/audit.rules.j2, templates/auditd.conf.j2, templates/CIS.conf.j2, and security.yml#L44-L52, then compare them with the linked CI Security rules and the go-audit guide. Determine the appropriate audit rules and configuration for an optional role using go-audit. Done means security-critical information is logged and emailed out of the VM regularly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ansible
- Domain
- devops, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100