Re: [Samba] ransomware etc
- Date: Wed, 28 Jun 2017 15:13:40 +0200
- From: "L.P.H. van Belle via samba" <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] ransomware etc
First secure your entry points.. Mail webserver and proxy and the exit points. ( your users environment in my case windows 7/10 desktops.)
Im waiting until trevor has the antivirus vfs is ready for samba 4.
@David Disseldrop, you know the status about that, since it was you call to get it in samba. ;-)
I've seen good work but it stopped.. :(
I .. wannacry .. :-))
If you setup your mail server to respect servers setup conform RFC, your spam wil drop at least 70%-90%
Saving you lots of cpu time. Now i use postfix with its postscreen, clamav with yara rules for antivirus.
And a postfix with postscreen setup, something like this.
So it counts how often a ip is listed rbls.
*4 means gets 4 points. So listed in barracude psky or spamhaus.. => drop. Pickup by fail2ban > in firewall.
This is reasonable optimized.
Untill today i have not seen 1 .. Wannacry or (how is the new one called.) email.
Same for the proxy, added icap voor scanning with yara rules.
For my pc's.
MS Office, disable macros, vbs.. Aka all scripting you can disable.
If a user needs it, open only that for that user ( but use groups to setup )
Most users open documentes from within browsers or mail apps, protect these locations.
article here : http://www.computerworld.com/article/2485214/microsoft-windows/cryptolocker-how-to-avoid-getting-infected-and-what-to-do-if-you-are.html
Set you antvirus heuristic scanning to high, yes you lose a bit speed, but you choose what you want. Security or extra work later..
And user may NEVER EVER work with Administrative rights.
Supporting a home user, setup, explain, and tell if they change the rights, you wont fix next time.
Result, 90% less call for support from home users and 10% is in trouble but, im not fixing it .. Again..
And what i did for samba, only upgrade to 4.5.10 or 4.6.5 and make my daily backups.
Just go with the flow and dont use old, older and to old programs..
! Thing to remember, if a crypto hits you, it always hits the "recently openend" first.
So a "samba honeypot", well, i just dont like it, since that wil hardly work.
But above is just how "I" like my setups.
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens
> David Disseldorp via samba
> Verzonden: woensdag 28 juni 2017 14:42
> Aan: mj via samba
> Onderwerp: Re: [Samba] ransomware etc
> On Wed, 28 Jun 2017 11:08:11 +0200, mj via samba wrote:
> > Hi all,
> > Just out of curiosity: is there anything we can do, on the
> samba side,
> > to counter the recent ransomware attacks? (or limit the damage done)
> > I'm thinking like: limit the number of files per second a client
> > (workstation) is allowed to edit, or some other smart tricks..?
> > It would be nice if samba could be an extra layer of defense.
> > Something perhaps a vfs module could help with..?
> > Anyone with tips, trics, ideas?
> Although not bullet proof, I'd suggest taking periodic
> snapshots of the Samba share using Btrfs, LVM, ZFS, etc. This
> will give you a read-only restore point, should clients start
> With Btrfs you could use the Snapper VFS module to expose the
> read-only snapshots to clients via the Windows Previous Versions UI.
> Cheers, David
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
To unsubscribe from this list go to the following URL and read the