IBM Security Z Security

Security for Z

Join this online user group to communicate across Z 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.  zSecure Alert & Sensitive Resources puzzle

    Posted 2 days ago

    zSecure Alert was configured to send alerts when anyone accessed SYS.ZSE.SENSITIV.RESOURCE dataset.

    Due to some reasons I moved all zSecure operational datasets to new prefix, lets's say ZSECUR.**

    And now the sensitive dataset is named ZSECUR.DATA.SENSITIV.RESOURCE. 

    However zSecure does NOT raise any alert when I access the dataset (with new name) . 

    It still works with the old name. I removed the old name from SENSRSRC and put it again. 

    I tried several tricks but none worked. 

    It is not matter of user's authority. 

    It is not matter of DFSMS-managed or not. 

    It is not matter of syntax error in SENSRSRC or order of entries. 

    Of course the policy was changed and refresh was done.

    zSecure 3.1 

    Any clue? 



    ------------------------------
    Radosław Skorupka
    ------------------------------


  • 2.  RE: zSecure Alert & Sensitive Resources puzzle

    Posted 2 days ago

    Hi Radoslaw,

    Is the alert you are using based on SMF? If so, are SMF records being logged for this resource name or might it be a difference in the covering profiles' log settings?

    Regards,



    ------------------------------
    Jeroen Tiggelman
    IBM - Software Development Manager IBM zSecure
    Delft
    ------------------------------



  • 3.  RE: zSecure Alert & Sensitive Resources puzzle

    Posted 2 days ago

    Hi Jeroen, 

    I have to admit I don't understand the relationship to SMF. 

    Let me explain my setup again: 

    There is hlq.some.C2PCUST library

    There is a member SENSRSRC

    The content looks like the following: 

    SIMULATE CLASS=DATASET ACCESS=READ,           
    SENSITIVITY=Site-Dsn-R,                       
    RESOURCE=SYS1.ZSE.SENSITIV.RESOURCE

    SIMULATE CLASS=DATASET ACCESS=READ,           
    SENSITIVITY=Site-Dsn-R,                       
    RESOURCE=ZSECUR.DATA.SENSITIV.RESOURCE

    Both datasets are protected with generic RACFprofiles like ZSECUR.** and SYS1.ZSE.**  

    Userid accessing the datasets has ALTER to both profiles. 

    SMF settings are quite typical, RACF records are being collected, however both profiles mentioned above have AUDIT(FAILURE(READ)) setting (which is default) and there are no SMF80 records cut in that scenario. 

    However when I touch SYS1 dataset an alert is sent. But when I touch ZSECUR dataset there is no alert. I also tried OMVS.TEST dataset, just to use master-cataloged entry - no alert. ZSECUR datasets are cataloged in user catalog. 

    I cannot guess why the old entry or  slightly renamed old entry (SYS1.ZSE.SENSITIV.RESOURC2) is being monitored, but any other are not. 

    Regards



    ------------------------------
    Radosław Skorupka
    ------------------------------



  • 4.  RE: zSecure Alert & Sensitive Resources puzzle

    Posted 2 days ago

    Hi Radoslaw,

    It might be easier to understand your scenario if you explained which alert you were talking about.

    Most alerts are SMF-based, including ones that are for sensitive data sets, but not all.

    Regards,



    ------------------------------
    Jeroen Tiggelman
    IBM - Software Development Manager IBM zSecure
    Delft
    ------------------------------



  • 5.  RE: zSecure Alert & Sensitive Resources puzzle

    Posted 2 days ago

    Well, actually it is none of the alerts selected/configure via S action character. 

    I mean the following:

    In other words: zSecure ISPF panels, option SE.A.S

    First entry on the list means SENSRSRC member edit. When updated, a message appers saying I need to perform Refresh. 

    The content of the SENSRSRC is straightforward: 

    (note, both pictures are taken from Alert manual, page 27)

    note2: no other SENS* members were customized

    no custom-defined alerts. Just bunch of predefined alerts are selected. I can provide the list, but I believe there is nothing related to the issue there. 

    Regards



    ------------------------------
    Radosław Skorupka
    ------------------------------



  • 6.  RE: zSecure Alert & Sensitive Resources puzzle

    Posted 2 days ago

    Update: 

    I created zSecure Alert definition from scratch:

    Empty C2PCUST library (only C2PXPARM (empty member), C2POLALC (from SKCRSAMP), C2PEMFRT (allocation for Extended Monitor snapshot CKREEZE's)

    I have even cleared my ISPF profile - deleted zSecure-related members. 

    Then I created whole configuration from scratch by reading panels from other system and typing it manually.

    Same set of alerts, same mail file content, same fields on first panel (B).

    Restarted C2POLICE with new PPARM.

    Then edited SENSRSRC member using SE.A.S panel. Then refreshed configuration.

    And... still the same problem! That means touching SYS1....SENSITIV causes alert, but teaching ZSECUR....SENSITIV is ignored. 

    Regards



    ------------------------------
    Radosław Skorupka
    ------------------------------



  • 7.  RE: zSecure Alert & Sensitive Resources puzzle

    Posted 2 days ago

    Yet antoher update:

    It seems I solved the puzzle.

    I checked again audit setttings for the dataset profiles covering both "sensitiv" datasets.

    SYS1....SENSITIVE has AUDIT(ALL(READ)) !

    So, I set same setting for ZSECUR....SENSITIV and now it works. 

    Is it undocumented or I missed relevant section again? 

    Last but not least: THANK YOU for the help!

    Regards

     



    ------------------------------
    Radosław Skorupka
    ------------------------------



  • 8.  RE: zSecure Alert & Sensitive Resources puzzle

    Posted yesterday

    Hi Radoslaw,

    The second paragraph of the documentation for alert 1212 is:
    "To generate this alert, RACF® successful read and update access must be recorded. This is the case if either AUDIT(success(read)) or GLOBALAUDIT(success(read)) is specified for the relevant profiles. When you change the audit settings for a profile, ensure that failure auditing is also set as intended."

    https://www.ibm.com/docs/en/szs/3.2.0?topic=alerts-accessread-site-sensitive-data-set-1212

    Regards,



    ------------------------------
    Jeroen Tiggelman
    IBM - Software Development Manager IBM zSecure
    Delft
    ------------------------------



  • 9.  RE: zSecure Alert & Sensitive Resources puzzle

    Posted yesterday

    Hi Radoslaw,

    I think SE.A.S rather clearly documents which of the predefined alerts use those configurations:
    https://www.ibm.com/docs/en/szs/3.2.0?topic=configuration-sensitive-resources-user-ids-groups-seas

    You should really think of an alert for access to sensitive data set access from a technical perspective as an alert for a data set access, only issued when the data set is considered sensitive. The configuration lets you specify which data sets you think should be treated as sensitive. 

    The trigger is a regular SMF access record.

    Since we are talking about read access to site-sensitive data sets, I would say that primarily matches alert 1212.
    (1213 and 1214 are for UPDATE, 1204 is for APF data sets)

    Regards, 



    ------------------------------
    Jeroen Tiggelman
    IBM - Software Development Manager IBM zSecure
    Delft
    ------------------------------



  • 10.  RE: zSecure Alert & Sensitive Resources puzzle

    Posted 23 hours ago

    Hi Jeroen,

    Thank you for the explanations. Now I understand the SE.A.S option. It works as an add-on to the alerts. And indeed the alert documentation clearly says about AUDIT(ALL(R)) (I simplified it for brevity). In fact this alert was almost inactive with the exception for "sample" dataset defined in SENSRSRC member. 

    To be honest I inherited the zSecure administration with all the configuration shortcommings and puzzles, so sometimes I don't know all the details and reasons for such setup. 

    Thank you again for clarification.

    Regards



    ------------------------------
    Radosław Skorupka
    ------------------------------