- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- How to audit account logins and disuser
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
09-28-2004 10:46 PM
09-28-2004 10:46 PM
How to audit account logins and disuser
Should I search for the account first?
Should I search for the disuser flag?
Should I search for failed logins?
Does anyone have any examples of these audits calls or one which would search for what is required?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2004 10:52 PM
09-28-2004 10:52 PM
Re: How to audit account logins and disuser
The following command will enable the SYSUAF changes.
$SET AUDIT/ENABLE=AUTHORIZATION/AUDIT
$SET AUDIT/ENABLE=AUTHORIZATION/ALARAM
HTH,
Thanks,
Lokesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2004 10:59 PM
09-28-2004 10:59 PM
Re: How to audit account logins and disuser
/EVENT_TYPE=AUTH and look for the SYSUAF_MODIFY records for the usernames
If you have people altering other usernames when they are don't supposed to then thats bad.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2004 11:10 PM
09-28-2004 11:10 PM
Re: How to audit account logins and disuser
ACC/TYPE=LOGFAIL
/BRIEF for an overview, /FULL for detaild information.
Another one you may want to use:
SHOW INTRUSION
(requires SECURITY privilege) to find break-in attempts. (Tailoring has been discussed before in this forum)
I know both are 'after the event', quite useful for control.
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2004 11:11 PM
09-28-2004 11:11 PM
Re: How to audit account logins and disuser
ftp://ftp.process.com/vms-freeware/fileserv/scanuaf.zip
ftp://ftp.process.com/vms-freeware/fileserv/uaf.zip
can be used to scan the uaf for usernames with the DISUSER flag set. Or doing LIST/FU and searching the resulting file can find them too.
if you have audit records enabled for failed logins then these can be looked at using
ANAL/AUDIT/EVENT_TYPE=LOGFILE
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 04:18 AM
09-29-2004 04:18 AM
Re: How to audit account logins and disuser
I already have the server set to audit login, logfail etc.
But it's weird for one account I can see the failed login, then the next failed login, then the next failed login. The changing the analyze, I can see the account getting disusered.
But for the other account, I can not see more than one failed login attempt and then I do not see the other failed attempts, yet
I do see all the batches failing becuase the account is disusered. Do I have to specify the type of logfailure when auditing?
Vic...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 04:53 AM
09-29-2004 04:53 AM
Re: How to audit account logins and disuser
probably your account GETS disusered by the detection of multiple failed logins!
There are quite a few handles to turn to fine-tune HOW your system reacts to login trials and failures thereoff. They are the SYSGEN LGI group of params.
Perhaps the quickest overview you will get from MCR SYSGEN HELP SYS_PAR LGI
hth
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 07:41 AM
09-29-2004 07:41 AM
Re: How to audit account logins and disuser
You stated:
"But it's weird for one account I can see the failed login, then the next failed login, then the next failed login. The changing the analyze, I can see the account getting disusered
But for the other account, I can not see more than one failed login attempt and then I do not see the other failed attempts, yet
I do see all the batches failing becuase the account is disusered."
Is the second failed login coming from the same source as the first failed account? If so, I believe that is the way the intrusion records work. Once a specific source has been flagged as an intruder, a failed attempt to any valid account from that source disusers that account.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 07:56 AM
09-29-2004 07:56 AM
Re: How to audit account logins and disuser
Many Thanks on the "MCR SYSGEN HELP SYS_PAR LGI" cmd...
I do know these and have many of them set.
I now have another question... related to the user UIC's
lets say the following are set
LGI_BRK_TERM is 0
LGI_BRK_DISUSER is 1
LGI_RETRY_LIM is 3
LGI_BRK_LIM is 3
LGI_BRK_LIM is 1000
Ok now lets say the main account which is disusered due to incorrect pwd is [500,1]
now the next account which a copy and is [500,1] as well will it gets disusered as well? Now lets say I have 50 accounts with the same uic [500,1], what about them. Is this (disuser, intrusion watching, actioning ) by specific uic or by group uic?
Ok now lets say the next account is [500,2], it should not be affected it [500,1] is disusered right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 08:00 AM
09-29-2004 08:00 AM
Re: How to audit account logins and disuser
The disuser flag is set only to one user. If other users have the same UIC this doesnt affect them.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 08:39 AM
09-29-2004 08:39 AM
Re: How to audit account logins and disuser
After setting alarms on authorization file changes, system.dis mail list should get emails about changes. These emails should tell you what accounts are getting disusered.
BREAK-IN emails would also tell you the accounts being disusered on the 4th attempt.
Most of the time you could look through LOGFAIL emails. However if a terminal is stuck on attempting logins, that day's LOGFAIL email can be filled with many logfail messages.
CAUTION: With LGI_BRK_LIM of 3, any account on your system could be disused by anyone attempting to get into it three times including SYSTEM and your personal account if the username is known.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 08:58 AM
09-29-2004 08:58 AM
Re: How to audit account logins and disuser
This is what we use each night to get a list of possible instrusion accounts within a script..
$ ANALYZE/AUDIT/SINCE="-1-00"/EVENT=BREAKIN/OUTPUT/BRIEF 'aud'
$ IF F$FILE_ATTRIBUTES( "audit.lis", "ALQ") .EQ. 0 THEN GOTO nomail
$ MAIL/SUBJECT="Nodename Daily Security Check." audit.lis "''mail_list'"
Regards,
Vic...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 06:56 PM
09-29-2004 06:56 PM
Re: How to audit account logins and disuser
Now lets say I have 50 accounts with the same uic [500,1],
maybe a little off-topic, but, if you have (as obvious) a more-than-absent interest in system security, then WHY do you have multiple usernames at the same UIC??
--- MOST system security aspects are UIC-based rather than username-based!!
--- just wondering.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2004 08:28 PM
09-29-2004 08:28 PM
Re: How to audit account logins and disuser
change your ANAL/AUDIT to remove the /EVENT=BREAKIN to see all the records. The event type may someother type not BREAKIN.
Can you post the result of SHOW AUDIT/ALL so the various events you have selected can be seen.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2004 06:57 AM
09-30-2004 06:57 AM
Re: How to audit account logins and disuser
Method 1 without pipe.
You should create an output file:
$analyze/audit/event_type=sysuaf/since=yest/before/FULL/OUT=AUDIT.OUTPUT
Then:
$SEA file_spec "disuser"/window=(lines_above,lines_below)/out=file_spec_disuser
Method 2:On OS versions with a PIPE command, a PIPE command could be used. A PIPE command something like the following format with appropriate subsitutionsshould work .
PIPE analyze /audit /event_type=sysuaf
/since=yest/before/FULL/OUT=SYS$PIPE | SEA file_spec "disuser"/window=(lines_above, lines_below)/out=file_spec_disuser.report
Lawrence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2004 07:08 AM
09-30-2004 07:08 AM
Re: How to audit account logins and disuser
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2004 07:56 AM
09-30-2004 07:56 AM
Re: How to audit account logins and disuser
To track some of this we even started capturing those using OPER priv a few mth's ago, and guess what, they stopped mucking about, I bet if I remove it, they'll start up again.
Mickeymouse>sho audit/all
List of audit journals:
Journal name: SECURITY
Journal owner: (system audit journal)
Destination: SYS$COMMON:[SYSMGR]SECURITY.AUDIT$JOURNAL
Monitoring: enabled
Warning thresholds, Block count: 100 Duration: 2 00:00:00.0
Action thresholds, Block count: 25 Duration: 0 00:30:00.0
Security auditing server characteristics:
Database version: 4.4
Backlog (total): 100, 200, 315
Backlog (process): 5, 2
Server processing intervals:
Archive flush: 0 00:01:00.00
Journal flush: 0 00:05:00.00
Resource scan: 0 00:05:00.00
Final resource action: purge oldest audit events
Security archiving information:
Archiving events: none
Archive destination:
System security alarms currently enabled for:
ACL
Authorization
Audit: illformed
Breakin: dialup,local,remote,network,detached,server
Logfailure: batch,dialup,local,remote,network,subprocess,detached,server
FILE access:
Failure: read,write,execute,delete,control
System security audits currently enabled for:
ACL
Authorization
SYSGEN
Audit: illformed
Breakin: dialup,local,remote,network,detached
Login: batch,dialup,local,remote,network,subprocess,detached,server
Logfailure: batch,dialup,local,remote,network,subprocess,detached
Logout: batch,dialup,local,remote,network,subprocess,detached,server
Privilege use:
OPER
FILE access:
Failure: read,write,execute,delete,control
SYSPRV: read,write,execute,delete,control
BYPASS: read,write,execute,delete,control
GRPPRV: read,write,execute,delete,control
READALL: read,write,execute,delete,control
Do we have enough stuff???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2004 08:45 AM
09-30-2004 08:45 AM
Re: How to audit account logins and disuser
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2004 09:30 PM
09-30-2004 09:30 PM
Re: How to audit account logins and disuser
However I think you have a people problem. the audit trail just collects data but the fundamental problem is the people misusing privs.
Purely Personal Opinion