Endopeptidases function by recognizing specific peptide bonds in a substrate protein. They utilize a catalytic mechanism that often involves a triad of amino acids (typically serine, histidine, and aspartate) in the active site. This catalytic triad aids in the nucleophilic attack on the peptide bond, leading to its cleavage.