Author Topic: Mac App Alleged to be Malware  (Read 4190 times)

Offline D76

  • Super Duper Poster
  • ****
  • Posts: 438
    • View Profile
    • http://
Mac App Alleged to be Malware
« on: February 23, 2007, 09:21:04 PM »
From the Inquirer:
Mac Display Eater really does, if this horror story is true.
QUOTE
Display Eater records motion video on your screen which you can then convert to a quicktime movie.

However writing in his bog here, Karsten Kusche, who works for another Apple software maker Briksoftware, says that if you try to use a pirated serial number with Display Eater, the software will delete your home file, which in Mac land is the same as killing your computer.
What happens if you make a typo when entering the serial number? Lots of stuff about this is hauled up if you do a web search for "os x" "display eater" malware.

Offline ()

  • TS Addict
  • *****
  • Posts: 1101
    • View Profile
    • http://
Mac App Alleged to be Malware
« Reply #1 on: February 23, 2007, 09:34:18 PM »
The name alone tells me to stay away from the program (Display Eater).  What an awful name for a program, and why would anyone need it to begin with? Thinking.gif

I don't install anthing that isn't Apple, or from a reputable company like Adobe, Hp for Mac software, well you get the picture.

Interesting article, and I am not all that ford of Versiontracker.  Remember Tucows where people downloaded all the software for their PC's and got viruses and malware/spyware on their PCs that they couldn't get rid of.

The word "FREE" should be defined as CAUTION/Beware!  For when it comes to downloading off the iNet for FREE, youhave to expect something else is hidden within the download that will eventually cost you headaches or something else.

Offline krissel

  • Administrator
  • TS Addict
  • *****
  • Posts: 14735
    • View Profile
Mac App Alleged to be Malware
« Reply #2 on: February 24, 2007, 12:14:30 AM »
Pretty draconian.

This company is developing a free motion capture program to be realeased in March.

http://www.koingosw.com/


A Techsurvivors founder

Offline gunug

  • TS Addict
  • *****
  • Posts: 6710
  • TS Palindrome
    • View Profile
Mac App Alleged to be Malware
« Reply #3 on: February 24, 2007, 03:51:43 AM »
I remember one of the old PC "virus" or hacker programs could actually damage the video monitor by overdriving the frequency; this was according to a class I went to up in Chicago about 10 years ago!
"If there really is no beer in heaven then maybe at least the
computers will work all of the time!"

Offline giantmike

  • TS Addict
  • *****
  • Posts: 1117
    • View Profile
    • http://www.giantmike.com
Mac App Alleged to be Malware
« Reply #4 on: February 24, 2007, 09:01:46 AM »
Um, I don't think you guys read the article in as detail as it deserves. The software only deletes your home directory if you use a pirated registration code. Now, I don't in any way condone doing something so drastic, but it will certainly keep his software from being pirated.

I don't really consider this malware, but just an over-zealous way of protecting his work.

Offline gunug

  • TS Addict
  • *****
  • Posts: 6710
  • TS Palindrome
    • View Profile
Mac App Alleged to be Malware
« Reply #5 on: February 24, 2007, 09:07:01 AM »
I've had perfectly legal apps fail when I mistyped the serial #, or in the case of Adobe Products bought on an educational contract, when I typed it in correctly!  Trashing systems isn't something to monkey with!
"If there really is no beer in heaven then maybe at least the
computers will work all of the time!"

Offline giantmike

  • TS Addict
  • *****
  • Posts: 1117
    • View Profile
    • http://www.giantmike.com
Mac App Alleged to be Malware
« Reply #6 on: February 24, 2007, 10:09:35 AM »
Mis-typing a code and entering a pirated code are two very different things.

As I said, I don't condone messing up the user's computer in any way, but this really isn't malware.

Offline Xairbusdriver

  • Administrator
  • TS Addict
  • *****
  • Posts: 26388
  • 27" iMac (mid-17), Big Sur, Mac mini, Catalina
    • View Profile
    • Mid-South Weather
Mac App Alleged to be Malware
« Reply #7 on: February 24, 2007, 10:29:30 AM »
I can't agree with this kind of 'anti-piracy' technique. If that's all this guy wanted to do and it is possible to do, then he could just as easily stop and delete the actual program. He still prevents 'piracy' but would not harm people making simple typing mistakes. There is no way for him to know that is not a possibility, IMHO, if all he's checking is a previously used or 'bad' serial number. And even if he has another 'fool proof' method, he doesn't have any authority, that I know of, to damage other parts of some ones computer intentionally.

In other words, the results of his actions seem not related to the damage caused by the actions of the 'thief'. That's a basic part of the level of punishment rules, we don't kill someone who throws trash out of their car. Every offense has a maximum/minimum penalty ( whether you agree with them or not, is another matter ). We all know that no software application can be perfect in the hands of the user. So, why should anyone trust this guys app to behave correctly, even if it has a correctly entered number? Ever have a pref file get corrupted? Wonder what he'd say if his did and his own app deleted his user files? tongue.gif
« Last Edit: February 24, 2007, 10:32:23 AM by Xairbusdriver »
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system
CAUTION! Childhood vaccinations cause adults! :yes:

Offline Dreambird

  • TS Addict
  • *****
  • Posts: 5191
  • Meet The New Boss
    • View Profile
Mac App Alleged to be Malware
« Reply #8 on: February 24, 2007, 05:57:39 PM »
The guy says he intended it as a "scare campaign"... it backfired on him... wink.gif

http://www.reversecode.com/
******
On permanent walk-about... ;)
MacBook Pro Retina, mid-2012, SSD 500GB, 16GB RAM, High Sierra 10.13.6, iPad Air 2, iOS 11.4.1

Offline FLASH1296

  • Super Duper Poster
  • ****
  • Posts: 468
    • View Profile
    • http://
Mac App Alleged to be Malware
« Reply #9 on: February 27, 2007, 03:28:22 PM »
It is a hoax.  No more than that.  Read on:

Behind The Curtain With Display Eater:
 
You may have seen the discussion recently about an app called Display Eater by Reza Hussain. While the author has not responded to the latest discussion, he allegedly admitted that the whole thing was a hoax to deter potential pirates. Reza has just replied with a public letter. While the discussion has been lively, the investigation has been nonexistant. So here it is.

First, the legal stuff:

According to the Display Eater 1.8.5 license agreement:


3. License Restrictions
b. You may not alter, merge, modify, adapt or translate the Software, or decompile, reverse engineer, disassemble, or otherwise reduce the Software to a human-perceivable form.


But I wanted to disassemble the app! Fortunately, the license is not really a legal agreement:

THIS SOFTWARE END USER LICENSE AGREEMENT(EULA) IS A LEGA AGREEMENT BETWEEN YOU(EITHER AN INDIVIDUAL OR, IF PURCHASED OR OTHERWISE AQUIRED BY OR FOR AN ENTITY, AN ENTITY) AND THE AUTHOR OF THIS SOFTWARE.


Since LEGA AGREEMENTs don't hold up in court, we're free to do what we want with the app*. I'd also like to suggest to John Stansbury that while his assertion that users don't have the right to reverse engineer an app is correct in most cases, it's not applicable here, for the above reason.

Reza, fix your license.

Second, the fun stuff:

This is one of those apps that writes copious amounts of crap to the console for no reason. For example, after simply launching the app, declining to register, and quitting, I got this:

display_eater[3338] help me Start Recording
display_eater[3338] no file
display_eater[3338] mmmkay
display_eater[3338] mmmmm
display_eater[3338] selfmutilation DVC PAL
display_eater[3338] lettesta /Applications/Display Eater 1.85/Display Eater.app/Contents/Resources/cursor2.gif
display_eater[3338] onenationunder#### 640x480
display_eater[3338] cheated--20 fps
display_eater[3338] loadedrender

Yes, that says onenationunder####. In my console log. Is it still cursing if you don't use camelCase? Well, at least he's a South Park fan. Here are a few other nice ones I found in the disassembly:

This "emailDeveloper:" method doesn't actually send any mail, but at least it further pollutes my log.

-(void)[mainWindowController emailDeveloper:]
3c600003 lis r3,0x3
38639500 addi r3,r3,0x9500 emailz0r
4801e6d8 b 0x21bd0 _NSLog


And from other methods:

386395e0 addi r3,r3,0x95e0 FATTTTTTTTTY>>>>>>>
4801e005 bl 0x21bd0 _NSLog

386395a0 addi r3,r3,0x95a0 not saved lol
4801e1a1 bl 0x21bd0 _NSLog

3863a5a0 addi r3,r3,0xa5a0 lawl
4800f438 b 0x21bd0 _NSLog

3863b2c0 addi r3,r3,0xb2c0 OMGFWTFBBQxinFINITY
48003ee8 b 0x21bd0 _NSLog

38639e60 addi r3,r3,0x9e60 SDKNLLLLLLLLLLLLL
480161d5 bl 0x21bd0 _NSLog


And on and on and on. People, mescaline can be loads of fun, but it's not conducive to a healthy programming environment.

Ok, so Reza likes to make jokes at the expense of my log file, but that's not a capital offense. Allegedly deleting user data should be. While we're talking about spurious log data, I should note that Display Eater actually logs the customer's name, email and serial number on every launch. I'll give you one guess why that's a Bad Idea™.

Finally, the good stuff:

Ok, so Reza beat me to the punch by admitting that Display Eater does not really delete your home directory. But it does delete something, and those users who watch their console logs already know what it is. I had planned to present the complete annotated assembly of the methods involved, but that would bloat this post incredibly and bore most of you. Here's a higher level explanation:

The C function that does the deleting is called "destroy". In otool or otx output, search for "_destroy:". Its C declaration would look like this:


void destroy(NSString* inString);


It is called only from itself, and from one Obj-C method in the "recordCreateController" class:

- (id)addRecordWithPath: (NSString*)inPath
andRect: (NSRect*)inRect;


(class-dump says inPath should be of type "id" but the code in Display Eater assumes an NSString*. We'll have to wait for the GPL'd code, but I suspect this is just more sloppy code- see below for the rest)

In the disassembled code, "addRecordWithPath:andRect:" immediately follows "_destroy:".

Note the interestingly named "emptyEntireClipOnAllOfThem" that follows "addRecordWithPath:andRect:". While it smacks of gangland violence, it is not involved with deleting any files. My good conscience prevents me from revealing its purpose  

So, when does "addRecordWithPath:andRect:" call "destroy"? The Obj-C code looks something like this:

id delegate = [[NSApplication sharedApplication] delegate];

// Reza, you may want to call [delegate respondsToSelector:] first...
NSString* support = [delegate applicationSupportFolder];

// "ninjakiller" is the reg file.
// Reza, use stringByAppendingPathComponent, mmmkay?
NSString* regFile = [support stringByAppendingString: @"/ninjakiller"]
NSArray* regArray = [NSUnarchiver unarchiveObjectWithFile: regFile];

if (![[regArray objectAtIndex: 1] compare: @"Special [K]"] ||
![[regArray objectAtIndex: 1] compare: @"KCN"])
{
NSLog(@"BUT I FALTER");
destroy(@"~/Library/Application Support/display_eater/");

// and then show the pirate dialog...
}


Ok, nothing surprising. Whoever Special [K](nice name, btw) and KCN are, they're screwed. So what happens inside "destroy"? It seems clear already that Display Eater's app support folder will get nuked, but is that all that happens?

void destroy(NSString* inString)
{
NSFileManager* manager = [NSFileManager defaultManager];

NSString* path = [inString stringByExpandingTildeInPath];
// Believe it or not, 'path' is only used for the following call.

NSArray* files = [manager directoryContentsAtPath: path];
unsigned int curFile; // I assume this is unsigned.

for (curFile = 0; curFile < [files count]; curFile++)
{
// Reza, you've already expanded this- you don't need to do it twice.
NSString* basePath = [inString stringByExpandingTildeInPath];
NSString* curFileName = [files objectAtIndex: curFile];

// Reza, please use stringByAppendingPathComponent.
NSString* curPath = [NSString stringWithFormat: @"%@/%@"
basePath, curFileName];

NSLog(@"%@", curPath);

// Reza, you did this already...
NSFileManager* manager2 = [NSFileManager defaultManager];

// ...and this, too.
// I'm not sure why passing just the name and not the path works,
// but it does.
if ([manager2 isDeletableFileAtPath: [files objectAtIndex: curFile]])
{
// Calling default manager yet again. At least we're using
// the full path this time.
[[NSFileManager defaultManager]
removeFileAtPath: curPath handler: nil];
NSLog(@"DELETABLE");
}
else
{
destroy(curPath);
}
}
}


So there it is. Display Eater recursively deletes the contents of its own Application Support folder(but not the folder itself), and nothing else. If the user was silly enough to put anything in that folder, it would have been nuked. But in that case, one might argue that they deserved it.

Note that the "piratekiller" file, whose contents seem to indicate a perverted TCL function call(kilo transform ar reza) is never used for anything.

Ultimately, the worst thing about this app is the sloppy Obj-C code. Reza, I would be happy to optimize your code a bit, if you're so inclined.

[EDITED for double posting, I think]
[Also to clean up some less-than-civil language used by the 'developer']
[If I deleted too much, Flash, feel free to add it in another post to the thread.]
[xABD]
« Last Edit: February 27, 2007, 06:30:47 PM by Xairbusdriver »

Offline tacit

  • TS Addict
  • *****
  • Posts: 1628
    • View Profile
    • http://www.xeromag.com/
Mac App Alleged to be Malware
« Reply #10 on: February 28, 2007, 06:40:25 PM »
QUOTE(FLASH1296 @ Feb 27 2007, 09:28 PM) [snapback]120391[/snapback]
In the disassembled code, "addRecordWithPath:andRect:" immediately follows "_destroy:".

Note the interestingly named "emptyEntireClipOnAllOfThem" that follows "addRecordWithPath:andRect:". While it smacks of gangland violence, it is not involved with deleting any files. My good conscience prevents me from revealing its purpose


Not mine. It clears the Clipboard. Presumably, this is to keep you from copying the serial number to the Clipboard and pasting it into the registration dialog.

There is a version of Windows that does something similar; if you hit Paste when it asks for the CD key, it will always say that the CD key is invalid, even if it's a legit key. The reason? The programmer believes that anyone with a real key will type it in, and that the only people who would copy a key to the clipboard and then hit Paste are people copying a pirate key from a bootleg Web site.
A whole lot about me: www.xeromag.com/franklin.html

Offline D76

  • Super Duper Poster
  • ****
  • Posts: 438
    • View Profile
    • http://
Mac App Alleged to be Malware
« Reply #11 on: February 28, 2007, 08:33:49 PM »
Stuffit Deluxe and Photoshop does, or did, too.

Offline tacit

  • TS Addict
  • *****
  • Posts: 1628
    • View Profile
    • http://www.xeromag.com/
Mac App Alleged to be Malware
« Reply #12 on: March 01, 2007, 12:45:35 PM »
QUOTE(D76 @ Mar 1 2007, 02:33 AM) [snapback]120527[/snapback]
Stuffit Deluxe and Photoshop does, or did, too.


Yep. It's really frustrating, too. With Stuffit, you can register online and buy a CD key that is sent to you in email--but you have to open your email, read the key, and then re-type it, you can't copy/paste it. Grr.

I make text files with the CD keys or serial numbers of software I buy, and keep those text files in a common place. I do this for two reasons: first, because I might lose track of the physical card (I've moved four times in the last three years, you know how that goes!) and second, when I call tech support I want to have the registration info handy (I just called Adobe recently for tech support with Director, and having a record of the serial number on the computer I was sitting in front of saved me having to dig out the registration information from all the piles of software boxes). But if I have to reinstall the software, I still have to manually type in the serial number, which is kind of frustrating.
A whole lot about me: www.xeromag.com/franklin.html

Offline krissel

  • Administrator
  • TS Addict
  • *****
  • Posts: 14735
    • View Profile
Mac App Alleged to be Malware
« Reply #13 on: March 02, 2007, 04:12:20 AM »
QUOTE(tacit @ Mar 1 2007, 01:45 PM) [snapback]120573[/snapback]
. But if I have to reinstall the software, I still have to manually type in the serial number, which is kind of frustrating.


Agreed. Especially since some of those Adobe numbers are soooo loooong.    angry.gif


A Techsurvivors founder