Context : A significant number of cataclysmic variables were detected as hard X-ray sources in the INTEGRAL survey , most of them of the magnetic intermediate polar type . Aims : We present a detailed X-ray broad-band study of two new sources , IGR J00234+6141 and 1RXS J213344.1+510725 , that allow us to classify them as secure members of the intermediate polar class . Methods : Timing and spectral analysis of IGR J00234+6141 are based on a XMM-Newton observation and INTEGRAL publicly available data . For 1RXS J213344.1+510725 we use XMM-Newton and Suzaku observations at different epochs , as well as INTEGRAL publicly available data . Results : We determine a spin period of 561.64 \pm 0.56 s for the white dwarf in IGR J00234+6141 . The X-ray pulses are observed up to \sim 2 keV . From XMM-Newton and Suzaku observations of 1RXS J213344.1+510725 , we find a rotational period of 570.862 \pm 0.034 s. The observations span three epochs where the pulsation is observed to change at different energies both in amplitude and shape . In both objects , the spectral analysis spanned over a wide energy range , from 0.3 to 100 keV , shows the presence of multiple emission components absorbed by dense material . The X-ray spectrum of IGR J00234+6141 is consistent with a multi-temperature plasma with a maximum temperature of \sim 50 keV . In 1RXS J213344.1+510725 , multiple optically thin components are inferred , as well as an optically thick ( blackbody ) soft X-ray emission with a temperature of \sim 100 eV . This latter adds 1RXS J213344.1+510725 to the growing group of soft X-ray intermediate polars . Conclusions : These two intermediate polars , though showing similar rotational periods and being hard X-ray sources , appear different in several respects , among which the presence of a soft X-ray component in 1RXS J213344.1+510725 . This source also emits circularly polarized light in the optical band , thus joining as a fifth member the group of soft and polarized intermediate polars . How the hard X-ray and polarized emission are thermalized in these systems is a timely question .