LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-06-2008, 03:04 PM   #1
helptonewbie
Member
 
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?


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

script2:
...
...
$1
commands
...

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.

Thanks
 
Old 02-06-2008, 03:10 PM   #2
Poetics
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
helptonewbie
Member
 
Registered: Aug 2006
Location: England Somewhere
Distribution: Mandriva, PCLinuxOS, Karoshi, Suse, Redhat, Ubuntu
Posts: 518

Original Poster
Rep: Reputation: 39
Hi,
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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:18 PM.

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