Comments (4)
Actually there are few discrepancies between the schema and the rules every now and then ... author
is defined as str
, but here it's a list:
https://github.com/Neo23x0/sigma/blob/master/rules/windows/sysmon/sysmon_susp_certutil_command.yml
Sorry for bringing this over and over, I already do check for those issues in the code that parses the rules, but consistency between the schema and the sample rules will make a better case for wider sigma adoption.
from sigma.
Factually, sigmac currently implements A, but the specification defines str. Fixing it to str and adding the or syntax to conditions would make the parsing harder and the condition harder to read in my opinion. Same for author: list-only would add unneeded single-item lists to many rules while str-only will make rules with multiple authors unstructured.
On the whole, I think we should keep this flexibility in Sigma and allow str and list. Unfortunately, the used Schema language (Kwalify) doesn't support such alternatives, while Rx does. A switch to Rx could give us this flexibility. I discuss this with Florian.
from sigma.
Ok, following plan: we switch to a Rx schema definition with alternatives.
from sigma.
Schema has updated to Rx schema with possibilities for strings and lists of strings mentioned above.
from sigma.
Related Issues (20)
- c8b00925-926c-47e3-beea-298fd563728e Possible incorrect field/value pairing HOT 2
- 1de68c67-af5c-4097-9c85-fe5578e09e67 issue HOT 1
- ADFS Database Named Pipe Connection
- proc_creation_win_susp_bad_opsec_sacrificial_processes Chrome Installer False Positives HOT 2
- False positive: File Download From Browser Process Via Inline Link HOT 6
- Adding Mitre Detection ID to Rule Tags HOT 3
- Detection of Rhysida Ransomware HOT 1
- `documentations/tools/sigma-logsource-checker.py` is broken HOT 1
- Logsources, lack of machine readable definition of log sources (and additional requirements) HOT 4
- Excessive requests from Go-http-client/1.1 HOT 3
- net_connection_win_rundll32_net_connections.yml leads to false positive via multiple vendors HOT 4
- Adding new hosting sites to downloading rules HOT 3
- Lazagne Crendential Dumping Tool Detection Rule HOT 1
- Hacktool Evil-Winrm Tool Detection via Powershell event ID
- CVE-2023-1389 Unauthenticated Command Injection Vulnerability
- Suspicious Process DNS Query Known Abuse Web Services
- FPs with "File Enumeration Via Dir Command"
- ADS Zone.Identifier Deleted By Uncommon Application when installing PuTTy latest version HOT 1
- DPAPI backup keys Theft and Export related activities HOT 1
- Detects Backdoor Kapeka Via Registry Key
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sigma.