- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tracking the bad connection
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
03-30-2005 10:24 PM
03-30-2005 10:24 PM
tracking the bad connection
If it is the case, how do you do it please?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 11:01 PM
03-30-2005 11:01 PM
Re: tracking the bad connection
Are you looking for bad login information ?
# lastb -R | more
The lastb command searches backwards through the database file /var/adm/btmp to display bad login information.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 11:07 PM
03-30-2005 11:07 PM
Re: tracking the bad connection
http://enterprisesecurity.symantec.com/products/products.cfm?ProductID=171
http://enterprisesecurity.symantec.com/content/displaypdf.cfm?pdfid=321
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 12:19 AM
03-31-2005 12:19 AM
Re: tracking the bad connection
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUX-HIDS
However, this is not a complete solution for security. It is much better to keep intruders completely out rather than wait for them to be detected. Get a copy of Bastille from: http://software.hp.com/portal/swdepot/searchProducts.do
And in all cases, get a copy of the the HP-UX Security book by Chris Wong: http://www.amazon.com/gp/reader/0130330620/ref=sib_dp_pt/103-4611296-5990224#reader-link
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 02:29 AM
03-31-2005 02:29 AM
Re: tracking the bad connection
Thanks for the commands but I don't understand the synthaxe
Login ??? namePC date
???= pts/ta or pts/tb or remshd
What is this?
And it's normal that the password is written at the login location!,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 03:11 AM
03-31-2005 03:11 AM
Re: tracking the bad connection
check the man page of lastb.
pts are telnet/rlogin connections, remsh and rexec are noticed as such. check the output from a few bad logins from a test account.
rj pts/tb Thu Mar 31 18:08
rj pts/2 Thu Mar 31 18:07
rj remshd Thu Mar 31 18:05
rj rexecd Thu Mar 31 17:02
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 05:17 AM
03-31-2005 05:17 AM
Re: tracking the bad connection
> ???= pts/ta or pts/tb or remshd
>
> What is this?
The short name such as pts/tc refers to the device file used when the user connects. Over a LAN connection, this field is not useful. It is really designed to show what serial port or modem was used for the login, but hardly anyone uses serial connections anymore. remshd means that the connection was from a remote user that used the remsh command rather than telnet.
With the lastb command, it is most useful to look at the last field (produced by the -R option) which shows what IP address or system name where the user was located.
> And it's normal that the password
> is written at the login location!,
You have discovered one of the problems with the lastb command: it reports whatthe user typed at the login prompt. Users (especially system administrators and developers) often don't pay attention to the prompts and get mixed up. Thus, they type their password when it says Login, and this is logged into /var/adm/btmp which is what lastb reports.
So to be more secure, the file: /var/adm/btmp should be set to 600 permissions.
Bill Hassell, sysadmin