Replies: 2 comments
-
Hi @Gi7w0rm - the saving of content has become a little fragmented. As you point out, there is a way to save content based on libmagic via the payloads module, but this is dependent upon having libmagic values to match on. With scripts, this can be a bit tricky since they often don't have a clear signature. We could also try to match on file extension, but those are usually quite inconsistent with how they are deployed. I just pushed an Elastic output module, which provides the ability to save all of the HTTP response content, so that is one way to get the content. However, I think there should be a way that is not dependent on a module, so going to create an issue to move some of this functionality into the core of the framework :) Yes, definitely have considered modules for VT, URLhaus, etc - these would make great processing modules. There are limits of course, based on the need for an API key and API limits (for example, last I checked a free VT account limited the number of API queries). Personally, I'd like to create a module to check and then upload URLs to the URLHaus, it's on my list of things to do anyway :) Happy to help if you want to tackle creating one, there is a lot of room for more functionality! |
Beta Was this translation helpful? Give feedback.
-
Hey @jstrosch, As you might have noticed, I am still struggling in getting the service mode to run. I am also adding the vanilla and undebugged source code here, just in case you find time to have a look at it and already see any kind of problem or can make use of it: You will probably have to rename it before you try to run it. As I stated above, code is undebugged, so no garantie it is working in the current state. But it's taking 2 weeks already to debug my weird issue with the service mode and I kinda just want to get this out and appreciate your excelent help with my subcrawl issues by doing so. Cheers |
Beta Was this translation helpful? Give feedback.
-
Hey,
Just a quick question:
Would it be possible to enable the download of other files, maybe based on extensions ?
I am currently looking at an OpenDir full of malicious .vbs and .txt files (which themselves contain powershell/vbs code)
Would be awesome to have a possibility to download them too, but as I see it changing the payload processing file is not that easy as it is based on File Magic...
So maybe there is room for enhancement here :)
Also, I was thinking that it would be really helpfull to have some kind of VirusTotal Integration to automatically check files against VT. Similar to the ClamAV module. Guess it would be important though to make it a standalone module as an API Key is requiered.
On the other hand, one could also imagine a module based on "Munin" by Florian Roth.
https://github.com/Neo23x0/munin
Its also based in python and would enable further capabilites, such as automated checking against:
Virustotal
HybridAnalysis
Any.Run
URLhaus
MISP
CAPE
Malshare
Valhalla
Hashlookup
Which probably would be a great addition for all folks dealing with malware.
Just some thoughts I had while working with subcrawler :)
Greetings
Gi7w0rm
Beta Was this translation helpful? Give feedback.
All reactions