You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Snakebite <c....@web.de> on 2020/12/10 14:07:15 UTC
Intercept / AV-scan file transfers
Hi all,
is there a recommended or even included way to have all files transferred
back and forth through the virtual drive inspected by an AV engine?
In the setup I consider, people would use mostly RDP from GC to the remote
system.
If there is nothing at present, would it work e.g. to terminate TLS at a
load balancer and expect network / firewall solutions to pick up and inspect
the files? Any experiences with such a setup?
Thanks in advance.
Chris.
--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org
Re: Intercept / AV-scan file transfers
Posted by Nick Couchman <vn...@apache.org>.
On Thu, Dec 10, 2020 at 09:08 Snakebite <c....@web.de> wrote:
> Hi all,
> is there a recommended or even included way to have all files transferred
> back and forth through the virtual drive inspected by an AV engine?
>
> In the setup I consider, people would use mostly RDP from GC to the remote
> system.
>
I don't know of a way off the top of my head to do this on the system
running guacd. I can't remember exactly, but I don't think that the drive
redirection mechanism on Guacamole drops the file temporarily anywhere - it
just facilitates the connection of the channel between the browser and the
RDP server. So, you'd really have to run the AV software on the remote
server.
It might be possible at some point in the future to put good into guacd
that would allow the data to be inspected by AV software (or even DLP), but
I would imagine that implementing that is non-trivial, and also likely
depends heavily on the AV software in use and how it functions in order to
actually implement it. I'm not sure how feasible it would be to create a
generic interface for that.
> If there is nothing at present, would it work e.g. to terminate TLS at a
> load balancer and expect network / firewall solutions to pick up and
> inspect
> the files? Any experiences with such a setup?
>
Yes, you could certainly do this. I think the biggest thing you'd have to
deal with in this scenario is making sure the proper certificate trust is
in place so that the firewall can inspect the data. I've not personally
implemented this type of deep packet inspection, but I've worked at places
that do it.
-Nick
Re: Intercept / AV-scan file transfers
Posted by Nick Couchman <vn...@apache.org>.
Yeah, I'm not sure what I was thinking in my initial reply, but I was a
little off :-). The RDP file redirection just presents a filesystem on the
system running guacd to both the browser (client) and the RDP server, so
you should be able to capture file writes to this folder and scan them.
Many of the available AV scanners will do on-access scanning and can
intercept the file writes, scan the file, and then either allow or veto
access. You can also probably use something like fanotify with Linux to
implement this yourself, if you're so inclined, and I suspect most of the
commercial AV engines that implement this functionality on Linux just do
that. I know clam AV has an integration with fanotify.
This will certain cover files sent from the browser to the virtual drive
(and made available to the RDP server), as well as files written to the
virtual drive from the RDP server (and made available to the client). The
only exception to this is the virtual "Download" folder, which may have
been what I was thinking about earlier - I'm not sure that writes to that
folder will be intercepted in the same way, because I cannot remember off
the top of my head if those files are actually written to the directory
before they are streamed to the browser.
-Nick
On Sun, Dec 27, 2020 at 2:40 PM sciUser <sh...@securitycentric.net>
wrote:
> The Guacamole File transfer is no different than a NFS share with security.
>
> Example: using /myfles/${GUAC_USRENAME} in the connection settings, you
> will
> need to scan anything new hitting the myfles directory on the OS level. To
> prevent viral files from infecting the Guest and Host OS, remove the
> ability
> to execute from the myfiles directory. If you are not using CentOS with
> SELinux, I recommend you use Tripwire.
>
> Here is what we do; We have a NAS with a 5TB share that gets carved up per
> user, this is their storage container.
> Now we also use CLAMAV, and Malware bytes on the containers. Any file
> uploaded is done so without execute permissions. We further protect the OS
> (Guac) with Tripwire and SELinux policies.
>
> For load balancing we do not use the native guac version, however our
> platform manages all the connections by load balancing between 4 guacamole
> systems or more if demand increases.
>
> Hope this helps.
>
>
>
>
> -----
> A Cybersecurity Enablement Company
> We don't just run you through the motions, Our labs teach you how to
> think!
> Known good Guacamole installations
>
> --
> Sent from:
> http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>
>
Re: Intercept / AV-scan file transfers
Posted by sciUser <sh...@securitycentric.net>.
The Guacamole File transfer is no different than a NFS share with security.
Example: using /myfles/${GUAC_USRENAME} in the connection settings, you will
need to scan anything new hitting the myfles directory on the OS level. To
prevent viral files from infecting the Guest and Host OS, remove the ability
to execute from the myfiles directory. If you are not using CentOS with
SELinux, I recommend you use Tripwire.
Here is what we do; We have a NAS with a 5TB share that gets carved up per
user, this is their storage container.
Now we also use CLAMAV, and Malware bytes on the containers. Any file
uploaded is done so without execute permissions. We further protect the OS
(Guac) with Tripwire and SELinux policies.
For load balancing we do not use the native guac version, however our
platform manages all the connections by load balancing between 4 guacamole
systems or more if demand increases.
Hope this helps.
-----
A Cybersecurity Enablement Company
We don't just run you through the motions, Our labs teach you how to think!
Known good Guacamole installations
--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org