Sijun Forums Forum Index
Log in to check your private messages
My Profile Search Who's Online Member List FAQ Register Login Sijun Forums Forum Index

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Goto page 1, 2  Next    Sijun Forums Forum Index >> Random Musings
View previous topic :: View next topic  
Author   Topic : "JPEG virus"
Pat
member


Member #
Joined: 06 Feb 2001
Posts: 947
Location: San Antonio

PostPosted: Fri Jun 14, 2002 6:12 am     Reply with quote
Read about it here.

The JPEG format is a curious one. You can literally stick anything in it, provided the file headers are correct --so it was only a matter of time. Last year I ran across a JPEG file that literally contained 2 distinct images. The file decompressed and displayed normally. On the surface you'd never know anything was amiss. However, something was wrong with the file because it was about twice the size it should have been for the level of compression it showed. With a little rooting around, it became evident there was additional image data in the file. Turns out, with the correct application, this piggybacked data could be accessed and viewed as an entirely seperate image. Weird.

I guess in the future our image viewers and browsers will have to scan the JPEG decompression process for additional data. Great... like they weren't slow enough as they were.

-Pat

[ June 14, 2002: Message edited by: Pat ]
Back to top
View user's profile Send private message
Tiger Eaten
member


Member #
Joined: 17 Nov 2000
Posts: 226
Location: Ottawa, Ontario, Canada

PostPosted: Fri Jun 14, 2002 6:23 am     Reply with quote
The .TXT format is a curious one. You can literally stick anything in it, provided the file headers are correct --so it was only a matter of time. Last year I ran across a .TXT file that literally contained 2 distinct words. The file decompressed and displayed normally. On the surface you'd never know anything was amiss. However, something was wrong with the file because it was about twice the size it should have been for the level of compression it showed. With a little rooting around, it became evident there was additional word in the file. Turns out, with the correct application, this piggybacked data could be accessed and viewed as an entirely seperate word. Weird.

I guess in the future our text viewers and browsers will have to scan the .TXT decompression process for additional data. Great... like they weren't slow enough as they were.

-Tiger


( Ok, so that's not funny. Sorry Pat. )

You can throw virus code into just about anything. The trick is to get it to execute and there is no risk of that happening with the .jpeg format. I believe the article itself says that towards the end.

[ June 14, 2002: Message edited by: Tiger Eaten ]
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Awetopsy
member


Member #
Joined: 04 Oct 2000
Posts: 3028
Location: Kelowna

PostPosted: Fri Jun 14, 2002 6:59 am     Reply with quote
theoretically... if you dropped virus code into a jpeg file, and made it execute when one of Photoshops jpeg opening Macros executed the jpeg file... you might be able to do it... (Im definitely not a programmer, so Im really talking through my teeth here.)


I still think people who make Virii should be shot.
Back to top
View user's profile Send private message
Pat
member


Member #
Joined: 06 Feb 2001
Posts: 947
Location: San Antonio

PostPosted: Fri Jun 14, 2002 7:54 am     Reply with quote
I think perhaps you're failing to understand the magnitude of the problem. Because JPEGs are so widespread, once the format becomes compromised, your life can become a living virus hell of new proportions.

While the JPEG's themselves are only the carriers of the viral information, the methods to trigger the malicious code are many.

Here's an interesting scenereo: You open Internet Explorer and visit a respectible site like Sijun. Unbeknownst to you or the site owner, the site has been hacked and the titlebar graphic is now the exact same JPEG you expect, but is now 4k larger. It also contains code to erase your hard drive.

Because of Internet Explorer's numerous vulenerabilities, scripted HTML code can be run locally on your machine by spoofing privileges. Or, alternately, code of the hacker's choice can be executed by flooding IE or tricking it to think certain file types need to be decompressed. Most of IE's vulenerabilities require hackers to know exactly where on the hard drive the code they wish to execute is. How convenient for them that your browsed JPEG files are stored in a cache file, uniformly located on all machines running Windows.

Properly executed, merely visiting a web site can set in motion a series of events that can infect and trigger viral code. In our example, as you're reading this message your hard drive could be rapidly disappearing.

That's just ONE of the obvious methods that comes to mind. I don't think that's funny at all.

-Pat
Back to top
View user's profile Send private message
Tiger Eaten
member


Member #
Joined: 17 Nov 2000
Posts: 226
Location: Ottawa, Ontario, Canada

PostPosted: Fri Jun 14, 2002 9:14 am     Reply with quote
quote
Quote:
I think perhaps you're failing to understand the magnitude of the problem.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
egerie
member


Member #
Joined: 30 Jul 2000
Posts: 693
Location: Montreal, Canada

PostPosted: Fri Jun 14, 2002 9:49 am     Reply with quote
Hmm "execute" is the keyword here. But as awetopsy said.. it might be possible to infect a program when opening a file in a certain app. Like .DOCs in Word for example ?

Hmm interesting.
Back to top
View user's profile Send private message Visit poster's website
Pat
member


Member #
Joined: 06 Feb 2001
Posts: 947
Location: San Antonio

PostPosted: Fri Jun 14, 2002 10:10 am     Reply with quote
Tiger Eaten, if all you can contribute to this topic is mockery and derision I'll thank you to shut the fuck up in my thread. I'm sure there are others who are interested in this.

-Pat
Back to top
View user's profile Send private message
the_monkey
member


Member #
Joined: 20 May 2000
Posts: 688
Location: BC, Canada

PostPosted: Fri Jun 14, 2002 10:43 am     Reply with quote
hmm. so lets say jpegs do become compromised due to virus infections, what do we do then? scan every picture, or resort to a new form of image compression?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Nilwort
member


Member #
Joined: 26 Jan 2002
Posts: 319

PostPosted: Fri Jun 14, 2002 12:56 pm     Reply with quote
Why do you all live in fear of viruses?!

I've never had any problems with viruses and I download all sorts of files from the internet, never used anti-virus programs either. Even if one does erase my hard drive I make backups nearly every week of important stuff...And even if a virus did manage to mess with my bios settings (even though I have a virus write protect warning on) and destroy my harddrive by messing with the magnetic header settings (if it's even possible to do damage that way) Then I'll take that as a sign that it's time to give up using my computer and maybe go fishing FOREVER!...not realy...but anyway...my point is, Do not fear the virus, OR IT HAS ALREADY WON! The data on your harddrive is expendable, if a virus messes with it...format c: and everything is ok.
Back to top
View user's profile Send private message
Pat
member


Member #
Joined: 06 Feb 2001
Posts: 947
Location: San Antonio

PostPosted: Fri Jun 14, 2002 1:13 pm     Reply with quote
Yes, there was a previous hoax JPEG virus. Ironic, huh?

This new virus isn't a hoax. Please check out Symantec's virus definition for W32.Perrun for details.

Sorry if I sound like I'm losing my cool, but I'm intensely curious about this development. I'm all for a fun and jokes, just not at the expense of derailing the topic.

-Pat
Back to top
View user's profile Send private message
[Shizo]
member


Member #
Joined: 22 Oct 1999
Posts: 3938

PostPosted: Fri Jun 14, 2002 1:20 pm     Reply with quote
Damn viruses. Does anybody else keep getting 129KB emails w/ viruses in them? Because i do hehe.
Back to top
View user's profile Send private message
Guy
member


Member #
Joined: 29 Feb 2000
Posts: 602
Location: British Columbia, Canada

PostPosted: Fri Jun 14, 2002 3:43 pm     Reply with quote
McAfee and Symantec have had a habit of creating these virus scares so they can sell more of there product when sales are low.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Coaster
member


Member #
Joined: 19 Feb 2002
Posts: 508
Location: Canada

PostPosted: Fri Jun 14, 2002 6:12 pm     Reply with quote
I agree with Tiger.
It's juuuust a scare created by the media.

"argueing on the interent is like the special olympics, even if you win your still a retard." -some retard
Back to top
View user's profile Send private message Send e-mail
Impaler
member


Member #
Joined: 02 Dec 1999
Posts: 1560
Location: Albuquerque.NewMexico.USA

PostPosted: Fri Jun 14, 2002 6:48 pm     Reply with quote
I got my very first virus in the email 3 days ago in my 7+ years of using the internet. I deleted it.

Although, I do have a version of Netbus server on my hard drive that I can't delete.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Loki
member


Member #
Joined: 12 Jan 2000
Posts: 1321
Location: Wellington, New Zealand

PostPosted: Fri Jun 14, 2002 7:00 pm     Reply with quote
http://features.slashdot.org/features/02/06/14/1343223.shtml?tid=166


Amen.
Back to top
View user's profile Send private message AIM Address MSN Messenger
glody
member


Member #
Joined: 02 Dec 2001
Posts: 233
Location: NYC

PostPosted: Fri Jun 14, 2002 8:53 pm     Reply with quote
wanna solve all your world problems??

have one computer...used for....art drawing whatever you do that brings you income....keep that UNHOOKED TO THE INTERNET or any typle of broadband service....also make back ups....either be another harddrive, zip disks/cd or dvd burning....

purchase a second computer soley for the use of browsing the internet or anything else...posting on sijun even!!

so if anything gets messed up with the one computer..you know your "workstation" will be in pristine shape.

...for those who have just one computer...please pray....
Back to top
View user's profile Send private message Visit poster's website
Pat
member


Member #
Joined: 06 Feb 2001
Posts: 947
Location: San Antonio

PostPosted: Fri Jun 14, 2002 11:12 pm     Reply with quote
I just read two more articles on the virus here and here. The general consensus seems to be that current virus checkers can and will be updated to check for the problem. Sadly, signs point to this being merely the first prototype. It sounds easy enough to stop, but using JPEGS as an attack vector opens up an entirely new class of potential weaknesses. Historically speaking, despite the widespread information and precautions taken, similarly easy-to-stop virii have caused billions of dollars in damages. Please recall Melissa, SirCam, Lovebug and Code Red.

-Pat

[ June 14, 2002: Message edited by: Pat ]
Back to top
View user's profile Send private message
Tiger Eaten
member


Member #
Joined: 17 Nov 2000
Posts: 226
Location: Ottawa, Ontario, Canada

PostPosted: Fri Jun 14, 2002 11:25 pm     Reply with quote
*sigh*

Ok, Pat. Here's my contribution in two parts:

1. The .jpeg format (standardized) has been around since 1990.

2. The .jpeg virus hoax has been around since 1994.

link 1

link 2

I am a reasonable guy, so please keep your cool in the future.

[ June 14, 2002: Message edited by: Tiger Eaten ]
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Frost
member


Member #
Joined: 12 Jan 2000
Posts: 2662
Location: Montr�al, Canada

PostPosted: Sat Jun 15, 2002 7:37 pm     Reply with quote
Well, most file formats have ways to encode viruses in them, however, that doesn't mean that they are potentially harmful.

Images, videos, wave or music files can contain viruses, but they cannot spread on their own. In order for a virus to spread, it needs to be executed in the machine's NATIVE opcodes/instructions (ie, PC viruses will not work on Mac, etc.). Unless a program is stupid enough to jump it's executing processing inside a data structure of such a file, there's hardly a chance for such things to happen. The only other possible way this could happen, and this is how many other previous virus attacks worked, is by overflowing certain badly programmed applications memory buffers and overwriting executable code in memory by virus code, so that when the application gets to run that part of it's [now virus corrupt] code, the virus would spread. This is a VERY very long shot, and no properly written application should ever allow for that (buffer overruns, memory leaks, etc).

I think we are very very safe from such hazards.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vigilo
member


Member #
Joined: 26 May 2002
Posts: 105

PostPosted: Mon Jun 17, 2002 10:58 pm     Reply with quote
What Frost said.

Never played around with JPEG but you can also stick sectors of miscelaneous data in a GIF. It has specially defined blocks for it. Sorta like an image cookie or various extensions or special instructions. You could store some harmful instructions there too.. but i don't think there are any stupid viewers that would be foolish enought to run them...
Back to top
View user's profile Send private message
[Shizo]
member


Member #
Joined: 22 Oct 1999
Posts: 3938

PostPosted: Tue Jun 18, 2002 8:08 am     Reply with quote


haha! you're all screwed :0
Back to top
View user's profile Send private message
Akolyte
member


Member #
Joined: 12 Sep 2000
Posts: 722
Location: NY/RSAD

PostPosted: Fri Jun 21, 2002 1:30 pm     Reply with quote
can you get AIDS from the internet?
Back to top
View user's profile Send private message
Axl
member


Member #
Joined: 11 Mar 2000
Posts: 411
Location: London, England

PostPosted: Mon Jun 24, 2002 4:10 am     Reply with quote
Talking about the companies creating a scare to boost sales is a fair comment in some respects but I've just updated my virus definitions for norton and have discovered a jpg file containing something. The file was called com3[1].jpg and it was causing loading problems for photoshop and IE. This was the first virus I've got in 6 years of owning computers and I haven't got a clue how it got on to my hard drive as it wasn't something that I downloaded.
Back to top
View user's profile Send private message Visit poster's website
Dr. Bang
member


Member #
Joined: 04 Dec 2001
Posts: 1425
Location: DENHAAG, HOLLAND

PostPosted: Mon Jun 24, 2002 4:36 am     Reply with quote
there's already a JPG virus that unfortunately, most of us have seen it.


hello.jpg
Back to top
View user's profile Send private message
Frost
member


Member #
Joined: 12 Jan 2000
Posts: 2662
Location: Montr�al, Canada

PostPosted: Tue Jun 25, 2002 4:59 pm     Reply with quote
Hey! Why'd you post that? Now I can't even open jpg files! I click on them and they don't do anything!

Oh wait, it's just the one. Vicked trick mein friendt.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Pat
member


Member #
Joined: 06 Feb 2001
Posts: 947
Location: San Antonio

PostPosted: Wed Sep 15, 2004 11:16 am     Reply with quote
Dragging this topic back from the grave with a timely update:

"Microsoft, which recommended immediate updates, said the newly discovered vulnerability could allow remote-code execution thanks to a buffer-overrun vulnerability in the processing of JPEG image formats.

An attacker who successfully exploited the vulnerability could take advantage of a logged-on user to take complete control of a system, allowing installation of programs, viewing, changing or deleting of data, or even creation of new, privileged accounts, Microsoft said."

read article here


"Newly discovered", my ass...


-Pat
Back to top
View user's profile Send private message
stacy
member


Member #
Joined: 05 Jul 2004
Posts: 271
Location: In the mountains on the Canadian border.

PostPosted: Wed Sep 15, 2004 1:58 pm     Reply with quote
I don't know why everone is in such a panic
about having a virus.
In all the time I've used a computer, I've
NEVER had a virus.
In fact, I don't think I even know anyone
who's ever had a vir#%'')''#..yyZp'''$;xR..'Q-sYqUy~
~@Jm'S7q#fm*((vIs+&m_fZ%mk............
Back to top
View user's profile Send private message
Awetopsy
member


Member #
Joined: 04 Oct 2000
Posts: 3028
Location: Kelowna

PostPosted: Wed Sep 15, 2004 8:18 pm     Reply with quote
^
^

Lol

Laughing
Back to top
View user's profile Send private message
Giant Hamster
member


Member #
Joined: 22 Oct 1999
Posts: 1782

PostPosted: Wed Sep 15, 2004 10:24 pm     Reply with quote
Nilwort:

A quick survey, if you'd be so kind:

1. Are you on dial up or broadband?

2. Do you have a firewall?

3. What version of Windows are you running?

4. How long have you been running your current installation of windows? (the timespan since you most recently installed windows to the present)

5. Do you use Peer-2-Peer sharing applications?

6. What internet browser do you use?

Lastly, If you would: http://www.antivirus.com Go there and run the Free Online scan.

It's not a 100% perfect test, but I'm curious about the results. Lemme know what turns up, if anything! :D

Thanks!
Back to top
View user's profile Send private message
Giant Hamster
member


Member #
Joined: 22 Oct 1999
Posts: 1782

PostPosted: Wed Sep 15, 2004 10:28 pm     Reply with quote
Wow.

This is old as shit, isn't it?

Fuck. HAHAHA.

Damn you, Pat. You've ressurected a thread from 2002. Die.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Sijun Forums Forum Index -> Random Musings All times are GMT - 8 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2005 phpBB Group