Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
セキュリティ・キャンプ2018 Z3成果報告
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
tubutubucorn
August 19, 2018
Technology
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
セキュリティ・キャンプ2018 Z3成果報告
セキュリティ・キャンプ2018全国大会のZトラック、Z3での成果報告の資料です。
丸3日間YARAの高速化に挑戦し、場合によりますが10倍以上の高速化に成功しました!
tubutubucorn
August 19, 2018
Other Decks in Technology
See All in Technology
攻撃 3 時間 vs 復旧 10 時間。アクセスキー流出の非対称性を体感するために CTF を作った話
kazzpapa3
1
150
試験勉強はGrokBotでやれ
maigo999
0
110
生成AI時代のIAMのマニアックな話
takuros
6
2.6k
E2Eってつらくないですか?E2Eの管理コストを下げる手段とその実践
akaboshinit
6
3k
公共システムAdventCalendar2026
toru_kubota
0
260
デザインレビューは自動化できるのか?─ Flutter × Figma で UI 品質保証を考える
techiro
2
800
DBTS2026 盛り上がってますか!?Databricksが実現するAI時代のデータ基盤
akuwano
1
180
超⼩型・多⾔語検索モデル Bekko Embedding
hotchpotch
1
110
企画からFlutter実装まで、1つの機能を一貫して開発したプロセスと成果物
khiroyuki1003
1
160
Kiro Crew の Bot (続く役目を任せる窓口) | 目指せ Kiro マスター 12
inariku
PRO
2
280
OneLakeをデータソースにした AI Search(Foundry IQ)の ライフサイクル管理
ryuseiiida
0
230
続・ソフトウェアアーキテクトのための意思決定術: Decision Readiness, Revisited — When AI Changes the Economics of Software Architecture
snoozer05
PRO
9
2.6k
Featured
See All Featured
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
68k
SEO for Brand Visibility & Recognition
aleyda
0
4.9k
For a Future-Friendly Web
brad_frost
184
11k
Paper Plane (Part 1)
katiecoart
PRO
2
12k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
290
The Pragmatic Product Professional
lauravandoore
37
7.5k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
590
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
350
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Unsuck your backbone
ammeep
672
58k
Balancing Empowerment & Direction
lara
6
1.4k
Designing for Performance
lara
612
70k
Transcript
Z3 YARA @aokabit @tubutubu_corn
YARA ▸ ▸YARA rules!
!"
YARA rules
YARA ▸Aho-Corasick# ▸Aho-Corasick
!"
Quick Search
Quick Search ▸ ▸ ▸
Quick Search ▸#$' ▸+,, ▸%*(& ! %*(& -#. "
),
▸key(r) := r match
" ▸1#r = /(abc*f)(dfe|dfc)(a*bb)/ key(r) = {ab, fdf, bb} ▸key(r) !Quick Search
Quick Search ▸%# #
&! " (SKIP) $''
SKIP ▸ (LENGTH) ▸ (ALPH)
LENGTH ▸len(r) := min { |w| | w r
} ▸1 r = /ab*cd/ len(r) = 3 ▸2 r = {A4 56 9?} len(r) = 3
ALPH ▸alph(r) := r ▸ 1r = /[ab][cd]e*/
alph(r) = {a,b,c,d,e} ▸ 2r = {A5 B7 FF} alph(r) = {A5, B7, FF}
SKIP Z Z Z Z Z Z Z A Z
A Z Z Z Z A Z r = [AB][CD][EF][GH] LENGTH = 4 ALPH = {ABCDEFGH} i = 0
SKIP Z Z Z Z Z Z Z A Z
A Z Z Z Z A Z r = [AB][CD][EF][GH] LENGTH = 4 ALPH = {ABCDEFGH} LENGTH – 1 i = 0
SKIP Z Z Z Z Z Z Z A Z
A Z Z Z Z A Z r = [AB][CD][EF][GH] LENGTH = 4 ALPH = {ABCDEFGH} ZALPH i LENGTHSKIP i = 0
SKIP Z Z Z Z Z Z Z A Z
A Z Z Z Z A Z r = [AB][CD][EF][GH] LENGTH = 4 ALPH = {ABCDEFGH} i = 4 AALPH
SKIP Z Z Z Z Z Z Z A Z
A Z Z Z Z A Z r = [AB][CD][EF][GH] LENGTH = 4 ALPH = {ABCDEFGH} Z Z Z A r SKIP i = 4
SKIP V.S YARA ▸SKIP V.S YARA ▸SKIP
V.S YARA
SKIP Z Z Z Z Z Z
Z Z Z Z Z Z Z Z Z Z r = [AB][CD][EF][GH] LENGTH = 4 ALPH = {ABCDEFGH}
SKIP Z Z Z Z Z Z Z
Z Z Z Z Z Z Z Z Z r = [AB][CD][EF][GZ] LENGTH = 4 ALPH = {ABCDEFGZ}
0 0.5 1 1.5 2 2.5 3 1B
10B 100B 1KB 10KB 100KB 1MB 10MB 100MB SKIP NOSKIP s ( )
0 0.5 1 1.5 2 2.5 3 1B
10B 100B 1KB 10KB 100KB 1MB 10MB 100MB SKIP NOSKIP s ( )
0 1 2 3 4 5
6 7 8 9 1B 10B 100B 1KB 10KB 100KB 1MB 10MB 100MB SKIP NOSKIP s ( )
0 1 2 3 4 5
6 7 8 9 1B 10B 100B 1KB 10KB 100KB 1MB 10MB 100MB SKIP NOSKIP s ( )
YARA 0 0.5 1 1.5 2 2.5 3 3.5 4
4.5 5 1.96GB (Ubuntu18.04.iso) SKIP NOSKIP s ( )
▸&% 10"! /.$ *# ▸SKIP (, -+ ')
. (){??} (
▸&% 10"! /.$ *# ▸SKIP (, -+ ')
. (){??} (