Zum Inhalt springen

Glossar

wide

Der Modifikator wide sucht einen YARA-String in UTF-16LE, bei dem jedem ASCII-Zeichen ein Null-Byte folgt.

Windows-Programme speichern Strings oft in UTF-16LE. $a = "Global\\Mutex" wide findet G\x00l\x00o\x00…. Mit wide allein wird die ASCII-Form nicht mehr gesucht — für beides ascii wide schreiben.

wide deckt nur Zeichen ab, die als ein Byte plus 00 kodierbar sind, nicht beliebiges Unicode. Siehe Modifikatoren.