Configure Windows and Linux with Single Salt Module

If OS is Windows, the path is ‘C:\tero’. If OS is Linux, the path is ‘/tmp/tero’. You can use conditionals to create Salt modules that work in multiple operating systems.

Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment

Automatically Provision Vagrant Virtual Machines as Salt Slaves

Create a new, fully configured virtual computer in less than a minute. Keep configuration in version control. Manage trough configuration management system.
Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Use "PCnet-Fast III" Network Adapter in VirtualBox – Prevent virtualbox_e1000_0day Attack

Use “PCnet-Fast III” network adapter in VirtualBox to prevent guest-to-host attack.

MorteNoir1 published a guest-to-host escape from Virtualbox as a zero day attack. He named it virtualbox_e1000_0day. It seems that you can easily protect against the attack by using a virtual network card other than the default e1000.
Update: Windows 10 guests don’t seem to support PCnet-Fast III. Using any virtual network adapter other than e1000 could mitigate the attack.

Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , | Leave a comment

F5 to Execute Your Program from Gedit – From Go to Python – Gedit External Tools


Gedit editor can run any command or script for you. Even though Gedit looks very simple, it’s easy to integrate Gedit to your own toolchains.

Here is a simple script to execute your program by pressing F5. The script handles differences between compiled languages (go) and scripts (Python). It’s also a starting point for building your own scripts.

Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , | Leave a comment

Aikataulu – Palvelinten hallinta ict4tn022 3004-ti ja 3002-to – loppukevät 2018 5p

My student Jussi controls 2071 computers.

Just write what you want (idempotency). Control almost everything with one system (single source of truth). In plain text (infrastructure as code, versionable).
Control 10 computers. Or 100. Or 1000. Or control 2071 computers, like Jussi did on a previous course. Or handle 7 different operating systems and OS versions with a single master, like Matias. Course is in Finnish.
Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , , | 125 Comments

Cleaning Up Sneaky JavaScript

Software can phone home. A lot of software “forgets” some Javascript and fonts on HTML pages inside the desktop program to do this. These are some notes about cleaning up Zeal, an “offline” documentation browser.

Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

Arvioitava laboratorioharjoitus – Linux palvelimet ict4tn021-3003 – to 8-14 – alkusyksy 2018p1 – 5 op

This is the evaluated lab exercise for Linux Server Administration course, 50% of grade. Student had a Live USB stick and an empty computer, and he could use the public Internet. No other tools were allowed. In Finnish.
Feedback average was excellent 4.8 out of 5. Thank you! More feedback on course page.

Continue reading

Posted in Uncategorized | Tagged , , , , , | 4 Comments

Kali as Salt Slave – install salt-minion from upstream

Salt is a configuration management system. With Salt, you can control thousands of computers.
Kali Linux does not have salt-minion in the default repositories, so you have to install it from upstream.
Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Arvioitava laboratorioharjoitus – Tunkeutumistestaus ict4tn027-3001 – Autumn 2018 – period 1 – 5 op

This is the evaluated final exercise of my penetration testing course. Five and half hours to break into targets + a little OSINT task. In Finnish.
Course is complete. Feedback average was excellent, 4.9 out of 5.0. Thank you! More feedback on course page.


Continue reading

Posted in Uncategorized | 3 Comments

Identity Management Systems Compared

IdM comparison by Markus, Jan and Eetu



One user account, multiple systems. Identity Management (IdM) systems put users in one place. The same user can then login intranet, SSH to Linux and read his email.
My students Markus, Jan, Eetu have compared Free IdM software (in Finnish). After the initial screening, they find Midpoint and Apache Syncope most promising. Next, they will start actual tests.

OpenSourceIdm blog

https://opensourceidm.wordpress.com/2018/10/03/avoimen-lahdekoodin-idm-jarjestelman-vertailu-7-7/#post-111
Posted in Uncategorized | Tagged , , , , , , , , , , , , , | Leave a comment