Forums: Ie Exploit => Jpg - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Ie Exploit => Jpg -private-

#1 User is offline   extreme 

  • Specialist
  • Icon
  • Group: Specialist
  • Posts: 582
  • Joined: 02-September 03

Posted 31 January 2004 - 07:57 AM

Here is the code I wrote a while ago with the help of a friend.. Just to say on start that this is not an exploit.. This is just a way of hiding your IE exploit so no one can see source code of exploit etc.... There are other uses offcourse but you have to use your imagination...
FOr example.. Since you run your exploit as JPG and not HTML, or PHP file, you can link it to avatar on any forum and anyone that "sees" your avatar, gets infected, you can then send picture to someone in HTML email(it downloads automatically)... But that stuff is still in development and could use some help from bigger experts then myself...
This example will just use simple script to show your IP... But executing script is the main point of this so that is all you need...
1. Make sure your webserver has php GD installed..
2. Content of picture.JPG
<?php

    header("Content-type: image/jpeg");

    $string = $_SERVER['REMOTE_ADDR'];

    $im     = imagecreatefromjpeg("some_picture.jpg");

    $orange = imagecolorallocate($im, 220, 210, 60);

    $px     = (imagesx($im) - 7.5 * strlen($string)) / 2;

    imagestring($im, 3, $px, 9, $string, $orange);

    imagejpeg($im);

    imagedestroy($im);

?>

3. putt in same dir some picture that will be shown when you run picture.jpg and name it "some_picture.jpg"
4. In same directory of your Apache webserver, putt one .htaccess file. And content of that file will be:
AddType application/x-httpd-php .php .jpg

Now just visit host.com/picture.jpg via your web browser and voala.. You will see your IP displayed in picture.. Script executed, and you just thought you were just looking at harmless picture...
WUTranslink
0

#2 User is offline   mrBob 

  • Sergeant First Class
  • Icon
  • Group: Specialist
  • Posts: 321
  • Joined: 12-August 03

Post icon  Posted 31 January 2004 - 11:07 AM

wow.. this can be massive
interesting though...
thanx
gonna play with it
0

#3 User is offline   mrBob 

  • Sergeant First Class
  • Icon
  • Group: Specialist
  • Posts: 321
  • Joined: 12-August 03

Posted 31 January 2004 - 12:03 PM

well... played with it
i don't have enough php knowledge to let it run some script :P
0

#4 User is offline   AdmiralB 

  • Sergeant First Class
  • Icon
  • Group: Members
  • Posts: 312
  • Joined: 24-December 03

Posted 31 January 2004 - 05:25 PM

okay this is an achivement and i hope it doesn't break loose as another BIG BIG Virus that bill gates put a price tag on LOl
0

#5 User is offline   boshcash 

  • Master Sergeant
  • Icon
  • Group: Specialist
  • Posts: 461
  • Joined: 09-October 03

Posted 31 January 2004 - 07:58 PM

nice one , nice idea :) , but u can also point ur avatar to pic on an HTTP server owned by you , and check the logs and who requested that pic
0

#6 User is offline   AdmiralB 

  • Sergeant First Class
  • Icon
  • Group: Members
  • Posts: 312
  • Joined: 24-December 03

Posted 31 January 2004 - 08:09 PM

theres something i dun understand though how do u ADD SUCH code content to a picture LOL
0

#7 User is offline   mrBob 

  • Sergeant First Class
  • Icon
  • Group: Specialist
  • Posts: 321
  • Joined: 12-August 03

Posted 01 February 2004 - 04:51 AM

AdmiralB, on Feb 1 2004, 04:09 AM, said:

theres something i dun understand though how do u ADD SUCH code content to a picture LOL

you don't... but the .htaccess file redirects the picture.jpg as .php
0

#8 User is offline   Trojan^kid 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 57
  • Joined: 07-January 04

Posted 01 February 2004 - 05:06 AM

nice gone try it later :rolleyes:
0

#9 User is offline   Stoney 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 47
  • Joined: 28-January 04

Posted 03 February 2004 - 01:22 AM

i was gona try this but couldnt get gd working.
0

#10 Guest_Black Tanuki_*

  • Group: Guests

Posted 04 February 2004 - 12:59 PM

http://us2.php.net/imagestring

I don't see how this is any sort of new information, I mean... It's not a new idea to use PHP to show an image... and using this idea to get IPs isn't anything new either.

Anybody discover any sort of useful script to run in this, yet? At least showing it as the JPG extension could be a powerful way to hide manipulations of other people's scripts on message boards (i.e. making everybody e-mail somebody 1,000 messages with a script hidden in a JPG). They'd have no idea how it happened, and wouldn't know to suspect one image over another.
0

#11 User is offline   extreme 

  • Specialist
  • Icon
  • Group: Specialist
  • Posts: 582
  • Joined: 02-September 03

Posted 04 February 2004 - 01:49 PM

Well, you could allways use it.. That's what GD is used for.. But try renaming your GD script from PHP to JPG without putting HTACCESS file and it won't read, and try pointing PHP to forum avatar without my modif. and it won't work either...
WUTranslink
0

#12 User is offline   karate 

  • Private First Class
  • Icon
  • Group: Validating
  • Posts: 38
  • Joined: 21-September 03

Posted 04 February 2004 - 05:40 PM

very nice extreme! :)
0

#13 User is offline   popo0421 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 24
  • Joined: 01-January 04

Posted 04 February 2004 - 09:05 PM

nice code. I try it.
more ....
0

#14 Guest_poly_biosis_*

  • Group: Guests

Posted 07 February 2004 - 06:55 PM

Very nice code......now its time to play and use a lot of imagination. :D
0

#15 Guest_arken_*

  • Group: Guests

Posted 08 February 2004 - 12:17 PM

Quote

This is just a way of hiding your IE exploit so no one can see source code of exploit etc....

Am I missing something here? The only code I'm seeing executed is server side.. How exactly does this affect client side? I think you might be overestimating your snippet.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

  • Share



Our Sponsors:


SwiftLayer Affiliate Web Hosting