Wet dreams about perimeter security (sorry for the title)

If the title is not appropriate, please change it. :+1:

In my opinion, what would give IPFire a higher level of perimeter security would be the ability to perform hash queries against the existing intelligence in the Cloud on all the requests IPFire makes regarding website visits or file downloads, etc.

Let me explain:

There are online services that allow you to upload files, URLs, etc. to be analyzed by collective intelligence engines, which determine whether the sample is good or bad.

Many of these tools allow you to query what has already been analyzed via an API to facilitate the analysis of an already analyzed sample.

For example, the following come to mind:

  • Virustotal:

API → VirusTotal API v3 Overview

  • Any.run:

I think it’s subscription-based and I don’t know if it has a public API.

  • Falcon Sandbox:

API → Free Automated Malware Analysis Service - powered by Falcon Sandbox - Falcon Sandbox Public API v2.0

I know the complexity of this and/or its feasibility, since I imagine that at least one “man in the middle” would be necessary in the proxy to perform the captures and be able to report the hashes to verify their existence as an already analyzed element and determine its nature.

The idea would be to generate a hash and upload it to these platforms. This way, IPFire would automatically get a response as to whether it’s good or bad and act according to a series of thresholds or parameters we can define.

This isn’t a petition or a feature request. Just a dream, as I mentioned in the title.

Sorry for the English. It’s not my strong suit.

Best regards.

Nice idea in theory — but from a privacy point of view, it’s also a bit of a goldmine for the security providers. You’re handing over potentially sensitive data (or at least metadata) to companies like Google (which owns VirusTotal), and others that aren’t exactly known for putting user privacy first.

Sure, you might get an extra layer of threat detection, but it comes at a cost — and that cost is your users’ data. Feels like trading one problem (potential malware) for another (loss of privacy), especially when these services log and store a lot.

Unless IPFire ran its own independent version of such a hash-checking service one day — fully open and privacy-respecting — it’s probably not a great trade-off.

Thanks,
A G

3 Likes

@roberto
indeed security is just a dream: :sleeping_face:
you have to try to fix or defend
every known and unknown security :hole:
against an opponent who just needs
to find one single uncovered security :hole: :bullseye:

and so you wake up every morning
in a pillow wet with your tears :sob:

i have a honeypot security. come on in. kicking the door open is just the beginning we want you to do. the rest is gravy