From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5210 invoked by alias); 11 Jun 2007 08:17:12 -0000 Received: (qmail 5202 invoked by uid 22791); 11 Jun 2007 08:17:11 -0000 X-Spam-Check-By: sourceware.org Received: from mx01.microblue.de (HELO mail.microblue.de) (212.18.24.200) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 11 Jun 2007 08:17:10 +0000 Received: (qmail 21350 invoked by uid 210); 11 Jun 2007 08:17:06 -0000 Received: from 129.187.105.91 (mail@oliwel.de@129.187.105.91) by mail.microblue.de (envelope-from , uid 201) with qmail-scanner-2.01st (clamdscan: 0.90.2/3398. spamassassin: 3.1.8. perlscan: 2.01st. Clear:RC:1(129.187.105.91):. Processed in 0.022905 secs); 11 Jun 2007 08:17:06 -0000 Received: from unknown (HELO ?129.187.105.91?) (mail@oliwel.de@129.187.105.91) by 0 with ESMTPA; 11 Jun 2007 08:17:06 -0000 Message-ID: <466D04E1.4010905@oliwel.de> Date: Mon, 11 Jun 2007 08:17:00 -0000 From: Oliver Welter User-Agent: Thunderbird 2.0.0.0 (X11/20070420) MIME-Version: 1.0 To: gdb@sourceware.org Subject: How to protect a file from debugging Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig10479F9F06CCFFA9B0CCE01B" X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00067.txt.bz2 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig10479F9F06CCFFA9B0CCE01B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 584 Hi List, sorry if this is a stupid question but I am not very familiar with gdb ;) I am planing a security application and gdb is causing some "troubles". Can someone point me to some infos or shortly explain me if there is a way to protect a program from attaching to it? I must either prevent gdb (or similar software) from attaching to a process or at least detect the attach and send a terminate signal to the application. best regards Oliver --=20 Protect your environment - close windows and adopt a penguin! PGP-Key: 3B2C 8095 A7DF 8BB5 2CFF 8168 CAB7 B0DD 3985 1721 --------------enig10479F9F06CCFFA9B0CCE01B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (GNU/Linux) iD8DBQFGbQThyrew3TmFFyERAs/VAJ47lOSOPe8uXSqBbdHBVWJe4lO+MgCeNb1Q kxO9kMzRCIXu8fD6Ta3aHWY= =80ne -----END PGP SIGNATURE----- --------------enig10479F9F06CCFFA9B0CCE01B--