Embedded FontApocalypse: MS11-087 Никита Тараканов.

Презентация:



Advertisements
Похожие презентации
How to crack technical interview ? Yogesh Mehla. Many of my friends who are technically good and even great, but they are unable to crack their first.
Advertisements

Michael Marchenko. In mathematics, a sequence is an ordered list of objects (or events). Like a set, it contains members (also called elements, or terms),
Cool school uniform. German Tishkin 8A. Approximately twenty years ago children wore strictly school uniform at school. But since the 1990s school uniform.
Unknot The unknot arises in the mathematical theory of knots. Intuitively, the unknot is a closed loop of rope without a knot in it. A knot theorist would.
Time-Series Analysis and Forecasting – Part IV To read at home.
English is very popular in the world now. English is very popular in the world now. Many English words are international. Many English words are international.
«Western Democracies. Are They Democratic?»
My experiment. Aim I want to know why a certain type of plant grows well in land A, but badly in land B. I want to know why a certain type of plant grows.
If you want to keep fit you must go in for one kind of sport.
What to expect? How to prepare? What to do? How to win and find a good job? BUSINESS ENGLISH COURSE NOVA KAKHOVKA GUMNASUIM 2012.
Snake Snake It's a snake. Did you see the snake?
Shrove Tuesday and Lent. Pancake Day Shrove Tuesday is the day when we eat pancakes. This is the last day before the Christian time of Lent. In olden.
ACadem holiday in England. In England, the students take a sabbatical for a year after high school. This is a great opportunity to visit other countries,
I Love School. Do You? Some people like school, others do not. But people of different ages always have something to say about school. Write five things.
Carousel from flshow.netflshow.net by Saverio CaminitiSaverio Caminiti.
Отформатируйте 2Mb USB флэш диск с помощью утилиты HP DriveKey HPUSBFW.EXE, указав в поле using DOS system files located at директорию FreeDOS. В результате.
It's great to be a teenager. It's fearful to be a teenager. Being a teenager is romantic. It's fun to be a teenager. It's not easy to be young.
THE SIBERIAN TIGER
Wherever you go, you need English Actuality o f this work causes no doubts, as English is widespread now in all spheres of our life. About the quarter.
Charyn Canyon. The Charyn Canyon is located in the Charyn National Park about 215km east of Almaty and approximately a 3 hour drive via the A 351 and.
Транксрипт:

Embedded FontApocalypse: MS Никита Тараканов

First of All Я не связан ни с одной АВ компанией У меня не было, нету оригинального семлпа, который используется Duqu Методы тестирования АВ продуктов могут быть некорректными

Небольшой ЛикБез TTF – TrueType – win32k.sys OTF – OpenType – atmfd.dll

Хронология уязвимостей MS – CFF memory Corruption MS – OTF Parsing (2 vulns) MS – OTF Parsing (3 vulns) MS – OTF Encoded Char vuln MS – OTF Parsing

Хронология уязвимостей MS – EOT Parsing MS – TTF Parsing MS – OTF(?) Validation MS – TTF,FON vulns MS – DoS in TTF Interpreter MS – TTF sbit integer vulns

MS11-087(Duqu vuln)

TrueType Bitmap glyphs EBLC – info about indexes(position) of bitmap data EBDT – actual bitmap data EBSC – info about scaling

TrueType Assembler! Over 100 instructions Implemented in kernel(!!!) land Vulns were discovered(MS11-084) Itrp_XXX – example: itrp_PUSHB Instructions in cvt table and fpgm

TrueType Assembler

GetSbitComponent One parameter is TTF interpreter context Integer overflow leads to kernel pool corruption Corrupts TTF interpreter context! This leads to full pwn at r0(!!!) remotely

Lame lame cybercriminals The guys behind Duqu has failed to exploit this vuln on x64 systems! Actually, its real hardcore: you have to implement ROP program in TTF assembler TODO: go pwn x64, crack your brain!

MS attack vectors TTF – good for Vista/2k8/7/8 DOC – Duqu attack vector DOCX – same as DOC, but OOXML IE – drive by download scenario LPE – no comments…

AV/HIPS vs MS TTF vector detection: Avast,avira,bitdefender,bullguard,escan,gdata,k7,kl,lavasoft,rising,trustport,vipre,zonealarm LPE: FAIL, FAIL, FAIL! Even with MPAA info some AV FAILED to detect mine PoC

MS Easter Egg

Kernel Attack Surface Interrrupts Syscalls

Interrupts Exceptions Interrupt transitions NTVDM

Syscalls Ntoskrnl.exe Win32k.sys