-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
a couple of things regarding the dns rules
alert dns $HOME_NET any -> any any (msg:"AT Related Malicious Domain (www[.]enduluxe[.]com/) in DNS Lookup"; dns.query; content:"www.enduluxe.com"; isdataat:!1,relative; reference:url,phishstats.info; reference:url,github.com/julioliraup/Antiphishing; classtype:social-engineering; sid:6000016; rev:1; metadata: signature_severity Major;)
- you might consider truncating
www.
off the domain and usingdotprefix
transformations andendswith
modifier.
In many cases, domains controlled by phishing actors will setup several subdomains. For example in the referenced signature, this domain was observed with subdomain in the past (it was a LONG time ago, but proves the point nontheless) https://urlscan.io/search/#page.domain%3Aenduluxe.com
-
if the intention is to match "exact" domains, this is fine, but consider using the
bsize
modifier to actually make it exact. -
defang domains by using a space instead of the
[.]
as per the [Suricata Community Style Guide
(https://github.com/sidallocation/suricata-style-guide/blob/main/style-guide.md)
Defang domain names by using a space before the label separator to avoid accidental information leaks
Example: Observed Malicious Win32/Badhombre DNS Query (tromf .mx)
- remove the trailing
/
from the domain in the MSG
www[.]enduluxe[.]com/
-->www[.]enduluxe[.]com
Proposed format of exact match
alert dns $HOME_NET any -> any any (msg:"AT Related Malicious Domain (www .enduluxe .com) in DNS Lookup"; dns.query; bsize:16; content:"www.enduluxe.com"; reference:url,phishstats.info; reference:url,github.com/julioliraup/Antiphishing; classtype:social-engineering; sid:6000016; rev:1; metadata: signature_severity Major;)
Proposed format of non-exact match
alert dns $HOME_NET any -> any any (msg:"AT Related Malicious Domain (www .enduluxe .com) in DNS Lookup"; dns.query; dotprefix; content:".enduluxe.com"; endswith; reference:url,phishstats.info; reference:url,github.com/julioliraup/Antiphishing; classtype:social-engineering; sid:6000016; rev:1; metadata: signature_severity Major;)
julioliraup
Metadata
Metadata
Assignees
Labels
No labels