Abstract.A metallic wire embedded in the dielectric substrate leads to frustration of the total internal reflection at the interface between dielectric and free space. The scattering by a gold cylinder is studied in order to exploit the light for hidden objects optical diagnostics. The p-wave incidenting by the angle close to total reflection with the frequency near plasmonic resonance is treated by the modified boundary elements method. The magnetic and electric fields at the interface are calculated. The scattering diagrams are found in near and far field.The scattering of evanescent wave by particles is important elementary process of nearfield optics [1,2]. It is a particularly promising method in near-field scanning microscopy [3][4][5]. The interesting case of metallic particle embedded in dielectric half-space has a number of specific technical applications, for instance, the tomographic reconstruction of hidden scatterer, see [6] and references therein. As distinct from a running wave, the evanescent wave is not a limited solution of Maxwell equations in the whole space. That is why its scattering should be considered along with its source, in our problem the dielectric half-space with incident and reflecting waves. For calculation we exploit the modified boundary elements method (BEM) [7]. The feature of modified BEM is the special Green function exactly taking into account the layered medium (free and dielectric half-spaces). The substitution of Green function makes it possible to use the same numerical scheme as for a running wave. The discretization of infinite boundary is not necessary. Multiple scattering and reflections are accounted automatically. Moreover, the modified BEM has a number of advantages compared to other common methods based on the finite differences or finite elements. BEM reduces the problem to calculation of field at the boundary, then decrements, in fact, the dimension of problem. In our case two-dimension problem reduces to one-dimension boundary integral equations.In previous work [7,8] the object is located on the substrate. In present paper the scatterer hidden inside the dielectric is considered. The object is illuminated by the incident wave near the angle close to total internal reflection (TIR). In this case TIR is frustrated by the scattering and strongly depends on the scatterer parameters. The goal is to study the angular diagram of scattering.The p-wave is considered where the magnetic field has one component along the axis of cylinder. The calculations are performed for gold cylinder with radius 150, 100, 75, 50 nm