- University Admissions
- Subject
- Business Tutoring
- Management
- Computer Science / it
- Mathematics
- Finance
- Social Sciences
- Healthcare and Nutrition
- Science
- Humanities
- Biotechnology
- Law
- Communication
- Services
- Editing & Proofreading
- Blog
The objective of Tutoring 1 is evaluating your knowledge on the topics covered in Lecture 1-4. Topics include Basic Security Techniques, Secret Key Encryption Techniques, and Public-Key Techniques for Cloud Computing. Tutoring 1 will focus on developing your abilities in application of knowledge, critical analysis and decision making. Tutoring 1 contains several problems related to the topics mentioned above. You are required to prepare the solutions and upload them as a single PDF or Word document in CANVAS.
In this Tutoring, there are 3 (three) questions related to AWS. Amazon Web Services (AWS) is the world’s most comprehensive and broadly adopted cloud platform. AWS Key Management Service uses the Advanced Encryption Standard (AES) algorithm with 128-bit secret keys for Server-Side Encryption. The first question Q1 of this Tutoring is about the Advanced Encryption Standard (AES). This question has two main parts. In the first part, you are expected to generate the first-round key of AES. In the second part, you are expected to perform one round encryption of AES completely. Through this question, you are expected to understand the encryption process of AES in details.
Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. Amazon EC2 uses Public Key Cryptography Standards (PKCS #1) to encrypt and decrypt login information. The second question Q2 of this Tutoring is about using the PKCS #1 to protect login information. This question has three main parts. In the first part, you are expected to generate PKCS #1 public key and compute PKCS #1 private key. In the second part, you are expected to perform PKCS #1 encryption on a login information. In the third part, you are expected to perform PKCS #1 decryption. Through this question, you are expected to understand PKCS #1 for Amazon EC2.
Each instance that you launch in AWS has an instance identity document that provides information about the instance itself. The instance identity document is generated when the instance is launched and it is exposed (in plaintext) through the Instance Metadata Service. The last question of the Tutoring is about using the ECC NIST P-256 signature standard to sign and verify the instance identity document. The question has three main parts. In the first part, you are expected to generate your public and private key pair for ECC NIST P-256 signature standard. In the second part, you are expected to sign an instance identity document. In the third part, you are expected to verify the signature on the instance identity document. Through this question, you are expected to understand ECC NIST P-256 signature standard for AWS.
Develop this Tutoring in an iterative fashion (as opposed to completing it in one sitting). You should be able to start preparing your answers immediately after the Lecture-1 (in Week-1). At the end of each week starting from Week-1 to Week-4, you should be able to solve at least one question.
If there are questions, you may ask via the relevant Canvas discussion forums in a general manner.
This assessment is relevant to the following Learning Outcomes:
You must follow the following special instructions:
This assessment will determine your ability to:
After the due date, you will have 5 business days to submit your Tutoring as a late submission. Late submissions will incur a penalty of 10% per day. After these five days, Canvas will be closed and you will lose ALL the Tutoring marks.
Please ensure that you have read Section 1 to 3 of this document before going further. Assessment details (i.e. question Q1 to Q5) are provided in the next page.
Q1. Advanced Encryption Standard (AES)
(Marks: 5=1+1+1+1+1)
Amazon Web Services (AWS) is the world’s most comprehensive and broadly adopted cloud platform. AWS Key Management Service uses the Advanced Encryption Standard (AES) algorithm with 256-bit secret keys for Server-Side Encryption. Advanced Encryption Standard (AES) is a symmetric block cipher encryption that receives 128-bit size for each block and the size of key is 128, 192, and 256 bits. AES procedure involves some encryption rounds, which are determined by the cipher key size. The mentioned standard uses 10 rounds in AES-128, 12 rounds in AES-192, and 14 rounds in AES-256. Through encryption, every round is collected as a set of four main transformations. Figure 1 displays the main construction of the encryption in AES method. Each round covers four main transformations: SubByte, Shift Row, Mix Column, and Add Round Key.
Figure 1. AES Encryption Structure
Let us start with the following input:
K (secret key): the first 128 bits of ASCII codes of your full name and student ID (without ‘s’)
P (plaintext): the first 128 bits of ASCII codes of your RMIT student email address
Now perform a round of encryption on the plaintext using AES-128, writing out the following steps:
Please show your calculation steps for each sub-question.
Q2. Use PKCS #1 to Protect Cloud Login Information
(Marks: 5=1+1+1+1+1)
Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. Amazon EC2 uses Public Key Cryptography Standards (PKCS #1) to encrypt and decrypt login information.
PKCS#1 is the first of a family of standards called Public-Key Cryptography Standards (PKCS), published by RSA Laboratories.
Assume that you manage Amazon EC2. To protect user login information from eavesdroppers, you need to choose a PKCS #1 public and private key pair for the cloud and make the cloud public key known to all users. When a user sends his login information to the cloud, he will use the cloud public key to encrypt his login information as shown in Figure 2.
Figure 2. Cloud Login Information Protection
Please refer to
https://www.mobilefish.com/services/rsa_key_generation/rsa_key_generation.php for key generation.
https://www.boxentriq.com/code-breaking/modular-exponentiation for big number modular exponentiation
https://www.boxentriq.com/code-breaking/big-number-calculator for big number computation
https://www.alpertron.com.ar/ECM.HTM for integer factorisation
https://www.rapidtables.com/convert/number/ascii-to-hex.html for ascii to hex
Q3. Verify Instance Identity Document with ECC Signature Standard
(Marks: 5=1+1+1+1+1)
Each instance that you launch in AWS has an instance identity document that provides information about the instance itself. The instance identity document is generated when the instance is launched and it is exposed (in plaintext) through the Instance Metadata Service. AWS use the ECC NIST P-256 Signature Standard to sign and verify the instance identity document as shown in Figure 3.
Figure 3. Cloud Instance Identity Document Verification
Assume that you are a manager of AWS. To sign and verify the instance identity document with ECC NIST P-256 Signature Standard, you choose a private key for AWS, compute the corresponding public key and make it known to all cloud users. When a cloud user creates an instance, AWS signs the instance identity document. Everyone can verify the signature of AWS on the instance identity document.
Suppose that AWS uses ECC NIST P-256 Signature Standard over an elliptic curve y2=x3+7 (mod p) and a generator P=(x,y), where
x = 55066263022277343669578718895168534326250603453777594175500187360389116729240
y = 32670510020758816978083085130507043184471273380659243275938904335757337482424
p = 115792089237316195423570985008687907853269984665640564039457584007908834671663
q = 115792089237316195423570985008687907852837564279074904382605163141518161494337
"devpayProductCodes" : null,
"marketplaceProductCodes" : [ "1abc2defghijklm3nopqrs4tu" ],
"availabilityZone" : "us-west-2b",
"privateIp" : "10.158.112.84",
"version" : "2017-09-30",
"instanceId" : "i-1234567890abcdef0",
"billingProducts" : null,
"instanceType" : "t2.micro",
"accountId" : "123456789012",
"imageId" : "ami-5fb8c835",
"pendingTime" : "2020-07-20M16:32:11Z",
"architecture" : "x86_64",
"kernelId" : null,
"ramdiskId" : null,
"region" : "us-west-2"
Note: Please use SHA-1 to hash the instance identity document and Compute aP and bP with online EEC calculator http://www.christelbach.com/ECCalculator.aspx.
25k+
Sessions Done
4.9/5
Student Rating
600+
Expert Tutors
Concept Clarity
Personalized Plan
Affordable Rates
Flexible Schedule
Results Driven
24/7 Support