Spyware Diagnostic Test Commands

James's Avatar

James

16 Aug, 2016 02:15 AM

This procedure is a diagnostic test. It will identify if any Spyware exists on your Mac.

These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing.

Copy and paste the following commands into the Terminal application.

Step 1 Command

kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'

Step 2 Command

 sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}'

Step 3 Command

launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'

Step 4 Command

 ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null

Step 5 Command

 osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null

Please continue to follow the video instructions in Spyware Cleaner.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

05 Aug, 2019 04:29 PM
04 Jul, 2019 02:15 PM
10 Jun, 2019 08:32 AM
05 Jun, 2019 08:53 AM
30 May, 2019 11:54 AM

 

29 May, 2019 06:12 AM
28 May, 2019 01:53 PM
15 May, 2019 02:16 AM
14 May, 2019 06:47 PM
11 May, 2019 09:37 PM
10 May, 2019 09:38 PM