How will the stackguard approach be able to detect attack

Assignment Help Computer Network Security
Reference no: EM131711599

Assignment

1. True and False with Justification (2 for True/False and 3 for Justification for each question)

a. Shellcode developed for i386/Linux cannot be used to exploit a Buffer-Over-Flow-vulnerable program running on SPARC/Solaris. (SPARC and i386 correspond to different instruction sets)

b. The StackGuard solution ("canary word" solution) includes the operation to push a number into the stack for detection.

c. The control-flow-integrity solution includes the operation to push a number into the stack for detection.

d. The instruction-set randomization solution includes the operation to push a number into the stack for detection.

e. A kernelized reference monitor analyzes the interactions between a user-space process with the kernel (e.g., analyzing system calls). A browser loads a plugin into its memory in the user space of the memory and this plugin modifies some critical data inside the user-space-based memory for this browser.This modification is visible to the reference monitor.

2. In order to launch successful buffer-over-flow attacks, one problem is we need to guess *exactly* where the address of our code will start. If we are off by one byte more or less we will just get a segmentation violation or an invalid instruction. Please propose one solution to increase the chance of success. (hint: the answer can be found in the "Smashing The Stack For Fun and Profit" paper.)

3. The shellcode and BoF attack layout discussed in the "Smashing" article can be summarized in the following figure (e.g., Figure 2). However, the size of the shellcode is bounded by the size of the buffer to be exploited. In certain cases, the size of the shellcode might be too large to be put into the buffer to be exploited. Please propose one solution to solve this challenge (you should plot the stack layout of your solution.) (hint: the answer can be found in Section V. - Page 7 and 8 in the "Buttercup" paper.)

4. Consider the following C code fragment. We have a server program that uses this fragment once to process user input (both "input" and "i" are provided by unprivileged users). We compile the server program in a 32-bit operating system, in which the type of int, memory address, and registers, such as EIP, EBP, as well as ESP, are represented by 32 bits.

a. Is it possible to design an attack to exploit this "foo" function so that the CPU will execute an instruction at an arbitrary address in the user space? Please plot the stack layout and your attack.

b. Will the StackGuard approach be able to detect this attack? Please justify.

c. Will the control flow integrity approach be able to detect this attack? Please justify.

void foo(int i, int *input){
int *arr[10];
arr[i] = input;
}

Article: Buttercup: On Network-based Detection of Polymorphic Buffer Overflow Vulnerabilities by Archana Pasupulati, Jason Coit, Karl Levitt, S. Felix Wu, S.H. Li, R.C. Kuo and Kuo-Pao Fan.

Reference no: EM131711599

Questions Cloud

Define and discuss mertons strain theory : What school of thought is Beccaria from, and what are the eleven elements in his theoretical construct "On crimes and Punishments"?
Discuss your field that might interest you after graduation : Locate a job posting in your field that might interest you after graduation, one where the employer is identified rather than an anonymous posting
Types of confidence intervals : When making conclusions based on the types of confidence intervals what you have learned?
How many units of product a must be produced : On November 1, Barnes Corporation has 9,950 units of Product A on hand. How many units of Product A must be produced during the month
How will the stackguard approach be able to detect attack : How will the StackGuard approach be able to detect this attack? Will the control flow integrity approach be able to detect this attack? Please justify.
Define what is the difference between fine art objects : What is the difference between Fine Art objects and the finely crafted art objects of jewelry and adornment objects like the Aztec Priest's headdress
Define the world of television is time/space shifting : A significant recent change in the world of television is time/space shifting. Describe these terms and explain how the television industry
At what amount will accounts receivable be shown : In Razz's budgeted balance sheet at December 31, at what amount will accounts receivable be shown
Discuss indicators of intelligence in a child or adolescent : What do you think are the indicators of intelligence in a child or adolescent? Based on your readings, how would you explain what intelligence is

Reviews

Write a Review

Computer Network Security Questions & Answers

  How to choose network management protocols

Guidance on how to choose network management protocols. Describe how to apply the principles of network management strategies.

  Create an overview of the hipaa security rule

Create an overview of the HIPAA Security Rule and Privacy Rule - analyze the major types of incidents and breaches that occur based on the cases reported.

  Describe operational security pros of using cloud storage

Describe how to determine the risk associated with the selected cloud service provider. Describe operational security pros and cons of using cloud storage.

  What is mac and what is discretionary access control

What is MAC and what is discretionary access control - Given Example on p. 69, draw the lattice diagram. Given two security levels, decide whether one dominates the other.

  Udp and tcp use 1s complement for their checksums

Suppose you have the following 2 bytes: 01011100 and 01010110. What is the 1s complement of the sum of these 2 bytes?

  What is one time pad for encryption

What is one-time pad for encryption? Describe how it offers both Confusion and Diffusion.

  Explain how you would handle the given situation

You, the security officer, noticed that employees resisted the policy and chose to continue downloading peer-to-peer software. In an initial post, explain how you would handle this situation.

  Computer security incident

Locard's Exchange Principle, electronic crime scene, modules or DLLs a process, router forensics, Configuration and user, Local logs process and memory, Network Information, File system, Portray the NTP vulnerability of some Cisco IOS routers

  Automating compliance with federal information security

Automating Compliance with Federal Information Security Requirements," on page 115 of the text Information Security: Contemporary Cases. Also, you will be creating a PowerPoint presentation that explains the information that you wrote in your p..

  How is the security of a firms information system affected

How is the security of a firm's information system and data affected by its people, organization, and technology

  Under what conditions will there be equality

Suppose that the source X is mapped into the source Y having values yj = g(xi) for xi ∈ X. -  Show that H(Y) ≤ H(X). Under what conditions will there be equality? -  Under what conditions is H(X|Y) = 0?

  List some of the public concerns including privacy

List some of the public concerns (including privacy) regarding biometric authentication and critically evaluate the validity of each. You may offer personal examples if you wish.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd