Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Emerging Threat's Suricata Link #2

Closed
wants to merge 1 commit into from

Conversation

wrharding
Copy link

In April 16th 2020 Proofpoint created an "old" folder and placed suricata 2.0 rules in it. Deploying the MHN suricata sensor today will yield the following error:

install -d "/opt/suricata/etc/suricata/rules"
/usr/bin/wget -qO - http://rules.emergingthreats.net/open/suricata-2.0/emerging.rules.tar.gz | tar -x -z -C "/opt/suricata/etc/suricata/" -f -

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Makefile:888: recipe for target 'install-rules' failed
make: *** [install-rules] Error 2

Closes pwnlandia/mhn#836 and pwnlandia/mhn#798

In April 16th 2020 Proofpoint created an "old" folder and placed suricata 2.0 rules in it. Deploying the MHN suricata sensor today will yield the following error:
```
install -d "/opt/suricata/etc/suricata/rules"
/usr/bin/wget -qO - http://rules.emergingthreats.net/open/suricata-2.0/emerging.rules.tar.gz | tar -x -z -C "/opt/suricata/etc/suricata/" -f -

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Makefile:888: recipe for target 'install-rules' failed
make: *** [install-rules] Error 2
```

Closes pwnlandia/mhn#836 and pwnlandia/mhn#798
@wrharding
Copy link
Author

The Proofpoint ET instructions suggest using https://github.com/OISF/suricata-update to upgrade the rule set. Perhaps this can be used to upgrade from Suricata 2.0 to 4.0.x or greater.

@wrharding
Copy link
Author

After rereading the install script for MHN, I realized the script clones a custom branch:
https://github.com/pwnlandia/mhn/blob/d15325cccb00cec3ee3c51be9251a53038d36b00/scripts/deploy_suricata.sh#L71

I'll have to recreate the PR on the hpfeeds-support branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suricata Script does not work
1 participant