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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
1.1k
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.8k
Refining Active Record
shugo
0
150
UniFi(ユニファイ)AIカメラの現場活用
ludicmind
1
440
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.2k
Claude Code本は、どのように執筆チームで書かれたか
oikon48
1
380
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
160
パッチ更新でterraform initが落ちた日
grimoh
1
140
Claude の新機能を、 出た日に触って社内に届けるまで
rfdnxbro
1
170
Getting Started with Google Antigravity
glaforge
0
300
SAENM ~Jupyterで残すPoCの試行錯誤、未来の自分と仲間を助ける記録!~
terapyon
0
110
今さら理解するウェブフォントver.2026
takanorip
3
770
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
sira's awesome portfolio website redesign presentation
elsirapls
0
450
Evolving SEO for Evolving Search Engines
ryanjones
0
330
A Tale of Four Properties
chriscoyier
163
24k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
A Modern Web Designer's Workflow
chriscoyier
699
190k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
GitHub's CSS Performance
jonrohan
1033
470k
The Language of Interfaces
destraynor
162
27k
Designing for Performance
lara
612
70k
Documentation Writing (for coders)
carmenintech
77
5.6k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
560
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 (, -+ ')
. (){??} (