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
Безопасность интернет-приложений #1 / Риски и у...
Search
Технострим Mail.ru Group
January 09, 2020
Education
0
200
Безопасность интернет-приложений #1 / Риски и угрозы [Технострим]
Технострим Mail.ru Group
January 09, 2020
Tweet
Share
More Decks by Технострим Mail.ru Group
See All by Технострим Mail.ru Group
Введение в ML и BigData разработку
tehnostrim
0
270
Мастер-класс "Бот для мессенджера" | Технострим
tehnostrim
0
150
Data Mining #10 / ЕМ-алгоритм [Технострим]
tehnostrim
0
240
Data Mining #1 / Задачи Data Mining [Технострим]
tehnostrim
0
350
Data Mining #2 / Метрики классификации и регрессии. Метод ближайшего соседа
tehnostrim
0
890
Data Mining #3 / Линейные модели регрессии
tehnostrim
0
220
Data Mining #4 / Линейные модели классификации
tehnostrim
0
300
Data Mining #6 / Решающие деревья
tehnostrim
0
170
Data Mining #5 / Метод опорных векторов
tehnostrim
0
150
Other Decks in Education
See All in Education
0121
cbtlibrary
0
140
Interactive Tabletops and Surfaces - Lecture 5 - Next Generation User Interfaces (4018166FNR)
signer
PRO
1
2k
インシデント対応
akira345
0
240
RGBでも蛍光を!? / RayTracingCamp11
kugimasa
2
460
JAPAN AI CUP Prediction Tutorial
upura
2
900
Introduction - Lecture 1 - Advanced Topics in Big Data (4023256FNR)
signer
PRO
2
2.3k
Chapitre_2_-_Partie_3.pdf
bernhardsvt
0
200
SJRC 2526
cbtlibrary
1
220
Postcards
gabrielramirezv
0
160
TeXで変える教育現場
doratex
1
18k
Introduction - Lecture 1 - Information Visualisation (4019538FNR)
signer
PRO
0
5.3k
AIで日本はどう進化する? 〜キミが生きる2035年の地図〜
behomazn
0
130
Featured
See All Featured
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
450
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
250
Six Lessons from altMBA
skipperchong
29
4.2k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
270
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
140
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Accessibility Awareness
sabderemane
0
76
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Git: the NoSQL Database
bkeepers
PRO
432
66k
The Limits of Empathy - UXLibs8
cassininazir
1
250
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
200
Transcript
{Безопасность интернет приложений} преподаватель – Александра Сватикова
Александра Сватикова
[email protected]
https://ok.ru/alexandra.svatikova https://polis.mail.ru 2
3 2018 — 2019: 1) Facebook - 50M пользователей 2)
Google+ API 3) Uber 57M пользователей, £133m штраф 4) Coincheck $534M 5) Coinrail $37M
Основные понятия 4
• Конфиденциальность / Confidentiality • Целостность / Integrity • Доступность
/ Availability • Апеллируемость / Non-repudiation 5 Информационная безопасность
• Актив / Asset • Уязвимость / Vulnerability • Атака
/ Attack • Угроза / Threat 6 Ключевые понятия
Spoofing Tampering Repudiation Information disclosure Denial of service Elevation of
privilege 7 Угрозы - STRIDE
Damage Reproducibility Exploitability Affected users Discoverability 8 Риски - DREAD
• Контроль доступа: • Идентификация • Аутентификация • Авторизация •
Управление сессиями 9 Контрмеры
• Валидация входных данных • Обработка ошибок 10 Контрмеры
• Классификация данных • Принцип наименьших привилегий • Криптография 11
Контрмеры
• Security by design • Security in depth 12
Web 101 13
• Same-Origin Policy (SOP) • Изоляция окон и фреймов •
Cross-Origin Resource Sharing (CORS) • Cookies, headers, … 14
15 Same-Origin Policy (SOP) RFC 6454 The Web Origin Concept
https://example.com:8080/path?param=1#xyz
16 Cross-Origin Resource Sharing (CORS) https://www.html5rocks.com/en/tutorials/cors/
17 Cross-Origin Resource Sharing (CORS) Access-Control-Allow-Origin: https://foo.example Access-Control-Allow-Methods: POST, GET,
OPTIONS Access-Control-Allow-Headers: X-PINGOTHER, Content-Type Access-Control-Max-Age: 86400 https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
18 Куки RFC 6265, section 5.4: Cookie HTTP/2.0 200 OK
Content-type: text/html Set-Cookie: yummy_cookie=choco Set-Cookie: tasty_cookie=strawberry https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie Атрибуты: • Domain, Path • Expires, Max-Age • Secure • HttpOnly • SameSite
• Content-Type • X-Content-Type-Options • X-Frame-Options • Content-Security-Policy 19 Полезные
заголовки
Android 101 20
21
• Android Application Sandbox • Intents • ContentProviders • Permissions
• HTML message channels 22
Почитать https://owasp.org https://developer.mozilla.org/en-US/docs/Web/Security https://security.googleblog.com/2019/04/the-android-platform-security-model.html Попробовать силы https://github.com/OWASP/SecurityShepherd https://www.owasp.org/index.php/Category:OWASP_WebGoat_Project Инструменты https://portswigger.net/burp/freedownload
https://www.owasp.org/index.php/OWASP_Zed_Attack_Proxy_Project 23 Ссылки