Re: a bit off topic, how to find encrytped files (ransom attack)

2022-08-04 Thread Karl Auer
On Thu, 2022-08-04 at 18:58 +0200, Uwe Brauer via Gnupg-users wrote: > How can I find say encrypted files in my home directory? What an interesting exercise! Got me thinking. I'm a total crypto ignoramus, so take all this with a grain of salt... I don't think there is any truly reliable way, but

gpg-agent

2022-08-04 Thread folkert
Hi, How can I, programmatically, prevent gpg-agent to cache a passphrase? Or clear its cache? I tried using: err = gpgme_set_ctx_flag(ctx, "no-symkey-cache", "1"); but then when I run my program for the second time, it uses a cached item. Using: libgpgme-dev 1.14.0-1+b2 Thanks

Re: a bit off topic, how to find encrytped files (ransom attack)

2022-08-04 Thread Erich Eckner via Gnupg-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Thu, 4 Aug 2022, Jan Eden via Gnupg-users wrote: Hi, I just check for a list of ransomware filename patterns (e.g. *.cryptotorlocker*). Best regards, Jan On 2022-08-04 18:58, Uwe Brauer via Gnupg-users wrote: Hi I apologize for this

Re: a bit off topic, how to find encrytped files (ransom attack)

2022-08-04 Thread Robert J. Hansen via Gnupg-users
3. I could use the ent command which measure the entropy, high entropy is an indication of encryption (but jpg have also high entropy). However I should then study the distribution of each letter to be sure. A JPEG *body* has high entropy. The JPEG *header* has

Re: a bit off topic, how to find encrytped files (ransom attack)

2022-08-04 Thread Jan Eden via Gnupg-users
Hi, I just check for a list of ransomware filename patterns (e.g. *.cryptotorlocker*). Best regards, Jan On 2022-08-04 18:58, Uwe Brauer via Gnupg-users wrote: > > > Hi > > I apologize for this message that can be a bit off topic. > (I am on Ubuntu 16.04) > > How can I find say encrypted

a bit off topic, how to find encrytped files (ransom attack)

2022-08-04 Thread Uwe Brauer via Gnupg-users
Hi I apologize for this message that can be a bit off topic. (I am on Ubuntu 16.04) How can I find say encrypted files in my home directory? The idea is to use some magic command together with the find command. I know 1. The file command will return for example for a gpg encrypted file