Greylost TODO
This looks dumb rendered in GitHub. Open with org-mode for better results.
queries with multiple responses arent guaranteed to be in the same order each time they are queried. These should be sorted prior to adding to the bloom filter so that they arent counted dozens of times due to being out of order don’t alert on new queries before N time passes. This allows the software to baseline DNS queries and not give alerts.Abandoning this idea. Might do a different toolset to analyze pcaps.
https://www.elvidence.com.au/understanding-time-stamps-in-packet-capture-data-pcap-files/
This should speed it up a bit Add examples of how to ingest this data. Don’t really have to add any code for this… mcafee is making a ton of random resolutions. we know that this particular case is benign, so add some feature to ignore these queries. For really important events, send a webhook alert. Closing this, should be done via Splunk or ELK Since we don’t need this precision, look into storing integers to save space in RAM and on disk when its pickled. Currently if there’s not enough RAM, it throws a memory error and crashes. Catch these exceptions and be able to calculate how much RAM a filter at a given size will require.http.kali.org start.parrotsec.org
This might be worthy of an entire new tool. Be able to pull in multiple sources and store them in a manner that can be used universally.
This will be another project, but has other potential use cases:
- NSRL
- known bad malware hashes
- is a password known to be in a breach?
- known good hashes for webpress, drupal, joomla, …
example HTTP API: /add?filter=name_here&element=element_goes_here /lookup?filter=name_here&element=element_goes_here
- weird TXT/NULL records
- reallylongsubdomaintosqueezeineverypossiblebyte.whatever.com
- hex/baseN encoded stuff: aabbccddeeff.whatever.com
- volume
not dns at all.. they are just sending data over port 53
Splunk and ELK can receive input from a TCP or UDP socket. Add an option to ship logs in this manner. This may be useful when operating as a sensor with limited resources.
Nice to have:
- encryption
- compression
- maintain integrity if networking fails