Question

In: Computer Science

You are working as a Security Engineer in ABX Company Pvt. Ltd. Suddenly, intruder has got...

You are working as a Security Engineer in ABX Company Pvt. Ltd. Suddenly, intruder has got access to their database and used them to impersonate users to get some documents. Fortunately, attack was identified and the stopped by your team. Now, your manager asked you to find a secure way to store password securely and others could not able to reverse it or use it for login. What will be your solution? Would you use hashing? If you use hashing please explain the steps.

Solutions

Expert Solution

In general, from a broad perspective, and an overall insight into the security of storing passwords, by all means, encryption can and should be used to store passwords and other login credentials, files, documents, documents, etc. Encryption mechanism (using an irreversible cryptographic function), hash function, or other mechanisms should be deployed on data that is at rest, in transit, and when it is being processed. Passwords must not be stored in plain text in a file.

Yes, I would recommend the company to use hashing. To securely and easily store passwords so others cannot reverse it or use it for login a one-way cryptographic hash function must be used. It uses a one-way mathematical encryption algorithm. The attacker or the hacker will not be able to reverse that particular hash back into the original password. It is not possible to reverse the encryption in this technique. Technically, it uses hashing functions for storing passwords.

The plain-text method should never be used for storing users' passwords as the method is not secure, as it is not encrypted. Also, just using only simple encryption should also not be an option. Passwords must be hashed. Hashing passwords is a one-way achieving enhanced security. The hashing mechanism makes the storage of passwords secure and easier. Hashing stores a password transforming it into data that simply cannot be converted back to the original password. Along with hashing, a salting mechanism should also be used. Hashing chops a given data, in this case, a password into small pieces so it appears to be a confusing mess. Hashing technically maps any size data to a bit string of a size that is fixed. Data once hashed cannot be unhashed, practically.

Steps involved in Hashing, in general:
* Plain text is taken.
* Plain text is fed as input to the hash function.
* The outcome is the hashed text that gets generated by the hash function.

Hashing algorithms such as MD5 or Secure Hash Algorithms (SHA) such as SHA-1 and the SHA-2 family that includes the SHA-256 algorithm are used. The SHA-256 algorithm is used as the underlying cryptographic hash function.

Ideally, secure and very strong irreversible hash functions such as sha256, sha512, or sha3 should be used. SHA512 should be used along with the salt, which acts as a pollutant to the password (message or raw data), producing two different hashes for the same data. The salt is unique for each user. The salt is composed of a random sequence. It increases the password's uniqueness. It increases the chance a hash has never been used. All passwords different or some of the same, regardless, they all should have different hashes.

Below are the steps in hashing a password:
* A password is taken that is typed in by a user.
* Hashing function used generates a unique salt.
* The hashing function adds this salt to the password.
* The hashing function generates a hash from the combination of password and salt i.e., password + salt.
* The generated hash and the generated salt both, are sent to the database.


Related Solutions

1, Assume you are an engineer working for a chemical production company. You are on the...
1, Assume you are an engineer working for a chemical production company. You are on the technical team that is responsible for deciding what to do about the dangerous chemical that your company is using to produce its best-selling chemical product. Recent reports have just made known the dangers of this chemical, and the company now needs to decide how to proceed. There are several options to consider: stop producing the harmful product altogether and take a hit on total...
Assuming you are new engineer working in R & D division at manufacturing company which has...
Assuming you are new engineer working in R & D division at manufacturing company which has decided to evaluate CAD/CAM system to adopt in your company in order to meet Industrial 4.0. Make an outline to decided which suitable CAD/CAM system can be selected to adapt with Industrial 4.0.
1-Reddy Pvt. Ltd Company is analyzing their financial statement and reach to the conclusion that their...
1-Reddy Pvt. Ltd Company is analyzing their financial statement and reach to the conclusion that their cost of capital is very high. As a finance manager of Reddy Pvt. Ltd. Company why you think that cost of capital is important for the company and how balance it?
1- Ahmed is working as a project engineer at a newly established company. His company has...
1- Ahmed is working as a project engineer at a newly established company. His company has completed 2 projects, has 5 engineers and 10 technicians. Ahmed’s manager assigned him to contact Ashghal and register the company as a potential bidder for their project. However, the company’s profile does not meet Asghal Policy to be a potential bidder as their minimum requirement is: 5 completed projects, 10 registered engineers, 15 technicians. Even though Ahmed informed his manager about the policy, he...
You are a construction engineer working for a large utility contractor. The project you are working...
You are a construction engineer working for a large utility contractor. The project you are working on is in New York City (Manhattan). You are installing approximately 1,000 L.F. of 48” dia. RCP for storm drains. Invert elevation ranges from 9’ to 14’ below grade. Pay lines for the trench are indicated in the attached specification. Soil characteristics range from SM to SC, based on the Unified Soil Classification. What considerations would you make with regards to a trenching &...
You are working in the finance department of Innotech Ltd (INT). The Company has spent $3.4...
You are working in the finance department of Innotech Ltd (INT). The Company has spent $3.4 million in research and development over the past 12 months developing battery technology which will be incorporated into the Australian luxury car market. INT now need to choose between the following three options for bringing the product to market. These options are: Option 1: Manufacturing the product “in-house” and selling directly to the market Option 2: Licensing another company to manufacture and sell the...
Lead Lights (Pvt.) Ltd is engaged in the business of manufacturing LED lights. The company recently...
Lead Lights (Pvt.) Ltd is engaged in the business of manufacturing LED lights. The company recently supplied 10,000 LED lights to a newly constructed super mall. The total cost of the invoice totaled $45,000 with a total payment period of 30 days. Invoice was mailed and was received back duly stamped by the customer for endorsement or discounting. 15 days before maturity Lead Lights (Pvt.) Ltd discounted the bill with bank of Kingston. The discount rate prevailing in the market...
Krishna Electronics Pvt. Ltd. is a new venture that manufactures electronic components. The company produced the...
Krishna Electronics Pvt. Ltd. is a new venture that manufactures electronic components. The company produced the following income statement results in its first year of operations: Net Sales Rs. 10,00,000 Cost of Goods Sold - Rs. 6,50,000 Gross Profit Rs. 3,50,000 General and Administrative Expenses - Rs. 2,40,000 Marketing Expenses - Rs. 80,000 Depreciation - Rs. 45,000 EBIT - Rs. 15,000 Interest Expenses - Rs. 35,000 Earnings Before Taxes - Rs. 50,000 Taxes Rs. 0 Net Earnings (Loss) - Rs....
Krishna Electronics Pvt. Ltd. is a new venture that manufactures electronic components. The company produced the...
Krishna Electronics Pvt. Ltd. is a new venture that manufactures electronic components. The company produced the following income statement results in its first year of operations: Net Sales Rs. 10,00,000 Cost of Goods Sold - Rs. 6,50,000 Gross Profit Rs. 3,50,000 General and Administrative Expenses - Rs. 2,40,000 Marketing Expenses - Rs. 80,000 Depreciation - Rs. 45,000 EBIT - Rs. 15,000 Interest Expenses - Rs. 35,000 Earnings Before Taxes - Rs. 50,000 Taxes Rs. 0 Net Earnings (Loss) - Rs....
National Foods Pvt. Ltd. is a company producing canned foods. Below are the company’s financial statements:...
National Foods Pvt. Ltd. is a company producing canned foods. Below are the company’s financial statements: National Foods Pvt. Ltd.    Statement of Comprehensive Income for the year ended 31 August 2018 RM Sales revenue 2,700,000 Cost of goods sold (900,000) Gross profit 1800,000 Operating Expenses Administration & Distribution expenses (195,000) Depreciation expense (30,000) Other operating expense (150,000) Interest expense (135,000) Net profit before tax 1,290,000 Income tax expense (240,000) Net income 1,050,000 National Foods Pvt. Ltd. Statement of Financial...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT