Follow this blog:
RSS

Ants and worms, another way to look at system programming

By | October 29, 2009, 12:35 PM PDT

Recent studies dubbed “ants vs. worms” in the media may point to a new way of looking at the problem of protecting and programming for large systems.

(This ant swarm is from a Web site called Daily Speculations, where you can learn more about the theory of insect behavior on which this story is based.)

Think of current anti-virals as playing a game of cops and robbers. Firewalls stand at the entrance to a system like TSA guards, inspecting code as it goes in-and-out. Scanners conduct regular inspections of the whole system — they’re cops raiding a joint with photos of the usual suspects.

The problem here is the same as you find in the real world. Bad guys disguise themselves. Cops can’t be everywhere at once.

Many of the programs that do the most damage to computers and networks are classified as worms. They mimic animal behavior by copying themselves inside networks, without human intervention.

Glenn Fink at the Pacific Northwest National Laboratory, a Department of Energy research center, thought about this and asked, why mimic the behavior of human cops and guards at all? Why not model insect behavior?

Errin Fulp of Wake Forest and two of his graduate students spent last summer at PNNL, with Fink, coding and testing a solution based on this insight. Instead of big programs that carry the equivalent of mug shots (virus signatures), break the work down into smaller pieces and focus on maintaining safety, not catching crooks.

Having done extensive work in maintaining quality of service and detecting denial of service attacks, Fulp has broken the security task into three basic components:

  • Ants patrol systems looking at specific conditions, like the connection rate of bits through a router. Fulp has 64 conditions that can be tested, and could in time have as many as 3,000, but each is a tiny program whose work does not slow the main system.
  • Sentinels take reports from the ants, sort through them for potential problems and, if they find them, report them up the line. They also control the number of ants reporting to them, making new ones based on incoming data, destroying those that are not needed.
  • Sergeants are the user interface. They turn the sentinels’ reports into knowledge a human being can use to fix problems before they become real to users.

Fulp describes the results as “swarm intelligence,” likening it to ant behavior in the wild. Ants swarm to anything that appears wrong and surround it, collecting data.

The key is that all these programs are small objects. You can deploy a lot of them when needed, cut their numbers when they’re not, all under control of other software objects. Reports and commands to programmers are specific, action-oriented.

The Wake Forest work is aimed at protecting Internet-linked systems, but they can be deployed across networks without disruption, and could be the heart of new anti-viral program designs. Eventually they could even trace Internet threats to their source, allowing real cops to get to work with plenty of evidence for a warrant.

Start your week smarter with our weekly e-mail newsletter. It's your cheat sheet for good ideas. Get it.

Dana Blankenhorn

About Dana Blankenhorn

Dana Blankenhorn was a contributing editor for SmartPlanet from 2009 to 2010.

Dana Blankenhorn

Dana Blankenhorn

Contributing Editor

Dana Blankenhorn has written for the Chicago Tribune, Advertising Age's "NetMarketing" supplement and founded the Interactive Age Daily for CMP Media. He holds degrees from Rice and Northwestern universities. He is based in Atlanta.

Follow him on Twitter.

Dana Blankenhorn

Dana Blankenhorn

Dana Blankenhorn has been a technology reporter since 1982, a business reporter since 1978, and a writer for as long as he can remember. His Schwab IRA has a few tech stocks in it, most notably some Intel and Applied Materials bought over 10 years ago. But the vast majority of his tiny fortune (emphasis on the word tiny) is invested in mutual funds. He presently writes for no one else but ZDNet, SmartPlanet and himself. But if you've got an opportunity let him know. If he takes the gig he"ll first add it to this disclosure page.

He writes for SmartPlanet and is not an employee of CBS.

If you liked this, don't miss...
4
Comments

Join the conversation!

Follow via:
RSS
0 Votes
+ -
RE: Ants and worms, another way to look at system programming
Not unlike white blood cell aggregation, hmmm?
Posted by ableimprov@...
30th Oct 2009
0 Votes
+ -
RE: Ants and worms, another way to look at system programming
This is one of those insights of such astonishing simplicity that you wonder no one thought of it before. Kudos to Mr Fink for thinking outside the conventional paradigm.
Posted by cburkitt
30th Oct 2009
0 Votes
+ -
White blood cells?
Yes, that is another possible analogy.

The difference, in this case, is that a white cell has both detection and correction. It splats the disease cell and the remains are run through the lymphatic system.

In this case, all these programs are specialists. Some do monitoring, essentially running a DDoS attack on attacking anomolies. Some manage the software objects, and some communicate with the user.

Actually, I was thinking it's a bit like TRON.
Posted by DanaBlankenhorn
31st Oct 2009
0 Votes
+ -
RE: Ants and worms, another way to look at system programming
No one thought of it before, because imitating nature is a recent trend in systems. Not that it has never been done before, but now we are abandoning cartesian, procedural, mechanical approaches in many cases and learning many more lessons from nature about organicity, robustness and intelligence.
I think this is great and exciting.
Posted by wheres_my_stuff
31st Oct 2009
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the SmartPlanet community and join the conversation! Signing up is fast and free. Don't wait -- we want to hear your opinion!