Penal Code:

Article 143bis: Unauthorized access to data processing system.

Anyone, who without authorization, and without the intent of procuring an unlawful gain, accesses a data processing system which are specially protected against unauthorized access, by electronic devices, shall be sentenced to imprisonment or fines.

Article 144bis: Damage to data

1. Anyone, who without authorization alters, erases, or renders useless data which is stored or transferred by electronic or similar means, shall be punished by imprisonment for a term of up to three years or a fine of up to forty thousand Swiss francs if a complaint is made.

If the offender has caused serious damage, a sentence of five years penal servitude can be imposed. The offence shall be prosecuted ex officio.

2. Any person who produces, imports, circulates, promotes, offers or otherwise makes available programs, which he/she knows, or ought to assume, are to be used for purposes of committing an offence mentioned in paragraph 1 above, or gives instructions for the production of such programs, shall be punished by imprisonment for a term of up to three years or a fine of up to forty thousand Swiss francs.

If the offender commits the offence on a habitual basis for profit, a sentence of up to five years penal servitude can be imposed.