Despite the exceptional optoelectronic characteristics of perovskite nanocrystals (NCs), the materials' potential applications are primarily limited by their instability arising from the ionic nature of the CsPbX3 (X=Cl, Br and I) lattice, low formation energy and spontaneous ion exchange. Herein, we introduce a facile and effective in-situ growing strategy to prepare extremely stable composites (abbr. CsPbX3@CA-SiO2) by anchoring CsPbX3 NCs onto silica nanowires (NWs), which effectively depresses the optical degradation of their photoluminescence (PL) and enhances stability. The serpentine silica NWs, with tunable lengths of up to 8 μm, are prepared by anisotropic sol-gel growth of hydrolyzed tetraethylorthosilicate (TEOS) with 3aminopropyltriethoxysilane (APTES) and trimethoxy(octadecyl)silane (TMODS) in a water/oil emulsion. The free amino groups are employed as surface ligands for growing perovskite NCs, yielding distributed monodisperse NCs (~8 nm) around the NW matrix. The emission wavelength is tunable by simple variation of the halide compositions (CsPbX3, X=Cl, Br or I) and the composites demonstrate a high photoluminescence quantum yield (PLQY 32-69%). Additionally, we have demonstrated the composites CsPbX3@CA-SiO2 can be self-woven to form a porous 3D hierarchical NWs membrane, giving rise to a superhydrophobic surface with hierarchical micro/nano structural features. Most importantly, the resulting composites exhibit remarkable chemical stability towards water, and much enhanced photostability and thermal stability. This work presents an effective strategy to incorporate perovskite NCs onto functional matrices as multifunctional stable light sources.