Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Yara Toolkit
Search
Thomas Roccia
December 16, 2024
Programming
350
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Yara Toolkit
This talk was presented at Hack Sydney and Bsides Gold Coast.
Thomas Roccia
December 16, 2024
More Decks by Thomas Roccia
See All by Thomas Roccia
Sleuthcon Keynote - How Cybercriminals (ab)use AI
fr0gger
0
280
Where is My Crypto Dude!
fr0gger
0
120
Generative AI Breaches: Threats, Investigations, and Response
fr0gger
0
1k
The XZ Backdoor Story
fr0gger
0
4.9k
Prompt Engineering for Threat Intelligence
fr0gger
1
870
State-Sponsored Financially Motivated Attacks
fr0gger
0
800
Binary Instrumentation for Malware Analysis
fr0gger
2
2k
Conti Leaks: Practical walkthrough and what can we learn from it
fr0gger
0
1.1k
Sharing is Caring: Sharing Threat Intelligence Notebook Edition
fr0gger
0
2.2k
Other Decks in Programming
See All in Programming
生成AIで帳票OCRが「簡単に」作れる時代になった?
kon_shou
0
200
PostgreSQL 18で考えるUUID主キー
kazuhiro1982
0
450
Foundation Models frameworkで画像分析
ryodeveloper
1
280
アルゴリズムは何を圧縮しているのか ─ Haskell から育った「圧縮代数」というメンタルモデル
naoya
16
3.7k
AI時代の仕事技芸論〜ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ(スクフェス仙台 2026バージョン)
kuranuki
0
790
What's New in Android 2026
veronikapj
0
240
ビデオ通話が繋がる0.2秒で何が起きているのか
supurazako
2
160
自動化したのに回らないテスト運用の壁ーAI時代の品質責任と生産性
mfunaki
0
120
信頼性について考えてみる(SRE NEXT 2026 miniLT)
hayama17
0
230
数百円から始めるRuby電子工作
tarosay
0
120
Apache Hive: Toward a Cloud Native Lakehouse
okumin
0
170
Android CLI
fornewid
0
200
Featured
See All Featured
Practical Orchestrator
shlominoach
191
11k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
430
Visualization
eitanlees
152
17k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
440
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
470
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
460
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
680
Java REST API Framework Comparison - PWX 2021
mraible
34
9.6k
Transcript
YARA TOOLKIT
None
DEMO DEMO
👀
Analysis similar binaries Identify unique patterns strings, code... Build the
rule with your findings Test on a cleaned dataset Deploy to the service of choice Monitor everything
Import Module pe, elf, hash, math, cuckoo, dotnet, time Rule
Name Global rules, Private rules, Rule tags Metadata Author, Date, Description, Etc… Strings Text strings, Hexadecimal string, Regex Text Strings nocase, wide, fullword, xor(0x01-0xff), base64 Hexadecimal Wild-cards: { 00 ?2 A? }, Jump: { 3B [2-4] B4 }Alternatives: { F4 (B4 | 56) } REGEX Conditions Boolean operators, Arithmetic operators, Bitwise operators, Counting strings, Strings, offset https://blog.securitybreak.io/security-infographics-9c4d3bd891ef#18dd
memset(key, fillValue, sizeof(key)); memset(permutedArray, fillValue_1, sizeof(permutedArray)); for ( i =
0i64; i != 256; ++i ) { permutedArray[i] = i; key[i] = RC4key[(int)i % 12]; // '3jB(2bsG#@c7' } index1 = 0i64; index2 = 0; do { currentValue = permutedArray[index1]; index2 += key[index1] + currentValue; swapValue = permutedArray[index2]; permutedArray[index2] = currentValue; permutedArray[index1++] = swapValue; }
CVE-2021-1732 was a Local Privilege Escalation (LPE) exploit on Windows
10, exploited in the wild by the Bitter APT.
None
None
None
None
None
None
None
Yara Documentation, Useful resources. Knowledge Base Embedding Retriever Putting the
data in a multi dimensional vector Retrieve information from the database based on similarity RAG DocYara Help you understand how to use Yara Help you create your rule Help you refine your rule 👨⚕️ Retrieval Augmented Generation
None
None
None