Category: Unix-Linux

Following commands to be added twice to Linux and Windows :


net ads dns register -P


ipconfig /registerdns


Security News!

Security News:

2019/10/09: New Microsoft NTLM Flaws May Allow Full Domain Compromise


2019/09/24: Windows update zero-day



Two critical vulnerabilities in Microsoft’s NTLM authentication protocol consisting of three logical flaws make it possible for attackers to run remote code and authenticate on machines running any Windows version.



Operating Systems can be detected using Ping Command, Ping is a computer network administration software utility, which used to find the Availability of a host on an Internet Protocol (IP) network.



Corporate firewalls can block reverse and bind TCP connections.However, corporate firewalls are behind internal networks.So we can use PING ICMP Shell:



Exploiting Malwarebytes antimalware!


2019/01/24: redteam

Koadic, or COM Command & Control, is a Windows post-exploitation rootkit similar to other penetration testing tools such as Meterpreter and Powershell Empire. The major difference is that Koadic does most of its operations using Windows Script Host (a.k.a. JScript/VBScript):




A collection of security articles and web sites, KB, tips and tricks especially for System and Network Administrators, DevOps, Pentesters or Security Researchers.


hacking web sites:


Passwords databases:


The Cyber Swiss Army Knife – a web app for encryption, encoding, compression and data analysis:




Basic network capture methods:

  1. Network Monitor 3.4 (Netmon) – (NOTE: Network Monitor is no longer under active development)
  2. Wireshark (v 2.2.2 as of 11/16/16) –
  3. Netsh Trace – built-in to operating system
  4. Microsoft Message Analyzer (MMA) (v 1.4 as of 6/13/16) –

Message analyzer operating guide:

How to message analyzer on YouTube:

As you might guess from the name, Message Analyzer is much more than a network sniffer or packet tracing tool.  Key capabilities include:

  • Integrated “live” event and message capture at various system levels and endpoints (client and server remotely !)
  • Remote capture (capture multiple point concurrently)
  • Parsing and validation of protocol messages and sequences
  • Automatic parsing of event messages described by ETW manifests
  • Summarized grid display – top level is  “operations”, (requests matched with responses)
  • User controlled “on the fly” grouping by message attributes
  • Ability to browse for logs of different types (.cap, .etl, .txt) and import them together
  • Automatic re-assembly and ability to render payloads
  • Ability to import text logs, parsing them into key element/value pairs
  • Support for “Trace Scenarios” (one or more message providers, filters, and views)

Other articles:

Use message analyzer to convert a .etl to .cap:


Capture a network trace using netsh:


  1. To learn more about your nmcap options, enter “nmcap /?” or “nmcap /examples”
  2. Wireshark training can be found at
  3. For more information on Message Analyzer, check out the blog at
  4. Message Analyzer training videos can be found at
  5. Message Analyzer Operating Guide –
  6. Information on the Message Analyzer PowerShell module can be found at
  7. Remote captures with MMA –

Centrifydc.conf optimization:


Centrifydc reference guide:

General methodology:

  • Insert a USB flash drive into your computer. Your USB flash drive should plug into one of the rectangular or oval USB or USB-C ports on your computer’s housing. Traditional flash drives only fit one way, so don’t force the drive if it doesn’t fit.
    • If your Mac uses USB-C ports, your USB-C flash drive should fit any way in which you insert it.
    • The USB flash drive should be at least 8 gigabytes in space so that it can accommodate most operating system installation files.
  • Make sure that you have an ISO file. If you want to create a bootable USB drive on a Mac, you’ll need to have an ISO file (or an image file, if you’re backing up your computer’s hard drive) ready to drag and drop into Terminal.

    • This is different than how Windows handles bootable flash drives, since you can make a flash drive bootable and then save it for later when using Windows.
  • Open Spotlight

    . Click the magnifying glass icon in the top-right corner of the screen. A search bar will appear.

  • Type in terminal. This will search your Mac for the Terminal application.
  • Double-click Terminal

    . It’s a black box in the middle of the Spotlight search results. Doing so will open Terminal.

  • Open a list of connected drives. Type diskutil list into Terminal, then press Return.
  • Find your USB drive. Look for the USB drive that you plugged into your computer, then look at the USB drive’s name under the “IDENTIFIER” heading. You’ll usually find your USB drive under the “(external, physical)” heading near the bottom of the Terminal window.

    • Your USB flash drive’s name under the “IDENTIFIER” heading will normally be something like “disk1” or “disk2”.
  • Select the USB drive. Type diskutil unmountDisk /dev/disknumber—making sure to replace “disknumber” with the disk’s “IDENTIFIER” name and number (e.g., disk2)—into Terminal, then press Return.
  • Enter the formatting command. Type in sudo dd if= but don’t press the Return key just yet.
  • Drag the ISO file into the Terminal window. Click and drag the ISO file (or disk image file) that you want to boot into using the USB drive into the Terminal window. This will copy the file’s address into the Terminal command.

    • You can also type in the folder path to the ISO file.
  • Press the Space key. This will put a space at the end of the file’s address, making room for the next command.
  • Enter the rest of the command. Type in of=/dev/disknumber bs=1m, again making sure to replace “disknumber” with the USB flash drive’s number (e.g., disk2), and press Return.
  • Type in your password. This is the password that you use to log into your Mac. As you type, you’ll notice that the letters don’t appear in Terminal; this is normal.
  • Press Return. Doing so submits your password and prompts your Mac to begin creating a bootable USB flash drive with your selected ISO or image file.

    • This process can take several hours to complete, so just leave Terminal open and your Mac plugged in.


Linux security in a nutshell



How to register IP+hostname on DNS with AD-domain joined Linux with SSSD: