From 2e723a4f9321e5158eb9b06da479bdfbe27260e2 Mon Sep 17 00:00:00 2001 From: tmack Date: Thu, 7 Feb 2019 14:01:48 -0500 Subject: [PATCH 01/10] Adding fn_useragentanalysis function --- fn_useragentanalysis/MANIFEST.in | 4 + fn_useragentanalysis/README.md | 31 +++ .../fn_useragentanalysis/LICENSE | 1 + .../fn_useragentanalysis/__init__.py | 5 + .../components/__init__.py | 1 + .../components/fn_useragentanalysis.py | 65 ++++++ .../fn_useragentanalysis/util/__init__.py | 1 + .../fn_useragentanalysis/util/config.py | 16 ++ .../fn_useragentanalysis/util/customize.py | 210 ++++++++++++++++++ .../fn_useragentanalysis/util/selftest.py | 20 ++ fn_useragentanalysis/setup.py | 32 +++ .../tests/test_fn_useragentanalysis.py | 48 ++++ fn_useragentanalysis/tox.ini | 17 ++ 13 files changed, 451 insertions(+) create mode 100644 fn_useragentanalysis/MANIFEST.in create mode 100644 fn_useragentanalysis/README.md create mode 100644 fn_useragentanalysis/fn_useragentanalysis/LICENSE create mode 100644 fn_useragentanalysis/fn_useragentanalysis/__init__.py create mode 100644 fn_useragentanalysis/fn_useragentanalysis/components/__init__.py create mode 100644 fn_useragentanalysis/fn_useragentanalysis/components/fn_useragentanalysis.py create mode 100644 fn_useragentanalysis/fn_useragentanalysis/util/__init__.py create mode 100644 fn_useragentanalysis/fn_useragentanalysis/util/config.py create mode 100644 fn_useragentanalysis/fn_useragentanalysis/util/customize.py create mode 100644 fn_useragentanalysis/fn_useragentanalysis/util/selftest.py create mode 100644 fn_useragentanalysis/setup.py create mode 100644 fn_useragentanalysis/tests/test_fn_useragentanalysis.py create mode 100644 fn_useragentanalysis/tox.ini diff --git a/fn_useragentanalysis/MANIFEST.in b/fn_useragentanalysis/MANIFEST.in new file mode 100644 index 000000000..74fda543b --- /dev/null +++ b/fn_useragentanalysis/MANIFEST.in @@ -0,0 +1,4 @@ +include README.md +include fn_useragentanalysis/util/* +include fn_useragentanalysis/LICENSE +include fn_useragentanalysis/doc/* \ No newline at end of file diff --git a/fn_useragentanalysis/README.md b/fn_useragentanalysis/README.md new file mode 100644 index 000000000..020095433 --- /dev/null +++ b/fn_useragentanalysis/README.md @@ -0,0 +1,31 @@ +Replace this with your own readme. + +== + +This template project was generated by + + resilient-circuits codegen -p fn_useragentanalysis [-f fn_useragentanalysis] [-w user_agent_workflow] + + +You must edit the `setup.py` before distribution; +it should contain your actual contact and license information. + +To install in "development mode" + + pip install -e ./fn_useragentanalysis/ + +After installation, the package will be loaded by `resilient-circuits run`. + + +To uninstall, + + pip uninstall fn_useragentanalysis + + +To package for distribution, + + python ./fn_useragentanalysis/setup.py sdist + +The resulting .tar.gz file can be installed using + + pip install .tar.gz diff --git a/fn_useragentanalysis/fn_useragentanalysis/LICENSE b/fn_useragentanalysis/fn_useragentanalysis/LICENSE new file mode 100644 index 000000000..4e02c6702 --- /dev/null +++ b/fn_useragentanalysis/fn_useragentanalysis/LICENSE @@ -0,0 +1 @@ +<> \ No newline at end of file diff --git a/fn_useragentanalysis/fn_useragentanalysis/__init__.py b/fn_useragentanalysis/fn_useragentanalysis/__init__.py new file mode 100644 index 000000000..2159b888b --- /dev/null +++ b/fn_useragentanalysis/fn_useragentanalysis/__init__.py @@ -0,0 +1,5 @@ +import pkg_resources +try: + __version__ = pkg_resources.get_distribution(__name__).version +except pkg_resources.DistributionNotFound: + pass \ No newline at end of file diff --git a/fn_useragentanalysis/fn_useragentanalysis/components/__init__.py b/fn_useragentanalysis/fn_useragentanalysis/components/__init__.py new file mode 100644 index 000000000..4287ca861 --- /dev/null +++ b/fn_useragentanalysis/fn_useragentanalysis/components/__init__.py @@ -0,0 +1 @@ +# \ No newline at end of file diff --git a/fn_useragentanalysis/fn_useragentanalysis/components/fn_useragentanalysis.py b/fn_useragentanalysis/fn_useragentanalysis/components/fn_useragentanalysis.py new file mode 100644 index 000000000..1b0b410a2 --- /dev/null +++ b/fn_useragentanalysis/fn_useragentanalysis/components/fn_useragentanalysis.py @@ -0,0 +1,65 @@ +# -*- coding: utf-8 -*- +# pragma pylint: disable=unused-argument, no-self-use +"""Function implementation""" + +import logging +import requests +from resilient_circuits import ResilientComponent, function, handler, StatusMessage, FunctionResult, FunctionError +import fn_useragentanalysis.util.selftest as selftest + + +class FunctionComponent(ResilientComponent): + """Component that implements Resilient function 'fn_useragentanalysis""" + + def __init__(self, opts): + """constructor provides access to the configuration options""" + super(FunctionComponent, self).__init__(opts) + self.options = opts.get("fn_useragentanalysis", {}) + selftest.selftest_function(opts) + + @handler("reload") + def _reload(self, event, opts): + """Configuration options have changed, save new values""" + self.options = opts.get("fn_useragentanalysis", {}) + + @function("fn_useragentanalysis") + def _fn_useragentanalysis_function(self, event, *args, **kwargs): + """Function: As a SOC analysis, I want to perform data enrichment on user agent strings found in web and firewall logs. These entries can provide clues as to potential attempted malicious access and what follow on steps are needed to restrict access. + +An integration function is required, sending an artifact string of user agent infromation to a user agent analysis website, returning detailed information as an incident note. An example workflow and rule to execute the function will be included in the packaging.""" + try: + # Get the function parameters: + user_agent_string = kwargs.get("user_agent_string") # text + + log = logging.getLogger(__name__) + log.info("user_agent_string: %s", user_agent_string) + print('hello world') + + url = self.options.get('url', None) + api_key = self.options.get('api_key', None) + if not url or not api_key: + raise LookupError('missing url and/or api_key from [fn_useragentanalysis] app_config') + + # PUT YOUR FUNCTION IMPLEMENTATION CODE HERE + yield StatusMessage("starting...") + data = {"user_agent": user_agent_string} + headers = {'X-API-KEY': api_key} + api_response = requests.post(url, headers=headers, json=data) + if api_response.status_code != 200: + raise Exception("Unexpected return code of {}".format(api_response.status_code)) + + user_agent_analysis = api_response.text + + results = { + "user_agent_string": user_agent_string, + "source_api_url": url, + "user_agent_analysis": user_agent_analysis + } + yield StatusMessage("done...") + + # Produce a FunctionResult with the results + yield FunctionResult(results) + except Exception as e: + yield FunctionError(e) + + diff --git a/fn_useragentanalysis/fn_useragentanalysis/util/__init__.py b/fn_useragentanalysis/fn_useragentanalysis/util/__init__.py new file mode 100644 index 000000000..4287ca861 --- /dev/null +++ b/fn_useragentanalysis/fn_useragentanalysis/util/__init__.py @@ -0,0 +1 @@ +# \ No newline at end of file diff --git a/fn_useragentanalysis/fn_useragentanalysis/util/config.py b/fn_useragentanalysis/fn_useragentanalysis/util/config.py new file mode 100644 index 000000000..4f59e2ed6 --- /dev/null +++ b/fn_useragentanalysis/fn_useragentanalysis/util/config.py @@ -0,0 +1,16 @@ +# -*- coding: utf-8 -*- + +"""Generate a default configuration-file section for fn_useragentanalysis""" + +from __future__ import print_function + + +def config_section_data(): + """Produce the default configuration section for app.config, + when called by `resilient-circuits config [-c|-u]` + """ +# config_data = u"""[fn_useragentanalysis] +#setting=xxx +#""" +# return config_data + return None \ No newline at end of file diff --git a/fn_useragentanalysis/fn_useragentanalysis/util/customize.py b/fn_useragentanalysis/fn_useragentanalysis/util/customize.py new file mode 100644 index 000000000..4ddde46b6 --- /dev/null +++ b/fn_useragentanalysis/fn_useragentanalysis/util/customize.py @@ -0,0 +1,210 @@ +# -*- coding: utf-8 -*- + +"""Generate the Resilient customizations required for fn_useragentanalysis""" + +from __future__ import print_function +from resilient_circuits.util import * + +def codegen_reload_data(): + """Parameters to codegen used to generate the fn_useragentanalysis package""" + reload_params = {"package": u"fn_useragentanalysis", + "incident_fields": [], + "action_fields": [], + "function_params": [u"user_agent_string"], + "datatables": [], + "message_destinations": [u"useragentanalysis_fn"], + "functions": [u"fn_useragentanalysis"], + "phases": [], + "automatic_tasks": [], + "scripts": [], + "workflows": [u"user_agent_workflow"], + "actions": [] + } + return reload_params + + +def customization_data(client=None): + """Produce any customization definitions (types, fields, message destinations, etc) + that should be installed by `resilient-circuits customize` + """ + + # This import data contains: + # Function inputs: + # user_agent_string + # Message Destinations: + # useragentanalysis_fn + # Functions: + # fn_useragentanalysis + # Workflows: + # user_agent_workflow + + + yield ImportDefinition(u""" +eyJpZCI6IDUsICJmaWVsZHMiOiBbeyJjaG9zZW4iOiBmYWxzZSwgImludGVybmFsIjogZmFsc2Us +ICJ1dWlkIjogImM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eT1cIjE5M1wiLz48YnBtbmRpOkJQTU5MYWJlbD48b21nZGM6Qm91bmRz +IGhlaWdodD1cIjEzXCIgd2lkdGg9XCIwXCIgeD1cIjUyOC41XCIgeT1cIjE3MVwiLz48L2JwbW5k +aTpCUE1OTGFiZWw+PC9icG1uZGk6QlBNTkVkZ2U+PGJwbW5kaTpCUE1OU2hhcGUgYnBtbkVsZW1l +bnQ9XCJUZXh0QW5ub3RhdGlvbl8wZmZpNjB4XCIgaWQ9XCJUZXh0QW5ub3RhdGlvbl8wZmZpNjB4 +X2RpXCI+PG9tZ2RjOkJvdW5kcyBoZWlnaHQ9XCI0MlwiIHdpZHRoPVwiMTMyXCIgeD1cIjM5NVwi +IHk9XCI1MlwiLz48L2JwbW5kaTpCUE1OU2hhcGU+PGJwbW5kaTpCUE1ORWRnZSBicG1uRWxlbWVu +dD1cIkFzc29jaWF0aW9uXzB3OW5kamZcIiBpZD1cIkFzc29jaWF0aW9uXzB3OW5kamZfZGlcIj48 +b21nZGk6d2F5cG9pbnQgeD1cIjQxMlwiIHhzaTp0eXBlPVwib21nZGM6UG9pbnRcIiB5PVwiMTUz +XCIvPjxvbWdkaTp3YXlwb2ludCB4PVwiNDQ4XCIgeHNpOnR5cGU9XCJvbWdkYzpQb2ludFwiIHk9 +XCI5NFwiLz48L2JwbW5kaTpCUE1ORWRnZT48L2JwbW5kaTpCUE1OUGxhbmU+PC9icG1uZGk6QlBN +TkRpYWdyYW0+PC9kZWZpbml0aW9ucz4iLCAidmVyc2lvbiI6IDIyLCAid29ya2Zsb3dfaWQiOiAi +dXNlcl9hZ2VudF93b3JrZmxvdyJ9LCAiYWN0aW9ucyI6IFtdfV0sICJyb2xlcyI6IFtdLCAid29y +a3NwYWNlcyI6IFtdfQ== +""" + ) \ No newline at end of file diff --git a/fn_useragentanalysis/fn_useragentanalysis/util/selftest.py b/fn_useragentanalysis/fn_useragentanalysis/util/selftest.py new file mode 100644 index 000000000..e56102107 --- /dev/null +++ b/fn_useragentanalysis/fn_useragentanalysis/util/selftest.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# pragma pylint: disable=unused-argument, no-self-use +"""Function implementation + test with: resilient-circuits selftest -l fn_useragentanalysis +""" + +import logging + +log = logging.getLogger(__name__) +log.setLevel(logging.INFO) +log.addHandler(logging.StreamHandler()) + + +def selftest_function(opts): + """ + Placeholder for selftest function. An example use would be to test package api connectivity. + Suggested return values are be unimplemented, success, or failure. + """ + options = opts.get("fn_useragentanalysis", {}) + return {"state": "unimplemented"} \ No newline at end of file diff --git a/fn_useragentanalysis/setup.py b/fn_useragentanalysis/setup.py new file mode 100644 index 000000000..d6540c089 --- /dev/null +++ b/fn_useragentanalysis/setup.py @@ -0,0 +1,32 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +from setuptools import setup, find_packages + +setup( + name='fn_useragentanalysis', + version='1.0.0', + license='<>', + author='<>', + author_email='you@example.com', + url='<>', + description="Resilient Circuits Components for 'fn_useragentanalysis'", + long_description="Resilient Circuits Components for 'fn_useragentanalysis'", + install_requires=[ + 'resilient_circuits>=30.0.0' + ], + packages=find_packages(), + include_package_data=True, + platforms='any', + classifiers=[ + 'Programming Language :: Python', + ], + entry_points={ + "resilient.circuits.components": [ + "FnUseragentanalysisFunctionComponent = fn_useragentanalysis.components.fn_useragentanalysis:FunctionComponent" + ], + "resilient.circuits.configsection": ["gen_config = fn_useragentanalysis.util.config:config_section_data"], + "resilient.circuits.customize": ["customize = fn_useragentanalysis.util.customize:customization_data"], + "resilient.circuits.selftest": ["selftest = fn_useragentanalysis.util.selftest:selftest_function"] + } +) \ No newline at end of file diff --git a/fn_useragentanalysis/tests/test_fn_useragentanalysis.py b/fn_useragentanalysis/tests/test_fn_useragentanalysis.py new file mode 100644 index 000000000..d93d3ec58 --- /dev/null +++ b/fn_useragentanalysis/tests/test_fn_useragentanalysis.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +"""Tests using pytest_resilient_circuits""" + +from __future__ import print_function +import pytest +from resilient_circuits.util import get_config_data, get_function_definition +from resilient_circuits import SubmitTestFunction, FunctionResult + +PACKAGE_NAME = "fn_useragentanalysis" +FUNCTION_NAME = "fn_useragentanalysis" + +# Read the default configuration-data section from the package +config_data = get_config_data(PACKAGE_NAME) + +# Provide a simulation of the Resilient REST API (uncomment to connect to a real appliance) +resilient_mock = "pytest_resilient_circuits.BasicResilientMock" + + +def call_fn_useragentanalysis_function(circuits, function_params, timeout=10): + # Fire a message to the function + evt = SubmitTestFunction("fn_useragentanalysis", function_params) + circuits.manager.fire(evt) + event = circuits.watcher.wait("fn_useragentanalysis_result", parent=evt, timeout=timeout) + assert event + assert isinstance(event.kwargs["result"], FunctionResult) + pytest.wait_for(event, "complete", True) + return event.kwargs["result"].value + + +class TestFnUseragentanalysis: + """ Tests for the fn_useragentanalysis function""" + + def test_function_definition(self): + """ Test that the package provides customization_data that defines the function """ + func = get_function_definition(PACKAGE_NAME, FUNCTION_NAME) + assert func is not None + + @pytest.mark.parametrize("user_agent_string, expected_results", [ + ("text", {"value": "xyz"}), + ("text", {"value": "xyz"}) + ]) + def test_success(self, circuits_app, user_agent_string, expected_results): + """ Test calling with sample values for the parameters """ + function_params = { + "user_agent_string": user_agent_string + } + results = call_fn_useragentanalysis_function(circuits_app, function_params) + assert(expected_results == results) \ No newline at end of file diff --git a/fn_useragentanalysis/tox.ini b/fn_useragentanalysis/tox.ini new file mode 100644 index 000000000..5ff960520 --- /dev/null +++ b/fn_useragentanalysis/tox.ini @@ -0,0 +1,17 @@ +# Tox (https://tox.readthedocs.io/) is a tool for running tests +# in multiple virtualenvs. This configuration file will run the +# test suite on all supported python versions. To use it, "pip install tox" +# and then run "tox" from this directory. + +[tox] +envlist = py27, py36 +skip_missing_interpreters=True + +[testenv] +passenv=TEST_RESILIENT_* +commands = pytest -s {posargs} +deps = + pytest + resilient + resilient-circuits + pytest-resilient-circuits \ No newline at end of file From b767c0734ca72652afe18122e3f3993e296e9d7a Mon Sep 17 00:00:00 2001 From: tmack Date: Fri, 8 Feb 2019 11:04:35 -0500 Subject: [PATCH 02/10] Updating config file --- fn_useragentanalysis/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fn_useragentanalysis/README.md b/fn_useragentanalysis/README.md index 020095433..3d04fc7f8 100644 --- a/fn_useragentanalysis/README.md +++ b/fn_useragentanalysis/README.md @@ -29,3 +29,9 @@ To package for distribution, The resulting .tar.gz file can be installed using pip install .tar.gz + + +Update for config file +[fn_useragentanalysis] +url=WHAT_IS_MY_BROWSER_API_URL +api_key=WHAT_IS_MY_BROWSER_API_KEY \ No newline at end of file From b1740f3e17bb0da5d696feb330ca8669efe3b64c Mon Sep 17 00:00:00 2001 From: tmack Date: Fri, 8 Feb 2019 11:47:48 -0500 Subject: [PATCH 03/10] Creating default config --- .../fn_useragentanalysis/util/config.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fn_useragentanalysis/fn_useragentanalysis/util/config.py b/fn_useragentanalysis/fn_useragentanalysis/util/config.py index 4f59e2ed6..1166f72d4 100644 --- a/fn_useragentanalysis/fn_useragentanalysis/util/config.py +++ b/fn_useragentanalysis/fn_useragentanalysis/util/config.py @@ -9,8 +9,8 @@ def config_section_data(): """Produce the default configuration section for app.config, when called by `resilient-circuits config [-c|-u]` """ -# config_data = u"""[fn_useragentanalysis] -#setting=xxx -#""" -# return config_data - return None \ No newline at end of file + config_data = u"""[fn_useragentanalysis] + url=https://api.whatismybrowser.com/api/v2/user_agent_parse + api_key=KEY + """ + return config_data From 00ac7c609aa7fe40b2d25ad53b9819b3b4699153 Mon Sep 17 00:00:00 2001 From: tmack Date: Fri, 8 Feb 2019 12:03:05 -0500 Subject: [PATCH 04/10] Fixing config to be left aligned --- fn_useragentanalysis/fn_useragentanalysis/util/config.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/fn_useragentanalysis/fn_useragentanalysis/util/config.py b/fn_useragentanalysis/fn_useragentanalysis/util/config.py index 1166f72d4..ab94c2161 100644 --- a/fn_useragentanalysis/fn_useragentanalysis/util/config.py +++ b/fn_useragentanalysis/fn_useragentanalysis/util/config.py @@ -9,8 +9,9 @@ def config_section_data(): """Produce the default configuration section for app.config, when called by `resilient-circuits config [-c|-u]` """ - config_data = u"""[fn_useragentanalysis] - url=https://api.whatismybrowser.com/api/v2/user_agent_parse - api_key=KEY - """ + config_data = u""" + [fn_useragentanalysis] + url=https://api.whatismybrowser.com/api/v2/user_agent_parse + api_key=KEY + """ return config_data From 6aaef141e0e9fc8703a581b6f7a00a1f04c6cc35 Mon Sep 17 00:00:00 2001 From: tmack Date: Wed, 13 Feb 2019 09:01:22 -0500 Subject: [PATCH 05/10] * [DONE] UPDATE README * [DONE] ADD LICENSE * [DONE] UPDATE LOOKUP ERROR TO VALUE ERROR * [DONE] remove hello world * [DONE] Fix config file generation --- fn_useragentanalysis/README.md | 11 +++++----- .../fn_useragentanalysis/LICENSE | 20 ++++++++++++++++++- .../components/fn_useragentanalysis.py | 3 +-- .../fn_useragentanalysis/util/config.py | 11 +++++----- 4 files changed, 31 insertions(+), 14 deletions(-) diff --git a/fn_useragentanalysis/README.md b/fn_useragentanalysis/README.md index 3d04fc7f8..0bfcd2244 100644 --- a/fn_useragentanalysis/README.md +++ b/fn_useragentanalysis/README.md @@ -1,5 +1,10 @@ -Replace this with your own readme. +### User Agent Analysis +User agent analysis allows for the data enrichment on user agent strings found in web and firewall logs. These entries can provide clues as to potential attempted malicious access and what follow on steps are needed to restrict access. +Updates for config file +[fn_useragentanalysis] +url=WHAT_IS_MY_BROWSER_API_URL +api_key=WHAT_IS_MY_BROWSER_API_KEY == This template project was generated by @@ -31,7 +36,3 @@ The resulting .tar.gz file can be installed using pip install .tar.gz -Update for config file -[fn_useragentanalysis] -url=WHAT_IS_MY_BROWSER_API_URL -api_key=WHAT_IS_MY_BROWSER_API_KEY \ No newline at end of file diff --git a/fn_useragentanalysis/fn_useragentanalysis/LICENSE b/fn_useragentanalysis/fn_useragentanalysis/LICENSE index 4e02c6702..365b4bb06 100644 --- a/fn_useragentanalysis/fn_useragentanalysis/LICENSE +++ b/fn_useragentanalysis/fn_useragentanalysis/LICENSE @@ -1 +1,19 @@ -<> \ No newline at end of file +Copyright © IBM Corporation 2010, 2018 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. \ No newline at end of file diff --git a/fn_useragentanalysis/fn_useragentanalysis/components/fn_useragentanalysis.py b/fn_useragentanalysis/fn_useragentanalysis/components/fn_useragentanalysis.py index 1b0b410a2..1e4c317a2 100644 --- a/fn_useragentanalysis/fn_useragentanalysis/components/fn_useragentanalysis.py +++ b/fn_useragentanalysis/fn_useragentanalysis/components/fn_useragentanalysis.py @@ -33,12 +33,11 @@ def _fn_useragentanalysis_function(self, event, *args, **kwargs): log = logging.getLogger(__name__) log.info("user_agent_string: %s", user_agent_string) - print('hello world') url = self.options.get('url', None) api_key = self.options.get('api_key', None) if not url or not api_key: - raise LookupError('missing url and/or api_key from [fn_useragentanalysis] app_config') + raise ValueError('missing url and/or api_key from [fn_useragentanalysis] app_config') # PUT YOUR FUNCTION IMPLEMENTATION CODE HERE yield StatusMessage("starting...") diff --git a/fn_useragentanalysis/fn_useragentanalysis/util/config.py b/fn_useragentanalysis/fn_useragentanalysis/util/config.py index ab94c2161..0756ff552 100644 --- a/fn_useragentanalysis/fn_useragentanalysis/util/config.py +++ b/fn_useragentanalysis/fn_useragentanalysis/util/config.py @@ -9,9 +9,8 @@ def config_section_data(): """Produce the default configuration section for app.config, when called by `resilient-circuits config [-c|-u]` """ - config_data = u""" - [fn_useragentanalysis] - url=https://api.whatismybrowser.com/api/v2/user_agent_parse - api_key=KEY - """ - return config_data + config_data = u"""[fn_geocoding] +url=https://api.whatismybrowser.com/api/v2/user_agent_parse +api_key=<> +""" + return config_data \ No newline at end of file From 6707cdfaea50d8ca0699adff47cc8e16fa3b7b6a Mon Sep 17 00:00:00 2001 From: tmack Date: Wed, 13 Feb 2019 15:39:39 -0500 Subject: [PATCH 06/10] * Fixed up config file --- fn_useragentanalysis/fn_useragentanalysis/util/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fn_useragentanalysis/fn_useragentanalysis/util/config.py b/fn_useragentanalysis/fn_useragentanalysis/util/config.py index 0756ff552..7ca261e4b 100644 --- a/fn_useragentanalysis/fn_useragentanalysis/util/config.py +++ b/fn_useragentanalysis/fn_useragentanalysis/util/config.py @@ -9,7 +9,7 @@ def config_section_data(): """Produce the default configuration section for app.config, when called by `resilient-circuits config [-c|-u]` """ - config_data = u"""[fn_geocoding] + config_data = u"""[fn_useragentanalysis] url=https://api.whatismybrowser.com/api/v2/user_agent_parse api_key=<> """ From 814622cc050e236372941acc5feeb7c58eb945b0 Mon Sep 17 00:00:00 2001 From: Mark-Scherfling Date: Fri, 8 Mar 2019 13:40:25 -0500 Subject: [PATCH 07/10] code cleanup for app exchange submission --- fn_useragentanalysis/README.md | 64 +++- ...tanalysis.py => func_useragentanalysis.py} | 0 .../fn_useragentanalysis/util/customize.py | 347 +++++++++--------- fn_useragentanalysis/setup.py | 12 +- 4 files changed, 240 insertions(+), 183 deletions(-) rename fn_useragentanalysis/fn_useragentanalysis/components/{fn_useragentanalysis.py => func_useragentanalysis.py} (100%) diff --git a/fn_useragentanalysis/README.md b/fn_useragentanalysis/README.md index 0bfcd2244..4f7d54b09 100644 --- a/fn_useragentanalysis/README.md +++ b/fn_useragentanalysis/README.md @@ -1,20 +1,58 @@ -### User Agent Analysis +# User Agent Analysis User agent analysis allows for the data enrichment on user agent strings found in web and firewall logs. These entries can provide clues as to potential attempted malicious access and what follow on steps are needed to restrict access. -Updates for config file +If you do not already have an account at WhatIsMyBrowser, you can complete those steps here: `https://developers.whatismybrowser.com/api/pricing/`. + +Sample workflows and rules are provided demonstrating the execution of the function by placing the resulting payload into a note. +Your use of the function may require parsing of the result json. Here's a sample result: + +``` +{ + "parse": { + "user_agent": "\"user_agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36\"", + "software_name": "Chrome", + "operating_system": "Mac OS X (Mavericks)", + "software_version": "64", + "operating_system_name": "Mac OS X", + "operating_system_version_full": [ + "10", + "9", + "5" + ], + "software_name_code": "chrome", + "simple_operating_platform_string": null, + "operating_system_version": "Mavericks", + "simple_sub_description_string": null, + "is_abusive": false, + "operating_system_flavour_code": null, + "software_version_full": [ + "64", + "0", + "3282", + "140" + ], + "simple_software_string": "Chrome 64 on Mac OS X (Mavericks)", + "operating_system_flavour": null, + "operating_system_name_code": "mac-os-x", + "software": "Chrome 64" + }, + "result": { + "message": "The user agent was parsed successfully.", + "code": "success", + "message_code": "user_agent_parsed" + } +} +``` + +##Updates for config file +``` [fn_useragentanalysis] url=WHAT_IS_MY_BROWSER_API_URL api_key=WHAT_IS_MY_BROWSER_API_KEY -== +``` -This template project was generated by - - resilient-circuits codegen -p fn_useragentanalysis [-f fn_useragentanalysis] [-w user_agent_workflow] - - -You must edit the `setup.py` before distribution; -it should contain your actual contact and license information. +##Installation To install in "development mode" pip install -e ./fn_useragentanalysis/ @@ -34,5 +72,11 @@ To package for distribution, The resulting .tar.gz file can be installed using pip install .tar.gz + +##Reference +This template project was generated by + + resilient-circuits codegen -p fn_useragentanalysis [-f fn_useragentanalysis] [-w user_agent_workflow] + diff --git a/fn_useragentanalysis/fn_useragentanalysis/components/fn_useragentanalysis.py b/fn_useragentanalysis/fn_useragentanalysis/components/func_useragentanalysis.py similarity index 100% rename from fn_useragentanalysis/fn_useragentanalysis/components/fn_useragentanalysis.py rename to fn_useragentanalysis/fn_useragentanalysis/components/func_useragentanalysis.py diff --git a/fn_useragentanalysis/fn_useragentanalysis/util/customize.py b/fn_useragentanalysis/fn_useragentanalysis/util/customize.py index 4ddde46b6..0275ee2ba 100644 --- a/fn_useragentanalysis/fn_useragentanalysis/util/customize.py +++ b/fn_useragentanalysis/fn_useragentanalysis/util/customize.py @@ -18,7 +18,7 @@ def codegen_reload_data(): "automatic_tasks": [], "scripts": [], "workflows": [u"user_agent_workflow"], - "actions": [] + "actions": [u"Example: User Agent Analysis"] } return reload_params @@ -37,174 +37,187 @@ def customization_data(client=None): # fn_useragentanalysis # Workflows: # user_agent_workflow + # Rules: + # Example: User Agent Analysis yield ImportDefinition(u""" -eyJpZCI6IDUsICJmaWVsZHMiOiBbeyJjaG9zZW4iOiBmYWxzZSwgImludGVybmFsIjogZmFsc2Us -ICJ1dWlkIjogImMzZjBlM2VkLTIxZTEtNGQ1My1hZmZiLWZlNWNhMzMwOGNjYSIsICJvcGVyYXRp -b25zIjogW10sICJ2YWx1ZXMiOiBbXSwgImNoYW5nZWFibGUiOiB0cnVlLCAiaWQiOiAzOCwgIm5h -bWUiOiAiaW5jX3RyYWluaW5nIiwgInRleHQiOiAiU2ltdWxhdGlvbiIsICJwcmVmaXgiOiBudWxs -LCAidHlwZV9pZCI6IDAsICJ0b29sdGlwIjogIldoZXRoZXIgdGhlIGluY2lkZW50IGlzIGEgc2lt -dWxhdGlvbiBvciBhIHJlZ3VsYXIgaW5jaWRlb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BbXSwgImV4cG9ydF9r +ZXkiOiAiX19mdW5jdGlvbi91c2VyX2FnZW50X3N0cmluZyIsICJoaWRlX25vdGlmaWNhdGlvbiI6 +IGZhbHNlLCAicGxhY2Vob2xkZXIiOiAiaGVsbG8iLCAibmFtZSI6ICJ1c2VyX2FnZW50X3N0cmlu +ZyIsICJkZXByZWNhdGVkIjogZmFsc2UsICJkZWZhdWx0X2Nob3Nlbl9ieV9zZXJ2ZXIiOiBmYWxz +ZSwgInZhbHVlcyI6IFtdfV0sICJvdmVycmlkZXMiOiBbXSwgImV4cG9ydF9kYXRlIjogMTU1MjA3 +MDI4MzM5NX0= """ ) \ No newline at end of file diff --git a/fn_useragentanalysis/setup.py b/fn_useragentanalysis/setup.py index d6540c089..0f2177c1b 100644 --- a/fn_useragentanalysis/setup.py +++ b/fn_useragentanalysis/setup.py @@ -6,12 +6,12 @@ setup( name='fn_useragentanalysis', version='1.0.0', - license='<>', - author='<>', - author_email='you@example.com', - url='<>', + license='MIT', + author='Resilient Labs', + author_email='resil.labs@gmail.com', + url='https://github.com/ibmresilient/resilient-community-apps', description="Resilient Circuits Components for 'fn_useragentanalysis'", - long_description="Resilient Circuits Components for 'fn_useragentanalysis'", + long_description="Resilient Circuits Components for 'fn_useragentanalysis' to perform broswer user agent analysis", install_requires=[ 'resilient_circuits>=30.0.0' ], @@ -23,7 +23,7 @@ ], entry_points={ "resilient.circuits.components": [ - "FnUseragentanalysisFunctionComponent = fn_useragentanalysis.components.fn_useragentanalysis:FunctionComponent" + "FnUseragentanalysisFunctionComponent = fn_useragentanalysis.components.func_useragentanalysis:FunctionComponent" ], "resilient.circuits.configsection": ["gen_config = fn_useragentanalysis.util.config:config_section_data"], "resilient.circuits.customize": ["customize = fn_useragentanalysis.util.customize:customization_data"], From 5154f075d7a7e2f747001fd85798d9c8a1bea49e Mon Sep 17 00:00:00 2001 From: Mark-Scherfling Date: Fri, 8 Mar 2019 13:44:55 -0500 Subject: [PATCH 08/10] setup.py changes --- fn_useragentanalysis/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fn_useragentanalysis/README.md b/fn_useragentanalysis/README.md index 4f7d54b09..09997c938 100644 --- a/fn_useragentanalysis/README.md +++ b/fn_useragentanalysis/README.md @@ -71,12 +71,12 @@ To package for distribution, The resulting .tar.gz file can be installed using - pip install .tar.gz + pip install fn_useragentanalysis-.tar.gz ##Reference This template project was generated by - resilient-circuits codegen -p fn_useragentanalysis [-f fn_useragentanalysis] [-w user_agent_workflow] + resilient-circuits codegen -p fn_useragentanalysis [-f fn_useragentanalysis] [-w user_agent_workflow] [--rule "Example: User Agent Analysis"] From 22bca7ba5997a1512001633d16ea7a63466c130f Mon Sep 17 00:00:00 2001 From: Mark-Scherfling Date: Fri, 8 Mar 2019 14:53:49 -0500 Subject: [PATCH 09/10] setup.py changes --- fn_useragentanalysis/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fn_useragentanalysis/setup.py b/fn_useragentanalysis/setup.py index 0f2177c1b..3e89f3226 100644 --- a/fn_useragentanalysis/setup.py +++ b/fn_useragentanalysis/setup.py @@ -11,7 +11,7 @@ author_email='resil.labs@gmail.com', url='https://github.com/ibmresilient/resilient-community-apps', description="Resilient Circuits Components for 'fn_useragentanalysis'", - long_description="Resilient Circuits Components for 'fn_useragentanalysis' to perform broswer user agent analysis", + long_description="Resilient Circuits Components for 'fn_useragentanalysis' to perform browser user agent analysis", install_requires=[ 'resilient_circuits>=30.0.0' ], From 96a6acfd1a4cf619ff8c5f037f9aab6981f76d78 Mon Sep 17 00:00:00 2001 From: Mark-Scherfling Date: Sat, 9 Mar 2019 08:57:44 -0500 Subject: [PATCH 10/10] workflow changes --- .../fn_useragentanalysis/util/customize.py | 311 +++++++++--------- 1 file changed, 156 insertions(+), 155 deletions(-) diff --git a/fn_useragentanalysis/fn_useragentanalysis/util/customize.py b/fn_useragentanalysis/fn_useragentanalysis/util/customize.py index 0275ee2ba..a235f3f23 100644 --- a/fn_useragentanalysis/fn_useragentanalysis/util/customize.py +++ b/fn_useragentanalysis/fn_useragentanalysis/util/customize.py @@ -64,160 +64,161 @@ def customization_data(client=None): aWVudDp0eXBlPVwiZnVuY3Rpb25cIj48ZXh0ZW5zaW9uRWxlbWVudHM+PHJlc2lsaWVudDpmdW5j dGlvbiB1dWlkPVwiZTM2M2ZiNTktOTRjMC00MGUzLThlODctMWVkNjNhNGM4MTJlXCI+e1wiaW5w dXRzXCI6e30sXCJwb3N0X3Byb2Nlc3Npbmdfc2NyaXB0XCI6XCJ1c2VyX2FnZW50X2FuYWx5c2lz -ID0gc3RyKHJlc3VsdHMudXNlcl9hZ2VudF9hbmFseXNpcylcXG5pbmNpZGVudC5hZGROb3RlKHVz -ZXJfYWdlbnRfYW5hbHlzaXMpXFxuXFxuIyBUT0RPIGFkZCBleGFtcGxlIHBheWxvYWRcXG4jeyd1 -c2VyX2FnZW50X3N0cmluZyc6ICdcXFwiTW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFj -IE9TIFggMTBfOV81KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJv -bWUvNjQuMC4zMjgyLjE0MCBTYWZhcmkvNTM3LjM2XFxcIicsICdzb3VyY2VfYXBpX3VybCc6ICdo -dHRwczovL2FwaS53aGF0aXNteWJyb3dzZXIuY29tL2FwaS92Mi91c2VyX2FnZW50X3BhcnNlJywg -J3VzZXJfYWdlbnRfYW5hbHlzaXMnOiAne1xcXCJwYXJzZVxcXCI6IHtcXFwidXNlcl9hZ2VudFxc -XCI6IFxcXCJcXFxcXFxcXFxcXCJNb3ppbGxhLzUuMCAoTWFjaW50b3NoOyBJbnRlbCBNYWMgT1Mg -WCAxMF85XzUpIEFwcGxlV2ViS2l0LzUzNy4zNiAoS0hUTUwsIGxpa2UgR2Vja28pIENocm9tZS82 -NC4wLjMyODIuMTQwIFNhZmFyaS81MzcuMzZcXFxcXFxcXFxcXCJcX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