A semiconductor/metal nanocomposite is composed of a porosified silicon wafer and embedded ferromagnetic nanostructures. The obtained hybrid system possesses the electronic properties of silicon together with the magnetic properties of the incorporated ferromagnetic metal. On the one hand, a transition metal is electrochemically deposited from a metal salt solution into the nanostructured silicon skeleton, on the other hand magnetic particles of a few nanometres in size, fabricated in solution, are incorporated by immersion. The electrochemically deposited nanostructures can be tuned in size, shape and their spatial distribution by the process parameters, and thus specimens with desired ferromagnetic properties can be fabricated. Using magnetite nanoparticles for infiltration into porous silicon is of interest not only because of the magnetic properties of the composite material due to the possible modification of the ferromagnetic/superparamagnetic transition but also because of the biocompatibility of the system caused by the low toxicity of both materials. Thus, it is a promising candidate for biomedical applications as drug delivery or biomedical targeting.