IBM Guardium

IBM Guardium

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.  How can I alert GRANT DBA command?

    Posted Wed August 26, 2020 01:50 PM
    Hello all,

    I was requested for an alert in IBM Guardium (11) when a user granted a dba privilegies to a user. I made a rule with command criteria for a group inside of it a GRANT DBA, but the rule doesn't match. I think that the criteria search for GRANT as command pure not the argument (dba). The rol that we need monitor is dba only. Any knows how do it?

    Regards,

    ------------------------------
    Carlos Espinoza Chandia
    ------------------------------


  • 2.  RE: How can I alert GRANT DBA command?

    Posted Thu August 27, 2020 01:52 AM
    Hi Carlos,

    I would suggest you to try below policy change

    1. Create one group with GROUP TYPE is commands and add command as GRANT, Create , Delete etc as group member of that group.
    1. Create access rule in data security policy as name DCL user management
    3. Select "SQL criteria" as command and  and add condition "In Group" from group created in step 1. Select the action rule as your requirement as alert per match.

    4. Reinstall the policy and restart inspection engines. 



    ------------------------------
    Sachin Shende
    Security Consultant
    IBM
    +91-9561-650-383
    ------------------------------



  • 3.  RE: How can I alert GRANT DBA command?

    Posted Thu August 27, 2020 10:36 AM
    Hi Sachin,

    Thank you for your answer. I did it this, but the rule doesn't match, I think this is because the Rule search for command only (in this case for GRANT) but the argument isn't compared, the command that I search if the user typed or use a tool that made a sql sentence, like this:

    GRANT dba TO sshende;

    I need alerter when the command in blue is executed. The user must be appears in the SYSLOG message. I see the group GRANT thats come inbuilt, the command comes as GRANT only.

    Regards

    ------------------------------
    Carlos Espinoza Chandia
    ------------------------------



  • 4.  RE: How can I alert GRANT DBA command?

    Posted Fri August 28, 2020 01:00 PM
    Carlos,  this is a thought, I have not tried it out.   1) Capture all GRANT SQL Commands with "Log Full Details' to capture Full SQL,  Next review, and see if you can create a "Selective Audit" alert with the exact information that you are looking for if you are able to capture it.

    ------------------------------
    Frederic Delos
    Data Protection Engineer, Global Security Fusion Center
    Data Protection Services – Technical Lead  Data Activity Monitoring and Response
    Allstate Insurance Company
    ------------------------------



  • 5.  RE: How can I alert GRANT DBA command?
    Best Answer

    Posted Fri August 28, 2020 01:00 PM
      |   view attached
    Hello Carlos,

    If alerting on all GRANTs is not acceptable.  You can use the PATTERN criteria to be more specific.  Please see the attached file for screen shots of the rule definition and a report showing the alert to syslog.  Please contact me if you would like to walk through the process via webex.

    ------------------------------
    BERN LORD
    ------------------------------

    Attachment(s)

    docx
    Alert-on-DBADM.docx   64 KB 1 version


  • 6.  RE: How can I alert GRANT DBA command?

    Posted Wed September 09, 2020 11:38 AM
    Ben,

    Thank you, I followed your suggestion and finally I put the Pattern as:

    GRANT ["DBA"] *

    Thats works.


    ------------------------------
    Carlos Espinoza Chandia
    ------------------------------



  • 7.  RE: How can I alert GRANT DBA command?

    Posted Thu September 03, 2020 09:33 AM
    Also be advised that if you have any session based ignore rules these will likely get triggered before the GRANT command is executed, meaning the GRANT may not be seen by Guardium. This will depend on if you have ignored a user who has the ability to GRANT dba.

    ------------------------------
    Chase Walkup
    ------------------------------