Ultrasonic crack detection is one of the effective non-destructive methods of structural health monitoring (SHM) of buildings and structures. Despite its widespread use, crack detection in porous and heterogeneous composite building materials is an insufficiently studied issue and in practice leads to significant errors of more than 40%. The purpose of this article is to study the processes occurring in ceramic bricks weakened by cracks under ultrasonic exposure and to develop a method for determining the crack depth based on the characteristics of the obtained ultrasonic response. At the first stage, the interaction of the ultrasonic signal with the crack and the features of the pulse propagation process in ceramic bricks were considered using numerical modeling with the ANSYS environment. The FEM model allowed us to identify the characteristic aspects of wave propagation in bricks and compare the solution with the experimental one for the reference sample. Further experimental studies were carried out on ceramic bricks, as the most common elements of buildings and structures. A total of 110 bricks with different properties were selected. The cracks were natural or artificially created and were of varying depth and width. The experimental data showed that the greatest influence on the formation of the signal was exerted by the time parameters of the response: the time when the signal reaches a value of 12 units, the time of reaching the first maximum, the time of reaching the first minimum, and the properties of the material. Based on the regression analysis, a model was obtained that relates the crack depth to the signal parameters and the properties of the material. The error in the predicted values according to this model was approximately 8%, which was significantly more accurate than the existing approach.