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
Attack N Defence
Search
Buzzvil
January 23, 2019
240
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Attack N Defence
Buzzvil
January 23, 2019
More Decks by Buzzvil
See All by Buzzvil
220903_GFS
buzzvil
0
730
Git 해부하기 2 + 3
buzzvil
0
81
Metastable Failure
buzzvil
0
430
Git 해부하기
buzzvil
0
110
Introduction to Plate Solving
buzzvil
0
98
Airbnb Minerva
buzzvil
0
620
Shape up 방법론
buzzvil
0
1.2k
Buzzvil Billing Data Pipeline
buzzvil
0
770
Journey of Dash's release-cycle
buzzvil
0
330
Featured
See All Featured
Fireside Chat
paigeccino
43
4.1k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Designing Experiences People Love
moore
143
24k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
660
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Optimizing for Happiness
mojombo
378
71k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
540
WENDY [Excerpt]
tessaabrams
14
40k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
650
Transcript
Attack N Defence - 0101 - JD
Notice • Solution is not perfect. • Also, sample is
not perfect. • So, we should have imagine.
Process Product Attack Defence
Setup • docker pull jongsu253/dev-seminar:0.1 • docker run --privileged --cap-add=SYS_PTRACE
--security-opt seccomp=unconfined -it ed79ba87900b /bin/bash
Let’s do it now!
Section I - Hooking Dynamic Linking libc.so program call printf@PLT
PLT[0]: call resolver PLT[X]: jmp *GOT[X] push XX jmp PLT[0] GOT[X]: &printf printf: … ld.so resolver: … program call printf@PLT PLT[0]: call resolver PLT[X]: jmp *GOT[X] push XX jmp PLT[0] GOT[X]: &hooker libc.so printf: … ld.so resolver: … hook.so hooker: …
Section I - Hooking Dynamic Loading ld.so libc.so libm.so libhook.so
printf read write pow sqrt ceil printf read write libraries: libc.so libm.so libhook.so ld.so libraries: libhook.so libc.so libm.so libc.so libm.so libhook.so printf read write printf read write pow sqrt ceil
Section II - Debugger Process A Process B name phone
address … Process A Process B name phone address … access / control kernel access / control
Section II - Debugger Process A Process B name phone
address … kernel access / control Process C 1 2
Section II - Debugger Process A Process B name phone
address … kernel Process B` fork Attached Not Attached
Section II - Debugger Process A Process B kernel Attached
Thread 1 Thread 2 Thread 3 Thread N
Section II - Debugger Process A Process B kernel Thread
1 Thread 2 Thread 3 Thread N Attached Process C
What do you think …?
Q & A
Thank you!