- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- files deleted by a scheduled process
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 05:45 AM
06-02-2003 05:45 AM
Last week we had a bunch of files deleted from 3 HP boxes. We have changes all the passwords and enable auditing. This weekend similar thing happened. Auditing shows the deletion of files by the existing user and by ??????? user. The existing user password is known to 2 people. I think that the process was set up earlier to delete the files. I am not very knowledgeable in this area. What are other ways to set up such a process except cron. Thank you. I would appreciate any idea.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 05:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 05:50 AM
06-02-2003 05:50 AM
Re: files deleted by a scheduled process
A daemon or a simple script which runs in the background, sleeps and periodically wakes up are possible candidates.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 05:56 AM
06-02-2003 05:56 AM
Re: files deleted by a scheduled process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 05:56 AM
06-02-2003 05:56 AM
Re: files deleted by a scheduled process
eeeeeek!
You have a security problem.
First, sharing passwords is a bad idea among users because you don't know who did what.
cron is a root process. If a cron job is deleting files that will be cron not ??????? in the audit log.
If you are not sure if cron is doing it, shut down cron for a night if practical. If it does not happen you know where to look.
run crontab -l and run through by hand every job that runs in the window the mystery is happening.
Consider the following steps.
Tripwire.
software.hp.com has it and it can help catch security violators.
The rest of my standard security speel.
CIFS/9000
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B8725AA
Client
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B8724AA
Documentation:
http://www.docs.hp.com/hpux/onlinedocs/B8725-90003/B8725-90003.html
Security Post
Links:
security_patch_check: Checks your system and makes sure its up to date with security patches from HP
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B6834AA
Required Perl install
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=PERL
Bastille: Security Hardening Tool
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B6849AA
TCP Wrappers
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=TCPWRAP
Secure Shell: a replacement for rcp ftp and telnet that encrypts passwords
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA
IDS/9000 Intrusion Detection System which can track security breaches and attempted security breaches.
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=J5083AA
pam kerobos
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=J5849AA
random number generator
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=KRNG11I
Attached is Chris Vail's paper on how to set up passwordless services by exchanging public keys.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 06:26 AM
06-02-2003 06:26 AM
Re: files deleted by a scheduled process
I will look to see if there is any "at" jobs scheduled, also look at the scripts that runs from cron to see if any of them are executing a rm. If you have any cleanup and/or housekeeping script, review it.
Regads,
DR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 06:51 AM
06-02-2003 06:51 AM
Re: files deleted by a scheduled process
I would also check a possibility of
1)script inside a script (recursion style) -
sometimes harmless script can call to a harmfull one.
2)what kind of storage are the files deleted from,can this be a snapshot (hardware/software)
or a local device.
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 02:27 PM
06-02-2003 02:27 PM
Re: files deleted by a scheduled process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 04:38 PM
06-02-2003 04:38 PM
Re: files deleted by a scheduled process
If you have verified crontab entries (be sure to check entries for all users in cron.allow), then, as others have stated:
1. Check for "at" jobs.
/var/spool/cron/atjobs
2. Look for a script running, sleeping, running.
ps -ef | grep sleep and check out those scripts.
3. Maybe more difficult, check for scripts calling scripts.
4. And last resort check history logs of users.
Hope you find this one fast.
Best regards,
dl