MCPcopy Index your code
hub / github.com/botherder/kraken

github.com/botherder/kraken @v0.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.0 ↗ · + Follow
202 symbols 609 edges 75 files 36 documented · 18%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Kraken is a simple cross-platform Yara scanner that can be built for Windows, Mac, FreeBSD and Linux. It is primarily intended for incident response, research and ad-hoc detections (not for endpoint protection). Following are the core features:

  • Scan running executables and memory of running processes with provided Yara rules (leveraging go-yara).
  • Scan executables installed for autorun (leveraging go-autoruns).
  • Scan the filesystem with the provided Yara rules.
  • Report any detection to a remote server provided with a Django-based web interface.
  • Run continuously and periodically check for new autoruns and scan any newly-executed processes. Kraken will store events in a local SQLite3 database and will keep copies of autorun and detected executables.

Some features are still under work or almost completed:

  • Installer and launcher to automatically start Kraken at startup.
  • Download updated Yara rules from the server.

Screenshots

How to use

Launch Kraken with any of the available options:

Usage of kraken:
      --backend string   Specify a particular hostname to the backend to connect to (overrides the default)
      --daemon           Enable daemon mode (this will also enable the report flag)
      --debug            Enable debug logs
      --folder string    Specify a particular folder to be scanned (overrides the default full filesystem)
      --no-autoruns      Disable scanning of autoruns
      --no-filesystem    Disable scanning of filesystem
      --no-process       Disable scanning of running processes
      --report           Enable reporting of events to the backend
      --rules            Specify a particular path to a file or folder containing the Yara rules to use

User Guide

For details on how to install, use and build Kraken you should refer to the User Guide. The original source files for the documentation are available here, please open any issue or pull request pertinent to documentation there.

License

Kraken is released under the GNU General Public License v3.0 and is copyrighted to Claudio Guarnieri.

Core symbols most depended-on inside this repo

Open
called by 7
database.go
Close
called by 7
scanner.go
callback
called by 5
server/static/js/bootstrap.js
NewDetection
called by 3
detection.go
ReportAndStore
called by 3
detection.go
Close
called by 3
database.go
ScanFile
called by 3
scanner.go
getParent
called by 3
server/static/js/bootstrap.js

Shape

Function 165
Method 19
Class 12
Struct 6

Languages

TypeScript56%
Go32%
Python12%

Modules by API surface

server/static/js/jquery.min.js83 symbols
server/static/js/bootstrap.js22 symbols
server/static/js/bootstrap.min.js8 symbols
database.go7 symbols
scanner.go6 symbols
detection.go6 symbols
server/api/views.py5 symbols
main.go5 symbols
api.go5 symbols
server/hosts/models.py4 symbols
profile.go4 symbols
process.go4 symbols

For agents

$ claude mcp add kraken \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page