Delphi Trojans
From: Brent S. (brentatatmosoftdotcom)
Date: 11/19/03
- Next message: Oliver Townshend: "Re: Time to Say Goodbye, Delphi?"
- Previous message: Richard Grossman: "IDE Suggestion"
- Next in thread: Ignacio Vazquez: "Re: Delphi Trojans"
- Reply: Ignacio Vazquez: "Re: Delphi Trojans"
- Reply: Dennis Landi: "Re: Delphi Trojans"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 18 Nov 2003 17:12:39 -0700
I have a component I have been working on that happened to reference a unit
in its uses section that it should not have been referencing. The unit was
the controller unit for an application which instantiates a controller
object in its initialization section. The controller object creates various
components and activates them when it is created and is the core of the
application.
When I added this new component to a package and installed the package I
noticed that delphi was executing this code, which was logging into a server
and reporting itself to be the application the controller belonged to.
I was unaware that code in the initialization and finalization sections of a
referenced unit of a component would be executed when they weren't on any
form. I knew it would be executed if the component were dropped on a form,
but executing in the component pallette?
This raises a few concerns. I could download a third party component(dcu),
and just by virtue of it being on my pallette it could be executing code.
No longer will I download components without source code. You could
conceivably create a component which took screen shots, logged key strokes,
uploaded files to a server, or pretty much anything you can dream up.
I know its not a huge security threat as long as you know what you are
doing. It just surprised me.
Brent.
- Next message: Oliver Townshend: "Re: Time to Say Goodbye, Delphi?"
- Previous message: Richard Grossman: "IDE Suggestion"
- Next in thread: Ignacio Vazquez: "Re: Delphi Trojans"
- Reply: Ignacio Vazquez: "Re: Delphi Trojans"
- Reply: Dennis Landi: "Re: Delphi Trojans"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|