Our IT journal

Exchange 2013/2016/2019 new escalation vulnerability found

Microsoft Exchange appears to be currently vulnerable to a privilege escalation attack that allows any user with a mailbox to become a Domain Admin. On Thursday, Dirk-jan Mollema, a security researcher with Fox-IT in the Netherlands, published proof-of-concept code and an explanation of the attack, which involves the interplay of three separate issues. According to Mollema, the primary problem is that Exchange has … Read More

Block WAN SSH / GUI on Edgerouter OS

To prevent exposing your device from WAN, which is the default, get to the GUI or SSH locally and run these commands. Change the addresses as needed.   configure set service gui listen-address set service ssh listen-address commit save exit  

Property ‘MaxInternalSize’ does not exist in class ‘Msvm_VirtualHardDiskSettingData’ – VHDX on Hyper-V

Sometimes we can mount a VHDX that had its checkpoints saved on another location. When trying to boot the VM we will have a “Property ‘MaxInternalSize’ does not exist in class ‘Msvm_VirtualHardDiskSettingData’.” This is caused because the disk properties have changed and the VM is linking the checkpoint back to its parent, making the chain corrupted. To remediate this, we … Read More

virtualcenter is now an approved and recommended Microsoft Solution Provider

We are very happy to announce that we have applied and received the Microsoft Solution Provider approval, which lists us in the main Partner directory. We are ready to be a part of your next project!

Querying EC2 IPs via AWS CLI

I had to get a list for all public IPs mapped to EC2 instances. First start by connecting to AWS via CLI, then use the following:   aws ec2 describe-instances –query “Reservations[*].Instances[*].PublicIpAddress” –output=text   aws ec2 describe-instances –query “Reservations[*].Instances[*].PrivateIpAddress” –output=text   You will see all public/private IPs listed

Connecting to AWS via CLI

First start by creating an AWS user via IAM for programmatical access, which will give you a public and private key. Install the AWS CLI    $ aws configure AWS Access Key ID [None]: publickey AWS Secret Access Key [None]: privatekey Default region name [None]: us-east-1 Default output format [None]: text Default output format is JSON – you can choose … Read More

Change Active Directory users country code via PowerShell

In order to have correct information in Office 365 when using Azure AD, your users need to have a country code in Active Directory, specially when configuring self-service password reset: $Users = Get-ADUser -Filter {samaccountname -like “*”} foreach ($User in $Users) { Set-ADUser -Identity $User -Country “US” } Get-ADUser -Filter {countrycode -eq 0} | Set-ADUser -Replace @{countrycode=1}  

Shutting down or rebooting Dell SCV3020

For shutting down or rebooting the appliance, launch Dell Storage Manager. Select the Actions icon: Then go to Actions -> System Select the second option      

Configuring an Edge Router for L2TP IPSec VPN using AD authentication via Radius

set vpn l2tp remote-access ipsec-settings authentication mode pre-shared-secret set vpn l2tp remote-access ipsec-settings authentication pre-shared-secret <yourpresharedkey> set vpn l2tp remote-access authentication radius-server key 82LButmnybLpXr%[email protected]@7Tu%IjqIdSUpq set vpn l2tp remote-access authentication radius-server port 1812 set vpn l2tp remote-access authentication mode radius set vpn l2tp remote-access client-ip-pool start set vpn l2tp remote-access client-ip-pool stop set vpn l2tp remote-access dns-servers … Read More

Powershell mass update UPN in AD

Import-Module ActiveDirectory $oldSuffix = “myolddomain.local” $newSuffix = “” $ou = “DC=yourdomain,DC=local” $server = “Hostname” Get-ADUser -SearchBase $ou -filter * | ForEach-Object { $newUpn = $_.UserPrincipalName.Replace($oldSuffix,$newSuffix) $_ | Set-ADUser -server $server -UserPrincipalName $newUpn }