IBM QRadar

IBM QRadar

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  partial match in a reference set

    Posted Tue July 28, 2020 10:57 AM
    Hi,
    I have a reference set with domains and I want to create a rule that when a domain is contained in that reference set the qradar creates an offense.
    But I want a partial match and not a complete match. The final objective is to identify the subdomains of the domains contained in the reference set.

    ------------------------------
    Edgar Faria
    ------------------------------


  • 2.  RE: partial match in a reference set

    Posted Thu July 30, 2020 10:41 AM
    Hi Edgar. I don't believe you can use a partial match in a rule without an AQL or a search. I crafted something to help you get started but it will need some adjustments to narrow it down such as QID of the event your are looking for and maybe a response limit. You could also look for the specific value as I did in the query and export a CSV from QRadar to help you get those values (which could work in your case):

    select "Domain ID" from events where "Domain ID" like '%' and REFERENCESETCONTAINS('EDGAR_SET', "Domain ID") GROUP BY "Domain ID" ORDER BY "Domain ID" DESC LAST 20 MINUTES

    The problem with it is, it will match ALL domains OR domains in the reference-set which will make it a rather big search or rule. As I said, this can help you get started in it but will need adjustments to be specific to your environment.

    ------------------------------
    Bruno Silva
    ------------------------------



  • 3.  RE: partial match in a reference set

    Posted Tue January 26, 2021 10:47 AM
    Hi,

    I would just extract custom property and match it against that.

    Cheers,
    Ankit

    ------------------------------
    Ankit Sharma
    ------------------------------



  • 4.  RE: partial match in a reference set

    Posted Wed January 27, 2021 07:41 AM
    Last time I checked, only full matches were supported against reference data set entries. As I was told, it might be possible to do it with some custom functions, but event then you would limit it to very small collections - as such functions would be quite heavy on resources.

    ------------------------------
    Dusan VIDOVIC
    ------------------------------