Home > Implementing Database Security and Auditing: Trojans
Book Chapter:
EMAIL THIS LICENSING & REPRINTS

Implementing Database Security and Auditing: Trojans

21 Jun 2006 | Digital Press, a division of Elsevier

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   

Implementing Database Security and Auditing

Ron Ben Natan

432 pages; $54.95

Digital Press; a division of Elsevier.

In this excerpt from Chapter 9: Trojans of Implementing Database Security and Auditing, author Ron Ben Natan explains what database Trojans are, reviews the four main attack types and reveals why they differ from other sophisticated attacks.

Database Trojans represent a sophisticated attack because the attack is separated into two parts: the injection of the malicious code and the calling of the malicious code. One of the main advantages of Trojan attacks is that they are more difficult to track because of this separation into two phases.

The difficulty is in associating the two events and understanding that the two events, which occur at different times, using different connections, possibly with different user IDs, are really a single attack.

There are four main categories of Trojan attacks:

  1. An attack that both injects the Trojan and calls it
  2. An attack that uses an oblivious user or process to inject the Trojan and then calls it to extract the information or perform an action within the database
  3. An attack that injects the Trojan and then uses an oblivious user or process to call the Trojan
  4. An attack that uses an oblivious user or process to inject the Trojan and also uses an oblivious user or process to call the Trojan
For More Information

Learn how to detect and prevent Trojans.

Use this Learning Guide to combat Trojans, adware and spyware.

An example of using an oblivious user or process to inject a Trojan is a scenario in which a junior developer gets some procedural code from someone he or she doesn't know (perhaps from a question posted in a newsgroup) and then uses this code within a stored procedure without fully understanding what it is doing. An example of using an oblivious user or process to call the Trojan is a stored procedure that runs every month as part of a General Ledger calculation performed when closing the books. An attacker who has this insight can try to inject a Trojan into this procedure, knowing that it will be run at the end of the month automatically.

The options are listed in increasing degree of sophistication, complexity, and quality. The first category is the least sophisticated because actions can be traced back to the attacker. The only advantage over a direct attack using a single connection is that the attack occurs at two distinct times, and it certainly requires more work from an investigation unit to be able to identify the two events as being related and as forming a single attack.

The fourth category is extremely sophisticated and difficult to track back to the attacker—sometimes impossible. Because both the injection an investigation well beyond what happened at the database to figure out who the attacker is and what methods were used to coerce the injection.

The second and third types are somewhat comparable in terms of sophistication, but a type 3 Trojan is usually easier to carry out. In terms of what you need to monitor, for type 1 and type 2 the focus is on monitoring execution of stored procedures, whereas for type 3 and type 4 the focus is on monitoring creation and modification of procedural objects.

To learn how to detect and prevent database Trojans.

Note: Printed with permission from Digital Press, a division of Elsevier. Copyright 2005. Implementing Database Security and Auditing by Ron Ben Natan. For more information about this book and other similar titles, please visit www.books.elsevier.com.

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Spyware, Adware and Trojans
Yahoo, McAfee to warn users of dangerous websites
Botnets and ethics
Trojan downloaders, droppers skyrocket, Microsoft says
Kraken botnet balloons to dangerous levels
New Storm attack exploits April Fool's Day
Panda latest AV firm trying to adapt with the times
PDF spam reemerges in some inboxes
Trojan toolkit infected 10,000 Web sites in December
New rootkit threatens Windows users
Spam continues surge as spammers become clever in '07
Spyware, Adware and Trojans Research

Database Security
New SQL injection technique threatens Oracle databases
Oracle fixes 41 flaws in April CPU
The ins and outs of database encryption
Oracle patches serious holes with latest CPU
Survey finds thousands of database servers open to attack
Information security book excerpts and reviews
Symantec adds intruder identification to database security software
Should confidential data be indexed or used as the index key?
Oracle plugs critical database, application holes
Oracle CPU to contain 51 flaw fixes
Database Security Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
barnacle  (SearchSecurity.com)
botnet  (SearchSecurity.com)
browser hijacker  (SearchSecurity.com)
crimeware  (SearchSecurity.com)
DSO exploit  (SearchSecurity.com)
government Trojan  (SearchSecurity.com)
I-SPY Act  (SearchSecurity.com)
keylogger  (SearchSecurity.com)
PUP  (SearchSecurity.com)
talking Trojan  (SearchSecurity.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


TechTarget Security Media
Information Security View this month\\'s issue and subscribe today.
Information Security Decisions Apply online for free conference admission.
SearchSecurity.com
HomeNewsMagazineWebcastsWhite PapersLearningAdviceTopicsEventsAbout Us

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts