baking clam(av)s for fun & profit

9

Click here to load reader

Upload: nathan-gibbs

Post on 26-May-2015

209 views

Category:

Technology


2 download

DESCRIPTION

Security BSides Rochester BSidesROC 2013 Tea Room Talks 15:30

TRANSCRIPT

Page 1: Baking Clam(AV)s For Fun & Profit

Baking Clam(AV)s for Fun & Profit.

ClamAV in a network accessible configuration provides not only remote virus scanning, but also

the potential for DOS, etc.

Page 2: Baking Clam(AV)s For Fun & Profit

ClamAV-what it is.

Open Source SoftwareProvides Virus ScanningCurrently owned by Sourcefire

Page 3: Baking Clam(AV)s For Fun & Profit

ClamAV-Component Overview What it does.

clamscanStand alone cmd line scanner

freshclamSignature DB update tool

clamdScanning Server

clamdscancmd line scanner ( scanning client )

clamav-milteremail scanning plugin ( scanning client )

Page 4: Baking Clam(AV)s For Fun & Profit

The Problem - DesignIn theory

ConfigurationClamd can bind to an IP address

No Access ControlsNo AuthenticationNo connection loggingDiscussed on ClamAV-user mailing list

July 22-23 2011

Page 5: Baking Clam(AV)s For Fun & Profit

The Problem - ImplementationIn practice

Availability of Administrative Commands.VERSION

ReconRELOAD

Default Virus DB size is about 50MBContinuous reloads result in High CPU utilization.

SHUTDOWNGuess what that does?A DOS of a networked ClamAV installation.

Page 6: Baking Clam(AV)s For Fun & Profit

The Defense

ConfigurationBind to a LOCAL SocketBind to loopback interface

Access Controls - FIREWALLMonitoring

Page 7: Baking Clam(AV)s For Fun & Profit

Tools - Shameless Plug

Clambake 0.2 - Enumeration & ( Stress ) TestingCCEE - Adds connection logging to clamd for administrative commandsclamd.monitorGet them all and more for free at http://www.cmpublishers.com/oss

Page 8: Baking Clam(AV)s For Fun & Profit

Contact Info

Email: [email protected]: @Christ_MediaLinkedin: http://www.linkedin.com/in/nategibbs

Page 9: Baking Clam(AV)s For Fun & Profit

Thanks

GodBSides ROCCLAMAV Dev Team & SourcefireFolks on Clamav-users ML