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…

Viewing Install Log

/var/log/install.log grep 'Installed' /private/var/log/install.log View the entire install log cat /private/var/log/install.log | open -f Link https://applehelpwriter.com/2013/05/21/how-to-check-whats-been-installed-on-your-mac/

system_profiler

NAME system_profiler -- reports system hardware and software configuration. SYNOPSIS system_profiler [-usage] system_profiler [-listDataTypes] system_profiler [-xml] dataType1 ... dataTypeN system_profiler [-xml] [-detailLevel level] system_profiler [-json] dataType1 ... dataTypeN system_profiler [-json]…

List of applications installed?

system_profiler SPApplicationsDataType >> ~/Desktop/SomeFilename.txt system_profiler SPInstallHistoryDataType -json | awk -F'"' '/_name|install_version|install_date/{print $2,$4}' | grep -A3 "macOS" | sed -e 's/_name /Name: /g;s/install_version /Version: /g;s/install_date /Date: /g' JSON format system_profiler SPApplicationsDataType…

Log4j

Log4j lsof - list open files for log4j lsof | grep log4j https://github.com/isaacatmann/log4j-search/blob/main/log4j-search.sh https://community.jamf.com/t5/jamf-pro/log4j-vulnerability/m-p/254027 https://medium.com/@anchorbuoy_sftw/log4shell-log4j-zero-day-exploit-and-filemaker-server-e20ebe806e8a

Apache macOS

ps aux | grep httpd Internal Apache Binary: /usr/sbin/httpd Start/Stop: sudo /usr/sbin/apachectl start Version: /usr/sbin/apachectl -v Config: /etc/apache2/httpd.conf Find used Apache: which -a httpd whereis httpd /usr/sbin/httpd sudo apachectl stop…

netstat to find out what domain controller a mac is authenticated against

netstat -a | grep ldap Link: https://acdesigntech.wordpress.com/2013/03/05/use-netstat-to-find-out-what-domain-controller-a-mac-is-authenticated-against/ https://acdesigntech.wordpress.com/2011/11/18/use-dscl-to-find-out-what-domain-controller-a-mac-is-authenticated-against/ https://community.jamf.com/t5/jamf-pro/question-how-to-force-a-mac-to-bind-to-specific-dc-within-the-ad/m-p/192225