Microsoft: piracy is getting virusy - Page 3

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Re: Microsoft: piracy is getting virusy


Quoted text here. Click to load it

MZ.. :)


--
There ain't no rest for the wicked. Money don't grow on trees. I got bills
to pay. I got mouths to feed. Ain't nothing in this world for free. Oh No.
I can't slow down, I can't hold back though you know I wish I could. Oh no
there ain't no rest for the wicked, until we close our eyes for good.




Re: Microsoft: piracy is getting virusy

Dustin wrote:
Quoted text here. Click to load it

Typo - you're correct 'MZ'

Re: Microsoft: piracy is getting virusy

"FromTheRafters" wrote:

Quoted text here. Click to load it

So you don't normally hide extensions?

Quoted text here. Click to load it

The extensions have meaning in that a shell operation uses them to
decide what application (or not) to open the file with.

Quoted text here. Click to load it

I wouldn't like that at all. If I double click on a malicious exe (not
that I deliberately do) renamed as ".vir" or ".bin" then I don't want
the OS deciding what to do with it; i.e. run it. I want it to open in
a hex editor or whatever I've associated to those extensions.

Quoted text here. Click to load it

The only way that could work is if displaying an icon resource from
the exe were disallowed. You would then use a generic icon for all
exes. It would also slow down explorer listings as the OS would have
to scan every file in a directory to see what icon to use. There's
also no quick way of determining whether a file is text only,
especially in these days of unicode.

Quoted text here. Click to load it

Yes, but it only happens where the shell doesn't recognise the
extension or there is none. If I give an OLE2 file a ".txt" extension
it'll open in notepad.

Quoted text here. Click to load it

I very rarely open anything with a double-click. I use the right-click
menu and select one of the many options I have for various file types.

Quoted text here. Click to load it

So it's only lying about the filename. The property page shows it as
an application and it even has the version tab.



Re: Microsoft: piracy is getting virusy

Ant wrote :
Quoted text here. Click to load it

No, but I made my image with default settings for that OOTB experience.
I think I'll re-do it with tools onboard and proper settings.
Quoted text here. Click to load it

Yeah, I hadn't considered the ease at which one can 'name away'
executables. I suppose though that it could be done with an execute bit
or something like that. I'm not really opposed to apps being associated
by filename extension with the files they are meant to work with, I
just thought that it could be done with something more meaningful than
a filename where executables are concerned. After all, the loaders
don't depend on filename extensions to determine what kind of
executable they are.
Quoted text here. Click to load it

It could still be allowed, but the shell could overlay something akin
to what it does with shortcut icons. An executable would *always* show
that it is an executable by a star (instead of a little arrow) in the
corner, or a border color for the entire icon. All executables could be
identified clearly no matter what custom icon was included.

Quoted text here. Click to load it

That's a good point. As it stands it would only have to look at names,
which are in the filesystem not in the content of the files themselves.

Quoted text here. Click to load it

I suppose the OS could determine such when the file is first saved with
content and such metadata could be stored in the filesystem where it is
more easily accessed.

[...]



Re: Microsoft: piracy is getting virusy

"FromTheRafters" wrote:

Quoted text here. Click to load it

That's how Unix does it.

Quoted text here. Click to load it

I think that would be a good idea anyway. Make applications very
distinct from documents/data.

Quoted text here. Click to load it

Like the resource fork in MacOS or alternate data streams and extended
attributes in NTFS. The trouble is that a file and its metadata are
soon parted when copied to other file systems (USB sticks).



Re: Microsoft: piracy is getting virusy

on 10/15/2012, Ant supposed :
Quoted text here. Click to load it

Yeah, but if that metadata is actually in the file's content and only
copied the one time to the local filesystem to make it more easily
accessible for listing, it would survive being transported across such
systems with filesystems that are incompatible, and those systems would
be unaffected by the change. They could, in fact, still rely on
filename extension if they wanted to.

I dunno, it just seems to me that filenames are too easily manipulated
to have such an important role in how an OS or a user will treat a
file. It made perfect sense in the 8.3 days, but now perhaps something
more robust can be done.



Re: Microsoft: piracy is getting virusy

FromTheRafters wrote:
Quoted text here. Click to load it

Now *that* sure took me back! http://en.wikipedia.org/wiki/8.3_filename

Re: Microsoft: piracy is getting virusy

@dont-email.me:

Quoted text here. Click to load it

Yep :)


--
There ain't no rest for the wicked. Money don't grow on trees. I got
bills to pay. I got mouths to feed. Ain't nothing in this world for
free. Oh No. I can't slow down, I can't hold back though you know I wish
I could. Oh no there ain't no rest for the wicked, until we close our
eyes for good.




Re: Microsoft: piracy is getting virusy


Quoted text here. Click to load it

Yep..

now...

drop to an msdos prompt (as you really have DOS), and type "start
calc.mp3" and press enter.

Close calc when you pick your jaw back up.
 
Quoted text here. Click to load it
there.

File association was dumber! on windows98. :) start.exe can be invoked
to override whatever "association" is set.

Quoted text here. Click to load it

Depends on user configuration settings for XP. Win7 likely the same.
 



--
There ain't no rest for the wicked. Money don't grow on trees. I got
bills to pay. I got mouths to feed. Ain't nothing in this world for
free. Oh No. I can't slow down, I can't hold back though you know I wish
I could. Oh no there ain't no rest for the wicked, until we close our
eyes for good.




Re: Microsoft: piracy is getting virusy



FromTheRafters wrote:
Quoted text here. Click to load it




The whole point is if you set your system to specific applications for
certain extensions,.....you can't run into too many problems if say a file
with .mov or .avi, that is really a malware type .exe,.... automatically is
opened by a video player, all it will do is choke and throw an error without
doing any damage.

Let windows decide on it's own how to run it and you are begging for
problems



Re: Microsoft: piracy is getting virusy

Bast expressed precisely :
Quoted text here. Click to load it

Right, but when you download a file you are not actually downloading a
file, you are downloading content from a remote file into a new local
file that may or may not even have the same naming convention. If
decisions were made as to what icon to present in the GUI or what
application to associate the file with are made with respect to the
content rather than the filename there would be less chance for
confusion. A exefile named benign.jpg would still be associated with
the loader chain and have an icon showing it as an executable.

Custom icons could still be used, but as with the little arrow that
Windows uses for shortcut icons - there could be a little star or
border or something to show it as an executable. That way, if an exe
had an icon like notepad and an extension of .txt it would *still* show
the user that it is an executable and it would still be loadable
because the OS uses the content rather than the name to make its
decisions about loading an executable image.



Re: Microsoft: piracy is getting virusy



FromTheRafters wrote:
Quoted text here. Click to load it


Whaaaaa ??????
You download a file, PERIOD.


you are downloading content from a remote file into a new local
Quoted text here. Click to load it




FILE ICONS are created and placed by your own system, they are not
downloaded with files.
Website icons are downloaded only when you view a webpage but are only saved
and read by a browser.



Re: Microsoft: piracy is getting virusy

wrote:

Quoted text here. Click to load it

    Huh ? Maybe in linux, but most Windows icons are in the
(downloaded) executables .....
    []'s
--
Don't be evil - Google 2004
We have a new policy - Google 2012

Re: Microsoft: piracy is getting virusy

Bast brought next idea :
Quoted text here. Click to load it

Okay.

Some are, some aren't.

Quoted text here. Click to load it

Okay.



Re: Microsoft: piracy is getting virusy



FromTheRafters wrote:
Quoted text here. Click to load it



I am pointing out that if you simply download a file of data, you don't get
a file icon with it.
Unless you download a .zip and it's in there.

However you can download ICON FILES as prepared graphics (.ico) , but then
you have to manually assign them to a file type

But in the context of this thread you have virtually no chance of
downloading an .Mp3 or .avi and having an icon come in with it.






Quoted text here. Click to load it



Re: Microsoft: piracy is getting virusy

Bast wrote:
[...]

Quoted text here. Click to load it

I downloaded an MP3 file that loads a picture of an album cover onto my
desktop. When I click that picture, the song plays. Is that not an icon?

Re: Microsoft: piracy is getting virusy

Bast wrote on 10/14/2012 :
Quoted text here. Click to load it

Yes, and I was pointing out that what actually happens is that your OS
has its filesystem create a new "file" as a destination for the content
of the remote (source) "file's" content. There is no actual "file"
being transferred even though you may be using FTP which by its name
should be a Protocol for Tranferring Files. The source file may even
have a name that is incompatible with your local OS/filesystem's
destination file.
Quoted text here. Click to load it

Yes, and some DLLs are icon libraries as opposed to executable code
libraries. Still, if you try to download an icon file, what you get is
a local file being created on the filesystem for the content of the
remote icon file to be stored locally in. You don't get "that file" -
in fact you may get one of a different name (8.3 vs. LFN) depending on
your system.
Quoted text here. Click to load it

Of course not, but an executable file can have its own custom icon that
travels with the content when it is downloaded.

[...]



Re: Microsoft: piracy is getting virusy



FromTheRafters wrote:
Quoted text here. Click to load it



But who would be stupid enough to think an .exe would contain media content
?



Re: Microsoft: piracy is getting virusy

It happens that Bast formulated :
Quoted text here. Click to load it

I've seen executable files with RLO characters in their filename so
that the shell GUI displays something like simplexe.txt for what
*really* is an executable named simpl[RLO}txt.exe.

one might even be able to see that here since NNTP supports Unicode
now.

simplexe.txt
simpl‮txt.exe

If this executable had a notepad icon in its resource section then it
wouldn't take an idiot to be fooled.



Re: Microsoft: piracy is getting virusy



FromTheRafters wrote:
Quoted text here. Click to load it




It wouldn't fool my system.
Clicking it would open textpad, and the file would choke.

Of course if you want to turn off viewing extensions and hidden files, and
put all your trust in Windows,....good luck.



Site Timeline