Sponsored Content
Operating Systems Linux Binary files damaged after attack on the server Post 302825537 by alister on Monday 24th of June 2013 02:20:41 PM
Old 06-24-2013
To reiterate what Corona said, your machine is not trustworthy. Do not believe anything it says.

You cannot trust what ls says because ls itself may have been modified. Even if ls is trustworthy, if the kernel has been modified, then the stat system call that ls uses to obtain file metadata (which includes timestamps) cannot be trusted.

As an aside, your ls command is using modification times to identify compromised executables. Even if ls and the kernel can be trusted, mtimes can be trivially forged with privilege and a system call. While ctimes are not normally forgeable in that way, given root and malicious intent, metadata can be modified arbitrarily.

A short, classic essay on how trust can be abused, by Ken Thompson: ACM Classic: Reflections on Trusting Trust

Regards,
Alister
 

9 More Discussions You Might Find Interesting

1. Solaris

System damaged need help please

Hi there, i have sun solaris 10 running on X86 system P4 box with ATA harddisk, anyway suddenly its started to try to login to the maintenance mode asking for the root password when i give it its mount the partitions as read only but when i try to run fsck on them i got this error: can't stat... (3 Replies)
Discussion started by: XP_2600
3 Replies

2. Shell Programming and Scripting

search for files excluding binary files

Hi All, I need a solution on my following find command find ./.. -name '*.file' -print BTW This gives me the output as belows ./rtlsim/test/ADCONV0/infile/ad0_dagctst.file ./rtlsim/test/ADCONV0/user_command.file ./rtlsim/test/ADCONV0/simv.daidir/scsim.db.dir/scsim.db.file... (2 Replies)
Discussion started by: user_prady
2 Replies

3. Cybersecurity

what is the better way to protect my server from DDos Attack

heloo today i have DDos Attack in my server what is the better way to secure my server from DDos Attack i use CentOS 4&5 i try every firewall and talk to softlayer - iweb i've Tried every possible solutions but I can not find a solution to the problems Give Me The best way plzz (4 Replies)
Discussion started by: a7medo
4 Replies

4. UNIX for Dummies Questions & Answers

How do install binary located on another server

Hi, For an automated install, an install script runs locally on the machine being installed on. This "install script" has to install programs that are located on the install server. How can I script this?I (1 Reply)
Discussion started by: mojoman
1 Replies

5. AIX

Transferring files from one AIX server to another AIX server in binary mode

Hi, I am a newbie to AIX. We have 2 AIX5.3 servers in our environment, I need to transfer some files in Binary mode from one server to another and some files in ASCII mode from one server to another server. Could you please help me as to how I need to do that? Thanks, Rakesh (4 Replies)
Discussion started by: rakeshc.apps
4 Replies

6. Solaris

How to copy a binary from one server and paste it to another server?

How to copy a binary from one server and paste it to another server? Please help... On server A there is a binary with size 0...I need to copy a binary from server B and replace the 0 size binary on Server A. Kindly Help (3 Replies)
Discussion started by: Rahul466
3 Replies

7. Ubuntu

Problem in Postfix server/is my server got some attack

Hi Friends, This is logs of my mail log: mail for yahoo.com.tw is using up 4001 of 6992 active queue entries : 1 Time(s) mail for yahoo.com.tw is using up 4001 of 7018 active queue entries : 1 Time(s) mail for yahoo.com.tw is using up 4001 of 7072 active queue entries : 1 Time(s) ... (1 Reply)
Discussion started by: darakas
1 Replies

8. Shell Programming and Scripting

Shell script to copy a file from one server to anther server and execute the binary

Hi , Is there any script to copy a files (weblogic bianary + silent.xml ) from one server (linux) to another servers and then execute the copy file. We want to copy a file on multiple servers and run the installation. Thanks (1 Reply)
Discussion started by: Nawrajesh
1 Replies

9. What is on Your Mind?

Revive Ad Server MySQL Injection Attack

No rest for the weary, a Revive Ad Server I am responsible for experienced a MySQL injection attack due to a vulnerability uncovered in the past few months. I was busy developing Vue.js code for the forums and thought to myself "I will get around to upgrading to Revive 4.2.0 (supposedly the... (0 Replies)
Discussion started by: Neo
0 Replies
Mono(MozRoots)															    Mono(MozRoots)

NAME
mozroots - Download and import trusted root certificates from Mozilla's LXR into Mono's certificate store SYNOPSIS
mozroots [--import [--machine] [--sync | --ask | --ask-add | --ask-remove]] DESCRIPTION
This program downloads the trusted root certificates from the Mozilla LXR web site into the Mono certificate store. Mono by default does not ship with any default certificates and allows the user to pick its trusted certificates. The mozroots command will bring the Mozilla certificates into your local machine. OPTIONS
--import Import the certificates into the trust store. --sync Synchronize (add/remove) the trust store with the certificates. Synchronize is useful for new Mono installations (no roots) and for automated updates (no user confirmation for addition or removal). --ask Always confirm before adding or removing trusted certificates. Note: The initial import will likely add about 100 new trusted root certificates into your store. You'll have to answer yes to every one of them if this option is specified. --ask-add Always confirm before adding a new trusted certificate. Note: The initial import will likely add about 100 new trusted root cer- tificates into your store. You'll have to answer yes to every one of them if this option is specified. --ask-remove Always confirm before removing an existing trusted certificate. ADVANCED OPTIONS
--url url Specify an alternative URL for downloading the trusted certificates (LXR source format). This should only be useful for testing or if the Mozilla's LXR web site address is changed. It can also be used to cache a local copy of the LXR file into your local intranet. --file name Do not download from LXR but use the specified file. This is useful if many computers have to download the same file from the Inter- net. This way you can keep a local copy on a file server (and minimize network traffic). --pkcs7 name Export the certificates into a PKCS#7 file. This is useful for debugging purpose or for re-importing the same list into other soft- ware. --machine Import the certificate in the machine trust store. The default is to import all trusted root certificates into the current user store. --quiet Limit console output to errors and confirmations messages. This is useful when scripting. EXAMPLES
After the initial Mono installation you'll have no trusted roots certificates pre-installed. Neither will you have some root test certifi- cates installed (your own or the ones provided by using setreg ). In this case the simplest thing to do, if you want to trust all those certificates, is to import and synchronize. $ mozroots --import --sync Mozilla Roots Importer - version 1.1.9.0 Download and import trusted root certificates from Mozilla's LXR. Copyright 2002, 2003 Motus Technologies. Copyright 2004-2005 Novell. BSD licensed. Downloading from 'http://lxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt'... Importing certificates into user store... 93 new root certificates were added to your trust store. Import process completed. If you created some test certificates (e.g. for using SSL/TLS with XSP) and/or if your enterprise requires some additional root certifi- cates (e.g. intranet) then you may want to skip the removal part of the process. You can do this by asking for a removal confirmation (--ask-remove option) and answer no when prompted. $ mozroots --import --ask-remove Mozilla Roots Importer - version 1.1.9.0 Download and import trusted root certificates from Mozilla's LXR. Copyright 2002, 2003 Motus Technologies. Copyright 2004-2005 Novell. BSD licensed. Downloading from 'http://lxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt'... Importing certificates into user store... 93 new root certificates were added to your trust store. 2 previously trusted certificates were not part of the update. Issuer: CN=Mono Test Root Agency Serial number: 69-B0-E1-4F-88-6E-C7-85-48-0E-74-91-38-76-F4-28 Valid from 9/1/2003 11:55:48 AM to 12/31/2039 1:59:59 PM Thumbprint SHA-1: EF-26-C2-28-11-3F-79-ED-9D-EC-3F-3B-D5-7A-26-F2-7C-9F-FA-63 Thumbprint MD5: AE-19-3E-64-36-21-F2-A4-8B-69-38-CA-64-4B-2E-62 Are you sure you want to remove this certificate ? no You can still use the synchronize option (--sync) if you have activated the default test roots certificate on your system. They will be removed at the end of the synchronization process but you can quickly add them back with the setreg tool. $ setreg 1 true Another option to ease updates is to synchronize your machine trust store (using the --machine option) and keep your customized (test) cer- tificates in your personal store (or vice versa). Note that every user on this computer will be trusting all the newly imported certifi- cates. $ mozroots --import --machine --sync Mozilla Roots Importer - version 1.1.9.0 Download and import trusted root certificates from Mozilla's LXR. Copyright 2002, 2003 Motus Technologies. Copyright 2004-2005 Novell. BSD licensed. Downloading from 'http://lxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt'... Importing certificates into user store... 94 new root certificates were added to your trust store. Import process completed. Once the initial import is complete the number of changes (additions or removals) is generally very low. In this case it makes sense to know about any changes (i.e. ask for confirmation). No confirmation will be required if no changes are made to your trust store. $ mozroots --import --ask Mozilla Roots Importer - version 1.1.9.0 Download and import trusted root certificates from Mozilla's LXR. Copyright 2002, 2003 Motus Technologies. Copyright 2004-2005 Novell. BSD licensed. Downloading from 'http://lxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt'... Importing certificates into user store... Import process completed. FILES
~/.config/.mono/certs, /usr/share/.mono/certs Contains Mono certificate stores for users / machine. See the certmgr(1) manual page for more information on managing certificate stores. COPYRIGHT
Copyright (C) 2005 Novell. MAILING LISTS
Mailing lists are listed at the http://www.mono-project.com/Mailing_Lists WEB SITE
http://www.mono-project.com SEE ALSO
mono(1),certmgr(1).setreg(1) Mono(MozRoots)
All times are GMT -4. The time now is 05:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy