How to check XProtect and MRT versions running Big Sur?
Gatekeeper /usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" /private/var/db/gkopaque.bundle/Contents/Info.plist XProtect defaults read /Library/Apple/System/Library/CoreServices/XProtect.bundle/Contents/Info.plist CFBundleShortVersionString Check XProtect Version on MacOS Catalina (10.15.x) & MacOS Mojave (10.14.x) and later: system_profiler SPInstallHistoryDataType | grep -A 5…
Command Line Firewall Management In OS X 10.10
check whether Firewall is started /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate https://krypted.com/mac-security/command-line-firewall-management-in-os-x-10-10/
Common Platform Enumeration (CPE)
Common Platform Enumeration (CPE) is a structured naming scheme for information technology (IT) systems, software, and packages. Based upon the generic syntax for Uniform Resource Identifiers (URI), CPE includes a…
Common Vulnerabilities and Exposures (CVE)
json feed of all apple related things. https://services.nvd.nist.gov/rest/json/cves/1.0?cpeMatchString=cpe:2.3:*:apple curl -s "https://services.nvd.nist.gov/rest/json/cves/1.0?cpeMatchString=cpe:2.3:*:apple" curl -s "https://services.nvd.nist.gov/rest/json/cves/1.0?cpeMatchString=cpe:2.3:*:apple:macOS:catalina" https://csrc.nist.gov/CSRC/media/Projects/National-Vulnerability-Database/documents/web%20service%20documentation/Automation%20Support%20for%20CVE%20Retrieval.pdf this is the documentation. of how to use their CVE feed hope this link works…
Renewing a Device Enrollment Server Token File in and for Jamf Pro
In this video, we'll walk through the process for renewing a Device Enrollment Server Token file. If you haven't yet integrated your Jamf Pro instance with DEP, please see video…
Requesting NIST NVD API key:
NVD API: keys, documentation, and request limits! To better serve its growing user base, the NVD is announcing the availability of API keys. Users who request and activate a key…
Make (file or share) alias in Terminal
This creates the alia on Desktop cd ~/Desktop ln -s ~/Library/path/to/folder
List .app applications and macOS Components
List ".app" Applications ls /Applications/ | awk -F '.app' '{ print $1}' - ls / | awk -F '.app' '{ print $1}' >> ~/Desktop/ListOfAllAPPs.txt Use SystemProfiler Find Identified Developers system_profiler…
pgrep, pkill – find or signal processes by name
NAME pgrep, pkill – find or signal processes by name SYNOPSIS pgrep [-Lafilnoqvx] [-F pidfile] [-G gid] [-P ppid] [-U uid] [-d delim] [-g pgrp] [-t tty] [-u euid] pattern…