BSM not catching creat64


 
Thread Tools Search this Thread
Operating Systems Solaris BSM not catching creat64
# 1  
Old 11-16-2012
BSM not catching creat64

Solaris 9 system:

I'm trying to get BSM to record to the point where additional files being put into /etc/opt/csw/sudoers.d will be recorded but thus far all I'm able to get are when files are deleted (via unlink). I've even tried auditing based on the "all" audit flag temporarily (thinking I just was filtering it out unintentionally), but nowhere in the audit file did I find a record of a test touch command I executed.

I noticed that there is an AUE_CREAT audit event listed in /etc/security/audit_event (which is part of the fc class that I'm bringing in) but it looks like touch uses creat64 so I'm unsure if there's a 64 bit version of the audit event that should be in there but isn't. It looks like the same is true for the Solaris 10 boxes.

Is this by design or should I be doing something different in order to catch additional files being created?
# 2  
Old 11-17-2012
I just checked that on Solaris 10 and "creat64" syscall done by "touch" is recorded in audit trail. It is recorded as "creat" though. See output below:
Code:
root@sun49 # truss touch /tmp/test 2>&1 | grep creat
creat64("/tmp/test", 0666)                      = 3

root@sun49 # praudit 20121117101527.not_terminated.sun49
header,127,2,creat(2),,sun49,2012-11-17 11:39:09.275 +01:00
path,/tmp/test
attribute,100600,root,root,376,83572050,18446744073709551615
subject,root,root,root,root,root,3170,1720310291,299 196630 XXXXXXXXX
return,success,3

root@sun49 # grep flags /etc/security/audit_control
flags:fc
naflags:lo

# 3  
Old 11-17-2012
Sorry, to clarify I meant "same is true" meaning that there wasn't a 64 bit version I could be missing.

If that's not expected behavior, does anybody know if my problem was resolved by a patch?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How can I read Solaris BSM log?

Hi all, I'm trying to read Solaris BSM log in user friendly form. Found old tools including bsmparser java tool and php code. But none of them working. What are you using for parsing BSM log? (2 Replies)
Discussion started by: sembii
2 Replies

2. Infrastructure Monitoring

Questions about BSM (Business Service Management)

Hi all, management currently has the idea (maybe injected by some nifty salesman ;)), that BSM consists especially of data gathered from systems with heart-beat like messages. In other words, they think about to implement as many systems, that can provide not only status changes from ok to... (2 Replies)
Discussion started by: zaxxon
2 Replies

3. Solaris

Needs some orientation on BSM/auditing

New to Solaris in general (coming from a RHEL background) I'm trying to enable auditing on the system with the following in /etc/security/audit_control: But there are two areas where it seems to break with expected behavior (maybe it's poor expectations on my part): 1) it seems to be... (0 Replies)
Discussion started by: thmnetwork
0 Replies

4. Solaris

BSM auditing

Hi , I don't want logs from a particular "library" to get recorded in the audit.log file. Is that possible with BSM? Please guide. Thanks. (2 Replies)
Discussion started by: chinchao
2 Replies

5. Cybersecurity

audit user in BSM/C2 Log

Hi, I keep encountering events in the BSM/C2 logs which shows that the audit-user who performed the event is the user (e.g. ongkk in the example below). However, the user is able to show me that he wasn't logged in at that time nor have the rights to perform the event (e.g. su in this example).... (5 Replies)
Discussion started by: BERNIELEE68
5 Replies

6. Solaris

Solaris BSM audit log

I got a lot of this message in my /var/audit log how can I exclude this message? header,127,2,invalid event number,fe,hostsol1.com.sg,2007-12-21 00:10:01.001 +08:00,argument,1,0x5,processor ID,argument ,2,0x3,flag,text,P_STATUS,subject,zhang1,root,root,root,root,18228,576129155,291 131094... (1 Reply)
Discussion started by: geoffry
1 Replies

7. UNIX for Dummies Questions & Answers

solaris BSM and Auditing

Hi Guys, I am new to this forum so I am sorry if i posted this thread in the wrong place. I am currently trying to get BSM to work on solaris 10 by Logging few things for me. I need your help to complete this task please. this is the config of the audit files: audit_conto # Copyright... (18 Replies)
Discussion started by: skywalker850i
18 Replies

8. Programming

how to write to Solaris BSM log

I have a C program and want to write messages to a log. BSM is being used for O/S auditing. Can I write my messages to the BSM log? If so, how do I do that? I'm not finding any API's for that. Any URLs, samples, guidance would be appreciated. (0 Replies)
Discussion started by: JDO
0 Replies

9. UNIX for Dummies Questions & Answers

unable to login to zone after enable BSM

hi i am not able to the zones after i enable BSM, but i am able to login using "zlogin -S" option. is there any command which i can use to troubleshoot. thanks a lot! :cool: (0 Replies)
Discussion started by: legato
0 Replies

10. Solaris

Solaris BSM log software

I'm looking for a software to capture my systems logs, and bsm (basic security module) logs to centralise the administration. Do you have a suggestions. Opensource or not. (6 Replies)
Discussion started by: simquest
6 Replies
Login or Register to Ask a Question