learn linux and unix commands - unix shell scripting

Process Coloring


 
Thread Tools Search this Thread
# 1  
Old 11-06-2008
Process Coloring

There is a game called de Blob that has a pretty simple concept: move a blob around a city, run into a puddle of paint, and you turn into that color (or have that color mixed in with your current color.) Then when you run into a building, that building assumes the same color. So you're spreading different colors throughout a city, resulting in buildings and blocks hued red, orange, blue, green, etc. Simple but addictive, at least this is how the free version goes.

I thought about this game after attending a presentation at my local OWASP chapter that discussed the Process Coloring (PDF) project. It's similar to Perl Taint Mode. This project describes assigning a "color" (really a unique identifier) to processes at the syscall level. But I wondered if this could be used at a more abstract web application (e.g. .NET, J2EE, etc.) level when describing the rules of how objects interact.

From this presentation I took away two main advantages to Process Coloring.

  • Intrusion Prevention: you assign each process (or object) a color, and define the rules for each color (e.g. red cannot interface with yellow, green can only interface with green, blue and yellow, etc.)
  • Analysis: for log analysis, processes and events can be easily (and visually) grouped by color to quickly see the scope of the impact among other things.
What is most intriguing to me is being able to use both sides of the brain when it comes to web application security. Visually displaying volumes of data in an easily accessible and searchable way (e.g. the CNN Magic Wall used for election results) is the trend. Along these lines is SecViz; on this topic, a review of the book Applied Security Visualization was posted yesterday at Slashdot. Injecting some creativity into IT security encourages "out of the box" thinking, a valuable asset for discerning items of interest when establishing security, or during an investigation.


Image
Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Command to get exact tomcat process I am running ignoring other java process

Team, I have multiple batchjobs running in VM, if I do ps -ef |grep java or tomcat I am getting multiple process list. How do I get my exact tomcat process running and that is unique? via shell script? (4 Replies)
Discussion started by: Ghanshyam Ratho
4 Replies

2. Shell Programming and Scripting

Monitoring processes in parallel and process log file after process exits

I am writing a script to kick off a process to gather logs on multiple nodes in parallel using "&". These processes create individual log files. Which I would like to filter and convert in CSV format after they are complete. I am facing following issues: 1. Monitor all Processes parallelly.... (5 Replies)
Discussion started by: shunya
5 Replies

3. Shell Programming and Scripting

Coloring cli output, screws up 'alignment'

Heyas I'm trying to add color 'support' to my TUI. It works, but behaves weird. Code in question: (status.conf) R="\033" ; TUI_WORK="" TUI_DONE="" ; TUI_FAIL="" TUI_SKIP="" ; TUI_NEXT="" TUI_BACK="" ; TUI_CANC="" TUI_ON="" ; TUI_OFF="" TUI_INFO="" ; TUI_HELP="" The... (4 Replies)
Discussion started by: sea
4 Replies

4. UNIX for Dummies Questions & Answers

Coloring the pattern match

Hi All, Can we have colour the matched pattern with any color using unix command? For example I have a very length line a file and I'm applying grep on that file. grep "matched pattern" filename.txt My output is like below, ...........matched... (2 Replies)
Discussion started by: poova
2 Replies

5. Shell Programming and Scripting

Bash script - coloring reg. expressions in text

Hi all, is there anyone good at bash who will help me? I need to use syntax ${string/pattern/replacement} The problematic part where I am stuck is: #!bin/bash text="A cat is on a mat." exp="cat" newexp="SOMECODEcatSOMECODE" newtext=${${text}/${exp}/${newexp}} == > ERROR "wrong... (4 Replies)
Discussion started by: JohnnyM77
4 Replies

6. Shell Programming and Scripting

Complex coloring in script

My script prints lines in which the entire line may be colored, and portions may also be colored. e.g. Consider this to be one line: $red some text in red $yellow abcd $end_yellow red text 1234 $blue some text $end_blue more red text $end_red So using sed, I may based on condition 1,... (5 Replies)
Discussion started by: sentinel
5 Replies

7. Shell Programming and Scripting

Shell Script to Kill Process(number of process) Unix/Solaris

Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it This is how we execute the script (and this is the requirement) ... (2 Replies)
Discussion started by: jonnyvic
2 Replies

8. Shell Programming and Scripting

script to monitor process running on server and posting a mail if any process is dead

Hello all, I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted. Thanks in advance Regards, pradeep kulkarni. :mad: (13 Replies)
Discussion started by: pradeepmacha
13 Replies

9. UNIX for Dummies Questions & Answers

Syntax coloring for .pc files in VIM editor

Hi, i am using VIM editor through Putty. By the option of Syntax on in .vimrc file i am able to see syntax colors in .c and .cpp files but not in the files with .pc extension. How can this be done? :confused: (2 Replies)
Discussion started by: RuchK
2 Replies

10. UNIX for Dummies Questions & Answers

Coloring personal text in vim

Hi, I want to color some personal text, such as my own name in vim editor. Can anyone tell me how this is done. Thanks, Sathya (1 Reply)
Discussion started by: skkrish2
1 Replies
Login or Register to Ask a Question