-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2e4ee92
commit aec22a9
Showing
17 changed files
with
120 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM python:3-slim | ||
WORKDIR /worker | ||
COPY . Censys | ||
RUN test ! -e Censys/requirements.txt || pip install --no-cache-dir -r Censys/requirements.txt | ||
ENTRYPOINT Censys/censys_analyzer.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM python:3-slim | ||
WORKDIR /worker | ||
COPY . CheckPhish | ||
RUN test ! -e CheckPhish/requirements.txt || pip install --no-cache-dir -r CheckPhish/requirements.txt | ||
ENTRYPOINT CheckPhish/CheckPhish.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM python:3-slim | ||
WORKDIR /worker | ||
COPY . Crtsh | ||
RUN test ! -e Crtsh/requirements.txt || pip install --no-cache-dir -r Crtsh/requirements.txt | ||
ENTRYPOINT Crtsh/crtshquery.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM python:3.9 | ||
|
||
WORKDIR /worker | ||
COPY . DShield | ||
|
||
RUN pip install --no-cache-dir -r DShield/requirements.txt | ||
|
||
ENTRYPOINT DShield/DShield_lookup.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM python:3 | ||
WORKDIR /worker | ||
COPY . FalconSandbox | ||
RUN test ! -e FalconSandbox/requirements.txt || pip install --no-cache-dir -r FalconSandbox/requirements.txt | ||
ENTRYPOINT FalconSandbox/FalconSandbox.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM python:3-slim | ||
WORKDIR /worker | ||
COPY . GoogleDNS | ||
RUN test ! -e GoogleDNS/requirements.txt || pip install --no-cache-dir -r GoogleDNS/requirements.txt | ||
ENTRYPOINT GoogleDNS/GoogleDNS_resolve.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM python:3-slim | ||
WORKDIR /worker | ||
COPY . Maltiverse | ||
RUN test ! -e Maltiverse/requirements.txt || pip install --no-cache-dir -r Maltiverse/requirements.txt | ||
ENTRYPOINT Maltiverse/maltiverse-client.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM python:3-slim | ||
WORKDIR /worker | ||
COPY . Threatcrowd | ||
RUN test ! -e Threatcrowd/requirements.txt || pip install --no-cache-dir -r Threatcrowd/requirements.txt | ||
ENTRYPOINT Threatcrowd/threatcrowd_analyzer.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM python:3.9-slim | ||
WORKDIR /worker | ||
COPY . Verifalia | ||
RUN test ! -e Verifalia/requirements.txt || pip install --no-cache-dir -r Verifalia/requirements.txt | ||
ENTRYPOINT Verifalia/Verifalia.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM python:3.9 | ||
|
||
WORKDIR /worker | ||
COPY . VirusTotal | ||
RUN apt update | ||
RUN apt install -y -q libimage-exiftool-perl && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN pip install --no-cache-dir -r VirusTotal/requirements.txt | ||
|
||
ENTRYPOINT VirusTotal/virustotal.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
cortexutils | ||
-e git+https://github.com/CheckPointSW/cp_mgmt_api_python_sdk#egg=cpapi cpapi | ||
# -e git+https://github.com/CheckPointSW/cp_mgmt_api_python_sdk#egg=cpapi cpapi | ||
git+https://github.com/CheckPointSW/cp_mgmt_api_python_sdk |
Submodule cpapi
added at
325c7a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
## To test an Analyzer of Responder with docker: | ||
# | ||
# Copy this file in the folder of an analyzer or a responder and name it Dockerfile | ||
## edit it and Change variables | ||
# | ||
# - {workername} by the folder name of the analyzer or responder | ||
# - {command} by the value of the `command` in a JSON file | ||
# | ||
# Save and run: | ||
# | ||
# docker build -t cortexneurons/{flavor_name}:devel with {flavor_name} the name of the analyzer of responder in the JSON file | ||
# | ||
# | ||
|
||
|
||
|
||
FROM python:3 | ||
WORKDIR /worker | ||
COPY . MSDefenderEndpoints | ||
RUN test ! -e MSDefenderEndpoints/requirements.txt || pip install --no-cache-dir -rMSDefenderEndpoints/requirements.txt | ||
ENTRYPOINT MSDefenderEndpoints/MSDefenderEndpoints.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM python:3.10-slim | ||
WORKDIR /worker | ||
COPY . SentinelOne | ||
RUN test ! -e SentinelOne/requirements.txt || pip install --no-cache-dir -r SentinelOne/requirements.txt | ||
ENTRYPOINT "SentinelOne/SentinelOne.py" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cortexutils |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "Test", | ||
"version": "1.0", | ||
"author": "Jerome Leonard", | ||
"url": "https://github.com/TheHive-Project/Cortex-Analyzers", | ||
"license": "AGPL-V3", | ||
"description": "test", | ||
"dataTypeList": ["thehive:case", "thehive:alert", "thehive:case_task"], | ||
"command": "Test/test.py", | ||
"baseConfig": "Test", | ||
"configurationItems": [ | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env python3 | ||
# encoding: utf-8 | ||
from cortexutils.responder import Responder | ||
|
||
class Test(Responder): | ||
def __init__(self): | ||
Responder.__init__(self) | ||
self.report({"message": "test"}) | ||
|
||
def run(self): | ||
Responder.run(self) | ||
|
||
def operations(self, raw): | ||
return [self.build_operation("AddTagToCase", tag="test")] | ||
|
||
|
||
if __name__ == "__main__": | ||
Test().run() |