DDoS Attacks and Countermeasures

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

Post a comment
Embed Video
Edit your comment Cancel

Favorites, Groups & Events

DDoS Attacks and Countermeasures - Presentation Transcript

  1. DDoS Attacks & Countermeasures
    • Duong Ngoc Thai
    • <thaidn AT gmail DOT com>
    http://vnhacker.blogspot.com
  2. Hello!
  3. Overview
    • DDoS Attacks
      • What's new?
    • DDoS Countermeasures
      • What NOT to do?
      • What to do?
    • Q & A
  4. Part I
    • DDoS Attacks – What's new?
      • Botnet Attacks
        • DRDoS
        • Distributed Reflected DNS Attacks
      • xFlash Attacks
        • HTTP-based applications
        • Welcome to the brave new world of Flash 9 Socket
  5. What is botnet?
  6. DDoS Attacks through Botnet
    • Traditional DDoS Attacks
    • DRDoS
  7. DDoS Attacks through Botnet
    • Distributed Reflected DNS Attacks
  8. Okay, botnet is scary . But wait, there's no botnet in VN, YET!
  9. Bad news: building a botnet is easy!
      • bot source code is available for free! some even released under GPL !
  10. Bad news: building a botnet is easy!
      • Gái đẹp online đây bà con ơi!!!! Remember
      • gaixinh or xRobot ?
  11. Bad news: building a botnet is easy!
      • I don't want to pay for software!
      • ever wonder what those keygen.exe or crack.exe
      • actually do?
      • no license --> no update --> hack me please!
      • (hint: use Linux )
  12. Bad news: building a botnet is easy!
      • can't build yourself? buy one online!
  13. Vietnam Botnet Factbook
  14. What's xFlash?
      • ActionScript in Flash can send HTTP requests to 3rd party sites through the browser which invoked it.
  15. What's xFlash?
      • The main DDoS attack mechanism used to attack many websites in VN: hvaonline.net, vietco.com, ddth.com , <insert your sites here>, etc...
  16. xFlash to attack HTTP-based applications
    • <insert x-flash source code here>
  17. xFlash to attack HTTP-based applications
    • forging HTTP request headers
    • var req:LoadVars=new LoadVars();
    • req.addRequestHeader(&quot;Foo&quot;,&quot;Bar&quot;);
    • req.send(&quot;http://www.site.com/index.php&quot;,&quot;_blank&quot;,&quot; GET &quot;);
  18. xFlash to attack HTTP-based applications
    • forging HTTP request headers
    • var req:LoadVars=new LoadVars();
    • req.addRequestHeader(&quot;Foo&quot;,&quot;Bar&quot;);
    • req.decode(&quot;a=b&c=d&quot;);
    • req.send(&quot;http://www.site.com/index.php&quot;,&quot;_blank&quot;,&quot; POST &quot;);
  19. Welcome to The Brave New World of Flash 9 Socket
    • Quote from Flash 9 documentation
    • “ The Socket class enables ActionScript code to make socket connections and to read and write raw binary data. The Socket class is useful for working with servers that use binary protocols.”
  20. Welcome to The Brave New World of Flash 9 Socket
    • Quote from Flash 9 documentation
    • “ The Socket class enables ActionScript code to make socket connections and to read and write raw binary data. The Socket class is useful for working with servers that use binary protocols.”
    Let's port nmap to ActionScript !
  21. Welcome to The Brave New World of Flash 9 Socket
    • Quote from Flash 9 documentation
    • “ The Socket class enables ActionScript code to make socket connections and to read and write raw binary data. The Socket class is useful for working with servers that use binary protocols.”
    • Let's port nmap to ActionScript !
      • Err wait, how about same origin policy ?
  22. Part II
    • DDoS Countermeasures
      • DON'T
        • .htaccess
        • referer checking
        • PHP anti-DDoS script
      • DOs
        • performance tuning - killing the bottlenecks
        • start small, think big
        • defense in depth
  23. First thing first: SHOW ME THE MONEY
  24. Security is always a trade-off
  25. The Art Of Performance Tuning
    • What is performance?
  26. The Art Of Performance Tuning
    • What is performance?
    • rps = requests per second
    • cu = concurrent users
  27. Howto Find The Bottlenecks
    • code profiling – xdebug
    • system profiling – oprofile
    • database query profiling
  28. Caching's Your Good Friend, Always
    • opcode caching – APC, Zend Platform
    • object caching – memcached
    • http request caching - squid
  29. Start Small Think BIG
    • what is scalability?
  30. Start Small Think BIG
    • what is scalability?
    • readily enlarged
    • what is scalable system?
      • able to accommodate increased usage
      • able to accommodate an increased dataset
      • maintainable
  31. Hello, world! Is Very Scalable
    • <?php
    • sleep(1);
      • echo “Hello, world!”;
    • ?>
  32. Verizontal vs Horizontal Scaling
  33. Share Nothing Architecture
  34. Scaling The Database With SNA
  35. Scaling The Storage
    • Amazon S3 anybody?
  36. Wikipedia: a scalable system
  37. The Blueprint of Defense In Depth
  38. The case for the reverse proxy
  39. Recommend Reading
    • Building scalable web sites
    • Kí sự các vụ DDoS vào HVAOnline.net
  40. DDoS Attacks & Countermeasures
    • Thank you!
    • Questions/Comments?
    Duong Ngoc Thai

+ thaidnthaidn, 3 years ago

custom

3612 views, 0 favs, 3 embeds more stats

DDoS Attacks and Countermeasures

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 3612
    • 3303 on SlideShare
    • 309 from embeds
  • Comments 1
  • Favorites 0
  • Downloads 196
Most viewed embeds
  • 307 views on http://vnhacker.blogspot.com
  • 1 views on http://72.14.235.104
  • 1 views on http://72.14.253.104

more

All embeds
  • 307 views on http://vnhacker.blogspot.com
  • 1 views on http://72.14.235.104
  • 1 views on http://72.14.253.104

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories