vanstechelman.eu
open-menu closeme
  • Managing Windows firewall with PowerShell

    calendar Apr 21, 2021 · 1 min read · PowerShell Windows Infrastructure security  ·
    Share on: twitter facebook linkedin copy

    To check the status of the Windows firewall with PowerShell, type the following: $FWProfiles = (Get-NetFirewallProfile); Write-Host "Windows Firewall Profile Statuses" -Foregroundcolor Yellow; $FWProfiles | %{ If($.Enabled -eq 1){ Write-Host "The Windows Firewall $($.Name) profile is enabled" -Foregroundcolor Green …


    Read More
  • The most common BitLocker command-line commands

    calendar Dec 19, 2018 · 2 min read · BitLocker Windows  ·
    Share on: twitter facebook linkedin copy

    Make sure to execute these command from an Elevated Prompt! ** Add a startup key as additional authentication method: Adds a TPM and startup key protector for the operating system drive C:. The generated startup key will be stored on the removable drive E:. The effect of this command is that the removable drive on …


    Read More
  • How to run the WSUS Server Cleanup Wizard from command-line

    calendar Jul 13, 2017 · 2 min read · WSUS Windows Infrastructure security PowerShell  ·
    Share on: twitter facebook linkedin copy

    When running the WSUS Server Cleanup Wizard from the MMC snap-in, it can occur that you receive the following WSUS database error: Error: Database Error An error occurred when trying to perform a database operation. This can happen if the database is very busy, if the database service is stopped, if the connection to …


    Read More
  • Scanning for CVE-2017-0143 (EternalBlue) using nmap (MS17-010)

    calendar Jul 1, 2017 · 3 min read · Security Windows Testing Infrastructure security nmap  ·
    Share on: twitter facebook linkedin copy

    With both WannaCry and NotPetya using MS17-010 for propagation it is important to be able to detect servers which are vulnerable. This vulnerability has been assigned CVE-2017-0143. The vulnerability is also often nicknamed EternalBlue. This page explains how you can scan for it from a Windows machine using nmap. The …


    Read More
  • Scanning for CVE-2017-5638 using nmap

    calendar Mar 14, 2017 · 3 min read · Security Windows Testing Infrastructure security nmap  ·
    Share on: twitter facebook linkedin copy

    On March 6, 2017, Apache disclosed a vulnerability in the Jakarta multipart parser used in Apache Struts2 that could allow an attacker to execute commands remotely on the targeted system using a crafted Content-Type header value. This vulnerability has been assigned CVE-ID CVE-2017-5638. This page explains how you can …


    Read More
  • How to allow a normal user to start, stop, and pauze/continue a Windows service

    calendar Oct 12, 2015 · 1 min read · Windows Tools subinacl  ·
    Share on: twitter facebook linkedin copy

    By default, starting and stopping Windows services are tasks that can only be performed by administrators. There are cases where you want regular users to be able to start or stop services. This can be easily accomplished using the subinacl.exe command-line tool.
    This is the subinacl.exe syntax of how you can allow a …


    Read More
  • How to list hidden shares remotely

    calendar Sep 22, 2015 · 1 min read · Windows  ·
    Share on: twitter facebook linkedin copy

    When sharing Windows folders on the network, it is possible to hide the shared folder from the list of shares. This can be done by adding a $-sign to the end of a share name. It is important to mention that this does not really hide such shares from the network. If you ask a Windows machines for a list of its shares, …


    Read More
  • ICACLS command line options

    calendar Jun 12, 2015 · 4 min read · Windows  ·
    Share on: twitter facebook linkedin copy

    \ ICACLS name /save aclfile [/T] [/C] [/L] [/Q] stores the DACLs for the files and folders that match the name into aclfile for later use with /restore. Note that SACLs, owner, or integrity labels are not saved. \ ICACLS directory [/substitute SidOld SidNew […]] /restore aclfile [/C] [/L] [/Q] applies the stored …


    Read More
  • Windows Software Licensing Management Tool (slmgr.vbs)

    calendar Jun 12, 2015 · 3 min read · Windows  ·
    Share on: twitter facebook linkedin copy

    This page lists the Windows Software Licensing Management Tool (slmgr.vbs) command line options.


    Read More
  • Importing vbscript code at runtime

    calendar Apr 30, 2015 · 2 min read · vbscript Windows Programming  ·
    Share on: twitter facebook linkedin copy

    Many script languages have an import function that allows to import and execute code that is stored in another file. Microsoft’s vbscript however is lacking such functionality. This page shows how it can be accomplished to import and execute vbscript code that is stored in another file. Assume that you have the …


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • »
    • »»

Recent Posts

  • Phases in a DevSecOps agile cycle
  • Security roles in a DevSecOps strategy
  • Managing Windows firewall with PowerShell
  • The most common BitLocker command-line commands
  • Testing for CVE-2018-11784 - Apache Struts 2 Open Redirect vulnerability
  • Testing for impact of Infineon’s vulnerable RSA generation (CVE-2017-15361)
  • How to run the WSUS Server Cleanup Wizard from command-line
  • Scanning for CVE-2017-0143 (EternalBlue) using nmap (MS17-010)

Tags

WINDOWS 34 SECURITY 20 LINUX 12 INFRASTRUCTURE SECURITY 11 NETWORKING 10 WEB APPLICATION SECURITY TESTING 10 BASH 8 AUDIT 7 TESTING 6 NMAP 5 AUTOIT 4 MONITORING 4 BURP SUITE 3 JAVA 3 POWERSHELL 3 PROGRAMMING 3 WINDOWS EVENT LOGS 3 WMIC 3 DEVSECOPS 2 DNS 2 DRUPAL 2 DRUPAL 7 2 GOOD PRACTICES 2 SED 2 SUBINACL 2 TOOLS 2 VBSCRIPT 2 WINDOWS GROUP POLICY 2 APACHE 1 BITLOCKER 1 DEBIAN 1 EMAIL SECURITY 1 HTML5 1 HTTP 1 IIS 1 JAVASCRIPT 1 NAGIOS 1 PHP 1 RADIUS 1 RANDOMNESS TESTING 1 SDLC 1 SOFTWARE DEVELOPMENT 1 SPLUNK 1 SQL SERVER 1 TPM 1 UEFI 1 WSUS 1 XCACLS 1
vanstechelman.eu

Copyright  VANSTECHELMAN.EU. All Rights Reserved

to-top