YARA string

A named pattern in a YARA rule's strings section, written as text or hexadecimal bytes, with modifiers that change how it matches.

In more detail

Text strings match exact bytes. The wide modifier matches UTF-16 text (a zero byte after each ASCII character), ascii keeps the plain form too, and nocase ignores case. Prefer strings of four or more distinctive bytes so the rule is both fast and specific.

Related terms

Taught in

References