-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BOT: DNS lookup #373
Comments
hmm, good question.
I guess that depends on the event.
Can you give us an example of such an event?
|
Array is an obvious solution, and although I'm not a fan of adding new attributes, I don't think we should split an event into more. The logic behind the event is "this fqdn is bad" and splitting the event would be misleading on the output. My opinion is - we should add new array attribute. I do not have any particular event example, but any domain with more IPs will do, sorry google:
|
What about 'forward_dns' to be the name? Note that 'reverse_dns' exists just for the opposite case. |
Got it. Okay, I came across the same problem once when thinking about pDNS.
|
Makes sense for me as well. |
I've been trying to implement this, however, when configuring forward_dns in harmonization.conf, I am unable to set the type as "list". I'd like to put it as "list of IPAddress" but this seems to not be possible. There is no "list" type option in harmonization, or am I blind? |
@e3rd Yes this is correct. We had a discussion on a similar problem concerning email addresses (abuse contact), see #185. But this is a different case, as data is derived from IP addresses, but not from abuse contacts. Alternative to lists: Clone the event and create duplicates for each address. I prefer this variant as I see severe issues when saving multiple IPs per event. Small example: Given is a domain used as C&C server or a websites which distributes malware. The FQDN resolves to multiple addresses in different AS' and countries. We do ASN and CC lookups, but how to save these informations? How to filter them? Having non-distinct data in such fundamental fields means events are not unique anymore. With multiple addresses per event, how to save data which depends on it? Lists of CCs, ASNs etc? Needs big adoptions everywhere. For all others: The forward DNS bot proposal can be found here:
|
Ok, I'll remake it and pull it here. |
Interesting problem that I do not dare solve without your consent. Did you get the point of the problem, am I clear? |
I understand and I am not sure if it’s solvable. It’s a bigger architecture discussion IMHO. Let’s have a call on this. Best, |
will be looked at in Release-2 or -3 |
I think this is partly covered by Gethostbyname bot and we may close this issue. In most of the cases, single IP address produced from a FQDN is enough. |
We are considering a bot to do a DNS lookup for events, where only fqdn is included. Except the performance issues that will be the same as in the case of reverse_dns expert bot, we have encountered another issue. Forward lookup could return more than one IP address for the domain, what to do with the result?
What do you suggest?
The text was updated successfully, but these errors were encountered: