• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Butler
 

 

Statistics

Views

Total Views
585
Views on SlideShare
585
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Butler Butler Presentation Transcript

    • PRACTICE MAKES PERFECT. CREATION OF A PENETRATION TESTING LABORATORY, PROCEDURES AND TOOLS, START TO FINISH. LQT2 Multimedia Presentation by Thomas Butler Presented to the Information Technology College Faculty of Western Governors University in Partial Fulfillment of the Requirements for the Degree Master of Science in Information Security and Assurance February 26, 2013 Powerpoint Templates Page 1
    • root@bt:~# WHOAMI? Thomas Butler……Houston, Texas CPA, CIA, CISA, CISSP, Security+, Network+, PMP Over 20 years in DoD IT Audit (Retired) Interested in IT Security & Penetration TestingStarted IT Security Consulting Co.-Dec 2011-http://www.butleritsec.com Started WGU MS Degree-1 July 2012 WGU MS Degree Offers Credibility in IT Security Powerpoint Templates Page 2
    • PRESENTATION OVERVIEW-PER THE RUBRIC Why I Chose This Project Overview of Problem What Project Consisted Of Special Strategies Used Successes In Achieving Milestones Obstacles Encountered What I Learned How I Will Apply What I Learned Powerpoint Templates Page 3
    • WHY I CHOSE THIS PROJECT A SERIOUS PROBLEM TO THE CYBERSECURITY OF THE NATION. RESPONSE TO CURRENT CRITICISM THAT AVAILABLE SECURITY CERTIFICATIONS DO NOT TEACH ENOUGH HANDS-ON PROCEDURES AND THAT THEIR EXAMS DO NOT REQUIRE HANDS-ON BUT ARE INSTEAD MULTIPLE CHOICE. DOD AND OTHER GOVERNMENT AGENCIES CLAIM EMPLOYEESOBTAINING AVAILABLE CERTIFICATIONS CANNOT DO THE JOB REQUIREDDUE TO LACK OF HANDS-ON SKILLS. TRAINING NEEDS TO EMPHASIZEMORE HANDS-ON AND LESS BOOK KNOWLEDGE. (refer to news article in page 6) I COULD NOT FIND A TURN-KEY, OFF –THE-SHELF SOLUTION SOI DECIDED TO CREATE ONE. I GOT ALL THE CERTS , THE CEH, CHFI, CISSP, SECURITY+, CCENT, BUT I NEEDHANDS-ON PRACTICE OR I WILL COMPLETELY FORGET EVERYTHINGI LEARNED. HANDS ON PRACTICE MAKES PERFECT AND INSTILLS CONFIDENCE. Powerpoint Templates Page 4
    • OVERVIEW OF PROBLEM DISCUSSED IN PROJECTTHE PROBLEM! Practice on systems you do not own withoutwritten permission is illegal.Need more hands-on. I needed:  A way to practice, ethically and legally  All-in-one document  Easy to follow. Easy to setup and use.  Free and/or cheap I could not find anything that satisfied all my needs, therefore, I decided to do this project to create a practice lab for myself. Hopefully the project will benefit others as well. Powerpoint Templates Page 5
    • CAUSES OF THE PROBLEMHigh demand for penetration tests>government regulations & industry standards a. PCI-DSS (Penetration Testing. Wikipedia, 2013) requires both annual and ongoing penetration testing (after system changes). a. FISMA -Federal Information Security Management Act (FISMA) via procedures promulgated by NIST 800-53, Appendix E. (NIST 800-53, Rev. 3, 2009)Shortage of well-trained penetration testers-THERE IS ARTICLE AFTER ARTICLE AFTER ARTICLE a. A Barclay Simpson Corporate Governance Recruitment report on Information Security found that the demand exceeds the supply of qualified penetration testers (Barclay Simpson, Corporate Governance Recruitment, 2011). b. US Air Force is planning on going on a “hiring binge” to hire 1,000 persons in cyber operations in 2014 (Magnuson, 1/17/2013). National Defense Industrial Association Magazine, 2111 Wilson Blvd., Suite 400, Arlington, VA 22201, Air Force Cyber-Operations Wing to Go on Hiring Binge). c. Experts say DoD cyber workers undertrained By Zachary Fryer-Biggs - Staff writer Posted : Saturday Feb 16, 2013 12:38:06 EST in the Federal Times a Gannett Pub. http://www.marinecorpstimes.com/news/2013/02/dn-cyber-certification- 021613/?goback=.gde_54384_member_216288717 ”Money is not being spent on hands-on training.” Others focused on the lack of hands-on training required, resulting in broad certifications that are required for many jobs but are not specific to any of them. Book training is simply not enough.” Powerpoint Templates Page 6
    • MORE CAUSES OF THE PROBLEMRequires almost daily training reinforcement practice, or skills rapidly lost.Every day new hacking software is introduced. Every day new vulnerabilitiesare discovered.How do you keep up if everything changes so rapidly?Penetration testing is unique and very difficult because skills must betransferred by computer keyboard>very labor intensive>requires humans tothink “outside the box”. No two infrastructures or system requires the samepenetration testing procedures.How do you use what was learned in CEH when testing the client’s systems? Powerpoint Templates Page 7
    • STILL MORE CAUSES OF THE PROBLEM Powerpoint Templates Page 8
    • WHAT THE PROJECT CONSISTED OFThe project is documented in appendices A through G. Appendix A: Creation of the Penetration Testing Lab Appendix B: Penetration Testing Methodology Appendix C: Reconnaissance and Information Gathering Appendix D: Active Scanning and Enumeration Appendix E: Exploitation Appendix F: Post-exploitation and Covering Tracks Appendix G: Technology Terms/Acronyms Powerpoint Templates Page 9
    • WHAT THE PROJECT CONSISTED OFAppendix A: Creation of the Penetration Testing LabThree virtual machines created within a Windows Vista OS using FREEVMWare Player community edition“Attack Machine” FREE Linux Ubuntu “Backtrack5R3””The pen testers premier OS and toolkit.”“Victim Machine” FREE Linux “Metasploitable”-OS-Created by Metasploit Project to allow hands-on practice“Victim Machine” FREE Trinux “Badstore.net”- vulnerable OS and Web App Did I say FREE? Powerpoint Templates Page 10
    • WHAT THE PROJECT CONSISTED OF Appendix B: Penetration Testing MethodologiesPenetration Testing Execution Standard, (2013) PTES. Retrieved 2013 from:http://www.pentest-standard.org/index.php/Main_PageOpen System Security Testing Methodology Manual, (2013) ISECOM. Retrieved2013 from: http://www.isecom.org/research/osstmm.htmlCertified Ethical Hacker (CEH), (2013) Ethical Hacking. Retrieved 2013 from:http://eccouncil.orgNIST 800-53, Appendix E. Retrieved from: http://csrc.nist.gov/publications/PubsSPs.html#800-53 Powerpoint Templates Page 11
    • WHAT THE PROJECT CONSISTED OF Appendix C: Reconnaissance and Information GatheringIn summary of reconnaissance and foot printing, we have used the following for legal, passive,reconnaissance and information gathering on J.C.Penney and have provided screen print proofof concept (picture worth a thousand words). These tools are included in Backtrack5R3 or builtinto command line. Google-website URL, tons of other info; Netcraft-OS & Web server running and IP address; SmartWhoIs-Domain Registrar information theHarvester-Emails and Sub-domains; Maltego-Subdomains;  traceroute/tracert command line-traces routers from origin to destination;  nslookup command line-finds IP address from domain name>Linux “dig” and “host” are alternatives, but NA in Windows Powerpoint Templates Page 12
    • WHAT THE PROJECT CONSISTED OF Appendix D: Active Scanning and EnumerationUsing scanning tools in Backtrack5R3, we performed active scanning ofMetasploitable and Badstore.net, our “victims.” We provided screenprints (picture worth a thousand words)for proof of concept. All thesetools are included in BT5R3. Nmap-port scan, OS version, services running; Nessus-port scans and vulnerability scans; Nikto (Wikto-Windows)-port scans and vulnerability scans; Metasploit-port, OS version, services running, vulnerability Powerpoint Templates Page 13
    • WHAT THE PROJECT CONSISTED OF Appendix E: Exploitation with MetasploitMetasploit-included free in Backtrack5R3-msfconsole. Proof of conceptscreen prints (picture worth a thousand words) included in project.Command line: root@bt:~# /pentest/exploits/framework2/msfconsole OR>root@bt:~# /opt/metasploit/msf3/msfconsole modules: auxiliary, exploits, payloadsWe also used Armitage-a GUI for MetasploitCommand line: root@bt:~# /opt/metasploit/msf3/armitage modules: auxiliary, exploits, payloads Powerpoint Templates Page 14
    • WHAT THE PROJECT CONSISTED OFAppendix F: Post-exploitation and Covering TracksNot a lot of in-depth information available on this topic!Post-Exploitation: Got Root?, Elevation of privilege=Createuser, Add user to Admin Group; Offline and online passwordattacks, John the Ripper, Pass the Hash, Cain and Abel.Covering Tracks: Use Metaspoit to delete Event Logs. Use Metasploit to remove file timestamps. Powerpoint Templates Page 15
    • WHAT THE PROJECT CONSISTED OF Appendix G: Technology Terms/AcronymsIncludes 33 definition of terms Powerpoint Templates Page 16
    • SPECIAL STRATEGIES USEDMember of 41 Linked-In IT Security Groups>To share information with IT security groupsSubscriptions to 35 IT Security Tutorial Blogs>To learn IT security and ethical hacking750 Linked-In Connections>To share information with IT security individualsSome basic knowledge of HTML, SQL, PYTHON Powerpoint Templates Page 17
    • SUCCESSES IN ACHIEVING MILESTONESAll files were downloaded and installed successfully with no problemsAll three virtual machines were successfully created, opened simultaneously, and run simultaneously on my Windows Vista box with no memory problems. My Windows box has 4 G RAM and I allocated 1G RAM for the “attack” machine and .5G RAM for each “victim machine” leaving approx. 2 G RAM for the Windows box.All penetration testing tools were run successfully and proof of concept screen prints were obtained for all tools. Powerpoint Templates Page 18
    • OBSTACLES ENCOUNTEREDLimitation: Lab only includes software. Practice in this lab will not encounter Hardware firewalls, routers, switches, hardware intrusion systems, and other hardware security devices that would be encountered in a real world penetration test.I somewhat lacked an intermediate programming knowledge. I recommendthat the penetration testing student learn the following programming languages:HTML to understand http requests and responses for use of web proxies like Paros Proxy, Webscarab Proxy, Burp ProxySQL to understand SQL injection for use of tools like SQLMap and manual injection of codePYTHON to understand most of the penetration testing tools in Backtrack5R3 for tools like theHarvester. The predominant language for most tools in BT5R3 is python. root@bt:~# ./theHarvester.py Powerpoint Templates Page 19
    • WHAT I LEARNEDA penetration test should not just be to gain access and get a shell and quit. It should be an audit ofthe IT security posture and the goal should be to identify as many vulnerabilities as possible that needfixing.Money is wasted on training-Companies with a lot of money and the US Government (DoD) will send their employees to SANS training for a 4 day crash course. Costs of travel, hotel, per diem, salary, SANS Course fee could be > $10K for one student. Student returns to work and still cannot do the job. (refer to recent news article in slide 6)There has to be a better way. WGU is part of the solution to a better wayCyberlaw, regulations, and compliance-Penetration testing without written permission is illegal. Some regulations and industry standards require periodic penetration testing, i.e. PCI-DSS, FISMA.Leadership and professionalism-penetration testing is not a true profession like CPA, law, medicine, etc. There is no barrier to entry. A barber needs a state license; a penetration tester does not. Anyone can hold themselves out to be a penetration tester. High ethical standards should be required for penetration testers. Background checks, criminal checks, financial and credit checks, REFERENCES, memberships in IT security organizations, and certifications. Powerpoint Templates Page 20
    • WHAT I LEARNED Security Planning and Management- Organizations need to:Start with a framework and set of internal controls such as ISO 27000/27001/27002;Set a reasonable policy that can be followed and enforced;Employee training ;Create policy that requires vulnerability scans, periodic penetration testing, periodic IT security audits, and periodic IT policy compliance audits. Systems SecurityNo such thing as 100% security;Penetration test is only one part of “defense in depth.” Perimeter defenses such as firewalls, routers, switches, IDS/IPS, web application and database monitoring systems must be properly configured; Patches and AV must be kept up to date.Log files must be filtered (quantity reduced) and suspicious log entries must be examined. Powerpoint Templates Page 21
    • HOW I WILL APPLY WHAT I LEARNEDI will apply the knowledge to running the companyhttp://www.butleritsec.com , an IT Security consultantCompanyI will apply the knowledge to provide best value to clients in a highly ethical way.I will continuously study and practice hands-on.I am just beginning to learn. Powerpoint Templates Page 22
    • REFERENCESPenetration Test, (2013) Wikipedia. Retrieved 2013 from: http://en.wikipedia.org/wiki/Penetration_testNIST 800-53 and Federal Information Processing Standards (FIPS) 200 Retrieved from:http://csrc.nist.gov/publications/PubsSPs.html#800-53.Barclay Simpson, Corporate Governance Recruitment, (2011) Market Report on Information Security. Retrieved 2013from: http://www.barclaysimpson.com/document_uploaded/BS_InfoSec_2011.pdfMagnuson, (2013) National Defense Industrial Association Magazine, Air Force Cyber-Operations Wing to Go onHiring Binge. Retrieved 2013 from:http://www.nationaldefensemagazine.org/blog/Lists/Posts/Post.aspx?ID=1026&goback=.gde_1836487_member_205634892Penetration Testing Execution Standard, (2013) PTES. Retrieved 2013 from: http://www.pentest-standard.org/index.php/Main_PageOpen System Security Testing Methodology Manual, (2013) ISECOM. Retrieved 2013 from:http://www.isecom.org/research/osstmm.htmlCertified Ethical Hacker (CEH), (2013) Ethical Hacking. Retrieved 2013 from: http://eccouncil.orgExperts say DoD cyber workers undertrained By Zachary Fryer-Biggs - Staff writerPosted : Saturday Feb 16, 2013 12:38:06 EST in the Federal Times a Gannett Pub.http://www.marinecorpstimes.com/news/2013/02/dn-cyber-certification-021613/?goback=.gde_54384_member_216288717 Powerpoint Templates Page 23
    • FINIS A THANK YOU TO ALL THE WGU IT FACULTY CINDY WENDY NORMA CHARLES AND MY MENTOR, BRETTI HAVE THOROUGHLY ENJOYED THE EXPERIENCE QUESTIONS FOR ME? Powerpoint Templates Page 24