Comments (3)
まずは完全一致から
- そもそもの yml ファイルの書き方
- いままでの書き方のまま実装でカバーしたい
- 実装の方法
- rule.rs の LeafMatcher に FullMatch struct を追加
- LeafMatch で Regexと判定されたもののうち通常文字列のみならFullMatch、特殊文字があったらRegexにする
- 特殊文字案:
\.+?*(){}[]^$
- 特殊文字案:
from hayabusa.
ymlでデータの型を指定する。
https://magazine.rubyist.net/articles/0009/0009-YAML.html#%E3%82%B9%E3%82%AB%E3%83%A9%E3%83%BC%E3%81%A8%E3%83%87%E3%83%BC%E3%82%BF%E5%9E%8B
from hayabusa.
SIGMA Ruleを読めるようにする計画が始まったので方針を変更する。
部分一致を検索する場合、|contains
をパラメータ名の後につけるのがSIGMA.ymlの書き方
detection:
selection_cammute:
Image|endswith: '\CamMute.exe'
filter_cammute:
Image|contains:
- '\Lenovo\Communication Utility\'
- '\Lenovo\Communications Utility\'
selection_chrome_frame:
Image|endswith: '\chrome_frame_helper.exe'
filter_chrome_frame:
Image|contains: '\Google\Chrome\application\'
from hayabusa.
Related Issues (20)
- Github action: auto build release packages
- Make `search` command's `Filter` option an exact match
- `update-rules` does not update rule files if only `status` field is updated HOT 2
- Add remote connection path to HTML output HOT 2
- [bug] Issue with parsing JSON
- [bug] JSON output of `search` command is missing `AllFieldInfo` field
- Remove new line characters in search output HOT 1
- Low memory mode option HOT 12
- Add back -h, --help option to General Options HOT 3
- `--no-color` not working for progress bar and scan wizard HOT 2
- Make `search` command line options stricter
- Replace double vertical line character with a middle dot character
- Skip loading detection rules when running `search`
- JSON output does not output in original order
- Output `csv-timeline` standard output in color?
- [bug] Error after logon-summary (and possibly other options): thread 'main' panicked at HOT 3
- not to use replacen() in ConditionCompiler.tokenize() function HOT 1
- not to use replacen() in AggegationConditionCompiler.tokenize() function HOT 1
- timeline::metrics failing nextest tests
- not used `!` chracter in field of rule HOT 1
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 hayabusa.