Biosurfactants are a diverse group of compounds derived from microorganisms, possessing various structures and applications. The current study was seeking to isolate and identify a new biosurfactant-producing fungus from soil contaminated with petrochemical waste. The bioprocess conditions were optimized to maximize biosurfactant production for Aspergillus carneus OQ152507 using a glucose peptone culture medium with a pH of 7.0 and a temperature of 35 °C. The carbon source was glucose (3%), and ammonium sulfate (0.25%) was utilized as the nitrogen source. For Aspergillus niger OQ195934, the optimized conditions involved a starch nitrate culture medium with a pH of 7.0 and a temperature of 30 °C. The carbon source used was sucrose (3.5%), and ammonium sulfate (0.25%) served as the nitrogen source. The phenol-H2SO4 and phosphate tests showed that the biosurfactants that were extracted did contain glycolipid and/or phospholipid molecules. They showed considerable antimicrobial activity against certain microbes. The obtained biosurfactants increased the solubility of tested polyaromatic hydrocarbons, including fluoranthene, pyrene, anthracene, and fluorine, and successfully removed the lubricating oil from contaminated soil and aqueous media surface tension reduction. Based on the obtained results, A. carneus and A. niger biosurfactants could be potential candidates for environmental oil remediation processes.