The invention relates to a coating agent for spray coating an object with at least one alkylsilane used for creating a hydrophobic and/or oleophobic coating and additives used for facilitating application. The alkylsilane is provided at a concentration of less than 10 percent while the additives comprise a solvent and/or a diluted solvent which is selected at a low viscosity such that the coating agent can be sprayed in droplets having an average diameter of less than 100 µm, preferably less than 50 µm.