Giter VIP home page Giter VIP logo

Comments (4)

markus-nclose avatar markus-nclose commented on August 16, 2024 1

Yes I was a noob. If you use that yara in other tools it will trow exceptions. (https://github.com/Neo23x0/signature-base#external-variables-in-yara-rules)

from strelka.

markus-nclose avatar markus-nclose commented on August 16, 2024 1

Hi,

What I did to find the yara file that was causing issues is to have a small python script to compile the files. It will throw an exception on the misbehaving yara file.

You obviously need to install yara-python

#!/bin/python
import yara
import os

directory = r'/opt/yara/path/etc'
for entry in os.scandir(directory):
    if (entry.path.endswith(".yar")
            or entry.path.endswith(".yara")) and entry.is_file():
        yara.compile(entry.path)

from strelka.

phutelmyer avatar phutelmyer commented on August 16, 2024

@markus-nclose - Glad you were able to troubleshoot that. Let me know if I can help with any issues while you experiment with the tool. Happy you checked it out!

from strelka.

Schi11ing avatar Schi11ing commented on August 16, 2024

Hello!
I have the same issue:

 "yara": {
      "elapsed": 0.032276,
      "flags": [
        "compiling_error"
      ]
    }

Steps to reproduce
Steps to reproduce the behavior:

  1. Default install docker
  2. Edit filestream config to add strelka-server IP and path to folder with files
  3. Run Filestream to send files from folder
  4. See error above

from strelka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.