75 Commits

Author SHA1 Message Date
Naomi Kramer a28105c53b Merge remote-tracking branch 'origin/develop' v5.1.2 2026-04-02 12:36:06 -04:00
Naomi Kramer 6d04bf5d89 Merge pull request #100 from activecm/revert-94-380-add-xsd-mime-type
Revert "Update the extension list with .xsd extension and application xml mime type"
2026-04-02 12:35:16 -04:00
Naomi Kramer c9d48b5efd Revert "Update the extension list with .xsd extension and application xml mim…"
This reverts commit 8f9be0291c.
2026-04-02 12:13:02 -04:00
Paweł Floryan b93e6c7005 Limits for available CPU cores during importing (#97)
* Added limits to available CPU cores during importing

Also added tests for new functions used

* Update import.go

---------

Co-authored-by: Liza Tsibur <liza@activecountermeasures.com>
2026-04-01 11:18:16 -06:00
Naomi Kramer e101fe2a86 Update analysis hash filters to use WHERE IN (#98) 2026-04-01 10:58:34 -06:00
Paweł Floryan 8f9be0291c Update the extension list with .xsd extension and application xml mime type (#94)
* Updated http_extensions list for xml

- Added the xsd file extension to the list
- Named application/xml mime type 'xml' as per IANA standard

* Added xml mime types data to test case

---------

Co-authored-by: Liza Tsibur <liza@activecountermeasures.com>
2026-03-26 11:37:16 -06:00
Liza Tsibur 309171c9aa Simplify installer and update CI (#95)
* simplified installer, removed ansible and remote installs, updated ci

* Update ci.yml
2026-03-26 07:56:02 -06:00
Liza Tsibur 736462070c Merge branch 'main' into develop 2026-01-20 18:44:21 -07:00
Liza Tsibur 2bd5475e76 Installer and Import Logic Updates (#90)
* Disable permission flag checks on imported logs (#86)

* Disable permission flag checks on imported logs

* Display individual log errors even if there are no viable logs

---------

Co-authored-by: Naomi Kramer <naomi@activecountermeasures.com>

* Installer Import Logic Updates (#89)

* rename sshprep to sshprep.sh

* installer updates

removed mass upgrades, cleaned up installer, removed references to unsupported OS's, improved error handling and usage messages

* threat intel feed error handling

* cleaned up installer scripts and improved helper functions

* Update ansible-installer.sh

---------

Co-authored-by: Naomi Kramer <naomi@activecountermeasures.com>
2026-01-20 17:50:56 -07:00
Keith Chew ee844663e4 Update README.md 2025-12-31 15:59:24 -05:00
Liza Tsibur 63b6e3d6e7 Revert "Disable permission flag checks on imported logs (#82)" (#85)
This reverts commit fd1bbe3263.
2025-12-09 13:22:09 -07:00
Naomi Kramer fd1bbe3263 Disable permission flag checks on imported logs (#82)
* Disable permission flag checks on imported logs

* Display individual log errors even if there are no viable logs
2025-12-03 13:54:03 -07:00
moth 952a4263a9 Install Ansible with Pipx (#84)
* Install Ansible using pipx instead of Linux package manager

* Prepend ~/.local/bin to path if not present (needed on Ubuntu to find pipx-installed Ansible)

* Install pipx in a virtual environment to avoid PEP 668 issues

* Pin ansible-core version 2.15.3 to avoid deprecation warnings and breaking syntax changes

* Pin ansible-core 2.15.13, force installation
2025-11-24 12:59:04 -07:00
Naomi Kramer b30305c6b5 Merge remote-tracking branch 'origin/develop' 2025-09-26 10:56:56 -04:00
Naomi Kramer 470d0509dd Fix IXFR transfers for Linux DNS servers (#80)
Co-authored-by: moth <25512187+0x6d6f7468@users.noreply.github.com>
v5.1.0
2025-09-24 17:03:10 -04:00
Naomi Kramer ee04ee472c Update changes for docker deployment (#79)
Updated configurations for docker deployment to reflect changes made in #78
2025-09-23 14:32:26 -04:00
Naomi Kramer b923c39e2d Update configuration (#78)
* Update on config structure, functionality, and tests

Co-Authored-By: Naomi Kramer <naomiagoddard@gmail.com>

* Extend subnet type to read/write from db, update tests

Co-Authored-By: Liza Tsibur <liza@activecountermeasures.com>

* updated read file config test and subnet tests

* fixed config and util tests, updated subnet related functions

Co-Authored-By: Naomi Kramer <naomiagoddard@gmail.com>

* Remove error return from GetDefaultConfig

Co-Authored-By: Liza Tsibur <liza@activecountermeasures.com>

* added json tags to database struct

* Updated beacon weights validation for config

* updates to score thresholds validation tags

* changes to config subnet validation and testing

* Update subnet.go

* Write missing host entries to http to populate http_proto

* Updating some fields to uint64

* WIP update some field types

* Update zeek count types and fix tests

* Add clickhouse credentials

* Misc fixes

* Update pointer

* Add ability to mark datasets as sample datasets

* fix column name

* Fix datasets exiting import if hour is empty

* Fix zeek count parsing from TSV files

* Remove storing dns conns in arrays, Fix historical first seen dns lag

* Remove unused columns

* Update config.hjson

* Update config.hjson

* updated impact category score functions to use float64

Co-Authored-By: Naomi Kramer <naomiagoddard@gmail.com>

* Update subnet.go

* Store import version in imports table

* Fix duplicated SNI/IP long connections

* Update subnet_test.go

* Cleanup output

* Rolling files updates (#39)

* Limit number of days to import for rolling datasets

* Fix breaking imports when import was interrupted

* Remove debug output

---------

Co-authored-by: Naomi Kramer <naomi@activecountermeasures.com>

* Omit parts of env from output

* Set max for threat intel datasize

* Remove SELinux neutering for QA

* Add network size column

* Fix http_proto for missing host, update tests for missing host fixes

* Add online feeds to default config

* Update sshprep (#45)

* Update sshprep

Co-Authored-By: William Stearns <3538265+william-stearns@users.noreply.github.com>

* Update sshprep

Add Bradley's suggestion of using head -1 to limit to a single address.

---------

Co-authored-by: Naomi Kramer <naomi@activecountermeasures.com>
Co-authored-by: William Stearns <3538265+william-stearns@users.noreply.github.com>

* Installer Behavior Tweaks (#41)

* Add --yes flag to add-apt-repository command

* Add missing sudo flags, make sure we're using the SUDO variable instead

* Add ability to perform zone transfers (#48)

* Store zone transfer records

Co-Authored-By: moth <25512187+0x6d6f7468@users.noreply.github.com>

* Update config

* Add tests

* Tests, connectivity test

* Update tests

---------

Co-authored-by: moth <25512187+0x6d6f7468@users.noreply.github.com>

* Support RedHat/RHEL as a valid target (#47)

* Update sshprep

Co-Authored-By: William Stearns <3538265+william-stearns@users.noreply.github.com>

* Supporrt RedHat/RHEL as a valid target

---------

Co-authored-by: Naomi Kramer <naomi@activecountermeasures.com>
Co-authored-by: William Stearns <3538265+william-stearns@users.noreply.github.com>
Co-authored-by: moth <moth@blackhillsinfosec.com>

* Fix tests (#49)

* Fix tests

* Update WalkFiles to use UTC

* fixed issue with rolling datasets over 24hours old not getting historical first seen timestamp set (#52)

* Change values from float32 to float64 (#50)

* Switch float32 to float64

* Update threat category calculation to match CalculateBucketedScore (#51)

---------

Co-authored-by: Liza Tsibur <liza@activecountermeasures.com>

* Bump max query execution time default value

* Use string instead of error for ZoneTransferConnectivityErrors struct fields (#61)

* Upgrade Golang to version 1.24 (#59) (#60)

* Replace get_url with shell and curl (#58)

* Update sshprep

Co-Authored-By: William Stearns <3538265+william-stearns@users.noreply.github.com>

* Replace get_url with shell and curl

* Use get_url by default, fall back to curl if it fails

---------

Co-authored-by: Naomi Kramer <naomi@activecountermeasures.com>
Co-authored-by: William Stearns <3538265+william-stearns@users.noreply.github.com>
Co-authored-by: moth <moth@blackhillsinfosec.com>

* add automated log transfer, AC-Hunter issue 135 (#62)

* Update sshprep

Co-Authored-By: William Stearns <3538265+william-stearns@users.noreply.github.com>

* add automated log transfer, PR135

* cron requires non-executable permission

* Specify suggested YAML plugin and config in VSCode workspace

* Linting and light cleanup

* Update generate_installer.sh

Download zeek_log_transport.sh to send to the sensor.

* Create cron file if remote zeek installation

* Only run zeek log import steps for remote sensor installations

---------

Co-authored-by: Naomi Kramer <naomi@activecountermeasures.com>
Co-authored-by: William Stearns <3538265+william-stearns@users.noreply.github.com>
Co-authored-by: moth <moth@blackhillsinfosec.com>

* Temporarily disable RITA/Zeek log transport until installer is modular (#66)

* Uniform -y flag usage for repo management/package installation; Uniform SUDO variable usage (#68)

* Resolve Installer Side Effects and Formalize RHEL Support (#73)

* Add missing necessary wildcards for RHEL versions

* Remove Ansible task replacing python3-requests to avoid RHEL distro installation side effects

* Update supported distros in README

* Update scoring defaults

* Resolve Ansible Reboot Errors (#75)

* Clean up conditionals; Fix reboot step for Ubuntu

* Suppress erroneous error output on RPM systems, ignore errors on reboot necessity checks

* Ignore missing host rows for openhttp (#76)

* Fix integration tests due to prevalence (#77)

---------

Co-authored-by: Liza Tsibur <liza@activecountermeasures.com>
Co-authored-by: moth <moth@blackhillsinfosec.com>
Co-authored-by: William Stearns <william.l.stearns@gmail.com>
Co-authored-by: William Stearns <3538265+william-stearns@users.noreply.github.com>
Co-authored-by: moth <25512187+0x6d6f7468@users.noreply.github.com>
2025-09-22 16:21:05 -04:00
Naomi Kramer bcd04819dc Add develop branch to workflows 2025-09-22 16:06:33 -04:00
Naomi Kramer 93b2dc566c Update sshprep
Co-Authored-By: William Stearns <3538265+william-stearns@users.noreply.github.com>
v5.0.8
2024-08-20 10:23:04 -04:00
Naomi Kramer e5fbb07068 Update sshprep to use rsa-sha2-512
Co-Authored-By: William Stearns <3538265+william-stearns@users.noreply.github.com>
2024-08-19 12:15:50 -04:00
William Stearns e4a03e6797 Update permanent URL for downloading the installer script. (#23) 2024-08-19 10:54:05 -04:00
dependabot[bot] c517e7ac36 Bump github.com/docker/docker in the go_modules group across 1 directory (#17)
Bumps the go_modules group with 1 update in the / directory: [github.com/docker/docker](https://github.com/docker/docker).


Updates `github.com/docker/docker` from 26.1.4+incompatible to 26.1.5+incompatible
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v26.1.4...v26.1.5)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Liza Tsibur <liza@activecountermeasures.com>
2024-08-14 14:12:51 -06:00
Joshua Wright 1dae9faac1 Adjust RITA container dependency to validate health status of ClickHouse (#19)
* Adjust RITA container dependency to validate health status of ClickHouse before launch; adjust HEALTHCHECK timing for ClickHouse to minimize startup delay

* Update docker-compose.prod.yml

Co-Authored-By: Liza Tsibur <liza@activecountermeasures.com>

---------

Co-authored-by: Naomi Kramer <naomi@activecountermeasures.com>
Co-authored-by: Liza Tsibur <liza@activecountermeasures.com>
2024-08-14 16:02:04 -04:00
William Stearns ffb694a5af Replace ansibles apt-key module (deprecated) (#21)
* Split prep and post tasks into their own playbook

* all playbooks in one command

* Replace ansibles apt-key module (deprecated)

---------

Co-authored-by: Naomi Kramer <naomi@activecountermeasures.com>
Co-authored-by: Liza Tsibur <liza@activecountermeasures.com>
2024-08-14 13:55:02 -06:00
Naomi Kramer 530c835daa Display prevalence as a fraction
Co-Authored-By: Liza Tsibur <liza@activecountermeasures.com>
2024-08-14 15:37:33 -04:00
William Stearns d3b5b3d2d2 Split prep and post tasks into their own playbook (#16)
* Split prep and post tasks into their own playbook

* all playbooks in one command

* Include install_pre and install_post playbooks in installer generator

---------

Co-authored-by: Naomi Kramer <naomi@activecountermeasures.com>
2024-08-14 15:02:15 -04:00
dependabot[bot] 8cec22dc56 Bump github.com/docker/docker in the go_modules group across 1 directory (#6)
Bumps the go_modules group with 1 update in the / directory: [github.com/docker/docker](https://github.com/docker/docker).


Updates `github.com/docker/docker` from 26.1.3+incompatible to 26.1.4+incompatible
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v26.1.3...v26.1.4)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Liza Tsibur <liza@activecountermeasures.com>
v5.0.7
2024-08-02 14:04:08 -06:00
Liza Tsibur 8c43e445c4 Fixed importing for added hour-format files to same directory, added support for corelight format file names
Co-Authored-By: Naomi Kramer <naomiagoddard@gmail.com>
2024-08-02 13:35:13 -06:00
Naomi Kramer 5d22b1c82b Make CreateServerDBTables public
Co-Authored-By: Liza Tsibur <liza@activecountermeasures.com>
2024-08-01 15:24:09 -04:00
Joshua Wright e54bcad96c Correct path to http_extensions_list.csv in in (dev) docker-compose.yml (#9)
Co-authored-by: Naomi Kramer <naomi@activecountermeasures.com>
v5.0.6
2024-07-30 10:22:55 -04:00
Naomi Kramer 10c186ec6c Bring up compose project after checking for existing instance 2024-07-30 09:40:44 -04:00
Naomi Kramer 0ce0c799e5 Update one line installer 2024-07-29 16:56:06 -04:00
Naomi Kramer 7ce46845e1 Update workflow 2024-07-29 16:40:39 -04:00
William Stearns d3d7ff9aa9 Install docker-zeek by default when installing rita. (#4)
* Install docker-zeek by default when installing rita.

* Include docker-zeek in installer generator

* Make zeek script executable

* Add one-line installer

---------

Co-authored-by: Naomi Kramer <naomi@activecountermeasures.com>
2024-07-29 16:37:19 -04:00
Liza Tsibur fbb5fbf16c Added config unmarshalling function and updated associated tests
Co-Authored-By: Naomi Kramer <naomiagoddard@gmail.com>
2024-07-17 13:49:57 -06:00
Naomi Kramer 71ee002d24 Update sidebar when no result is selected v5.0.5 2024-07-17 12:15:39 -04:00
Naomi Kramer 25630bdba1 Fix search filter test 2024-07-17 10:41:08 -04:00
Naomi Kramer 1406ed2098 Fix viewer test 2024-07-17 10:25:50 -04:00
Liza Tsibur c4502249cc Fixed viewer issues, fixed and added tests to cmd and util packages
Co-Authored-By: Naomi Kramer <naomiagoddard@gmail.com>
2024-07-17 01:37:59 -06:00
Naomi Kramer 9faeff565d Update viewer
Co-Authored-By: Liza Tsibur <liza@activecountermeasures.com>
2024-07-16 13:51:11 -04:00
Liza Tsibur b9974cea30 fixed linting errors, reworked config loading, removed unused code, fixed some tests
Co-Authored-By: Naomi Kramer <naomiagoddard@gmail.com>
2024-07-15 21:08:32 -06:00
Naomi Kramer c47ac8082b Update config
Co-Authored-By: Liza Tsibur <liza@activecountermeasures.com>
2024-07-15 14:51:58 -04:00
Liza Tsibur 235819b156 Merge pull request #3 from activecm/wls_installer_secondary_os
Installer script fixes for unsupported operating systems.
2024-07-15 10:22:10 -06:00
William Stearns 6a951f57bc Installer script fixes for unsupported operating systems. 2024-07-11 16:44:02 -04:00
Naomi Kramer 2d274d7026 Update csv_test.go
Co-Authored-By: Liza Tsibur <liza@activecountermeasures.com>
v5.0.4
2024-07-10 16:47:26 -04:00
Naomi Kramer b64dccb324 Load env in tests
Co-Authored-By: Liza Tsibur <liza@activecountermeasures.com>
2024-07-10 16:10:48 -04:00
Naomi Kramer 3dcd4d1957 Update first seen scoring for non-rolling datasets
Co-Authored-By: Liza Tsibur <liza@activecountermeasures.com>
2024-07-10 16:04:49 -04:00
Liza Tsibur 7f3693d58c created test_data go module v5.0.3 v5.0.2 2024-07-03 16:56:26 -06:00
Liza Tsibur 20aa716587 Revert "updated package name"
This reverts commit 0b6db7afda.
2024-07-03 16:02:26 -06:00
Liza Tsibur 0b6db7afda updated package name 2024-07-03 10:41:59 -06:00