Applied Security Lab 1

Total Page:16

File Type:pdf, Size:1020Kb

Applied Security Lab 1 Introduction to Computer Security Lab 2: Web Browser Security/Configuration (IE) and Operating System Security Instructions: • The Lab 2 Write-up (template for answering lab questions - .doc) can be found on the course website under the “Assignment’s” section. • Lab Write-up’s must be uploaded to Blackboard in the Assignment’s folder where the laboratory assignment description is located. ALL resources used to complete this assignment must be referenced and sited, this includes, books, articles, websites, etc.) • Lab submissions must be typed using the Lab 2 Write-up template! • Only submit ONE Lab Write-up per team Background: The use of the Internet and the World Wide Web (WWW) has grown exponentially in recent years and has become a central component of many organization’s IT strategy. Whenever a technology becomes widespread and is used to handle information that has value, attackers will work on ways to compromise those systems. The WWW is no exception and there are many types of Web-based attacks being executed today. Some of these include: • Cross-site scripting (XSS) – Usually occurs via concealed code in Web site links, forms, and so on, XSS allows an attacker to gather data from a Web user for malicious purposes. • Information theft – Through techniques such as phishing, malicious attackers can masquerade as legitimate Web sites or applications and harvest user data. • Session hijacking – Small text files called cookies are placed on a user’s machine when visiting many Web sites in order to maintain information about the user or site for future visits. These can be manipulated for malicious purposes including privacy violations and the actual hijack of a user’s browser session, where an attacker uses information stored in customized cookies to mislead a user in some way. The most popular Web browser today is Microsoft Internet Explorer (IE). This software has been plagued with security problems such as buffer overflows, remotely exploitable vulnerabilities, and so forth. This has become such a volatile piece of software that the US Department of Homeland Security recommended users switch to another browser in July 2004. Many Web-based sites and applications are configured to work specifically with IE, however. For this reason, many people choose to patch the software and live with the security problems. Knowing how to properly configure some of the security settings available in IE can drastically reduce the potential threat of compromise. IE has a number of simple settings that can be configured to increase its overall security posture. Security Zones enable users to define sites that are known to be safe, as well as those known to be unsafe. It is simple to also define sites that are based on a user’s local network or intranet, as well as generalized Internet (or external) sites. Other settings that can be configured include the acceptable encryption level, how cookies are used and/or stored, a content rating system called Content Advisor, and other miscellaneous settings. Goals: In this lab you will explore some of the security settings of Internet Explorer and learn about the default security settings for Windows. Procedures: I. Internet Explorer 1. Open Internet Explorer. Go to “Tools” “Internet Options”. Click the “Security” tab. Under the “Security” tab, there are four Web content zones specified and the security settings for each zone. 2. Under the “Security” tab perform the following steps: “Trusted Sites” • Click on the “Trusted sites” icon, which is the green circle with the check mark enclosed. • If the button that is entitled “Default Level” is not disabled or not shaded, then click on the “Default Level” button and go to the next step, else if it is disabled or shaded go to the next step. • Next, click the button entitled: “Custom level….”, which allows a user to specify custom security settings for the selected zone. • Notice for this zone what is disabled, enabled, or prompt. The options for each settings suggests the following: Disabled: To skip prompting and automatically refuse the action or download. Enabled: To automatically proceed without prompting. Prompt: To be prompted for approval before proceeding. QUESTION? • Write a summary or brief description of the “Trusted Sites” zone. “Restricted Sites” • Click on the “Restricted sites” icon, which is the red circle with the minus sign enclosed. • If the button that is entitled “Default Level” is not disabled/black text, then click on the “Default Level” button (which sets the settings for this zone to the default values) and go to the next step/bullet, else if it is disabled or shaded go to the next step/bullet. • Click the button entitled: “Custom level….”, which allows a user to specify custom security settings for the selected zone. • Notice for this zone what is disabled, enabled, or prompt. The options for each settings suggests the following: Disabled: To skip prompting and automatically refuse the action or download. Enabled: To automatically proceed without prompting. Prompt: To be prompted for approval before proceeding. QUESTION? • Write a summary or brief description of the “Restricted Sites” zone. • What do you notice is the biggest difference in the settings between “Trusted sites” and “Restricted sites”? 3. Under the “Security” tab perform the following steps: “Internet” • Click on the “Internet” icon, which is a globe. • In the section entitled: “Security level for this zone”, move the slider to read about the different security levels for this zone. QUESTION? • What security level settings do you recommend for the Internet using the slider and why? 4. In Internet Explorer, Go to “Help” “Contents and Index “. Perform the following: • Under the “Search” tab, type in UNDERSTANDING SECURITY ZONES. • Read the search results to get an understanding of internet browser security zones. QUESTION? . List and explain each security zone. What is the current security status of Internet Explorer and what other browsers are considered more secure? (Research this question online outside of the laboratory!) II. Privacy, Cookies, and Miscellaneous Settings in IE 1. Open Internet Explorer. Go to “Tools” “Internet Options”. 2. Click the “Privacy” tab. Under the “Privacy” tab, you should see a slider there with various settings. 3. The default level for this setting is Medium. Move the slider up until the setting is “High”. QUESTION? • Describe the policies at this level. • Describe the policies at the ”Low” setting. III. OS Security: Default Security Settings 1. Go to Start Help Search tab. 2. Under the “Search” tab, type in “Default security settings”, being sure to include the QUOTES. 3. Read the section entitled “Groups and default security settings”. Make sure to read all of the subsections. QUESTION? • What is the difference between an Administrator and a Power User? • Why does Microsoft suggest that users do not connect to the Internet as logged in as a Power User? • List some of the capabilities of an Administrator. **Close Internet Explorer.** .
Recommended publications
  • Browser Security Information
    Browser Security Information Customer security is important to us. Our top priority is to protect the privacy of your personal account information and your financial transactions FirstLine Mortgages is leading the way in Internet banking services and uses several layers of robust security technology to help ensure the confidentiality of transactions across the Internet. The first security level begins with your Web browser. When you access FirstLine Mortgages Internet Site , your browser is checked to ensure that it meets our minimum requirements. Additionally, we only allow customers with browsers that use 128-bit encryption (one of the highest levels of browser security available today) to bank on our web site. But, even with this validation, there are other precautions you should follow to maximize your protection. You have a responsibility to ensure your own security. The browser validation will verify the browser type you are using, your browser encryption level, the version of Netscape or Microsoft browser, as well as Javascript and cookies being enabled. To access -FirstLine Mortgages Internet site , you need to use: • a Netscape browser version 4.06 or better with a minimum 128-bit encryption technology • a Microsoft browser version 4.01 SP2 or better with a minimum 128-bit encryption technology • Javascript (please see below for more information about how to check and enable Javascript support) • Cookies (see below) If your browser does not meet all of these requirements, you will need to upgrade your browser to access the FirstLine Internet Site . To upgrade your browser, select the Netscape or Microsoft button below and download the latest browser version.
    [Show full text]
  • But Were Afraid to Ask!)
    05_576593 ch01.qxd 10/12/04 9:55 PM Page 9 Chapter 1 All You Ever Wanted to Know about JavaScript (But Were Afraid to Ask!) In This Chapter ᮣ Understanding a working definition of JavaScript ᮣ Dispelling common JavaScript misconceptions ᮣ Getting started with JavaScript tools ᮣ Finding information online aybe you’ve surfed to a Web site that incorporates really cool features, Msuch as ߜ Images that change when you move your mouse over them ߜ Slideshow animations ߜ Input forms with pop-up messages that help you fill in fields correctly ߜ Customized messages that welcome repeat visitors By using JavaScript and the book you’re reading right now you can create all these effects and many more! The Web page in Figure 1-1 shows you an example COPYRIGHTEDof the kinds of things that you canMATERIAL look forward to creating for your own site. A lot has changed since the previous edition of JavaScript For Dummies came out. Perhaps the biggest change is the evolution of DHTML, or dynamic HTML. DHTML refers to JavaScript combined with HTML and cascading style sheets, and it’s a powerful combination you can use to create even more breathtak- ingly cool Web sites than ever before. 05_576593 ch01.qxd 10/12/04 9:55 PM Page 10 10 Part I: Building Killer Web Pages for Fun and Profit Figure 1-1: JavaScript lets you add interactive features to your Web site quickly and easily. Along with this increased power comes increased complexity, unfortunately — but that’s where this new, improved, better-tasting edition of JavaScript For Dummies comes in! Even if you’re not a crackerjack programmer, you can use the techniques and sample scripts in this book to create interactive Web pages bursting with animated effects.
    [Show full text]
  • Javascript Security
    Color profile: Generic CMYK printer profile Composite Default screen Complete Reference / JavaScript: TCR / Powell & Schneider / 225357-6 / Chapter 22 Blind Folio 679 22 JavaScript Security ownloading and running programs written by unknown parties is a dangerous proposition. A program available on the Web could work as advertised, but then Dagain it could also install spyware, a backdoor into your system, or a virus, or exhibit even worse behavior such as stealing or deleting your data. The decision to take the risk of running executable programs is typically explicit; you have to download the program and assert your desire to run it by confirming a dialog box or double-clicking the program’s icon. But most people don’t think about the fact that nearly every time they load a Web page, they’re doing something very similar: inviting code—in this case, JavaScript—written by an unknown party to execute on their computer. Since it would be phenomenally annoying to have to confirm your wish to run JavaScript each time you loaded a new Web page, the browser implements a security policy designed to reduce the risk such code poses to you. A security policy is simply a set of rules governing what scripts can do, and under what circumstances. For example, it seems reasonable to expect browsers’ security policies to prohibit JavaScript included on Web pages downloaded from the Internet from having access to the files on your computer. If they didn’t, any Web page you visited could steal or destroy all of your files! In this chapter we examine the security policies browsers enforce on JavaScript embedded in Web pages.
    [Show full text]
  • Guideline for Securing Your Web Browser P a G E | 2
    CMSGu2011-02 CERT-MU SECURITY GUIDELINE 2011 - 02 Mauritian Computer Emergency Response Team Enhancing Cyber Security in Mauritius Guideline For Securing Your Web Browser National Computer Board Mauritius JuJunene 2011 2011 Version 1.7 IssueIssue No. No. 4 2 National Computer Board © Table of Contents 1.0 Introduction .......................................................................................................................... 7 1.1 Purpose and Scope ........................................................................................................... 7 1.2 Audience........................................................................................................................... 7 1.3 Document Structure.......................................................................................................... 7 2.0 Background .......................................................................................................................... 8 3.0 Types of Web Browsers ....................................................................................................... 9 3.1 Microsoft Internet Explorer .............................................................................................. 9 3.2 Mozilla Firefox ................................................................................................................. 9 3.3 Safari ................................................................................................................................ 9 3.4 Chrome ..........................................................................................................................
    [Show full text]
  • Browser Security
    Transcript of Episode #38 Browser Security Description: Steve and Leo discuss the broad topic of web browser security. They examine the implications of running "client-side" code in the form of interpreted scripting languages such as Java, JavaScript, and VBScript, and also the native object code contained within browser "plug- ins" including Microsoft’s ActiveX. Steve outlines the "zone-based" security model used by IE and explains how he surfs with high security under IE, only "lowering his shields" to a website after he’s had the chance to look around and decide that the site is trustworthy. High quality (64 kbps) mp3 audio file URL: http://media.GRC.com/sn/SN-038.mp3 Quarter size (16 kbps) mp3 audio file URL: http://media.GRC.com/sn/sn-038-lq.mp3 Leo Laporte: Bandwidth for Security Now! is provided by AOL Radio at AOL.com/podcasting. This is Security Now! with Steve Gibson, Episode 38 for May 4, 2006: Browser Security. Security Now! is brought to you by Astaro, makers of the Astaro Security Gateway, on the web at www.astaro.com. So finally the sun is shining in beautiful California. We have summer, or at least spring finally arrived. And, look, Steve Gibson’s wearing a tank top and shorts. No, he’s not. Steve Gibson: Well, it’s dry in Toronto, Leo. You were all chapped; I was all, like, chapped just after one day. Leo: I am. And, you know, they complain in Toronto that it’s too humid because they have the lake effect. But I guess it gets humid some other time because I – chapped is the word, exactly.
    [Show full text]
  • New Standards and Upcoming Technologies in Browser Security
    OWASP The OWASP Foundation AppSec Europe 2011 http://www.owasp.org New Standards and upcoming Technologies in Browser Security Tobias Gondrom Board member of OWASP London Chair of IETF Web Security WG [email protected] Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. Tobias Gondrom • 12 years information security experience • 10 years application development experience • Information Security & Risk Management, Research and Advisory, Director • Author of Standards on Digital Signatures and Secure Archiving • Chair of IETF Web Security Working Group http://datatracker.ietf.org/wg/websec/charter/ Member of the IETF Security Directorate • London OWASP chapter board member (former OWASP Germany chapter lead) www.owasp.org Browser Security • History • What’s the problem • Who & Why • What’s been done • When 3 Browser Security • History • What’s the problem • Who & Why • What’s been done • When 4 History • Internet/Arpanet Protocols were designed for robustness and exchanging information and cross reference of content… …. but not with security and active content in mind • We try to fix Application Security on the Application end ever since 5 Browser Security • History • What’s the problem • Who & Why • What’s been done • When 6 What’s the problem - OWASP Top 10 What’s the problem - OWASP Top 10 What’s the problem - No Clear separation between content and executed code - Relies on trust relationships (trust on first use / trusted source) - Weak channel protection - Authentication & leakage of credentials => Today, Web Applications try to fix this on the Application level with little support of the underlying infrastructure 9 What’s the problem Client Server Inform & Influence Security Posture 10 Think Big - What if we can….
    [Show full text]
  • Browser Security Guidance: Mozilla Firefox
    GOV.UK Guidance Browser Security Guidance: Mozilla Firefox Published Contents 1. Usage scenario 2. Summary of browser security 3. How the browser can best satisfy the security recommendations 4. Network architecture 5. Deployment process 6. Recommended configuration 7. Enterprise considerations This ALPHA guidance builds on the End User Devices Platform Security Guidance and is applicable to devices running Mozilla Firefox on a supported and well configured version of Windows. This guidance was tested on 64­bit Windows 8.1 Enterprise edition running Firefox 31.1.1 ESR. 1. Usage scenario Firefox will be used to access a variety of web services including: accessing intranet services hosted on an enterprise­provided OFFICIAL network accessing enterprise cloud services sourced from the Digital Marketplace accessing other Internet services and web resources To support these scenarios, the following architectural choices are recommended: All data should be routed through a secure enterprise VPN to ensure the confidentiality and integrity of traffic intended for the enterprise intranet All Internet data should be routed through an enterprise­hosted proxy to benefit from enterprise protective monitoring and logging solutions Arbitrary third­party extension installation by users is not permitted in the browser. A list of allowed trusted apps and extensions can be configured in Group Policy 2. Summary of browser security This browser has been assessed against each of the 12 security recommendations, and that assessment is shown in the table below. Explanatory text indicates that there is something related to that recommendation that the risk owners should be aware of. Rows marked [!] represent a more significant risk.
    [Show full text]
  • Browser Security Issues and Solutions
    Browser security issues and solutions HORNYÁK ZSOLT A BIZTONSÁGOS ELEKTRONIKUS KERESKEDELEM ALAPJAI (BMEVIHIM219) Outline • Why Are Browsers Attack Targets? • Security in Google Chrome • Security in Chromium • Malicious Extensions • Cookie stealing • Vulnerabilities Resulting From the Use of HTML and JavaScript • Vulnerabilities in SSL/TLS • ZIP Bombs, XML Bombs, XML eXternal Entities Why Are Browsers Attack Targets? The web browser is our window to the world. We use it every day for tasks including: • Mail • Shopping • Social Networking • Finance Management • Business The browser has access to personal information as plaintext, so it’s inevitable that it gets attacked. Security in Google Chrome Try to minimize the damage • Every sufficiently big software contains bugs • Mozilla Firefox’s source code has approximately 3.7 million lines • Let’s try to minimize the… • Severity of vulnerabilities • Window of vulnerabilities • Frequency of exposure Reducing the severity of vulnerabilities • Web content is run within a JavaScript Virtual Machine, to protect the web sites from each other • Exploit mitigation • ASLR (Address Space Layout Randomization) • Randomizing the mapping location of key system components • DEP (Data Execution Prevention) • Marking memory pages as non-executable • SafeSEH (Safe exception handlers) • Heap Corruption Detection • Stack Overrun Detection using canaries • Using an OS-level sandbox Chrome’s architecture Charles Reis, Google; Adam Barth, UC Berkeley ; Carlos Pizano, Google: Browser Security: Lessons from Google
    [Show full text]
  • X-XSS- Protection
    HTTP SECURITY HEADERS (Protection For Browsers) BIO • Emmanuel JK Gbordzor ISO 27001 LI, CISA, CCNA, CCNA-Security, ITILv3, … 11 years in IT – About 2 years In Security Information Security Manager @ PaySwitch Head, Network & Infrastructure @ PaySwitch Head of IT @ Financial Institution Bug bounty student by night – 1st Private Invite on Hackerone Introduction • In this presentation, I will introduce you to HyperText Transfer Protocol (HTTP) response security headers. • By specifying expected and allowable behaviors, we will see how security headers can prevent a number of attacks against websites. • I’ll explain some of the different HTTP response headers that a web server can include in a response, and what impact they can have on the security of the web browser. • How web developers can implement these security headers to make user experience more secure A Simple Look At Web Browsing Snippet At The Request And Response Headers Browser Security Headers help: ➢ to define whether a set of security precautions should be activated or Why deactivated on the web browser. ➢ to reinforce the security of your web Browser browser to fend off attacks and to mitigate vulnerabilities. Security ➢ in fighting client side (browser) attacks such as clickjacking, Headers? injections, Multipurpose Internet Mail Extensions (MIME) sniffing, Cross-Site Scripting (XSS), etc. Content / Context HTTP STRICT X-FRAME-OPTIONS EXPECT-CT TRANSPORT SECURITY (HSTS) CONTENT-SECURITY- X-XSS-PROTECTION X-CONTENT-TYPE- POLICY OPTIONS HTTP Strict Transport Security (HSTS)
    [Show full text]
  • Evaluating Effectiveness of Mobile Browser Security Warnings
    ISSN: 2229-6948(ONLINE) ICTACT JOURNAL ON COMMUNICATION TECHNOLOGY, SEPTEMBER 2016, VOLUME: 07, ISSUE: 03 DOI: 10.21917/ijct.2016.0203 EVALUATING EFFECTIVENESS OF MOBILE BROWSER SECURITY WARNINGS Ronak Shah1 and Kailas Patil2 1,2Department of Computer Engineering, Vishwakarma Institute of Information Technology, India E-mail: [email protected], [email protected] Abstract utmost goal of this paper is to investigate whether modern mobile This work precisely evaluates whether browser security warnings are browser security warnings protect users in practice. as ineffective as proposed by popular sentiments and past writings. This According to previous study, more than 50% users click research used different kinds of Android mobile browsers as well as through SSL warnings and simply ignore security measures [1]. desktop browsers to evaluate security warnings. Security experts and There are many reasons why user ignores security warnings, SSL developers should give emphasis on making a user aware of security warnings and should not neglect aim of communicating this to users. warnings and other security related warnings. Lot of work has Security experts and system architects should emphasis the goal of done on desktop browsers but still there is no effective work has communicating security information to end users. In most of the been done in case of mobile browsers. browsers, security warnings are not emphasized, and browsers simply Unfortunately, most of the mobile browsers did not show any do not show warnings, or there are a number of ways to hide those security warnings while assessing through site which has a weak warnings of malicious sites. This work precisely finds that how encryption key, a site with an invalid certificate, a site with inconsistent browsers really are in prompting security warnings.
    [Show full text]
  • Browser Security Model
    Browser Security Model *original slides by prof. John Mitchell Web vs System vulnerabilities XSS peak Decline in % web vulns since 2009 n 49% in 2010 -> 37% in 2011. n Big decline in SQL Injection vulnerabilities Reported Web Vulnerabilities "In the Wild" Data from aggregator and validator of NVD-reported vulnerabilities Web application vulnerabilities Five lectures on Web security Browser security model n The browser as an OS and execution platform n Protocols, isolation, communication, … Web application security n Application pitfalls and defenses Content security policies n Additional mechanisms for sandboxing and security Authentication and session management n How users authenticate to web sites n Browser-server mechanisms for managing state HTTPS: goals and pitfalls n Network issues and browser protocol handling This two-week section could fill an entire course Web programming poll Familiar with basic html? Developed a web application using: n Apache? PHP? Ruby? n Python? SQL? n JavaScript? CSS? n JSON? Know about: n postMessage? NaCL? Webworkers? CSP? n WebView? Resource: http://www.w3schools.com/ Goals of web security Safely browse the web n Users should be able to visit a variety of web sites, without incurring harm: w No stolen information w Site A cannot compromise session at Site B Support secure web applications n Applications delivered over the web should be able to achieve the same security properties as stand- alone applications Web security threat model System Web Attacker Sets up malicious site visited by victim; no control of network Alice Network security threat model Network Attacker System Intercepts and controls network communication Alice System Web Attacker Alice Network Attacker System Alice Web Threat Models Web attacker n Control attacker.com n Can obtain SSL/TLS certificate for attacker.com n User visits attacker.com w Or: runs attacker’s Facebook app, etc.
    [Show full text]
  • Understanding the Effectiveness of Website Identity Indicators
    The Web’s Identity Crisis: Understanding the Effectiveness of Website Identity Indicators Christopher Thompson, Martin Shelton, Emily Stark, Maximilian Walker, Emily Schechter, and Adrienne Porter Felt, Google https://www.usenix.org/conference/usenixsecurity19/presentation/thompson This paper is included in the Proceedings of the 28th USENIX Security Symposium. August 14–16, 2019 • Santa Clara, CA, USA 978-1-939133-06-9 Open access to the Proceedings of the 28th USENIX Security Symposium is sponsored by USENIX. The Web’s Identity Crisis: Understanding the Effectiveness of Website Identity Indicators Christopher Thompson, Martin Shelton, Emily Stark, Maximilian Walker, Emily Schechter, Adrienne Porter Felt Google Abstract Users must understand the identity of the website that they are visiting in order to make trust decisions. Web browsers indicate website identity via URLs and HTTPS certificates, but users must understand and act on these indicators for them to be effective. In this paper, we explore how browser identity indicators affect user behavior and understanding. Figure 1: Examples of EV certificate UI in different web First, we present a large-scale field experiment measuring browsers (from top to bottom: Firefox, Safari, and Chrome). the effects of the HTTPS Extended Validation (EV) certifi- cate UI on user behavior. Our experiment is many orders of magnitude larger than any prior study of EV indicators, and (EV) certificate. An EV certificate associates a website with it is the first to examine the EV indicator in a naturalistic sce- a legal entity, whose name and jurisdiction is typically dis- nario. We find that most metrics of user behavior are unaf- played alongside the URL in the address bar (Figure 1).
    [Show full text]