56 minutes

Video Transcription

in this section, we will discuss the three states of data,
starting with the lesser known did up in use
and then covering the well known data at rest and data in transit states.
Data in use is when it is loaded in memory and used by running applications.
Attacks on data in use have already happened with the 2014 data breach on targets Credit card processing Point of sales systems using RAM scraping Mel, where data in use is very difficult to protect because of an architectural flaw in the underlying operating system architecture of all
popular operating systems Today.
As a result, all Deal P and I are M products. Leave data in use unprotected and can all be attacked by ram scraping malware.
Contact a one logic using the contact information at the end of this course for a demo of a universal and unfixable bypass in all data loss prevention and information rights management products in the market Today,
hyper visors can be used to protect data when it is in use in memory
with hyper visors, the application can run unmodified and the protection would not have to know about the internals of the application or the data that it consumes or produces if all the data that is written out of the virtual machine is forcibly encrypted,
we already talked about the value of hardware foundations and enforcing security.
Intel's X 86 V T X extensions allow hardware enforced isolation off the V M's memory away from the untrusted environment.
New memory security technology from the hardware vendors such as Intel and Andy, are allowing encryption off the memory out of'em granularity.
As a result, the VM with memory encryption becomes almost equivalent to Intel SGX.
One of the biggest strengths of using hyper visors, as already mentioned, is that it does not require modifying applications,
which means that it allows both backward and forward compatibility with legacy applications and future applications that have not even been written yet.
Since a VM emulates a physical machine and all applications run on physical machines, the general trend is that all applications can run in V EMS and therefore can be protected by hyper visors. In addition, tricks can be played with the hyper visor to juggle the user input and output device is in such a way
that did a traveling to or from the hardware
never passes through an untrusted environment.
The result of this hardware passed through is that the user can safely interact with the applications using regular mouse and keyboard input, as they would expect, and they can see the output on the screen as they would also expect.
This is a bigger deal than it sounds, because we will see in the next few sides that SGX currently does not allow safe user input and output.
When hyper visor based security is combined with memory encryption, it takes the memory encryption strength of Intel SGX without the weakness of requiring the application to be modified or allowing the user input or output to travel through untrusted environment.
In order to comply with the unchanged user experience concept discussed earlier, multiple windows from multiple the EMS can be forwarded and composited onto a single screen simultaneously.
This would give the user the same natural experience that they're used to when working with multiple windows, side by side from multiple applications running on a single operating system.
If multiple graphical windows are running and seamless mode, the user might not even know that there is a security hyper visor running behind the scenes and protecting data.
This is the way security software should be unobtrusive and out of the way.
Hyper visor based security, combined with memory encryption, is the best of both worlds.
The left side shows what happens when data is unprotected in use. Mallorcan get onto the system using low hanging fruit, such as a browser exploit, and can steal sensitive information from other programs that are running, such as Acrobat. In this case, which might have a PdF file, open the right side
shows what security can be achieved
when hyper visors are used. Toa isolate and protect sensitive data in use. You can see that the malware is trapped in the untrusted VM and cannot jump across the hyper visor toe. Access the data in use in acrobat in the trusted VM. When a PDF file is open,
Intel SGX can be used to protect data in juice.
SGX loads the code and the data in an encrypted memory in clave and executes the code on the data.
One of the biggest problems with Intel SGX is that the SGX in clave acts like an island of trust in the middle of an untrusted environment,
user input and output cannot get to or from the SGX in Clave Island without passing through the untrusted environment, where it's confidentiality and integrity can be compromised.
There is no public way to solve this issue right now.
An exploitation of this vulnerability would be key logging, malware, stealing keyboard input before it gets to the code running in the enclave and taking screenshots of sensitive data after it leaves the inn clave but before it is displayed on the screen. Another big weakness with SGX
is the fact that the application must be modified
in order to take advantage of the X 86 SGX extensions.
This means that all applications that need to be protected would have to be modified and redeployed.
This violates the concept of backward compatibility discussed earlier. The Block Post linked here gives more in depth information about SGX versus hyper visors and references academic papers on the subject.
In this diagram, applications number one and number three have no way of protecting data in use.
Intel SGX helps application number to protect its data in use. This diagram also shows the problem with the S E X in clave being the island of trust that we mentioned earlier in the middle of an untrusted environment.
There's no trusted input path from the keyboard or mouse to the inn clave, and there's no trusted output path from the enclave to the display
home or FIC. Encryption is another way to protect data in use through innovations in cryptography with home or FIC. Encryption operations and computations are done directly on cipher text. This means that data never has to be decrypted in order to be used,
thereby keeping the data protected when in use.
*** morph it. Cryptography has limitations similar to those of Intel SGX. First of all, if the environment is not trusted enough to decrypt data when it is in use, it is probably not trusted enough to allow sensitive user input and output to pass through it either. As a result,
there is no way for a user to securely interact with the application.
Also, all the standard applications that we use today expect to process unencrypted data. They would have to be rewritten in order to operate on cipher text.
The requirement to rewrite the applications
violates the backward compatibility concept that we discussed earlier.
This is a conceptual diagram of home or FIC encryption.
If M is the input and there is a function F performed on it and the result is encrypted, the result would be the same as if M was first encrypted and the function was evaluated on the cipher text of em.
Data at rest is when it is stored on a disc and did. Address is generally well protected today by encryption.
There are two main types of data that dress encryption file encryption and disc encryption.
File encryption provides more security because it is more granular and at the file level, which allows the encryption to follow the file wherever it ends up, even if it is excellent. Traded disc encryption, however, is less granular than file level encryption and therefore provides the less security
disc. Encryption mostly protects against the device being lost or stolen, rather than the file being uploaded by a legitimately logged on user or malware Impersonating a legitimately logged on user database. Column encryption is similar to disc encryption and that the encryption does not follow the data.
Storing encrypted data in the data base is more granular and allows the encryption to follow the data. Even if the cell is read out of the database or uploaded, a system is more secure. If encryption is more granular,
we must assume that data exfiltration is occurring because files can legitimately be stored outside the enterprise, such as UN employee's devices or in clouds.
The thing that we cannot verify is whether those employees devices or those clouds are safe.
Data in transit is when it is transferred over a public medium that the attacker has access to.
Data in transit is generally well protected by today's security software.
Many network protocols exist today to protect it in transit.
Today, the industry does a good job of protecting data address and in transit, but does nothing to protect data in use because data usually has to be decrypted in order to be used or processed by almost all of today's applications,
thereby making encryption useless.
Since classic encryption cannot be used to protect data in use, the industry has not paid much attention to protecting data in use.
Protecting data in this state is a big problem because it is one of the three states of data and represents a big gap in the security industry, that's 33%.
Hackers always attack the security gaps.
Adi Shamir, one of the fathers of the R. S a encryption algorithm, says that the mathematics of encryption is okay,
didn't out rest, and data in transit is therefore safe because it is protected by encryption.
Data in use is at risk because it's the only place where the data is necessarily decrypted for use by the application and is therefore unprotected by encryption.
This unprotected data in use on Lee exists on the end point. And that's what I did Shameer is talking about when he's referring to endpoint Security.
So one of the things that cryptography is supposed to let us do it with a very little bit of effort encrypt data so that it takes a huge amount of effort to read it. And
there was an email that Bill Gates wrote in 2000 to saying that
our software should be so fundamentally secure that customers never even worry about it, and I see a great deal of worrying going on. So the mathematical goals that we have with cryptography of getting this
great security at a low cost don't seem to be happening and you look at what the NSA was doing? Likewise,
they were getting a huge amount of information for relatively or maybe a modest amount of effort. What should we be doing differently?
In some sense, I think that we should distinguish between the mathematics of photography and application of cryptography.
One of the nice things I love if I can say this is the silver lining in the Snowden revelation is that there wasn't any indication in all the, you know, hundreds of thousands of documents that the NSA was able to break any off the major crypto systems.
For example, they are spending huge amount of money in order to build the quantum computer
s o. They apparently don't have a fast vectoring algorithm breaking our say they have toe trip, the lipstick care of schemes. So if you look at all those documents, there isn't any indication that they managed to break the mathematics.
However, it is their applications. The windows they are
under wade, the endpoint security, which is

Up Next

Preventing Data Breaches with A1Logic

In this course, we will cover the basic concepts needed to prevent Data Breaches. More specifically, we will go through the fundamental concepts of information security, and covers what the industry is doing and not doing to protect sensitive information and data.

Instructed By

Instructor Profile Image
A1 Logic