Author Topic: Encryption of the phone/tablet and avast!  (Read 7210 times)

0 Members and 1 Guest are viewing this topic.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Encryption of the phone/tablet and avast!
« on: August 19, 2012, 03:45:32 AM »
I've reading something about encryption and got this:

Quote
One benefit of full-disk encryption is that it makes wiping the flash storage very fast.

All of the data stored on the device is stored encrypted under a particular encryption key K. The system also stores an encryption of K under the user's PIN.

To wipe the entire drive, all you have to do is wipe the spot that stores the encryption of K (which is just one block). Once that block is gone, there is no way to decrypt the data on the drive (since K cannot be recovered), so the entire drive is as good as wiped. The wiping process can be done very quickly, since it only has to erase one block. This means that security / anti-theft apps can wipe your device if it gets stolen and you detect that it was stolen, and the wipe will take effect almost immediately. Without full-disk encryption, wiping the device might take a lot longer.
http://security.stackexchange.com/questions/10529/are-there-actually-any-advantages-to-android-full-disk-encryption

Is this how avast anti-theft works? I mean, will the wipe process be done much more quicker?
The best things in life are free.

svehlak

  • Guest
Re: Encryption of the phone/tablet and avast!
« Reply #1 on: August 21, 2012, 10:29:03 AM »
No, it is not like this generally, because there are devices with another crypt keys or security.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Encryption of the phone/tablet and avast!
« Reply #2 on: August 21, 2012, 02:10:16 PM »
Thanks.
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Encryption of the phone/tablet and avast!
« Reply #3 on: August 21, 2012, 02:11:34 PM »
By the way, I know it's off topic, but can you say which problems will we have on encrypting the phone and upgrading custom ROMs?
The best things in life are free.

svehlak

  • Guest
Re: Encryption of the phone/tablet and avast!
« Reply #4 on: August 22, 2012, 02:11:10 PM »
Yes, At and AMS do share various security keys and communicate via broadcasts; AT could stuck on resolving shared keys or its own storage certs in case when the encryption of system partition will be changed. On the other hand, if AT will use the generic script for i.e. formatting memory and SD card, it should not find all the data, because the encryption is different or the sums of stacks will not fit. So the AT functionality wil not be working OK and might cause strange behavior or force close behind the memory.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Encryption of the phone/tablet and avast!
« Reply #5 on: August 22, 2012, 05:11:38 PM »
So the AT functionality wil not be working OK and might cause strange behavior or force close behind the memory.
In non technical words: do NOT use phone encryption if you want avast anti-theft works.
The best things in life are free.

sanderskm

  • Guest
Re: Encryption of the phone/tablet and avast!
« Reply #6 on: August 28, 2013, 07:45:28 PM »
So one can safely assume that using the device encryption on a Samsung Galaxy Note II and avast! mobile security is not a good idea?

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Encryption of the phone/tablet and avast!
« Reply #7 on: August 30, 2013, 03:37:28 AM »
So one can safely assume that using the device encryption on a Samsung Galaxy Note II and avast! mobile security is not a good idea?
Hope the programmers answer again the final word.
All that I read about Android encryption is frightening: we can't do some updates, ROM flashes, etc. I can't remember but I always kept the idea that encryption does not fit with my usage profile.
The best things in life are free.

svehlak

  • Guest
Re: Encryption of the phone/tablet and avast!
« Reply #8 on: August 30, 2013, 12:43:46 PM »
So let us answer it here; the android encryption is based on dm-crypt and is provided by linux kernel and all the operation is quite tricky. Basic encryption / decryption is done on file system, so mainly /data directory (where applications data and applications are placed) is maintained. There is framework in DVM, which is providing the mount and file operations services with encrypted files. The problem is with the initial password insert, because the system partition is basically still encrypted and the password is not provided - there is some minimal UI for providing it, but, unfortunatelly, it runs with system services and apps, which has to be restarted, file system remounted and services must be triggered to run again with synced data. Here, as you may be can see now, the avast scaner or file shield can experience very difficult times - in case you have crypted your device, our scanner can extensively drain battery (application restart and getting priority in apps race) and CPU; in the worst scenario (encryption key is corrupted) the /data partition is not mounted and no application will be able to run, or, will force close soon. So, generally said, it is safe to use avast on encrypted device, but encryption itself has many traps along.

sanderskm

  • Guest
Re: Encryption of the phone/tablet and avast!
« Reply #9 on: August 30, 2013, 04:50:52 PM »
So, I guess one may say, 'let the user be wary!'

Thank you much for the explanation.

Side note: any remote chance avast! might come out with an encryption program?