Morello protects a vulnerable program to run malicious code#34
Open
josephproject1 wants to merge 10 commits intojeremysinger:mainfrom
Open
Morello protects a vulnerable program to run malicious code#34josephproject1 wants to merge 10 commits intojeremysinger:mainfrom
josephproject1 wants to merge 10 commits intojeremysinger:mainfrom
Conversation
josephproject1
commented
Nov 28, 2023
- In this program, the program reads 300 bytes of data from a file called "riskfile" an then copies, the data to a buffer of size 100
- Clearly there is a buffer overflow in the program
- The program tries contents copies to a buffer come from a user-provided file and users including malicious can control what is copied to the buffer
- The question is what to store in "riskfile"? So after overflowing the buffer, we can get the program run our code
- Morello protects this vulnerable program after identifying this vulnerability
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.