Coder Social home page Coder Social logo

reversinglabs / reversinglabs-yara-rules Goto Github PK

View Code? Open in Web Editor NEW
690.0 70.0 100.0 508 KB

ReversingLabs YARA Rules

Home Page: http://www.reversinglabs.com

License: MIT License

YARA 100.00%
reverse-engineering yara-rules yara-signatures ransomware-detection ransomware-prevention malware-detection indicators-of-compromise yara

reversinglabs-yara-rules's People

Contributors

neo23x0 avatar tpericin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

reversinglabs-yara-rules's Issues

Unicode Characters in blocklist.yara

The Unicode characters in the file blocklist.yara cause problems in different tools that process YARA rules.
I cannot find any reference in the documentation but I am pretty sure that the standard doesn't allow Unicode characters in YARA rule files.

Maybe you could include the statements in an encoded form? e.g. 重庆话语科技有限公司 as \u91CD\u5E86\u8BDD\u8BED\u79D1\u6280\u6709\u9650\u516C\u53F8

Could you try to implement that and check if the rule would still match on the respective samples?

Screenshot 2020-10-05 at 14 25 54

Creating UUID for each rule

Thanks a lot for the project, it's great. Would you add UUID for each rule? We would like to import the rules to make those available on cycat.org.

false positives on PCs in network with Windows Server 2019

Systems: Microsoft Windows Server 2019, ca. 86 Windows 10pro Clients and handful Windows 11 pro

Using Yara rules, we get the following false positives (with some variations on some clients:
CobaltStrike_Resources_Artifact64_v1_49_v2_x_v3_0_v3_3_thru_v3_14 /media/5AC48A90C48A6E57/pagefile.sys CobaltStrike_Resources_Reverse_Bin_v2_5_through_v4_x /media/5AC48A90C48A6E57/pagefile.sys CobaltStrike_Resources_Artifact32_v3_14_to_v4_x /media/5AC48A90C48A6E57/pagefile.sys CobaltStrike_Resources_Dnsstager_Bin_v1_47_through_v4_x /media/5AC48A90C48A6E57/pagefile.sys CobaltStrike_Resources__Template_Vbs_v3_3_to_v4_x /media/5AC48A90C48A6E57/pagefile.sys CobaltStrike_Resources_Artifact32svc_Exe_v3_1_v3_2_v3_14_and_v4_x /media/5AC48A90C48A6E57/pagefile.sys

For full detailes reports see https://www.heise.de/forum/heise-Security/Themen-Hilfe/Desinfect/CobaltStrike-auf-Exchange-Server-gefunden/thread-7244749/

Rule set uses YARA 4 syntax, which is incompatible with previous versions

The rule set in yara/certificate/blocklist.yara uses a syntax, which cannot be used in previous versions of YARA.

Previous Syntax

      for any i in (0 .. pe.number_of_signatures) : (
         pe.signatures[i].issuer contains "VeriSign Class 3 Code Signing 2010 CA" and
         pe.signatures[i].serial == "78:62:07:2d:dc:75:9e:5f:6a:61:4b:e9:b9:3b:d5:21"
      )

Syntax used in blocklist.yara

        for any s in pe.signatures: (
            s.subject contains "FAN-CHAI, TOV" and
            s.serial == "08:dd:cc:67:f8:ca:d6:92:96:07:e4:cd:a2:9b:35:03" and
            1564310268 <= s.not_after
        )

I don't know if you want your ruleset to be compatible with previous YARA versions or used the new syntax intentionally.
I can only tell you that many products don't use YARA 4 yet.

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.