1 / 25

Network Security Lab (NetSecLab) ‏ 2014

COMMUNICATIONS SYSTEMS CENTER. Network Security Lab (NetSecLab) ‏ 2014. Network Security Lab (NetSecLab) ‏ by Communications Systems Center (CSC). Outline. History Components of NetSecLab Team Boxes, Victim Boxes, Traffic Generator Competition rules General Rules, Scoring Rules

elisa
Download Presentation

Network Security Lab (NetSecLab) ‏ 2014

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. COMMUNICATIONS SYSTEMS CENTER Network Security Lab (NetSecLab)‏2014 Network Security Lab (NetSecLab)‏ by Communications Systems Center (CSC)

  2. Outline • History • Components of NetSecLab • Team Boxes, Victim Boxes, Traffic Generator • Competition rules • General Rules, Scoring Rules • Logistics • Reports, Internet Access, Lab Access, HDs, Team Captains • Suggestions • Summary • References

  3. History • Developed by • Chris Lee (CSC alumnus) • Dr. Selcuk Uluagac (CSC alumnus), Troy Nunnally, Shi-in Chang • Held each semester of 6612 since Fall 2003 • A friendly in-class competition • 2014: • Where: KACB 2446 • Preparation (lab available): April 3 • CDay1: Apr 14, 9-10 a.m. • CDay2: Apr 16, 9-10 a.m.

  4. Teams • A list of team members, and the initial team leader will be posted on the class Web site. • Each team has a secure T-square site: • “ECE6612-Team X” where X in the Team number. • All team communications should be on the T-square site, in the “Email Archives”, “Wiki” or “Blog”. These documents are only accessible by the team members, professor, and TA.

  5. Lab Architecture • Competition in a private network • No outside connection allowed (!!!)‏ • Any data you want should be brought other means .. • Primary subnet 192.168.100.0/24

  6. Teams Boxes-General • O/S Choice • Install Linux OS from provided CD. Do not install a later operating system. • Assign any IP address during the preparations • Configure to use the 192.168.100.0/24 network. • We will give your IP# on C-Day 1 and 2. Know how to change it. • Create a user account called “customer” (was “hacker” in 2012) • Used primarily by the traffic generator • Pass the login credentials to us and don't change during the competition • You should have logins for each team member as well. Let them choose a password. • Patch and harden your box

  7. Team Boxes-Services • Services needed:Port #: • SSH 22 • Telnet 23 • SMTP (*) 25 • HTTPS 443 • MulticastZoo (Java provided) 446 • XMPP/Jabber 5222 • MySql (**) 3306 • PhpMyadmin/pma Notes: (**) MySQL does not have to be available via the network, but the contents should be accessible via the webpage interface, phpMyAdmin. (*) SMTP should not relay, but should deliver email from anywhere to users on the box. The referee's "Traffic Generator" must be able to continually access these services.

  8. Team Boxes - Cont. • All services must: • be on the specified ports • allow a valid login (correct username, “customer”, and password) from any computer on the network • The Traffic Generator will test this continuously. • be maintained during the competitions

  9. Victim Boxes • Vulnerable prey machines • With different old O/Ss and different old services running • No active defence mechanism • Points for exploiting. • They will be up during the Contest Day 1 & 2 • This year, we have increased the number of victim boxes and services

  10. Traffic Generator • Collection of traffic generating scripts. • Randomly connecting to team and victim boxes as the “customer” (was “hacker”) account. • Login, create files, read files, delete files, ssh or telnet from your box to other boxes ;)‏ • Do not attack the Traffic Generator.

  11. Competition Rules • Attackers should not change victims' passwords unless needed for a compromise, and then it should be reset back to the original password. • No denial of service attacks, rate throttle your nmaps (no -T4). • Services on the team and victim should remain up and active throughout the competition. Services should not be turned off by the defender or the attacker (unless momentarily necessary for a compromise or defence). The service should still be available for legitimate use. • Absolutely no deleting of logs (yours or others). They are precious as gold when writing the report. • No arp poisoning. It is not needed since we will use a hub. Since we have eight teams we cannot support teams doing arp poisoning .

  12. More Rules Do not break any GT rules. For example do not steal GT passwords, GT email, T-square passwords, etc. Do not impersonate a remote (video) student in any way. This possibility would interfere with the ability of remote students to work with their teams. Use “nmap” sensibly: “nmap” will take weeks to scan 65,535 ports on 255 IP addresses, on a congested HUB network. Scan first the IP range, using one port that you know should be open (-p 21). Turn off pings (-P0, -P"zero"), like: nmap -p 21 -Pn -sS 192.168.100.0/24 Once you know the active IP addresses, scan only them and ports where you have a possible exploit: nmap -p 21,22,23,25,80,110 -P0 -sS 192.168.100.19,25,67,92 #only last no. needed NMAP does not always give perfect results, especially on a congested hub network where many packets are being lost. Sometimes you learn more and faster with a passive sniffer. Do not run NMAP at a higher speed than normal . This is against the rules, and you will DOS yourself more than anyone else. No spoofing source IP address.

  13. Scoring Rules • Points are assigned by the level of compromise that each team is able to perform to the network. • Efficiency and creativity are given bonuses (but it's impossible to outline them here). • We want people to think up and implement new ways of exploiting machines. • We will reward such efforts on a case by case basis.

  14. Scoring Rules-2 • Mapping the network (2 pts. per ip) • Mapping services (20 pts. per box)‏ • OS detection (10 pts. per victim box)‏ • Gaining user access to a victim box (30 pts.)‏ • Gaining user access to a team box (50 pts.)‏ • Gaining root access to a victim box and retrieving the shadow hash file (150 pts.) • Gaining root access to a team box and retrieving the shadow hash file (250 pts.)

  15. Scoring Rules-3 • Time bonus: 300 points (once) for a root before 9:15 • After bonus: successfully cracking a password (100 pts. per password). • You can continue to crack passwords up until the turn-in deadline (assuming you have captured a password file). • Penalties: • Not having services up during competition (-150 pts.)‏ • Your box becomes compromised, (-300 pts, once)‏

  16. Logistics - Klaus 2446 • Installation CDs will be provided. • External HDs will be distributed to each team captain • Please use the keys in KACB 2446 to lock the drive in place. • don't keep them please • Each team’s computer will be labelled. • Please remember there are other classes utilizing the same space • Internet access in the lab limited • Do not connect Team Computer or attached laptop directly to the Internet (or GTwifi) during the exercise. • Computers on back row (not connected to exercise network) • Crossover cables are also available in the lab for PC hookup.

  17. Reports-General • The report is the main portion of the project (and the part that most affects the grade). • The reports are informal and do not need polishing. • We basically want to know • how you hardened your box, • what scripts you developed or used for attacking, • what references (people, Websites, books, independent research, etc.) you used to learn about the exploits, • a description of the effectiveness of your defence and offence during the lab.

  18. Reports-Format • Please write briefly and clearly. A clear list with a few words of explanation are better than verbose rhetoric. • Introduction (list of team members)‏ • Hardening Techniques • Attacking Techniques • Technique Analysis (what worked and why, if known) • Game Point Justifications • Team Member Significant Contributions • References to useful Web sites, books, articles, etc. • Appendix (if necessary) • The class period on Friday is available for a face-to-face editing session. Email the report before dawn on Monday.

  19. Reports-Technique Sections • In the technique analysis section, you should give • Give justifications for the points you earned in the lab • Discuss how you found an exploit, how you used it, • Present some proof that the exploit worked like the shadow password file or a screenshot. Or get a referee to verify during the exercise. • Give us reasons to assign as much partial credit as we can. • If something did not work, please give us your best guess why it did not work. We want to learn from your experiences!

  20. Competition Days • The a representative from each competing team should be present by before 9:00 a.m. • Hopefully, by 9:05 we should have all the boxes up and the referees have had a chance to verify your setup and fix any problems. • At this point we will start the show and allow the attacking teams to start their scripts. • Each attacking team's representative should be give the announcer constant updates. • When an exploit is successful, the representative should alert a referee immediately so that it can be recorded. • The competition will end at 9:55. • The teams are then expected to stop all their attacks, clean up, and save their logs.

  21. Turn-ins • Reports • Please send them via email to us before Monday April 21. • Should not have any large sections of source code or log files or anything else that would belong in an appendix. • Hard Disks due in class on Monday April 21. • Create a gzipped tarball under /root home directory: • called: netsec-09spring-teamname.tar.gz where team name is your team name • Include a README file describing the contents of the tarball • (this should be about the same as the 'appendix' that you will add to the report)‏ • The tarball should contain files of interest to the lab including: • log files, exploit source code (no binaries please), tcpdump files, and anything that you would like to reference from your report for proof. • Change the root password to “rootme”.

  22. Final Suggestions • Start early • Time is limited! • Automations • Scripts • Have attack and defence strategies for your team • Nice delegation of responsibilities

  23. Important Dates • Preparation Interval • April 1 - April 12, 2014 • Competition Day 1 • April 14, 9-10 a.m., KACB 2446 • Competition Day 2 • April 16, 9-10 a.m., KACB 2446 • Reports Due: Monday April 21 • In-class Presentation: (perhaps only the winners)

  24. References.. • http://users.ece.gatech.edu/~copeland/jac/6612/netseclab • Start with Google, Wikipedia • Chris P. Lee, A. Selcuk Uluagac, K. Fairbanks, and J. A. Copeland, ”The Design of NetSecLab: A Small Competition-Based Network Security Lab”, IEEE Trans. on Education, vol 54, pp 149-155, 2011.

  25. Questions ?

More Related