Monday, December 25, 2017

Permissions and user rights for IIS 7.0 and later..



This is useful information for IIS servers:

Specify an Identity for an Application Pool (IIS 7)
Read more about  Identities in IIS here..

Default permissions and user rights for IIS 7.0 and later 
Read more about default permissions here..

Understanding Built-In User and Group Accounts in IIS 7
Read more about Built-In user and Group Accounts here..

Wednesday, December 6, 2017

New on Vice: Season 2 of Cyberwar

There is a new season of Cyberwar on Viceland.com:

https://www.viceland.com/en_us/show/cyberwar

Ben Makuch travels the world to meet with hackers, government officials, and dissidents to investigate the ecosystem of cyberwarfare.

Monday, December 4, 2017

Powershell: Counter with speech



This is a basic counter with speech:

# Making a speech object:
Add-Type -AssemblyName System.speech
$speak = New-Object System.Speech.Synthesis.SpeechSynthesizer

# The counter with speech:
$i = 0 
while( $i -le 100){
  $speak.Speak($i)
  $i++
}


Friday, December 1, 2017

Get Bitcoin Price with Powershell

With this function you can get the Bitcoin price as a string value or spoken with Powershell

function Get-BitcoinPrice{

    param (
    [Boolean]$Speech = $false
    )
    
    #Get the current price from coinmarketcap.com
    $content = Invoke-WebRequest -uri https://api.coinmarketcap.com/v1/ticker/bitcoin/
    
    #Select the price from the content
    $found = $content.Content -match "price_usd`": `"(?<price>.*)`"," 

    $price = $matches['price'].ToString()

    #If the parameter -Speech is $true, then you can hear a voice saying the price.
    if($Speech -eq $true){
        Add-Type -AssemblyName System.speech
        $speak = New-Object System.Speech.Synthesis.SpeechSynthesizer

        $speak.Speak("Bitcoin price is $price")
    }

    #The price is returned for future usage.
    Return $price
}

Get-BitcoinPrice -Speech $true

# or

Get-BitcoinPrice

Tuesday, March 28, 2017

vSphere Server Appliance 6.5: Could not connect to one or more vCenter Server systems: https://:443/sdk


Do you get the next error in vSphere Web Client 6.x?:

Could not connect to one or more vCenter Server systems:
https://<IP-adres or FQDN>:443/sdk

If you open the URL, you get this error:

503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http16LocalServiceSpecE:0x00007f24400047c0] _serverNamespace = /sdk action = Allow _port = 8085)

Are you using the appliance? My problem was solved by the next solutions:

Source: https://communities.vmware.com/thread/547345

I seem to have fixed my issue by simply typing in a System name in the dialogue pictured below, instead of leaving it blank, which relied on the DHCP reservation/DNS entry in my router that worked under 6.0U2.

I've now survived 5 ESXi reboots, using ESXi host reboot, which was set to shut down all VMs gracefully, and to restart VCSA automatically.

I will continue to test and reboot, but first, a flight to catch, with my server onboard, of course ;-)

Here's how I was doing 6.0U2 or 6.5 installs, choosing DHCP, and leaving System name blank (but setting up a DHCP reservation for the VM's MAC address, and setting up a DNS name, by suspending the VCSA 6.5 appliance moments after the power up button appears, and grabbing the fresh  VM's MAC, then resuming)


  





















I don't use DDNS:


  but figured I'd try to put in a System name anyway:



 Five reboots later, I seem to be good, used to fail on first or second reboot/restart of VCSA.

More information:

Friday, March 24, 2017

VMware vSphere Essentials V6 - Migrating storage tip.

The migration option "Change storage only" is not allowed in VMware vSphere Essentials.

If you want to migrate a VM storage from one datastore to another, then use "Change both compute resource and storage".

After the migration is completed, use "Change compute resource only"option to migrate the VM back to his original host.

This way you can live migrate the storage of you VM. It takes more time and work, but the VM stays online.

Wednesday, March 15, 2017

Browsing anonymously the internet


There a many ways to browse anonymously. Each option has his own advantages and disadvantages.

Networks:

https://www.torproject.org/

From the official website:
Tor is free software and an open network that helps you defend against traffic analysis, a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security.

It has his own network and browser based on Firefox. It uses different end nodes during you browsing. The drawback is that some website block known end nodes or you loose functionality.

https://geti2p.net/nl/

From the offcial website:
I2P is an anonymous overlay network - a network within a network. It is intended to protect communication from dragnet surveillance and monitoring by third parties such as ISPs.
Like TOR it has his own network and applications.

Browser:

A chrome based browser with builtin protection against many tracking options:

https://www.epicbrowser.com/

Linux distribution:

This is a Linux distribution. You can boot it from USB or DVD. It uses TOR, but has some more features to protect you against tracking. It does not save any data on the hard-disk and if you shutdown the Linux OS normally, it will clear the memory.

https://tails.boum.org/

Other Solutions:

You can check the websites below for more anonymously browsing options:

https://anonymous-proxy-servers.net/

https://www.anonymizer.com/



Saturday, January 14, 2017

Free Open Source Cyber Security Learning



Yesterday I found this free and Open Source Cyber Security Learning website:

https://www.cybrary.it/

You can find many usefull courses about Cyber Securyity here. Check it out!