Skip to content

Commit

Permalink
Malcolm v5.0.3 minor update
Browse files Browse the repository at this point in the history
- build with latest zeek/spicy-ldap release
- build with latest corelight/cve-2021-44228 release
- fix idaholab#69 (zeek resists shutdown on sensor during halt/reboot)
- bump OpenSearch to v1.2.2
- added convenience script for working with GitHub workflow-built images

Signed-off-by: SG <[email protected]>
  • Loading branch information
mmguero committed Dec 16, 2021
1 parent 3f6f71c commit 4e8d21c
Show file tree
Hide file tree
Showing 13 changed files with 238 additions and 67 deletions.
2 changes: 1 addition & 1 deletion Dockerfiles/dashboards.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ENV PGROUP "dashboarder"

ENV TERM xterm

ARG OPENSEARCH_VERSION="1.2.1"
ARG OPENSEARCH_VERSION="1.2.2"
ENV OPENSEARCH_VERSION $OPENSEARCH_VERSION

ARG OPENSEARCH_DASHBOARDS_VERSION="1.2.0"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/opensearch.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM opensearchproject/opensearch:1.2.1
FROM opensearchproject/opensearch:1.2.2

# Copyright (c) 2022 Battelle Energy Alliance, LLC. All rights reserved.
LABEL maintainer="[email protected]"
Expand Down
64 changes: 32 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,21 +143,21 @@ You can then observe that the images have been retrieved by running `docker imag
```
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
malcolmnetsec/arkime 5.0.2 xxxxxxxxxxxx 2 days ago 811MB
malcolmnetsec/dashboards 5.0.2 xxxxxxxxxxxx 2 days ago 970MB
malcolmnetsec/dashboards-helper 5.0.2 xxxxxxxxxxxx 2 days ago 154MB
malcolmnetsec/filebeat-oss 5.0.2 xxxxxxxxxxxx 2 days ago 621MB
malcolmnetsec/file-monitor 5.0.2 xxxxxxxxxxxx 2 days ago 586MB
malcolmnetsec/file-upload 5.0.2 xxxxxxxxxxxx 2 days ago 259MB
malcolmnetsec/freq 5.0.2 xxxxxxxxxxxx 2 days ago 132MB
malcolmnetsec/htadmin 5.0.2 xxxxxxxxxxxx 2 days ago 242MB
malcolmnetsec/logstash-oss 5.0.2 xxxxxxxxxxxx 2 days ago 1.27GB
malcolmnetsec/name-map-ui 5.0.2 xxxxxxxxxxxx 2 days ago 142MB
malcolmnetsec/nginx-proxy 5.0.2 xxxxxxxxxxxx 2 days ago 117MB
malcolmnetsec/opensearch 5.0.2 xxxxxxxxxxxx 2 days ago 1.18GB
malcolmnetsec/pcap-capture 5.0.2 xxxxxxxxxxxx 2 days ago 122MB
malcolmnetsec/pcap-monitor 5.0.2 xxxxxxxxxxxx 2 days ago 214MB
malcolmnetsec/zeek 5.0.2 xxxxxxxxxxxx 2 days ago 938MB
malcolmnetsec/arkime 5.0.3 xxxxxxxxxxxx 2 days ago 811MB
malcolmnetsec/dashboards 5.0.3 xxxxxxxxxxxx 2 days ago 970MB
malcolmnetsec/dashboards-helper 5.0.3 xxxxxxxxxxxx 2 days ago 154MB
malcolmnetsec/filebeat-oss 5.0.3 xxxxxxxxxxxx 2 days ago 621MB
malcolmnetsec/file-monitor 5.0.3 xxxxxxxxxxxx 2 days ago 586MB
malcolmnetsec/file-upload 5.0.3 xxxxxxxxxxxx 2 days ago 259MB
malcolmnetsec/freq 5.0.3 xxxxxxxxxxxx 2 days ago 132MB
malcolmnetsec/htadmin 5.0.3 xxxxxxxxxxxx 2 days ago 242MB
malcolmnetsec/logstash-oss 5.0.3 xxxxxxxxxxxx 2 days ago 1.27GB
malcolmnetsec/name-map-ui 5.0.3 xxxxxxxxxxxx 2 days ago 142MB
malcolmnetsec/nginx-proxy 5.0.3 xxxxxxxxxxxx 2 days ago 117MB
malcolmnetsec/opensearch 5.0.3 xxxxxxxxxxxx 2 days ago 1.18GB
malcolmnetsec/pcap-capture 5.0.3 xxxxxxxxxxxx 2 days ago 122MB
malcolmnetsec/pcap-monitor 5.0.3 xxxxxxxxxxxx 2 days ago 214MB
malcolmnetsec/zeek 5.0.3 xxxxxxxxxxxx 2 days ago 938MB
```

#### Import from pre-packaged tarballs
Expand Down Expand Up @@ -370,7 +370,7 @@ Then, go take a walk or something since it will be a while. When you're done, yo
* `malcolmnetsec/pcap-monitor` (based on `debian:bullseye-slim`)
* `malcolmnetsec/pcap-zeek` (based on `debian:bullseye-slim`)

Alternately, if you have forked Malcolm on GitHub, [workflow files](./.github/workflows/) are provided which contain instructions for GitHub to build the docker images and [sensor](#Hedgehog) and [Malcolm](#ISO) installer ISOs. The resulting images are named according to the pattern `ghcr.io/owner/malcolmnetsec/image:branch` (e.g., if you've forked Malcolm with the github user `romeogdetlevjr`, the `arkime` container built for the `main` would be named `ghcr.io/romeogdetlevjr/malcolmnetsec/arkime:main`). To run your local instance of Malcolm using these images instead of the official ones, you'll need to edit your `docker-compose.yml` file(s) and replace the `image:` tags according to this new pattern.
Alternately, if you have forked Malcolm on GitHub, [workflow files](./.github/workflows/) are provided which contain instructions for GitHub to build the docker images and [sensor](#Hedgehog) and [Malcolm](#ISO) installer ISOs. The resulting images are named according to the pattern `ghcr.io/owner/malcolmnetsec/image:branch` (e.g., if you've forked Malcolm with the github user `romeogdetlevjr`, the `arkime` container built for the `main` would be named `ghcr.io/romeogdetlevjr/malcolmnetsec/arkime:main`). To run your local instance of Malcolm using these images instead of the official ones, you'll need to edit your `docker-compose.yml` file(s) and replace the `image:` tags according to this new pattern, or use the bash helper script `./shared/bin/github_image_helper.sh` to pull and re-tag the images.

## <a name="Packager"></a>Pre-Packaged installation files

Expand Down Expand Up @@ -1499,7 +1499,7 @@ Building the ISO may take 30 minutes or more depending on your system. As the bu

```
Finished, created "/malcolm-build/malcolm-iso/malcolm-5.0.2.iso"
Finished, created "/malcolm-build/malcolm-iso/malcolm-5.0.3.iso"
```

Expand Down Expand Up @@ -1885,21 +1885,21 @@ Pulling zeek ... done
user@host:~/Malcolm$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
malcolmnetsec/arkime 5.0.2 xxxxxxxxxxxx 2 days ago 811MB
malcolmnetsec/dashboards 5.0.2 xxxxxxxxxxxx 2 days ago 970MB
malcolmnetsec/dashboards-helper 5.0.2 xxxxxxxxxxxx 2 days ago 154MB
malcolmnetsec/filebeat-oss 5.0.2 xxxxxxxxxxxx 2 days ago 621MB
malcolmnetsec/file-monitor 5.0.2 xxxxxxxxxxxx 2 days ago 586MB
malcolmnetsec/file-upload 5.0.2 xxxxxxxxxxxx 2 days ago 259MB
malcolmnetsec/freq 5.0.2 xxxxxxxxxxxx 2 days ago 132MB
malcolmnetsec/htadmin 5.0.2 xxxxxxxxxxxx 2 days ago 242MB
malcolmnetsec/logstash-oss 5.0.2 xxxxxxxxxxxx 2 days ago 1.27GB
malcolmnetsec/name-map-ui 5.0.2 xxxxxxxxxxxx 2 days ago 142MB
malcolmnetsec/nginx-proxy 5.0.2 xxxxxxxxxxxx 2 days ago 117MB
malcolmnetsec/opensearch 5.0.2 xxxxxxxxxxxx 2 days ago 1.18GB
malcolmnetsec/pcap-capture 5.0.2 xxxxxxxxxxxx 2 days ago 122MB
malcolmnetsec/pcap-monitor 5.0.2 xxxxxxxxxxxx 2 days ago 214MB
malcolmnetsec/zeek 5.0.2 xxxxxxxxxxxx 2 days ago 938MB
malcolmnetsec/arkime 5.0.3 xxxxxxxxxxxx 2 days ago 811MB
malcolmnetsec/dashboards 5.0.3 xxxxxxxxxxxx 2 days ago 970MB
malcolmnetsec/dashboards-helper 5.0.3 xxxxxxxxxxxx 2 days ago 154MB
malcolmnetsec/filebeat-oss 5.0.3 xxxxxxxxxxxx 2 days ago 621MB
malcolmnetsec/file-monitor 5.0.3 xxxxxxxxxxxx 2 days ago 586MB
malcolmnetsec/file-upload 5.0.3 xxxxxxxxxxxx 2 days ago 259MB
malcolmnetsec/freq 5.0.3 xxxxxxxxxxxx 2 days ago 132MB
malcolmnetsec/htadmin 5.0.3 xxxxxxxxxxxx 2 days ago 242MB
malcolmnetsec/logstash-oss 5.0.3 xxxxxxxxxxxx 2 days ago 1.27GB
malcolmnetsec/name-map-ui 5.0.3 xxxxxxxxxxxx 2 days ago 142MB
malcolmnetsec/nginx-proxy 5.0.3 xxxxxxxxxxxx 2 days ago 117MB
malcolmnetsec/opensearch 5.0.3 xxxxxxxxxxxx 2 days ago 1.18GB
malcolmnetsec/pcap-capture 5.0.3 xxxxxxxxxxxx 2 days ago 122MB
malcolmnetsec/pcap-monitor 5.0.3 xxxxxxxxxxxx 2 days ago 214MB
malcolmnetsec/zeek 5.0.3 xxxxxxxxxxxx 2 days ago 938MB
```

Finally, we can start Malcolm. When Malcolm starts it will stream informational and debug messages to the console. If you wish, you can safely close the console or use `Ctrl+C` to stop these messages; Malcolm will continue running in the background.
Expand Down
30 changes: 15 additions & 15 deletions docker-compose-standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ x-pcap-capture-variables: &pcap-capture-variables

services:
opensearch:
image: malcolmnetsec/opensearch:5.0.2
image: malcolmnetsec/opensearch:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand Down Expand Up @@ -164,7 +164,7 @@ services:
retries: 3
start_period: 180s
dashboards-helper:
image: malcolmnetsec/dashboards-helper:5.0.2
image: malcolmnetsec/dashboards-helper:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand Down Expand Up @@ -192,7 +192,7 @@ services:
retries: 3
start_period: 30s
dashboards:
image: malcolmnetsec/dashboards:5.0.2
image: malcolmnetsec/dashboards:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand All @@ -213,7 +213,7 @@ services:
retries: 3
start_period: 210s
logstash:
image: malcolmnetsec/logstash-oss:5.0.2
image: malcolmnetsec/logstash-oss:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand Down Expand Up @@ -248,7 +248,7 @@ services:
retries: 3
start_period: 600s
filebeat:
image: malcolmnetsec/filebeat-oss:5.0.2
image: malcolmnetsec/filebeat-oss:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand Down Expand Up @@ -285,7 +285,7 @@ services:
retries: 3
start_period: 60s
arkime:
image: malcolmnetsec/arkime:5.0.2
image: malcolmnetsec/arkime:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand Down Expand Up @@ -323,7 +323,7 @@ services:
retries: 3
start_period: 210s
zeek:
image: malcolmnetsec/zeek:5.0.2
image: malcolmnetsec/zeek:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand All @@ -349,7 +349,7 @@ services:
retries: 3
start_period: 60s
file-monitor:
image: malcolmnetsec/file-monitor:5.0.2
image: malcolmnetsec/file-monitor:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand All @@ -372,7 +372,7 @@ services:
retries: 3
start_period: 60s
pcap-capture:
image: malcolmnetsec/pcap-capture:5.0.2
image: malcolmnetsec/pcap-capture:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand All @@ -392,7 +392,7 @@ services:
volumes:
- ./pcap/upload:/pcap
pcap-monitor:
image: malcolmnetsec/pcap-monitor:5.0.2
image: malcolmnetsec/pcap-monitor:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand All @@ -415,7 +415,7 @@ services:
retries: 3
start_period: 90s
upload:
image: malcolmnetsec/file-upload:5.0.2
image: malcolmnetsec/file-upload:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand All @@ -441,7 +441,7 @@ services:
retries: 3
start_period: 60s
htadmin:
image: malcolmnetsec/htadmin:5.0.2
image: malcolmnetsec/htadmin:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand All @@ -463,7 +463,7 @@ services:
retries: 3
start_period: 60s
freq:
image: malcolmnetsec/freq:5.0.2
image: malcolmnetsec/freq:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand All @@ -481,7 +481,7 @@ services:
retries: 3
start_period: 60s
name-map-ui:
image: malcolmnetsec/name-map-ui:5.0.2
image: malcolmnetsec/name-map-ui:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand All @@ -502,7 +502,7 @@ services:
retries: 3
start_period: 60s
nginx-proxy:
image: malcolmnetsec/nginx-proxy:5.0.2
image: malcolmnetsec/nginx-proxy:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand Down
30 changes: 15 additions & 15 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ services:
build:
context: .
dockerfile: Dockerfiles/opensearch.Dockerfile
image: malcolmnetsec/opensearch:5.0.2
image: malcolmnetsec/opensearch:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand Down Expand Up @@ -170,7 +170,7 @@ services:
build:
context: .
dockerfile: Dockerfiles/dashboards-helper.Dockerfile
image: malcolmnetsec/dashboards-helper:5.0.2
image: malcolmnetsec/dashboards-helper:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand Down Expand Up @@ -201,7 +201,7 @@ services:
build:
context: .
dockerfile: Dockerfiles/dashboards.Dockerfile
image: malcolmnetsec/dashboards:5.0.2
image: malcolmnetsec/dashboards:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand All @@ -225,7 +225,7 @@ services:
build:
context: .
dockerfile: Dockerfiles/logstash.Dockerfile
image: malcolmnetsec/logstash-oss:5.0.2
image: malcolmnetsec/logstash-oss:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand Down Expand Up @@ -265,7 +265,7 @@ services:
build:
context: .
dockerfile: Dockerfiles/filebeat.Dockerfile
image: malcolmnetsec/filebeat-oss:5.0.2
image: malcolmnetsec/filebeat-oss:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand Down Expand Up @@ -306,7 +306,7 @@ services:
build:
context: .
dockerfile: Dockerfiles/arkime.Dockerfile
image: malcolmnetsec/arkime:5.0.2
image: malcolmnetsec/arkime:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand Down Expand Up @@ -350,7 +350,7 @@ services:
build:
context: .
dockerfile: Dockerfiles/zeek.Dockerfile
image: malcolmnetsec/zeek:5.0.2
image: malcolmnetsec/zeek:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand Down Expand Up @@ -380,7 +380,7 @@ services:
build:
context: .
dockerfile: Dockerfiles/file-monitor.Dockerfile
image: malcolmnetsec/file-monitor:5.0.2
image: malcolmnetsec/file-monitor:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand All @@ -406,7 +406,7 @@ services:
build:
context: .
dockerfile: Dockerfiles/pcap-capture.Dockerfile
image: malcolmnetsec/pcap-capture:5.0.2
image: malcolmnetsec/pcap-capture:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand All @@ -429,7 +429,7 @@ services:
build:
context: .
dockerfile: Dockerfiles/pcap-monitor.Dockerfile
image: malcolmnetsec/pcap-monitor:5.0.2
image: malcolmnetsec/pcap-monitor:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand All @@ -455,7 +455,7 @@ services:
build:
context: .
dockerfile: Dockerfiles/file-upload.Dockerfile
image: malcolmnetsec/file-upload:5.0.2
image: malcolmnetsec/file-upload:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand All @@ -481,7 +481,7 @@ services:
retries: 3
start_period: 60s
htadmin:
image: malcolmnetsec/htadmin:5.0.2
image: malcolmnetsec/htadmin:5.0.3
build:
context: .
dockerfile: Dockerfiles/htadmin.Dockerfile
Expand All @@ -506,7 +506,7 @@ services:
retries: 3
start_period: 60s
freq:
image: malcolmnetsec/freq:5.0.2
image: malcolmnetsec/freq:5.0.3
build:
context: .
dockerfile: Dockerfiles/freq.Dockerfile
Expand All @@ -527,7 +527,7 @@ services:
retries: 3
start_period: 60s
name-map-ui:
image: malcolmnetsec/name-map-ui:5.0.2
image: malcolmnetsec/name-map-ui:5.0.3
build:
context: .
dockerfile: Dockerfiles/name-map-ui.Dockerfile
Expand All @@ -554,7 +554,7 @@ services:
build:
context: .
dockerfile: Dockerfiles/nginx.Dockerfile
image: malcolmnetsec/nginx-proxy:5.0.2
image: malcolmnetsec/nginx-proxy:5.0.3
restart: "no"
stdin_open: false
tty: true
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Another method for modifying your local copies of Malcolm's services' containers

For example, say you wanted to create a Malcolm container which includes a new dashboard for OpenSearch Dashboards and a new enrichment filter `.conf` file for Logstash. After placing these files under `./dashboards/dashboards` and `./logstash/pipelines/enrichment`, respectively, in your Malcolm working copy, run `./build.sh dashboards-helper logstash` to build just those containers. After the build completes, you can run `docker images` and see you have fresh images for `malcolmnetsec/dashboards-helper` and `malcolmnetsec/logstash-oss`. You may need to review the contents of the [Dockerfiles](../../Dockerfiles) to determine the correct service and filesystem location within that service's Docker image depending on what you're trying to accomplish.

Alternately, if you have forked Malcolm on GitHub, [workflow files](../../.github/workflows/) are provided which contain instructions for GitHub to build the docker images and [sensor](#Hedgehog) and [Malcolm](#ISO) installer ISOs. The resulting images are named according to the pattern `ghcr.io/owner/malcolmnetsec/image:branch` (e.g., if you've forked Malcolm with the github user `romeogdetlevjr`, the `arkime` container built for the `main` would be named `ghcr.io/romeogdetlevjr/malcolmnetsec/arkime:main`). To run your local instance of Malcolm using these images instead of the official ones, you'll need to edit your `docker-compose.yml` file(s) and replace the `image:` tags according to this new pattern.
Alternately, if you have forked Malcolm on GitHub, [workflow files](../../.github/workflows/) are provided which contain instructions for GitHub to build the docker images and [sensor](#Hedgehog) and [Malcolm](#ISO) installer ISOs. The resulting images are named according to the pattern `ghcr.io/owner/malcolmnetsec/image:branch` (e.g., if you've forked Malcolm with the github user `romeogdetlevjr`, the `arkime` container built for the `main` would be named `ghcr.io/romeogdetlevjr/malcolmnetsec/arkime:main`). To run your local instance of Malcolm using these images instead of the official ones, you'll need to edit your `docker-compose.yml` file(s) and replace the `image:` tags according to this new pattern, or use the bash helper script `./shared/bin/github_image_helper.sh` to pull and re-tag the images.

## <a name="NewImage"></a>Adding a new service (Docker image)

Expand Down
2 changes: 1 addition & 1 deletion sensor-iso/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ Building the ISO may take 90 minutes or more depending on your system. As the bu

```
Finished, created "/sensor-build/hedgehog-5.0.2.iso"
Finished, created "/sensor-build/hedgehog-5.0.3.iso"
```

Expand Down
Loading

0 comments on commit 4e8d21c

Please sign in to comment.