Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-06-2008, 03:04 PM   #1
Registered: Aug 2006
Location: England Somewhere
Distribution: Mandriva, PCLinuxOS, Karoshi, Suse, Redhat, Ubuntu
Posts: 518

Rep: Reputation: 39
Question How can i hide a process OR encrypt and then decrypt a string?

I've got a problem where at the moment i pass data from one file to another with this method:-
/script2 DATA


Which gets the data back again, this is fine but the data being passed is sensitive data so i'd like to be able to either hide the process from a 'ps or top or whatever' OR pass the data so if it was viewed its encrypted, and all done pass wordless so it needs to be symmetrical encryption, using keys or something, obviously the data is being processed quite fast so the keys won't be around very long even though this still leads to possible data decryption, perhaps ow thinking about it both methods working together would be ok. Although as long as someone doesn't have root then the key should be safe and therefore the encrypted data safe. Basically thats what i do and i need to come up with something to hide the data.

Old 02-06-2008, 03:10 PM   #2
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
For renaming the process (which is security by obscurity and isn't recommended) you can take a look at the $0 variable -- in perl that is functionally the "process name" variable.
Old 02-06-2008, 04:31 PM   #3
Registered: Aug 2006
Location: England Somewhere
Distribution: Mandriva, PCLinuxOS, Karoshi, Suse, Redhat, Ubuntu
Posts: 518

Original Poster
Rep: Reputation: 39
Its the same in bash but i don't know how to change it, i have seen this idea in other posts already and would be interested in doing it with the encryption method. Please more ideas and methods anyone


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
encrypt and decrypt using encrypt(char block[64], int edflag) rockwell_001 Linux - Security 3 08-30-2009 09:16 AM
Encrypt/Decrypt file in Linux , How to ? shipon_97 Linux - Newbie 1 09-05-2007 03:35 AM
How to use kgpg to encrypt and decrypt emails? ginda Linux - Security 6 03-16-2005 09:42 PM
how to encrypt initrd.img and decrypt in vmlinuz. AshesOfTime Programming 1 12-09-2004 03:48 PM
2048-bit encrypt/decrypt help Nappa Slackware 1 11-20-2003 11:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration