Re: sethhall/credit-card-exposure

Nick Turley <[email protected]> Thu, 12 Dec 2019 14:07:46 +0000
Newsgroups gmane.comp.security.detection.bro
Message-ID <BYAPR08MB46139A6C3CDC6A019D46544F9D550@BYAPR08MB4613.namprd08.prod.outlook.com>
--===============0287995657==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_BYAPR08MB46139A6C3CDC6A019D46544F9D550BYAPR08MB4613namp_"

--_000_BYAPR08MB46139A6C3CDC6A019D46544F9D550BYAPR08MB4613namp_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

We=92ve had pretty good luck with the package but we had to make modificati=
ons to get it working the way we wanted. We also modified it so it would wo=
rk on Corelight. We=92ve been running it on our Bro 2.6 cluster for some ti=
me. SSN detection is a high false positive game in a large environment like=
 ours, so our analysts are still required to review the extracted payload a=
nd make a determination.

Some of the modifications include extracting a chunk of the payload where t=
he SSN was detected and including that in the notice log. We also added the=
 protocol that was detected and associated info. For example, if SMB, we in=
clude the file name and location identified. As I recall, there was also a =
bug we fixed that wasn=92t masking the SSNs correctly.

We also feed in all 50 state historical SSN prefixes and include the state =
data in the notice log. However, SSNs after 2011 I believe are now randomiz=
ed so this will be less effective over time.

While we get a number of false positives, the module has also helped us dis=
cover some fairly serious security issues.

When I get to the office, I would be happy to share our code.

Nick Turley
Security Architect
CES Security Operations Center
Office: (801) 422-4994 | Cell: (801) 310-3816 | [email protected]
________________________________
From: [email protected] <[email protected]> on behalf of Scot Harri=
s <[email protected]>
Sent: Thursday, December 12, 2019 6:26:27 AM
To: [email protected] <[email protected]>
Subject: [Zeek] sethhall/credit-card-exposure


Does anyone have experience with the sethhall/credit-card-exposure package?



I installed it and it is generating some results that does not seem valid.



Running zeek 3.0 with this package installed using zkg.



The odd data includes packets that go from my workstation to the zeek main =
server on port 80 that is flagged as having credit card numbers in it.



I don=92t think that actually occurred.



So was wondering if someone else had that package and what kind of results =
they are getting.



Thank you.







__________________________________________
Scot Harris
Network Engineer
City of Hollywood
Information Technology

P.O. Box 229045
Hollywood, FL 33022-9045
Office: 954-921-3304
E-mail: [email protected]
[www.hollywoodfl.org]
Notice: Florida has a broad public records law. All correspondence sent to =
the City of Hollywood via e-mail may be subject to disclosure as a matter o=
f public record.
__________________________________________

--_000_BYAPR08MB46139A6C3CDC6A019D46544F9D550BYAPR08MB4613namp_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
</head>
<body>
<div dir=3D"ltr">
<div style=3D"color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); te=
xt-align: left;" dir=3D"ltr">
We=92ve had pretty good luck with the package but we had to make modificati=
ons to get it working the way we wanted. We also modified it so it would wo=
rk on Corelight. We=92ve been running it on our Bro 2.6 cluster for some ti=
me. SSN detection is a high false positive
 game in a large environment like ours, so our analysts are still required =
to review the extracted payload and make a determination.&nbsp;</div>
<div style=3D"color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); te=
xt-align: left;" dir=3D"ltr">
<br>
</div>
<div style=3D"color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); te=
xt-align: left;" dir=3D"ltr">
Some of the modifications include extracting a chunk of the payload where t=
he SSN was detected and including that in the notice log. We also added the=
 protocol that was detected and associated info. For example, if SMB, we in=
clude the file name and location
 identified. As I recall, there was also a bug we fixed that wasn=92t maski=
ng the SSNs correctly.&nbsp;</div>
<div style=3D"color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); te=
xt-align: left;" dir=3D"ltr">
<br>
</div>
<div style=3D"color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); te=
xt-align: left;" dir=3D"ltr">
We also feed in all 50 state historical SSN prefixes and include the state =
data in the notice log. However, SSNs after 2011 I believe are now randomiz=
ed so this will be less effective over time.&nbsp;</div>
<div style=3D"color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); te=
xt-align: left;" dir=3D"ltr">
<br>
</div>
<div style=3D"color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); te=
xt-align: left;" dir=3D"ltr">
While we get a number of false positives, the module has also helped us dis=
cover some fairly serious security issues.&nbsp;</div>
<div style=3D"color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); te=
xt-align: left;" dir=3D"ltr">
<br>
</div>
<div style=3D"color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); te=
xt-align: left;" dir=3D"ltr">
When I get to the office, I would be happy to share our code.&nbsp;</div>
<div data-ogsc=3D"" style=3D"text-align: left;" dir=3D"ltr"><br>
</div>
<div id=3D"ms-outlook-mobile-signature">
<div style=3D"direction: ltr;">Nick Turley</div>
<div style=3D"direction: ltr;">Security Architect</div>
<div style=3D"direction: ltr;">CES Security Operations Center</div>
<div style=3D"direction: ltr;">Office: (801) 422-4994 | Cell: (801) 310-381=
6 | [email protected]</div>
</div>
</div>
<hr style=3D"display:inline-block;width:98%" tabindex=3D"-1">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st=
yle=3D"font-size:11pt" color=3D"#000000"><b>From:</b> [email protected]=
 &lt;[email protected]&gt; on behalf of Scot Harris &lt;SHARRIS@hollywo=
odfl.org&gt;<br>
<b>Sent:</b> Thursday, December 12, 2019 6:26:27 AM<br>
<b>To:</b> [email protected] &lt;[email protected]&gt;<br>
<b>Subject:</b> [Zeek] sethhall/credit-card-exposure</font>
<div>&nbsp;</div>
</div>
<style>
<!--
@font-face
	{font-family:"Cambria Math"}
@font-face
	{font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
	{color:#0563C1;
	text-decoration:underline}
a:visited, span.x_MsoHyperlinkFollowed
	{color:#954F72;
	text-decoration:underline}
span.x_EmailStyle17
	{font-family:"Calibri",sans-serif;
	color:windowtext}
.x_MsoChpDefault
	{font-family:"Calibri",sans-serif}
@page WordSection1
	{margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
	{}
-->
</style>
<div lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"x_WordSection1">
<p class=3D"x_MsoNormal">Does anyone have experience with the sethhall/cred=
it-card-exposure package?</p>
<p class=3D"x_MsoNormal">&nbsp;</p>
<p class=3D"x_MsoNormal">I installed it and it is generating some results t=
hat does not seem valid.</p>
<p class=3D"x_MsoNormal">&nbsp;</p>
<p class=3D"x_MsoNormal">Running zeek 3.0 with this package installed using=
 zkg.</p>
<p class=3D"x_MsoNormal">&nbsp;</p>
<p class=3D"x_MsoNormal">The odd data includes packets that go from my work=
station to the zeek main server on port 80 that is flagged as having credit=
 card numbers in it.</p>
<p class=3D"x_MsoNormal">&nbsp;</p>
<p class=3D"x_MsoNormal">I don=92t think that actually occurred.</p>
<p class=3D"x_MsoNormal">&nbsp;</p>
<p class=3D"x_MsoNormal">So was wondering if someone else had that package =
and what kind of results they are getting.</p>
<p class=3D"x_MsoNormal">&nbsp;</p>
<p class=3D"x_MsoNormal">Thank you.</p>
<p class=3D"x_MsoNormal">&nbsp;</p>
<p class=3D"x_MsoNormal">&nbsp;</p>
<p class=3D"x_MsoNormal">&nbsp;</p>
</div>
<div style=3D"">__________________________________________<br>
<i><b>Scot Harris</i></b><br>
Network Engineer<br>
City of Hollywood<br>
Information Technology<br>
<br>
P.O. Box 229045<br>
Hollywood, FL 33022-9045<br>
Office: 954-921-3304<br>
E-mail: [email protected]<br>
<div><img alt=3D"www.hollywoodfl.org" src=3D"http://apps.hollywoodfl.org/im=
ages/coh_logo_color.png"></div>
Notice: Florida has a broad public records law. All correspondence sent to =
the City of Hollywood via e-mail may be subject to disclosure as a matter o=
f public record.<br>
__________________________________________</div>
</div>
</body>
</html>

--_000_BYAPR08MB46139A6C3CDC6A019D46544F9D550BYAPR08MB4613namp_--

--===============0287995657==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Zeek mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/zeek
--===============0287995657==--