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.  Application detection algorithm (Web.Malware)

    Posted Mon February 21, 2022 07:58 AM
    Hello,

    The Application Configuration Guide lists the applications that are defined by default - https://www.ibm.com/docs/en/qsip/7.4?topic=guide-default-applications.
    Can you please tell me how Qradar detects such applications as Web.Malware(sql), Web.Malware(blacklist), Web.Malware(flux)? What algorithm is used?
    What level of thread visibility do I need to provide for analysis? Would it be sufficient to parse the first 64 bytes payload? Or do I need to do full packet capture?

    I would like to understand how it works in order to use it in my rules.
    For example:
    and when the flow matches Application is Web.Malware(sql)
    or
    and when the flow matches Application is any of [Web.Malware(blacklist) or Web.Malware(flux)]

    Thanks!

    ------------------------------
    Aleksey Zhorov
    ------------------------------

    ------------------------------
    Aleksey Zhorov
    ------------------------------


  • 2.  RE: Application detection algorithm (Web.Malware)

    Posted Tue February 22, 2022 07:27 PM

    Hey there Aleksey,

    All of those example applications you gave above use the "state based decoding" algorithm (https://www.ibm.com/docs/en/qsip/7.4?topic=monitoring-application-identification) which looks for particular patterns inside the payload to determine whether the traffic is of a certain application type. In the case of your examples, the algorithm is looking for known malware domains inside the payload - so typically 64 bytes should be enough, as long as the domain did appear in those 64 bytes. I will note however that the SBD algorithm is only used if the "Application signatures", "User port-based mapping", "Flow exporter" and "ICMP protocol mapping" algorithms cannot determine the application of the traffic first. The other thing worth noting is that the domains that the SBD algorithm is looking for are quite old, so it's much more likely that a tool like QNI would be able to give you a much more reliable indication of malicious applications in your environment.

    Hope that helps!



    ------------------------------
    Holly Wright
    ------------------------------



  • 3.  RE: Application detection algorithm (Web.Malware)

    Posted Thu February 24, 2022 03:39 AM
    Hello Holly,
    Thank you very much for your answer. But there is one more question: how does Qradar check the domains extracted from the payload? Is this the reputation base of X-Force or some other? Are there any kits or reports where I can find domains in categories such as blacklist, fast flux, SQL injection domains? The point is that I would like to test the rules.
    Thanks!

    ------------------------------
    Aleksey Zhorov
    ------------------------------



  • 4.  RE: Application detection algorithm (Web.Malware)

    Posted Thu February 24, 2022 06:53 PM

    Hi Aleksey, 

    The SBD algorithm uses a hardcoded list of about 20000 known malicious domains from about ~10 years ago - I don't know exactly where this list came from but likely a public disclosure of some kind way back then. As a result, it is relatively unlikely that the application types you have listed above will be set - both because there are other application algorithms that are more likely to get a match first (the signatures algorithm in particular) and because a lot of the domains in this file are unlikely to be in use anymore since they are so old. If you want up to date malicious domain detection I would recommend you use QNI to extract domain names and then an application like DNS Analyser to get much more accurate malicious domain analysis driven from X-Force insights and DNS Analyser algorithms.



    ------------------------------
    Holly Wright
    ------------------------------



  • 5.  RE: Application detection algorithm (Web.Malware)

    Posted Fri February 25, 2022 02:39 AM
    Hi Holly,

    Your answers have been very helpful.
    Thanks!

    ------------------------------
    Aleksey Zhorov
    ------------------------------