
Description
- package : tis-disable-vu906424
- version : 1.0-1
- architecture : all
- categories :
- maintainer : Tranquil IT - Alexandre Gauvrit
- description : Deny write access on C:\Windows\Tasks - VU906424
- locale :
- target_os :
- min_wapt_version :
- sources : https://www.cert.ssi.gouv.fr/alerte/CERTFR-2018-ALE-009/
- installed_size :
- impacted_process :
- description_fr : Interdit l'ecriture dans C:\Windows\Tasks - VU906424
- description_pl :
- description_de :
- description_es :
- description_pt :
- description_it :
- description_nl :
- description_ru :
- editor :
- licence :
- signature_date : 2020-02-27T21:29:45.755942
Setup.py
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
print(r'Deny write on C:\Windows\Tasks')
run(r'"echo" y | "cacls" C:\Windows\Tasks /S:"D:PAI(D;OICI;DCLC;;;WD)(A;;0x1200ab;;;AU)(A;;FA;;;BA)(A;OICIIO;GA;;;BA)(A;;FA;;;SY)(A;OICIIO;GA;;;SY)(A;OICIIO;GA;;;CO)"')
print('Waiting for Microsoft to patch...')
print('Uninstall that package to set default rights on C:\Windows\Tasks')
def uninstall():
print(r'Allow write on C:\Windows\Tasks')
run(r'"echo" y | "cacls" c:\Windows\Tasks /S:"D:PAI(A;;0x1200ab;;;AU)(A;;FA;;;BA)(A;OICIIO;GA;;;BA)(A;;FA;;;SY)(A;OICIIO;GA;;;SY)(A;OICIIO;GA;;;CO)"')