icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

We are working on something new...

A Fresh New Splunkbase
We are designing a New Splunkbase to improve search and discoverability of apps. Check out our new and improved features like Categories and Collections. New Splunkbase is currently in preview mode, as it is under active development. We welcome you to navigate New Splunkbase and give us feedback.
Log4Shell Vulnerability: Information and guidance for you. Get resources.

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading TA_Loki
SHA256 checksum (ta_loki_100.tgz) 2912196f20122eaafa5fde3280e8815961d4df4abdb668a0dc98f7540db095ba
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate



This app is NOT supported by Splunk. Please read about what that means for you here.
Loki scanner is one of the famous yara rule scanner which have multiple usage in Incident Response and searching the environment for any indication of compromise.
we decided to get benefit of Splunk capability and automate the scan activity from Splunk by creating addon to install it on agents and Application to help threat hunter and the analyst to review the result of scan more effectively

For full document, check this link: https://blue-v3n0m.blogspot.com/2022/05/automate-loki-using-splunk.html


1) install the add-on and unarchive it to add the below dependencies before deploying it

2) install Loki scanner from github, we prefer to use version 0.33 (most stable) "https://github.com/Neo23x0/Loki/releases/tag/0.33.0"
2.1) copy {config, docs,plugins, tools, license, loki.exe} to the addon TA_loki/bin

3) install Loki master scanner from the github "https://github.com/Neo23x0/Loki"
3.1) copy {loki-upgrader.py} to TA_loki/bin
3.2) copy files inside {lib} to TA_loki/bin/lib

4) Comment out some libraries that are not used and they have dependencies:
4.1) TA_loki\bin\lib\helpers.py -- comment out import psutil & import netaddr
4.2) TA_loki\bin\lib\helpers.py -- comment out import rfc5424logging

5) Splunk Agent on windows need to be running with admin privilage as loki scanners require that.

How to use:

1) After doing the above prerequisites archive the TA_Loki add-on and push it to the Splunk Deployment Server --> $SPLUNK_HOME/etc/deployment-apps

2) copy 2 lib from TA_loki/bin/lib to $SPLUNK_HOME/lib/python3.7/site-packages/
2.1) cp -R TA_loki/bin/lib/colorama $SPLUNK_HOME/lib/python3.7/site-packages/
2.2) cp -R TA_loki/bin/lib/colorama-0.4.4.dist-info/ $SPLUNK_HOME/lib/python3.7/site-packages/

3) Run signature upgrade for loki, use same user running Splunk service (in my case Splunk user). the signature updater better to run before scanning devices interval
***if using $SPLUNK_HOME different than /opt/splunk change it in TA_loki/bin/update-signature.sh
3.1) run:
$SPLUNK_HOME/bin/splunk cmd $SPLUNK_HOME/etc/deployment-apps/TA_loki/bin/update-signature.sh
or you can schedule it using crontab feature in Linux

4) set the interval of running inside inputs.conf
mkdir TA_loki/local
disabled = false
index = <Index>
sourcetype = loki_exec
interval = 0 23 25-31 * <set your preference for scanning schedule>


1) logs are written by default in %SPLUNKPATH%\var\log\TA_Loki, you can change it from TA_Loki/bin/loki.bat

2) scan runs on C: driver only, you can change it from TA_Loki/bin/loki.bat

Release Notes

Version 1.0.0
April 13, 2022

Subscribe Share

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk Inc. in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.