Blog

Cyber 02 Feb 2023 👁 12 views

Check SPF, DKIM and DMARC Email Security DNS Records

There are three basic ways to secure email, these are: Sender Policy Framework (SPF), Domain Keys Identified Mail (DKIM), Domain-based Message Authentication, Reporting & Conformance (DMARC) definitions. Lets quickly discuss these before we talk about how to check if they have been setup: SPF helps prevent spoofing by verifying the sender’s IP address SPF (Sender […]

Read more →
Cyber 30 Jan 2023 👁 23 views

host Command DNS Queries on macOS: 9 Examples

1. Find a list of IP addresses linked to a domain To find the IP address for a particular domain, simply pass the target domain name as an argument after the host command. For a comprehensive lookup using the verbose mode, use -a or -v flag option. The -a option is used to find all Domain records and Zone […]

Read more →
Cyber 25 Jan 2023 👁 10 views

Scan Your Local Network With Nikto and Nmap on macOS

Nikto is becoming one of my favourite tools. I like it because of its wide ranging use cases and its simplicity. So whats an example use case for Nikto? When I am bored right now and so I am going to hunt around my local network and see what I can find… Now lets pop […]

Read more →
Macbooks 14 Jan 2023 👁 71 views

Fix Wireshark Permission Error on macOS: ChmodBPF Guide

If you see the error “The capture session could not be initiated on the device “en0” (You don’t have permission to capture on that device)” when trying to start a pcap on wireshare you can try installing ChmodBPF; but I suspect you will need to follow the steps below:

Read more →
Macbooks 14 Jan 2023 👁 15 views

How to Customize the Zsh Prompt in macOS Terminal

When you open terminal you will see that it defaults the information that you see on the prompt, which can use up quite a bit of the screen real estate. Customize the zsh Prompt in Terminal Typically, the default zsh prompt carries information like the username, machine name, and location starting in the user’s home […]

Read more →
Cyber 21 Nov 2022 👁 12 views

Mac Terminal: Scan TLS Certificates with NMAP and SSLScan

The below script will give you basic information on a websites certificate: NMAP is provides a simple way to get a list of available ciphers from a host website / server. Additionally, nmap provides a strength rating of strong, weak, or unknown for each available cipher. First, download the ssl-enum-ciphers.nse nmap script (explanation here). Then from the same […]

Read more →
AWS Cloud 21 Nov 2022 👁 9 views

Auto-Renew Let’s Encrypt Certs on Linux with Cron

If you want to automatically renew your certs then the easiest way is to setup a cron just to call letsencrypt periodically. Below is an example cron job: First create the bash script to renew the certificate Now enter the script in the following format into nano: Now edit the crontab to run the renew […]

Read more →
Macbooks 21 Nov 2022 👁 18 views

Fix DNS Issues Using dig and whois on Mac OS X

When debugging DNS issues its important to verify the local DNS response with the authoritive DNS nameserver. With dig we can directly query the authoritative name servers for a domain, these are the DNS servers that hold the authoritative records for the domains DNS zone; the source of truth. If a correct response is received […]

Read more →
Networking 21 Nov 2022 👁 68 views

Find MTU Between Two Hosts Using Ping Do-Not-Fragment

If you have ever tried to use jumbo packets, or trace a weird slowness on the network – one of the things that frequently comes up is packet fragmentation. This is basically where a source machine is sending bigger packets than can be consumed along its pathway to a destination machine. This means the packets […]

Read more →
116171822