<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: alevoski</title>
    <description>The latest articles on DEV Community by alevoski (@alevoski).</description>
    <link>https://dev.to/alevoski</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F341789%2F7c76d857-e1db-44ad-8fca-885123c00a21.png</url>
      <title>DEV Community: alevoski</title>
      <link>https://dev.to/alevoski</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/alevoski"/>
    <language>en</language>
    <item>
      <title>Escape from big tech companies - 1 year away from Microsoft Windows</title>
      <dc:creator>alevoski</dc:creator>
      <pubDate>Sat, 13 Mar 2021 23:30:18 +0000</pubDate>
      <link>https://dev.to/alevoski/escape-from-big-tech-companies-1-year-away-from-microsoft-windows-26ca</link>
      <guid>https://dev.to/alevoski/escape-from-big-tech-companies-1-year-away-from-microsoft-windows-26ca</guid>
      <description>&lt;p&gt;[&lt;strong&gt;This is my first article of a series about escaping "big tech" companies, sometime referred as GAFAM.&lt;br&gt;
My goal is to see if you can efficiently and simply use information and communications technology without the big IT providers like Microsoft, Facebook, Google, Dropbox and Amazon.&lt;br&gt;
What are the alternatives ? Could they be open source ? Are they usable for everyone ? How much does they cost ? Do they respect your privacy ?&lt;br&gt;
I am not the first to write something about this subject and I will not be the last I hope !&lt;/strong&gt;]&lt;/p&gt;

&lt;p&gt;It has been a year since I moved from Windows to Linux for a daily use. In this article I will explain why I did that, what are the benefits and the drawbacks.&lt;/p&gt;

&lt;p&gt;I was a Windows user for several years, remembering the good old days of Windows 95/98 with a touch of nostalgia.&lt;br&gt;
Then it was the XP time for quite long and after a frustrating moment with Vista I stayed with 7 almost 10 years.&lt;/p&gt;

&lt;p&gt;7 was quite an OS, very easy to use as a simple user and also easy to set as an IT guy.&lt;br&gt;
8 then 10 came, I tested them but I was not convinced (you will see later why).&lt;br&gt;
So I directly switched back to 7.&lt;br&gt;
Then, in January 2020, Microsoft eventually dropped support of this great OS.&lt;br&gt;
It means no more security updates ! &lt;strong&gt;I was faced with a dilemma :&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Do I take the risk to stay with a no more patched OS with all the security risk it includes ?&lt;/li&gt;
&lt;li&gt;Do I finally migrate to 10 and suffer at home all the issues I face everyday at work ? (Coincidentally, I am sticked with Windows 10 in my professional life.)&lt;/li&gt;
&lt;li&gt;Do I migrate to Linux and say goodbye forever to Windows ?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One thing was certain, I could not stay with a not updated OS !&lt;br&gt;
Okey, no more 7 but at this state I was not able to make a decision. I needed some more thinking.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why I don't want Windows 10 ?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Very poor update service : 
I don't know anybody who likes to be interrupted in a middle of something and forced to have their computer rebooted for an update !&lt;/li&gt;
&lt;li&gt;Performance :
10 can take many resources in order to run.
And some software like Firefox could eat literally all your RAM if you open more than 10 tabs... I don't want to buy a new computer to stay updated !&lt;/li&gt;
&lt;li&gt;Not very secure :
It is a known fact that the majority of viruses / malware are targeting Windows OS or software Windows version (it depends of course of the usage, I am sure a well managed Windows will not be hacked that easily).&lt;/li&gt;
&lt;li&gt;Not privacy oriented : 
many trackers are installed by default&lt;/li&gt;
&lt;li&gt;Far too fancy : 
I just cannot take the modern interface !&lt;/li&gt;
&lt;li&gt;Too much unnecessary thing by default : 
why all this non needed preinstalled software ? (Cortana, OneDrive and many apps)&lt;/li&gt;
&lt;li&gt;Proprietary : 
I want to use as much as possible open source OS and software&lt;/li&gt;
&lt;li&gt;Compatibility : 
I found after installing 10 on some (not that) old computers that it's simply not usable (loop reboot, freezing screen, etc), like I am beta testing an OS I bought !&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why and how everyday am I using a computer or what is my daily use ?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;To surf the web, enjoying streamed videos and musics, editing office documents, reading/writing emails, chating with my friends including videoconferencing, coding stuffs and virtualizing, backuping some files in the cloud somewhere, sometimes gaming.&lt;/li&gt;
&lt;li&gt;I respect as much as possible security best practices by staying up to date, not installing any kind of software I don't really need, encrypting my system, most of my data and also my passwords.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;More precisely, what kind of software do I use on Windows and what are their equivalents on Linux ?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Web surfing     : there is Firefox or Chrome !&lt;/li&gt;
&lt;li&gt;Cloud clients   : you can find all sort of cloud sync tools (ie rclone), I use Nextcloud and there is a Linux client for it : nice&lt;/li&gt;
&lt;li&gt;Office work     : there is Libre Office and many PDF viewer, Freemind, LateX !&lt;/li&gt;
&lt;li&gt;Coding          : Atom is a very good replacement of Notepad++ and many programming languages are available&lt;/li&gt;
&lt;li&gt;Emails          : there is Thunderbird if I want my emails when I am offline&lt;/li&gt;
&lt;li&gt;IM/Videoconf    : almost all chat services I have ever tested (Skype, Messenger, WhatsApp, Telegram, Signal) have a web version and some have a Linux version&lt;/li&gt;
&lt;li&gt;Video/music     : there is VLC which can read almost all format you want&lt;/li&gt;
&lt;li&gt;Virtualization  : there are many virtualization softwares like KVM, Virtualbox or simply virt-manager.&lt;/li&gt;
&lt;li&gt;Manage remote systems : SSH client (replace putty)&lt;/li&gt;
&lt;li&gt;Files transfert       : scp and tftp and if you want a GUI use Filezilla (replace winscp)&lt;/li&gt;
&lt;li&gt;VPN clients           : many VPN providers have a Linux version of their clients&lt;/li&gt;
&lt;li&gt;Encryption            : You can use Luks to do a full disk encryption (natively), use Vera Crypt to have safe container, KeepassXC to store your passwords&lt;/li&gt;
&lt;li&gt;Games                 : I am not playing as much I used to do but there is a Linux version of Steam and it can run many games very well thanks to the Proton emulator&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At this state of thinking, I knew I could migrate to Linux without regret but one question remained : &lt;strong&gt;what distribution to choose ?&lt;/strong&gt; &lt;br&gt;
I need performance and reliability in an handy system, I tested some Linux OS :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ubuntu    : Work well !&lt;/li&gt;
&lt;li&gt;CentOS    : Work well too but it remembered me too much of a Linux OS I used at work&lt;/li&gt;
&lt;li&gt;Linux Mint : yeah quite right but it lakes some packages in their repo (note : I use it daily as a nomad setup)&lt;/li&gt;
&lt;li&gt;Debian :  yeah that the thing I am talking about !&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Pros :&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Package/software management is wonderfully simple and it doesn't need to reboot your system : magic !&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;To update your OS and your software&lt;/em&gt; :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;apt update
apt upgrade
apt full-upgrade
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;To uninstall a software and its dependencies and to remove unnecessary packages&lt;/em&gt; :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;apt purge
apt autoremove
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;A computer much more responsive than with Windows (even with 30+ Firefox tabs !) and very quick to start up and to shut down&lt;/li&gt;
&lt;li&gt;I found all the software equivalents I needed and they all work as expected&lt;/li&gt;
&lt;li&gt;The native multiple workspaces ! (ok 10 too can do that but Linux was first)&lt;/li&gt;
&lt;li&gt;It's free and open source (of course) !&lt;/li&gt;
&lt;li&gt;It won't play with your privacy &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Some cons because nothing is perfect :&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Debian : at the beginning I had difficulties with microphone support during videoconf&lt;/li&gt;
&lt;li&gt;Mint : after a long time running (several days without reboot), the system sometime lost its Internet connection&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To conclude, I found Debian and Mint far better for a daily use than Windows 10, that's all I wanted !&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Things to consider before migration :&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;you are an IT guy/gal and/or you like to learn : go Debian, have in mind you need to use the terminal for some basics operations like update/upgrade/install&lt;/li&gt;
&lt;li&gt;you are a regular user and/or you want an OS very easy to use : go Linux Mint (normally you won't have to use the Linux terminal), nice gui update manager&lt;/li&gt;
&lt;li&gt;you use specific software like Adobe Premier : test the Linux equivalents (in a virtual machine) before migration !&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In all case, &lt;del&gt;Google&lt;/del&gt; Duckduckgo is your friend !&lt;/p&gt;

</description>
      <category>linux</category>
      <category>opensource</category>
      <category>privacy</category>
    </item>
    <item>
      <title>ScanPC, your new (open source) tool for Windows compliance audits</title>
      <dc:creator>alevoski</dc:creator>
      <pubDate>Wed, 10 Jun 2020 13:09:38 +0000</pubDate>
      <link>https://dev.to/alevoski/scanpc-your-new-open-source-tool-for-windows-compliance-audits-2aaf</link>
      <guid>https://dev.to/alevoski/scanpc-your-new-open-source-tool-for-windows-compliance-audits-2aaf</guid>
      <description>&lt;p&gt;Hi,&lt;br&gt;
Let me introduce you to ScanPC, a useful Python script I have been developing since 2016.&lt;br&gt;
It aims to help you quickly assess a Windows computer with the gathering of information like :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the user accounts list&lt;/li&gt;
&lt;li&gt;the password policy&lt;/li&gt;
&lt;li&gt;the share folders list&lt;/li&gt;
&lt;li&gt;the hardware configuration&lt;/li&gt;
&lt;li&gt;the OS version&lt;/li&gt;
&lt;li&gt;the network interfaces&lt;/li&gt;
&lt;li&gt;the Windows updates (KB) list&lt;/li&gt;
&lt;li&gt;the softwares installed&lt;/li&gt;
&lt;li&gt;the firewall state&lt;/li&gt;
&lt;li&gt;the processes list&lt;/li&gt;
&lt;li&gt;the services list&lt;/li&gt;
&lt;li&gt;the antivirus state&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those information are then showable in an HTML report.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Compatibility&lt;/strong&gt;&lt;br&gt;
You can run it on the following Microsoft Windows systems :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;XP x86&lt;/li&gt;
&lt;li&gt;7 x86 and x64&lt;/li&gt;
&lt;li&gt;10 x86 and x64&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You don't even need to have Python installed on those computers ! &lt;br&gt;
Thanks to pyinstaller, you can compile the code into an executable.&lt;br&gt;
You will just need them to have Visual C++ 2010 x86 (which is quite common).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use case&lt;/strong&gt;&lt;br&gt;
You work in an IT Security team who do compliance audits.&lt;br&gt;
Some of the computer you must assess are not connected to the network for verious reasons.&lt;br&gt;
You put an executable of a compiled ScanPC on your auditor USB key and go scan those computers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Demo&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwhatsecur1ty.com%2Fcontents%2FIMG%2Fscanpc_demo.gif" class="article-body-image-wrapper"&gt;&lt;img id="demo" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwhatsecur1ty.com%2Fcontents%2FIMG%2Fscanpc_demo.gif" alt="scanpc" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Interested : visit &lt;a href="https://whatsecurity.org/contents/projects/scanpc.php" rel="noopener noreferrer"&gt;my website&lt;/a&gt;&lt;br&gt;
This tool is open source and I wish it will make your day brighter !&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You want to contribute or you find an issue&lt;/strong&gt; : please pull a request or open an issue on &lt;a href="https://github.com/alevoski/ScanPC" rel="noopener noreferrer"&gt;its Github repo&lt;/a&gt; !  &lt;/p&gt;

&lt;p&gt;If you &lt;strong&gt;like&lt;/strong&gt; this project, please &lt;strong&gt;share&lt;/strong&gt; it and &lt;strong&gt;star&lt;/strong&gt; it !&lt;br&gt;
You can also &lt;a href="https://www.buymeacoffee.com/alevoski" rel="noopener noreferrer"&gt;buy me a &lt;strong&gt;coffee&lt;/strong&gt;&lt;/a&gt; ;) !&lt;/p&gt;

&lt;p&gt;&lt;u&gt;PS&lt;/u&gt; : Be carreful when you put USB devices in one computer to one another, you should always check your USB key for viruses after each scan !&lt;br&gt;
Thankfully, the usb devices cleaning station I have been developing at the same time, &lt;a href="https://whatsecurity.org/contents/projects/decontamine_linux.php" rel="noopener noreferrer"&gt;Decontamine&lt;/a&gt; will help you keep your keys clean.&lt;/p&gt;

</description>
      <category>security</category>
      <category>showdev</category>
      <category>python</category>
    </item>
    <item>
      <title>Decontamine_Linux, your usb devices cleaning station</title>
      <dc:creator>alevoski</dc:creator>
      <pubDate>Wed, 04 Mar 2020 21:33:57 +0000</pubDate>
      <link>https://dev.to/alevoski/decontaminelinux-your-usb-devices-cleaning-station-6l4</link>
      <guid>https://dev.to/alevoski/decontaminelinux-your-usb-devices-cleaning-station-6l4</guid>
      <description>&lt;p&gt;You are an IT security specialist in your firm and you are always wondering "How the heck can I limit virus spreading from USB devices in this damn information system ?"&lt;br&gt;&lt;br&gt;
Your boss won't let you buy this very expensive USB kiosk you saw during your last trip in a cyber security trade show ?&lt;br&gt;&lt;br&gt;
The tool I'm going to present you might be the solution !  &lt;/p&gt;

&lt;p&gt;Decontamine_Linux, a Python script I have been working on, aims to scan and clean your USB devices (keys, hard drives) from viruses. It can also scan CD/DVD in read only mode.&lt;br&gt;
It automatically detects your devices, lets you choose the one you want to scan then runs scanning tools in multiple threads.&lt;br&gt;&lt;br&gt;
It asks you if you want to delete viruses and eventually generates a report you can read and save on your device.&lt;/p&gt;

&lt;p&gt;Currently its compatible with 3 antivirus:&lt;br&gt;
    - Clamav&lt;br&gt;
    - Sophos&lt;br&gt;
    - F-Secure&lt;br&gt;
I have been planning to add more and also add other (open source) scanning tools targeting specific files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use case&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Setup an hardening Debian system on a computer with antivirus and Decontamine_Linux&lt;/li&gt;
&lt;li&gt;Enable persistence of the script&lt;/li&gt;
&lt;li&gt;Kindly ask your colleagues, with the blessing of your boss, to systematically scan their USB devices before plugging in their computer&lt;/li&gt;
&lt;li&gt;Marvel about the decreased of security incidents related to USB devices in your company&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Demo&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwhatsecur1ty.com%2Fcontents%2FIMG%2Fvirus-scan.gif" class="article-body-image-wrapper"&gt;&lt;img id="demo" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwhatsecur1ty.com%2Fcontents%2FIMG%2Fvirus-scan.gif" alt="virus scan" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Interested ?&lt;/strong&gt; : visit &lt;a href="https://whatsecurity.org/contents/projects/decontamine_linux.php" rel="noopener noreferrer"&gt;my website&lt;/a&gt; !&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You want to contribute or you find an issue&lt;/strong&gt; : please pull a request or open an issue on &lt;a href="https://github.com/alevoski/decontamine_Linux" rel="noopener noreferrer"&gt;its Github repo&lt;/a&gt; !  &lt;/p&gt;

&lt;p&gt;If you &lt;strong&gt;like&lt;/strong&gt; this project, please &lt;strong&gt;share&lt;/strong&gt; it and &lt;strong&gt;star&lt;/strong&gt; it !&lt;br&gt;
You can also &lt;a href="https://www.buymeacoffee.com/alevoski" rel="noopener noreferrer"&gt;buy me a &lt;strong&gt;coffee&lt;/strong&gt;&lt;/a&gt; ;) !&lt;/p&gt;

&lt;p&gt;&lt;u&gt;PS&lt;/u&gt; : Why this name ? At the beginning, I created Decontamine to run on Windows (there are still running Windows Decontamine stations at the organization I originally developed it between 2015 and 2018), one day I realize it would be better to run it on Linux.&lt;br&gt;
So, after this former employer had accepted this software to go open source, I have been rewriting everything especially for Linux.&lt;br&gt;&lt;br&gt;
&lt;u&gt;PS2&lt;/u&gt; : As a cybersecurity specialist, you should sensitize your colleagues to the hazardousness of USB devices !  &lt;/p&gt;

</description>
      <category>security</category>
      <category>showdev</category>
      <category>python</category>
    </item>
  </channel>
</rss>
