










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











11/26/14 1
Concordia
Server
Concordia
Server
Netwo
rk
Event
Manager
Directory
Manger
Service
Bridge
Queue
Manager
Agent
Manager
Agent
Remote Administration API
Security
Manager
Persistence
Manager
Password DB
Permission DB
Password DB
Permission DB
Administrator
External
Service
Concordia Server
of n/w efficient mobile agent applications. Concordia consists of multiple
components (all written wholly in Java), which combine together to provide
a complete, robust environment for applications.
at least one agent
nodes on the n/w where agents may need to travel.
including its code, data and movement.
another and connect on demand to transfer agents in a secure and reliable
fashion. The agent initiates the transfer by invoking the Concordia server’s
methods. After being transferred, the agent is queued or execution on the
receiving node. The work that the agent performs depends on its purpose,
i.e. the code, which it was programmed to execute. To have a reliable
guarantee of agent transfer: = (RAT) while transferring the agent, agent,
Concordia servers suspend the agent and create a persistent image of it to
be transferred. The Concordia server inspects an object called the Itinerary,
created and owned by each agent, to determine the appropriate
destination. That destination is contacted and the agent’s image is
transferred, where it is again stored persistently. In this way the agent is
given a reliable guarantee of transfer. In all the cades, the Concordia agent
is autonomous and self- determining in its operation.
Concordia:-A framework for mobile
agents
Advantages of Concordia
Concordia is written in Java, therefore it is portable, even
ubiquitous
Concordia agents provide for mobile applications, Agent
support mobile computing as well as off- line processing
and disconnected operation.
Concordia agents are secure, each agent carries the identity
of the user that created it, and the operations the agent
requests are subjected to the same user’s permissions.
Concordia agents are reliable; All Concordia agents are
check pointed before execution by the persistence
manager.
Concordia agents can collaborate, It can divide a task into
suitable pieces and these pieces can be carried out in the
most appropriate places. The results of these sub- tasks are
then assembled by collaboration.
Classification of Security threats in an Mobile Agent
System
11/26/14 8
Classification of Security threats in
an Agent System
modify the data on the host. Lack of sufficient authentication and
access control mechanisms lead to these attacks. If resource
constraints are not set, they can also commit Denial of
Service( DoS ) attacks by exhausting computational resources
and denying platform services to other agents (Masquerading,
Denial-of-Service, Unauthorized service).
agent, by stealing or modifying its data, corrupting or modifying
its code or state, deny requested services, return false system
call values, reinitialize the agent or even terminate it completely.
It can also masquerade the agent by delaying the agent until the
task is no more relevant. The Host may also analyze and reverse
engineer the agent( Masquerading, Denial-of-Service,
Eavesdropping, Alteration).
agent may invoke public methods of another agent to interfere
with its work (Masquerading, Denial-of-Service, Unauthorized
service, Repudiation).
11/26/14 10
Security in Agent System is based on the principle of
trust. A set of security policies and protocols establish
the trust relationship between the entities.
It is assumed that the agent trusts the Home platform
that dispatches it.
Agent attacking the Host environment
Traditional methods such as authentication, access
control, sand-boxing techniques, cryptography can be
used to secure the Host.
Authentication and access control mechanisms –
This is the first line of defense against a malicious
agent. If the Host can authenticate the agent and in
turn the device that dispatched the agent, it can apply
authorization and access control.
Safe Code Interpretation – Due to the necessity for
the agents to run on heterogeneous computer ,
interpreted scripting or programming languages are
used. This produces intermediate code that is
executed by a virtual machine that sits on top of the
native processor and OS. This virtual machine can
Path Histories - An agent could reach the host by making a
number of hops. During this transit a malicious host could have
morphed the agent into a malicious agent. By storing the log of the
travel of the agent, the current host can determine the route taken by
the agent.. Each host platform to which the agent travels to,
appends a signed entry to the path. This entry indicates the hosts
identity as well as the identity of the next host the agent intends to
visit. The platform has to judge by looking at the log if the previous
platforms can be trusted.
State Appraisal – The author of the agent supplies a state appraisal
function called maximum function. This function calculates,
depending on the state of the agent, the maximum set of permissions
to be granted to the agent. This function is packaged together with
the agent. The user/owner of the agent also supplies another state
appraisal function called the request function. This calculates the
permissions the user wants the agent to have during execution. The
host platform uses these state functions to verify the correct state of
the agent and hence determines the privileges to give to the agent
depending on its state. This ensures that the agent has not turned
malicious due to alterations of its states.
Obfuscated code – A “blackbox” agent is generated from the agent
specification wherein the agent’s code and data cannot be read or
modified. Only its input and output can be observed. The algorithm
that creates the agent is called “mess-up or obfuscating algorithm”. To
prevent dictionary attacks the algorithm, that converts the agent specs
into an agent, uses some random parameters. These parameters allow
creation of number of different agents out of the same specification.
The agents differ in code and data representation but give the same
results.
Secure Routing - An agent can be programmed to have a routing
policy such that it migrates only to certain servers. Since a malicious
host can tamper with the agent’s itinerary and also computation
results, which can propagate, some fault tolerance is needed to ensure
that the agent reaches its destination and perform its job correctly.
Replication and voting can be used to achieve fault tolerance. The
agent is replicated at each stage and run on hosts. The results from
these computations are compared (i.e. voted). Then the correct result is
sent out as output.
Detecting attack using Dummy data –In this technique, dummy data
items called detection objects are used. This dummy data is stored in
the database of the agent and it will not be modified while the agent
performs its functions. After the agents return, if the detection objects
have not been modified, then one can have reasonable confidence that
legitimate data also has not been corrupted. This technique requires
that the dummy data should not adversely affect the results of the
query.
Using Trusted Hardware - This technique uses tamper proof trusted
hardware to encapsulate the entire agent execution environment in
which the agent executes, thus isolating the agent from the malicious
host. The whole agent is not visible to the host environment. The agent
in this system will interact with the Host environment through
messages. Each Host in the Mobile Agent System is equipped with this
hardware. The hardware can be in form of PC Cards, Smartcards,
Integrated Circuits, etc. PC Cards are powerful and allow the whole
agent code to be loaded into the card. Smartcards are limited in their
capabilities. Only a part of agent code can be loaded on the card. The
agent carries rest of the code along with it. The code that the agent
carries is encrypted.
Examples of Mobile Agent
Systems
TACOMA(Tux) - Mobile Agent System. Operating System
Support for mobility. Tromosø and Cornell Moving Agents
(TACOMA) is a joint project between the University of
Tromosø, Norway and Cornell University,USA. It is primarily
focused on providing operating system support for agents.
Telescript- developed by General Magic, includes an
object oriented,type-safe language for agent
programming.
Agent TCL is a mobile agent system created at Dartmouth
College. agents are written in the Tool Command
Language (Tcl), which is an embeddable scripting
language that is highly portable and freely available.
Aglets is a Java based system developed by IBM. Agents
are called aglets in this System.
11/26/14 17
Advantages of an Agent System