Author Archives: smike19

Encrypt and Decrypt Data on Linux Devices using OpenSSL

The total idea of encryption is simple to convert readable data into meaningless gibberish using unpredictable math algorithm. However encryption by itself is useless without decryption because the person for whom these data are intended must be able to read them. In other words he/she must be able to convert data back in readable format.… Read More »

Dialup ACE

This the second article related to ACL, the first one is “Changing file ACL in Windows programmatically”. Going through WellKnownSidType commonly used security identifiers. I found some which I never heard about and several legacy ones, for example DIALUP. Just for fun I decided to test how this user permission look like in the file… Read More »

FIPS and Remote Desktop Connection

FIPS or Federal Information Processing Standards was developed by US National Institute of Standards and Technology and used widely not only in United Stated. FIPS defines certain specific encryption methods and make to force application to use FIPS-validated encryption schemes. The first time I met problem with FIPS when Windows computer sends smnp v3 request… Read More »

Insidious Process Class or InvalidOperationException

I mean here .Net Process class from System.Diagnostics name space. Suddenly one application which worked for long time begins generate exceptions with the following text message: “Process has exited, so the requested information is not available“. The application was created for some testing purposes, quickly and frankly to say was not implemented well. I added… Read More »

IsDebuggerPresent for Mac OSX

IsDebuggerPresent is Win32 API function which returns boolean value true if calling process is being debugged by debugger. It is the simplest way to restrict reverse engineering activity using Windows debuggers. I did not find something similar for Mac OSX platform so I implemented my own application which does debugger detection. The application is based… Read More »

SSH server on Android phone

SSH is the great thing to troubleshot, transfer files, make some changes or even do development task on remote devices. Smart phone is not an exception and also could be accessible via ssh. Beside ssh client on desktop computer may be more ergonomically friendly than terminal on Android phone with tiny screen and small keyboard.… Read More »

Simple memory leak profiling with Valgrind

Valgrind is a powerful programming tool for memory profiling, memory leak detection. Also it can be used for thread error analysis and profile programs in detail. Valgrind instrumentation framework permits to build new tools. Valgrind is available for many Unix based operating systems. Here is an example how to detect memory leak in simple c++… Read More »

Changing file ACL in Windows programmatically

File (or directory) access control list (ACL) is a bit similar to the file attribute. In the same way ACL specifies file properties related to access to the file. ACL contains records of ACEs (access control entities). Each ACE in an ACL identifies specific access rights for users or groups that allow or deny some… Read More »

Building db_dump from sources

The db_dump utility dump Berkeley DB databases into a flat-text representation. Berkeley DB distribution includes source code of db_dump utility and also other useful utilities such as: db_archive, db_checkpoint, b_deadlock, b_dump185, db_load, db_printlog, db_recover, db_stat, db_upgrade and db_verify. All these utilities may be used for database debugging and maintenance. Here is example of Makefile for… Read More »

Remmina – remote desktop client for Linux

Remmina is free remote desktop client for GNOME desktop environment. It supports different types of remote control for many Linux versions. Remmina is able to display and control a desktop on remote computer. Especially it is possible to use Remmina for Windows Remote Desktop sessions. I found that latest Ubuntu iso destrutions (Ubuntu 16-64 and… Read More »