Direct solid phase synthesis of peptides and oligonucleotides (ONs) requires high chemical stability of the support material. In this work, we have investigated the passivation ability of porous oxidized silicon multilayered structures by two aminosilane compounds, 3-aminopropyltriethoxysilane and 3-aminopropyldimethylethoxysilane (APDMES), for optical label-free ON biosensor fabrication. We have also studied by spectroscopic reflectometry the hybridization between a 13 bases ON, directly grown on the aminosilane modified porous oxidized silicon by in situ synthesis, and its complementary sequence. Even if the results show that both devices are stable to the chemicals (carbonate/methanol) used, the porous silica structure passivated by APDMES reveals higher functionalization degree due to less steric hindrance of pores.