IBM QRadar

IBM QRadar

Join this online topic 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.


#Security
#QRadar
#SecuringhybridcloudandAI
 View Only
  • 1.  Please, help to write XPATH to AD FS/Admin

    Posted 12/09/19 11:40 AM


    Thank you.


    ------------------------------
    Vadim Novikov
    SOC Engineer
    IT-Specialist
    Kiev
    +380972970792
    ------------------------------


  • 2.  RE: Please, help to write XPATH to AD FS/Admin

    Posted 12/10/19 03:34 AM

    This does not work:

    <QueryList>
    <Query Id="0" Path="AD FS/Admin">
    <Select Path="AD FS/Admin">*</Select>
    </Query>
    </QueryList>



    ------------------------------
    Vadim Novikov
    SOC Engineer
    IT-Specialist
    Kiev
    +380972970792
    ------------------------------



  • 3.  RE: Please, help to write XPATH to AD FS/Admin

    Posted 12/11/19 02:37 AM
    ​Hi

    You can check path when You doo properties on that log on windows machine

    You have to put full path - example

    <QueryList>
    <Query Id="0" Path="Microsoft-Windows-Authentication/ProtectedUserSuccesses-DomainController">
    <Select Path="Microsoft-Windows-Authentication/ProtectedUserSuccesses-DomainController">*</Select>
    </Query>
    </QueryList>

    regards

    ------------------------------
    Vedran Goricki
    ------------------------------



  • 4.  RE: Please, help to write XPATH to AD FS/Admin

    Posted 03/04/20 08:14 AM

    Hi,

    Do you have a working one? I need the exact same query :)

    Thanks
    L:



    ------------------------------
    Laszlo Pal
    ------------------------------



  • 5.  RE: Please, help to write XPATH to AD FS/Admin

    Posted 03/04/20 08:49 AM
    Hi 
    Sorry don't have AD FS 

    I can put example for DNS Server




    On the last pic You get exact path which You need to Copy to Log Source.
    On Log Activity Tab check Log Source from that Log Source Event name - unknown there is possibility that Logs are not parsed  
    I know i did the same thing for TerminalService-RemoteConnectionManager Logs from Windows and Logs are getting Event name Unknown. Qradar does not know that events.
    If You have the agent installed on that server You can do restart service. Check the wincollect.log if there is Query open for the AD FS or there is an error. If You using User and pass check for access denied errors 

    My Example for terminal connections from wincollect.log:

     Created new query 1: <QueryList><Query Id="1" Path="Security"><Select Path="Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational">*[System[(Level=4 or Level=0) and (EventID=1149)]] </Select></Query></QueryList>

    Hope it helps

    Regards

    Vedran

    ------------------------------
    Vedran Goricki
    ------------------------------



  • 6.  RE: Please, help to write XPATH to AD FS/Admin

    Posted 03/04/20 10:28 AM
    Yes, I've got this query for my events

    <QueryList>
    <Query Id="0" Path="AD FS/Admin">
    <Select Path="AD FS/Admin">*</Select>
    </Query>
    </QueryList>

    There is no error in wincollect.log, but no events got from this path... In event viewer I can see lots of events


    ------------------------------
    Laszlo Pal
    ------------------------------



  • 7.  RE: Please, help to write XPATH to AD FS/Admin

    Posted 03/04/20 11:36 AM
    Hi,

    It seems the xpath query is fine, but for proper logging WAP / ADFS some additional Windows config is needed :)

    https://social.technet.microsoft.com/Forums/windowsserver/en-US/d3feeeac-bbc9-4acd-a382-5d6bd92112a5/adfs-wap-and-logging

     Thanks anyway
    Laszlo



    ------------------------------
    Laszlo Pal
    ------------------------------



  • 8.  RE: Please, help to write XPATH to AD FS/Admin

    Posted 12/07/24 07:14 AM
    Edited by Adam K 12/16/24 05:42 AM

    Hi Laszlo, Thanks for pointing that out and sharing the resource-it's super helpful! I'll check the web for additional configurations if needed.



    ------------------------------
    Adam K
    ------------------------------