Re: [EXT] RE: Bro/Zeek ATT&CK-based Analytics and Reporting (BZAR), by MITRE

"Fernandez, Mark I" <[email protected]>
Newsgroups gmane.comp.security.detection.bro
Message-ID <DM2PR09MB0778C769E176CA925185D7AACF580@DM2PR09MB0778.namprd09.prod.outlook.com>
Gary,

I see the problem.  There are rather significant changes between v2.5x and
v2.6.x, as follows:

DCE-RPC Event Differences:
v2.5.x: event dce_rpc_response(c: connection, fid: count, opnum: count,
stub_len: count);
v2.6.x: event dce_rpc_response(c: connection, fid: count, ctx_id: count,
opnum: count, stub_len: count);

SMB Event Differences:
v2.5.x: event smb2_create_request(c: connection, hdr: SMB2::Header, name:
string);
v2.6.x: event smb2_create_request(c: connection, hdr: SMB2::Header, request:
SMB2::CreateRequest);

Mark


-----Original Message-----
From: Weasel, Gary W CIV DISA RE (US) <[email protected]> 
Sent: Wednesday, March 27, 2019 3:53 PM
To: Fernandez, Mark I <[email protected]>; '[email protected]'
<[email protected]>
Subject: [EXT] RE: [Zeek] Bro/Zeek ATT&CK-based Analytics and Reporting
(BZAR), by MITRE

I did change the SMB load directive but continued getting errors such as

Error in /opt/bro/share/bro/base/gif/plugins/./Bro_DCE_RPC.events.bif.bro,
line 125 and /opt/bro/share/bro/policy/bzar/./bzar_dce-rpc.bro, line 224:
incompatible types (event(c:connection; fid:count; ctx_id:count;
opnum:count; stub_len:count;) and event(c:connection: fid:count;
opnum:count; stud_len:count))

And after trying to reconcile that

Error in /opt/bro/share/bro/policy/bzar/./bzar_smb.bro, line 39: "redef"
used but not previously defined (SMB::write_cmd_log) Error in
/opt/bro/share/bro/base/bif/plugins/./Bro_SMB.smb2_com_create.bif.bro, line
17 and /opt/bro/share/bro/policy/bzar/./bzar_smb.bro, line 252: incompatible
types (event(c:connection; hdr:SMB2::Header; request:SMB2::CreateRequest;)
and event(c:connection; hdr:SMB2::Header; name:string;))

I stopped attempting to resolve on my own at that point.

v/r
Gary W. Weasel, Jr. | Computer Engineer
Incident Response and Recovery Team, RE62
COM: 717.267.5777


-----Original Message-----
From: Fernandez, Mark I <[email protected]>
Sent: Wednesday, March 27, 2019 3:03 PM
To: [email protected]; Weasel, Gary W CIV DISA RE (US)
<[email protected]>
Subject: [Non-DoD Source] RE: [Zeek] Bro/Zeek ATT&CK-based Analytics and
Reporting (BZAR), by MITRE

Hi Gary,

>> Is this developed for Bro/Zeek 2.5.5?  I'm getting errors when 
>> attempting
to load this in Bro/Zeek 2.6.1.

Yes, I used v2.5.x.  What types of errors are you getting?  Is it @load
errors with SMB, by chance?

One thing I know changed with v2.6 is that the SMB analyzer was previously
disabled by default in v2.5.x and I believe it is enable by default in v2.6.
In main.bro line 10:
@load policy/protocols/smb.  This should be backward compatible with older
versions of Bro/Zeek.  But if you are getting @laod SMB errors, you could
try changing line 10 to this: @load base/protocols/smb.

Mark

_______________________________________________
Zeek mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/zeek
smime.p7s (application/pkcs7-signature, 4.9 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.