Author: John Doe

Hardening, Microsoft Windows server 2016

Windows Server Hardening – Account Policies

The following were tested on Windows Server 2016 (Screenshots included). Account Policies Password Policy 1. Ensure ‘Enforce password history’ is set to ’24 or more password(s) Description: This policy setting determines the number of renewed, unique passwords that have to be associated with a user account before you can reuse an old password. The value …

Forensics

Forensics – Collecting Volatile Data

Under the principle of “order of Volatility”, you must first collect information that is classified as Volatile Data (the list of network connections, the list of running processes, log on sessions, and so on), which will be irretrievably lost in case the computer is powered off. This category includes the following data: 1.System uptime and …

Exchange Server 2013

Installing Microsoft Exchange Server 2013 Prerequisites On Windows Server 2012

In this article we will walk through the installation instructions for Exchange Server 2013 prerequisites. The prerequisites that are needed to install Exchange 2013 on a Windows Server 2012 server depends on which Exchange roles you want to install. Exchange Server 2013 has only two roles: Mailbox and Client Access server roles. Exchange Server 2013 …

Microsoft Servers, Microsoft Windows Server 2012, Microsoft Windows server 2016

Migrate active directory FSMO from windows server 2012 R2 to windows server 2016

Windows server 2016 was released for public (GA) on mid oct 2016. Its exciting time as businesses are already working on migrating their services in to new windows server 2016 infrastructures. In this post, I am going to explain how you can migrate from active directory running on windows server 2012 R2 to windows server …

Active Directory, Microsoft Windows Server 2003, Microsoft Windows Server 2008, Microsoft Windows Server 2012

Active Directory Security Hardening: Domain Admin Honeypot

Rename the account It’s a good idea to name the account like any other user account. That means giving it a real name, like Johnny Cash, with a username that matches your naming convention, say “jcash.” Remove description Next, you want to remove the default description for the built-in Administrator, which is “Built-in account for …

Active Directory, Microsoft Windows Server 2012

Add Active Directory Multiple Users in a Group

Add multiple User’s to a Group – PowerShell Script Import-module ActiveDirectory Import-CSV "C:\Scripts\GroupUsers.csv" | % { Add-ADGroupMember -Identity TestGroup1 -Member $_.UserName }Import-module ActiveDirectory Import-CSV "C:\Scripts\GroupUsers.csv" | % { Add-ADGroupMember -Identity TestGroup1 -Member $_.UserName } Don’t forget to create a GroupUsers.csv file with users login names.

Active Directory, General, Microsoft Windows Server 2012

Create Active Directory Users using csv file

This script allows to create Active Directory users using a CSV file and set specific password, email address, and add users to one group for each user. import-module activedirectory Import-Csv “C:\Users\admin\Desktop\file.csv” | ForEach-Object { $userPrincinpal = $_.”samAccountName” + “@company.Local” New-ADUser ` -Name $_.”user” ` -Givenname $_.”name” ` -Surname $_.”surname” ` -SamAccountName $_.”samaccountname” ` -Path $_.”path” …

Ubuntu

How to execute a bash script in Ubuntu by double clicking it

> Ensure that your script begins with the correct command. For ex. #!/bin/bash#!/bin/bash > Install dconf Editor: sudo apt-get install dconf-editorsudo apt-get install dconf-editor > Open dconf Editor > Navigate to org > gnome > nautilus > preferences > Find executable-text-activation and from the dropdown menu select launch or ask.