In this work, a multispectral aptasensor structure, including a sub-layer and two side walls, was presented. The cells are positioned at the down and top of the structure, with the down cells oriented perpendicular to the walls and the top cells aligned parallel to the walls. The validity of the findings was verified by the utilization of a numerical simulation technique known as 3D Finite Difference Time Domain (FDTD). The biosensor under consideration exhibits sensitivities of 1093.7 nm/RIU, 754 nm/RIU, and 707.43 nm/RIU in mode III, mode II, and mode I, respectively. In the majority of instances, the quantity of analyte available is insufficient to coat the surface of the sensor thoroughly. Consequently, in this study, the evaluation of surface sensitivity was undertaken alongside bulk sensitivity. The surface sensitivity of the suggested structure for mode II in the sensor layer, with thicknesses of 10, 20, 30, and 70 nm, is measured to be 25, 78, 344, and 717.636 nm/RIU, respectively. Our design incorporates a unique arrangement of sub-layer and side walls, with cells positioned to maximize interaction with the target analyte. This innovative configuration, combined with Ag for its superior plasmonic properties, enables the detection of E. coli O157 with remarkable sensitivity.