1. A method for emulating at least one resource in a host computer to a querying hosted code, comprising: monitoring a plurality of operating system (OS) queries received from a plurality of code executed on a monitored computing unit, said plurality of OS queries are designated to an OS of said monitored computing unit; detecting among said plurality of OS queries at least one query for receiving at least one characteristic of at least one resource of said monitored computing unit among said plurality of OS queries, said at least one query is received from querying code of said plurality of code; preparing a response of said OS to said at least one query, said response comprising a false indication at least one false characteristic of said at least one resource; and sending said response to said querying code in response to said at least one query.