XSSing Your Way to Shell

82
Sense of Security Pty Ltd Sydney Level 8, 66 King St Sydney NSW 2000 Australia Melbourne Level 10, 401 Docklands Dr Melbourne VIC 3008 Australia T: 1300 922 923 T: +61 (0) 2 9290 4444 F: +61 (0) 2 9290 4455 [email protected] www.senseofsecurity.com.au ABN: 14 098 237 908

description

NOTE: Download the PDF for high-resolution text. (It appears that SlideShare does not handle custom fonts very well.) Alternative Med-Res Source: https://speakerdeck.com/varbaek/xssing-your-way-to-shell Cross-Site Scripting isn’t new, but there is generally a large belief among vendors, corporations and even some hackers that XSS can only be used to conduct client-side attacks such as session hijacking and similar attacks, or with tools such as BeEF. This talk dives into finding a 0day in a web application, creating a basic payload, and then; the development of an idea, that becomes an asynchronous JavaScript payload able to use any administrative feature enabling the attacker to execute arbitrary code on the server. During the talk, custom-built JavaScript payloads enabling arbitrary code execution will be demonstrated. Location: Thursday 29th May 2014 - 12:15 @ Beurs van Berlage - Amsterdam - Netherlands. Bio: Hans-Michael Varbaek is a Security Consultant at Sense of Security and is an active part of the penetration testing team. He is an IT security specialist, independent researcher, and penetration tester. Hans has periodically been invited to help out community driven projects such as The Exploit Database (which he participated actively in by e.g. managing their forums and writing blog entries about web application security). Hans has presented about advanced attack methods (e.g. chained exploits) and secure web application development for numerous clients as well. Along with an IT-Administrator degree, Hans is an Offensive Security Certified Expert (OSCE) and GIAC Penetration Tester (GPEN). Toolkit: https://github.com/Varbaek/xss-shell-payloads YouTube: https://www.youtube.com/playlist?list=PLIjb28IYMQgoZaHaHUYCc8VsFETfHl4i3 Vimeo: https://vimeo.com/varbaek/videos

Transcript of XSSing Your Way to Shell

Page 1: XSSing Your Way to Shell

Sense of Security Pty Ltd Sydney Level 8, 66 King St Sydney NSW 2000 Australia

Melbourne Level 10, 401 Docklands Dr Melbourne VIC 3008 Australia

T: 1300 922 923 T: +61 (0) 2 9290 4444 F: +61 (0) 2 9290 4455

[email protected] www.senseofsecurity.com.au ABN: 14 098 237 908

Page 2: XSSing Your Way to Shell

Page 3: XSSing Your Way to Shell
Page 4: XSSing Your Way to Shell
Page 5: XSSing Your Way to Shell

Page 6: XSSing Your Way to Shell

Page 7: XSSing Your Way to Shell
Page 8: XSSing Your Way to Shell
Page 9: XSSing Your Way to Shell
Page 10: XSSing Your Way to Shell

Page 11: XSSing Your Way to Shell
Page 12: XSSing Your Way to Shell
Page 13: XSSing Your Way to Shell
Page 14: XSSing Your Way to Shell
Page 15: XSSing Your Way to Shell
Page 16: XSSing Your Way to Shell
Page 17: XSSing Your Way to Shell
Page 19: XSSing Your Way to Shell
Page 20: XSSing Your Way to Shell
Page 21: XSSing Your Way to Shell
Page 22: XSSing Your Way to Shell
Page 23: XSSing Your Way to Shell
Page 24: XSSing Your Way to Shell
Page 25: XSSing Your Way to Shell
Page 26: XSSing Your Way to Shell
Page 27: XSSing Your Way to Shell
Page 33: XSSing Your Way to Shell
Page 34: XSSing Your Way to Shell

Page 35: XSSing Your Way to Shell

Page 36: XSSing Your Way to Shell
Page 37: XSSing Your Way to Shell
Page 38: XSSing Your Way to Shell
Page 39: XSSing Your Way to Shell
Page 40: XSSing Your Way to Shell
Page 41: XSSing Your Way to Shell
Page 42: XSSing Your Way to Shell
Page 43: XSSing Your Way to Shell
Page 44: XSSing Your Way to Shell
Page 45: XSSing Your Way to Shell
Page 46: XSSing Your Way to Shell
Page 47: XSSing Your Way to Shell
Page 48: XSSing Your Way to Shell
Page 49: XSSing Your Way to Shell
Page 50: XSSing Your Way to Shell
Page 51: XSSing Your Way to Shell
Page 52: XSSing Your Way to Shell
Page 53: XSSing Your Way to Shell
Page 54: XSSing Your Way to Shell
Page 55: XSSing Your Way to Shell
Page 56: XSSing Your Way to Shell
Page 60: XSSing Your Way to Shell
Page 61: XSSing Your Way to Shell
Page 62: XSSing Your Way to Shell
Page 63: XSSing Your Way to Shell
Page 64: XSSing Your Way to Shell
Page 65: XSSing Your Way to Shell
Page 66: XSSing Your Way to Shell
Page 67: XSSing Your Way to Shell

Page 68: XSSing Your Way to Shell
Page 69: XSSing Your Way to Shell

Page 70: XSSing Your Way to Shell
Page 71: XSSing Your Way to Shell

Page 72: XSSing Your Way to Shell
Page 73: XSSing Your Way to Shell
Page 74: XSSing Your Way to Shell

Page 75: XSSing Your Way to Shell

Page 76: XSSing Your Way to Shell
Page 77: XSSing Your Way to Shell

Page 78: XSSing Your Way to Shell
Page 79: XSSing Your Way to Shell
Page 81: XSSing Your Way to Shell

Page 82: XSSing Your Way to Shell