Diplomová práce

System for assisted creation of YARA rules

Karel Hájek
Anotace

Tato práce představuje nový způsob urychlení tvorby YARA pravidel pro klasifikaci malwaru. Existuje již řada pokusů pro automatickou tvorbu YARA pravidel pro danou sadu souborů, ale mají své nedostatky a často nefungují příliš dobře. Často vytvářejí velmi složitá pravidla, nezobecňují příliš dobře nebo jsou pro analytiky těžko pochopitelné. Tato práce představuje nástroj Yarachef, pomocníka pro psaní …více

Abstract

This thesis introduces a new way to speed up the development of YARA rules for malware classification. There have been many attempts to generate YARA rules for given files automatically, but they have shortcomings and generally do not work well. They often create very complex rules, do not generalize very well, or are hard to understand by analysts. This thesis presents Yarachef, a YARA rule-writing …více

Zadání práce
YARA language and its corresponding tool (https://github.com/VirusTotal/yara) are used to write detection patterns for malware detection and classification. Creation of detection patterns is a job for malware analysts. Automation in this domain can significantly ease the creation of new or modification of existing detection patterns. The thesis shall aim to create a system that will allow malware analysts to modify and generate detection patterns in the YARA language. Use of various heuristics will be proposed, designed, and implemented in this work, in order to provide machine-assisted creation of accurate rules. The thesis will be undertaken in collaboration with Avast s.r.o. The work will consist of the following steps:
  1. Familiarize yourself with the YARA language and tool and its use.
  2. Design the system for the interactive creation of YARA rules.
  3. Propose heuristics that will assist rule creation and evaluate rule quality during the process.
  4. Implement the most promising results from points 2 and 3 above.
  5. Evaluate the resulting system by malware analysts at Avast.
Technologies: C++/Python/JavaScript/TypeScript.
Práce zkontrolována:
18. 5. 2023 07:03, prof. RNDr. Václav Matyáš, M.Sc., Ph.D., učo 344
Jazyk práce
angličtina angličtina
Termín obhajoby
20. 6. 2023
Práce byla úspěšně obhájena

Vedoucí

prof. RNDr. Václav Matyáš, M.Sc., Ph.D., učo 344
KPSK FI MU

Oponent

Mgr. et Mgr. Jan Krhovják, Ph.D., učo 39510
KPSK FI MU

Konzultant

Ing. Marek Milkovič
Avast

  • Přidání souboru

    Soubor nebo složku lze nahrát pomocí tlačítka Přidat.
  • Další operace se soubory

    Podrobnosti lze zjistit označením příslušného řádku.
  • Pohled pro experty

    Pro častou práci je možné zvolit režim Více možností.
  • Vyhledávání souborů

    Vyhledávaný výraz můžete zadat přímo do adresního řádku.
  • Rychlý přístup k souborům

    Pomocí funkce Nedávné je možné se rychle vrátit k právě prohlíženým souborům. Oblíbené soubory je také možné označit Hvězdičkou.