An open community 
of Macintosh users,
for Macintosh users.

FineTunedMac Dashboard widget now available! Download Here

Previous Thread
Next Thread
Print Thread
list of "undesirable" browser extensions?
#33252 03/03/15 02:56 PM
Joined: Aug 2009
OP Offline

Joined: Aug 2009
I decided to throw together a malware removal tool that can go through a computer and dig out ALL traces of ALL known malware for the mac.

I've got the app coded and it works nicely, but I'm finding problems getting complete information. On numerous occasions I'm finding instructions like "open this folder and remove anything that looks sort of like "this"...." or "remove the xyz plugin from this folder". Without giving me actual filenames, I can't really code it.

I *could* scan files and look for things though. For example, macdefender is well-known to go by many names. It's not difficult to just quickly check all the files in /Library/LaunchAgents" for a keyword or the path to the malware to identify and remove the agent, regardless of its name. But again I need to know what to look for.

The biggest problem I have right now is so many places recommending removing browser plugins, by simply going to the safari plugin list and removing anything that "looks like xxx". So again I don't really have a proper complete name.

I had someone come in here a few weeks ago that may have quite possibly had all of the mac malware installed on her macbook. It took me about 1/2 hr to get it all removed by hand. I kinda wish I had taken some sort of snapshot of it before I started, so that I'd have more to go on with this script. Tempts me slightly to fresh image a mac and go "looking for trouble" and then see what I have to sort out.

fyi here is one of the bigger sources I was using:
http://www.thesafemac.com/arg-identification/

Last edited by cyn; 03/04/15 10:05 AM. Reason: Topic moved from the "Mac OS X Applications" forum to the "Networking" forum.

I work for the Department of Redundancy Department
Re: list of "undesirable" browser extensions?
Virtual1 #33253 03/03/15 03:00 PM
Joined: Aug 2009
Likes: 16
Moderator
Online
Moderator

Joined: Aug 2009
Likes: 16
Too bad you can't put together a list of identifiable malware "signatures" like the anti-virus people do. But that would probably require a full time staff just to keep track of the varying signatures. crazy


If we knew what it was we were doing, it wouldn't be called research, would it?

— Albert Einstein
Re: list of "undesirable" browser extensions?
Virtual1 #33254 03/03/15 04:16 PM
Joined: Aug 2009
Likes: 15
Online

Joined: Aug 2009
Likes: 15
Shot in the dark... Would it be feasible to back-door it?

Could you compile a list of known safe plugins and delete all others, or are there simply too many possible safe ones?


The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: list of "undesirable" browser extensions?
artie505 #33255 03/03/15 06:27 PM
Joined: Aug 2009
OP Offline

Joined: Aug 2009
Originally Posted By: artie505
Shot in the dark... Would it be feasible to back-door it?

Could you compile a list of known safe plugins and delete all others, or are there simply too many possible safe ones?

That's a debate between whitelisting and blacklisting. Generally you go with the smaller list, or the more reliable list. (or the one of the two you KNOW) In this case, the malware list is substantially smaller, isn't unmanageably unreliable, and ought to be fairly well-known, so blacklisting is probably the best approach.

Signatures tend to be highly-specific, so a single character change to a file could change its signature. Considering malware tends to be actively developed, the signatures require high maintenance. But they're very reliable, and almost immune to false-positives, so most of the AV companies go that route. I'm looking for more of a "windows defender" approach. Heuristics and generalized scanning.


I work for the Department of Redundancy Department
Re: list of "undesirable" browser extensions?
Virtual1 #33258 03/03/15 10:08 PM
Joined: Aug 2009
Likes: 15
Online

Joined: Aug 2009
Likes: 15
Originally Posted By: V1
That's a debate between whitelisting and blacklisting. Generally you go with the smaller list, or the more reliable list. (or the one of the two you KNOW) In this case, the malware list is substantially smaller, isn't unmanageably unreliable, and ought to be fairly well-known, so blacklisting is probably the best approach.

On the other hand, though, whitelisting is preventive, or, if you will, anticipatory, whereas blacklisting leaves your tool vulnerable to the future.

If the whitelist isn't totally, out of the question unmanageable both today and ongoing, a one-time effort would leave you better prepared down the road.


The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: list of "undesirable" browser extensions?
artie505 #33272 03/04/15 03:27 PM
Joined: Aug 2009
OP Offline

Joined: Aug 2009
Originally Posted By: artie505
If the whitelist isn't totally, out of the question unmanageable both today and ongoing, a one-time effort would leave you better prepared down the road.


I'm wary of things that can cause new problems without my intervention. If something new comes out that's not on my whitelist, my tool will nuke it. A bit over a year ago here, Malwarebytes pushed an update to definitions. Our campus was subscribed, and pushed the updates at 2am. By 6am, THOUSANDS of windows computers on campus were trashed, most of them requiring a complete rebuild. "the ultimate network admin's nightmare". It's simply referred to as "the malwarebytes incident" around campus today, say that and everyone knows what you're talking about.

That's the general danger. Whitelisting generally puts you at greater risk for such catastrophe than does blacklisting. At 2am Apple pushes an update. By 4am most of the computers on campus are KP'ing. That would not be pleasant for me or any of the mac users here.

Last edited by alternaut; 03/04/15 05:44 PM. Reason: Fixed quote markup

I work for the Department of Redundancy Department

Moderated by  alternaut, dianne, MacManiac 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.4.33 Page Time: 0.019s Queries: 26 (0.011s) Memory: 0.6001 MB (Peak: 0.6696 MB) Data Comp: Zlib Server Time: 2024-04-18 23:03:21 UTC
Valid HTML 5 and Valid CSS