Hello there,
is it possible to configure UCS / Samba, to limit per user or group policy the changing of
file names and / or replacing (update) of files?
A ransomware infection encrypts files and file names in a batch processing. This is an unnormal procedure of an user. So I would like to limit it.
theare a filtered with VFS audit the commands pwrite write rename
reaname is clear : renaming of a file or directory
pwrite I find in my logs but only for system files like *.tmp files
write is never logged (since one year)
When a crypto trojan is active, it will rename and encrypt the file.
Encrypting the file needs to open the file and save it.
I have simulated it (change file content) and have found in the audit logs this:
The important keywords are |open|ok|w| : my interpretation: open for read and write |ftruncate| : my interpretation: changing the file size of a file (in reference to the file descriptor)
Can somebody confirm it, that udate a file content will produce this audit?