1 / 18

NGinx Warhead

Sergey Belov. NGinx Warhead. whoami. Pentester in Digital Security / ERPScan ; Writer (habrahabr.ru, “ Xakep ”); CTF Player; Bug bounty member (Google, Yandex ); bugscollector.com creator. intro. Very easy 0$ Not mentioned in the wild. Part 1/3. NGinx – reverse proxy.

terrel
Télécharger la présentation

NGinx Warhead

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Sergey Belov NGinx Warhead

  2. whoami • Pentester in Digital Security / ERPScan; • Writer (habrahabr.ru, “Xakep”); • CTF Player; • Bug bounty member (Google, Yandex); • bugscollector.com creator.

  3. intro • Very easy • 0$ • Not mentioned in the wild

  4. Part 1/3 NGinx – reverse proxy

  5. NGinx – reverse proxy php-fpm Client Nginx Apache

  6. NGinx – reverse proxy php-fpm attacker.com Client Nginx Apache vuln.com ??? http server

  7. NGinx – reverse proxy Step 1 location / { proxy_pass http://vuln.com; proxy_set_header X-Real-IP $remote_addr; } }

  8. NGinx – reverse proxy Step 2 • proxy_set_header Host “vuln.com"; • sub_filter ‘vuln.com' ‘attacker.com'; • sub_filter_once off;

  9. NGinx – reverse proxy

  10. Part 2/3 Phishing

  11. Phishing NGinx – tool for MitM/phishing? • + Identical design • + Fully functional working • + Logging all data (POST/GET) • + Add custom JS/HTML • - Another domain (DNS poising / router hacking, malware, evil apnconfige.t.c.)

  12. Phishing Pentest • Random exploit’s? • Change response data (rights of social networks apps) • Change apps swf-> java (exploit) • ???

  13. Part 3/3 DNS rebinding

  14. DNS rebinding • -Another domain • - Very unstable • + Can attack internal resources

  15. DNS rebinding Internal, not external!

  16. DNS rebinding C:\Users\BeLove>ping www.ya.ru Обмен пакетами с ya.ru [87.250.250.203] с 32 байтами данных

  17. DNS rebinding • Remove it from: • Pentester’sreports • Most famous security scanners

  18. Thanks! demo: http://zn.sergeybelove.ru http://twitter.com/sergeybelove

More Related