SimpleWindowsHardening

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
ashledombos
Messages: 2
Registration: July 5, 2020 - 1:13 AM

July 7, 2020 - 11:55 AM

Hello,

this is my first post here, but I'm a fairly long-time WAPT user (I was fortunate enough to receive training from Tranqui IT, among others).

For a FabLab, which involves installing packages but allowing a certain degree of autonomy, I'd like to deploy the open-source software SimpleWindowsHardeningand grant access to the executable to the local administrator, who needs a degree of autonomy.

The principle of this executable is that when launched, it activates SRPs and restrictions by default and displays a window with activation and configuration buttons.

I'd like to create a WAPT package that leaves a copy of the executable on the local disk (that part is working), launches the executable (that part is working), and closes the window (I haven't been able to get that part right).

Indeed, the Python script is waiting for the process to close (I also tried launching it via a background batch file with start.exe, then running taskkill), and I don't know how to get it to proceed. At best, I get a timeout, but I only get an error code 3, and the package is considered uninstalled (I haven't been able to get the error code to work).
Do you have any suggestions?

----
WAPT 1.8 on Debian Buster, Client machines on Windows 10
Last edited by ashledombos on 07 Jul 2020 - 12:00, edited 1 time.
ashledombos
Messages: 2
Registration: July 5, 2020 - 1:13 AM

July 7, 2020 - 11:59

Just a few additional details: SimpleWindowsHardener is a module derived from Hard_Configurator , which is more comprehensive and complex.

For those interested, the SWH manual is here, and the discussion thread started by its author is here.
nliaudat
Messages: 29
Registration: August 8, 2019 - 8:31 AM

July 8, 2020 - 3:46 PM

Try using:

run('xxxxx',accept_returncodes=[0, 3]) or
run_notfatal('xxx')
nliaudat
Messages: 29
Registration: August 8, 2019 - 8:31 AM

July 8, 2020 - 4:36 PM

However, I recommend installing a Samba4 domain controller and using Group Policy Objects (GPOs) to secure user access to your machines.
Some NAS devices offer all these features natively.

Alternatively, for machines with public access, there's a kiosk mode available on Windows 10.
I advise against using third-party software to secure your workstations.

For a fab lab, most of the necessary software works perfectly on Unix. That's also a good option.
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

July 8, 2020 - 6:38 PM

nliaudat wrote: July 8, 2020 - 4:36 PM ...
For a fab lab, most of the necessary software works perfectly on Unix. It's also a good option
In addition, the WAPT agent for Linux works very well now. :-)
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Locked