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.  Demonstrate that CKNSERVE is using at least TLS1.2

    Posted Wed November 27, 2024 10:46 AM

    The title says it all. 
    Security architects would like some evidence that CKNSERVE is using at least TLS 1.2 (or even TLS 1.3)
    I can show them the AT-TLS definitions and the certificates, but is there some far easier more obvious way?
    Lennie



    ------------------------------
    Lennie Dymoke-Bradshaw
    Director
    Reverse Sweep Consulting Limited
    BUSHEY
    07504304158
    ------------------------------


  • 2.  RE: Demonstrate that CKNSERVE is using at least TLS1.2

    Posted Thu November 28, 2024 03:33 AM

    Hi Lennie,

    Comms Server IP provides the Application Transparent - Transport Layer Security (AT-TLS) function that CKNSERVE takes advantage of, and it also provides z/OS Encryption Readiness Technology (zERT) "that provides information about the cryptographic network protection state of TCP and Enterprise Extender connections terminating on a z/OS system."

    When zERT detail is enabled and a CKNSERVE connection terminates or initiates you will see SMF 119-11 records, which zSecure Audit can format, and the summary information looks something like this:

    28Nov24 02:55:59.66 Connection termination TLSv1.2 AES-CBC-256 server RSA-2048 client RSA-2048 124/124 bytes inbound/outbound ......
    28Nov24 02:56:25.06 Connection initiation TLSv1.2 AES-CBC-256 server RSA-2048 client RSA-2048 .....

    zERT also provides an aggregation function which then produces SMF 119-12 summary records.

    Regards,



    ------------------------------
    Mike Riches
    ------------------------------



  • 3.  RE: Demonstrate that CKNSERVE is using at least TLS1.2

    Posted Thu November 28, 2024 07:14 AM

    Many thanks Mike. Just what I need. Let's hope they are running zERT!

    Lennie

     






  • 4.  RE: Demonstrate that CKNSERVE is using at least TLS1.2

    Posted Thu November 28, 2024 08:58 AM

    Hi Lennie,

    even if they are not running zERT, depending on the loggin level you should be abel to see in the PAGENT Log (wherever the SYSLOGD it writes) the TLS Level and Cipher Suite (TLSV1.2   C02F or TLSV1.3   1301  0025).  For TLSV1.3 you also get the Key Negotiation Info.



    ------------------------------
    Peter Weigold
    ------------------------------



  • 5.  RE: Demonstrate that CKNSERVE is using at least TLS1.2

    Posted Tue December 03, 2024 06:47 AM

    Peter,

    Thank you for that pointer. I am not an expert in the use of Pagent, although I have managed to configure it for a few products.

    I am looking at a test system (z/OS 3.1) with LOGLEVEL 511 specified and not seeing the log entries you mention. Is it dependent on the TRACE levels specified in the TLS policy?

    Lennie



    ------------------------------
    Lennie Dymoke-Bradshaw
    Director
    Reverse Sweep Consulting Limited
    BUSHEY
    07504304158
    ------------------------------



  • 6.  RE: Demonstrate that CKNSERVE is using at least TLS1.2

    Posted Tue December 03, 2024 08:21 AM

    Hi Lennie,

    yes it requires the right trace level in the TLS policy.  TRACE 15 is what I have configured.



    ------------------------------
    Peter Weigold
    ------------------------------



  • 7.  RE: Demonstrate that CKNSERVE is using at least TLS1.2

    Posted Wed December 04, 2024 05:48 AM

    Peter,

     

    On my home zPDT test system I can now see messages EZD1283I which show the following,

     

    EZD1283I TTLS Event GRPID: 00000003 ENVID: 00000004 CONNID: 00000026  

    RC:    0 Initial Handshake 000000518754A750 00000051875009A0 TLSV1.2  

     002F                                                                 

    Is this the type of message you were referring to? It is presented as a WTO.

    Strangely I have found this message is produced even with TRACE 7. I think there must be some other specification that drives its production. Any ideas?

     

    Lennie

     

     






  • 8.  RE: Demonstrate that CKNSERVE is using at least TLS1.2

    Posted Wed December 04, 2024 08:00 AM

    Hi Lennie,

    I have just checked, the message is an "info" level message and comes when the TRACE is >= 4.  But yes, that is the meassage.  You have the Cipher Suite 002F (TLS_RSA_WITH_AES_128_CBC_SHA) and TLS 1.2.



    ------------------------------
    Peter Weigold
    ------------------------------



  • 9.  RE: Demonstrate that CKNSERVE is using at least TLS1.2

    Posted Wed December 04, 2024 08:14 AM

    Peter,

    https://www.ibm.com/docs/en/zos/3.1.0?topic=messages-ezd1283i

     

    The above states it is a DEBUG level message, but I think you are right.

    I dropped down to TRACE 3 and the message is not produced. If I set TRACE 4 it is produced.

    Lennie