yara-x 1.15.0

A pure Rust implementation of YARA.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
rule test {
  strings:
    $a = { 50 4B 05 06 }
  condition:
    for any i in (1..10): (
      with
        offset = uint32(@a[i] + 16),
        value = uint32be(offset): (
          value != 0x504b0102
        )
    )
}