v0.3.0 #75
vthib
announced in
Announcements
v0.3.0
#75
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a huge release containing several months of work, including:
Full compatibility with Yara 4.3. All the new features from Yara 4.3
are available.
A complete rewrite of the strings compilation algorithm. Performance
has been improved dramatically when using a lot of rules or when using
strings of lesser quality. See the updated benchmarks.
New tools to debug and improve performances of rules scanning, which new
flags to display several kind of statistics.
the quality of the extracted atoms, ...j
evaluation step takes. This is only available if the new
profiling
featureis enabled, to not impact evaluation performance if not set.
Improved testing on modules and on the
boreal-cli
binary.Here are some more details on the new YARA features:
Yara 4.3:
{ ~C3 ~?F }
.to_string
function inmath
module.string
module withto_int
andlength
functions.rva
field in imported functions inpe
module.pe.import_rva
andpe.delayed_import_rva
functions.pe.rich_signature.version_data
field.for any s in ("foo", "bar"): (...)
.at
for expression, egany of them at 0
.import_md5
andtelfhash
inelf
module.authenticode-parser
lib to parse signatures inpe
module.This adds a lot of fields in
pe.signatures
.Here are the changes grouped by crate:
Boreal
Added
for a short recap of the main new features.
profiling
feature, needed to compute evaluation statistics.Changed
statistics.
openssl
feature removed, replaced with theauthenticode
feature.pe
module with thesignatures
parsing now requirescalling the unsafe function
Compiler::new_with_pe_signatures
.regex
has been removed in favorof
regex-automata
.Fixed
elf.dynamic_section_entries
and``elf.number_of_sections` (e639df643b05).
==
operator on boolean values (cec439eee19f).fullword
keyword withboth the
wide
andascii
modifiers, see PR #51.a rule dependency. I doubt this actually impacted anyone, see PR #60.
A warning has however been added to warn against this situation.
pe.imports
andpe.(delayed_)import_rva
functions to be case-insensitive, See PR #69.
boreal-cli
Added
-M
flag to a list of available modules.--string-stats
flag to display strings' compilation statistics.--scan-stats
flag to display evaluation duration statistics.Changed
boreal
updated to 0.3, seeboreal
changes.boreal-parser
Added
{ ~C3 ~?F }
(9c21fd446).at
for expression, egany of them at 0
(b26fbc3b6).parse_regex
andparse_hex_string
added to public API (d6a7afc98).Changed
now nested in relevant modules (3e8682bec).
bitflags
dependency, rework ofVariableModifiers
object (05877aae4).
provide escaping information and span location. See PR #68.
Fixed
should now be fixed (3e8682bec).
This discussion was created from the release v0.3.0.
Beta Was this translation helpful? Give feedback.
All reactions