Example 1:
Creating Yara rule to detect youtubedownloader.com domain in an .exe file
Example 2:
Creating a Yara rule to detect a specific registry key (Software\Borland\Delphi\RTL) and run it recursively against a folder.
Example 3:
Creating a YARA rule to detect any GIF89a files under 50 KB in size and running it recursively against a folder