<div dir="ltr"><div dir="ltr">Hi Mark,<br><br>I have already analyzed your project and I thank you for the excellent work.<br><br>The reasons why we are looking for something more are these:<br> <br>1. Currently analyzing the new techniques with DCOM we have noticed that neither the endpoints nor the operations have been included in the project.<br>2. We have also noticed in the observed cases that the data stub is encrypted using ntlmssp authlevel packet privacy, this happened in the cases where dcerpc passed over pure  through a specific rule on the local windows firewall. However this does not happen neither for the observed cases of DCOM (<i>authlevel packet integrity</i>), nor for the classic code execution dcerpc traffic passed through named pipes (atsvc, svcctl, winreg , [...]) (<i>authlevel connect</i>), which are the easiest techniques to exploit with basic AD configuration. This type of traffic is legitimate and widely used in our networks, the content of the stub data in cleartext would help us both to filter the normal uses from the malicious ones and to greatly increase the quality of our analyzes.<br><br>Thanks,<br><br>Gabriele.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 20 set 2019 alle ore 13:19 Fernandez, Mark I &lt;<a href="mailto:mfernandez@mitre.org">mfernandez@mitre.org</a>&gt; ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div class="gmail-m_-4778542519170027103WordSection1">
<p class="MsoNormal">Hi Gabriele,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Last year I did a deep-dive into the Zeek DCE-RPC protocol analyzer.  I found the same un-used binpac file
<i>endpoint-atsvc.pac,</i> and I had similar thoughts about developing analyzers for specific RPC data stubs.  Unfortunately, so many RPC data stubs are encrypted by default now.  Also, I realized I was able to make useful decisions from just knowing the RPC
 interface and method and then mapping that function to a threat model.  Please see the github repository at the URL below.  Also, I am giving a talk on it at ZeekWeek next month.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><a href="https://github.com/mitre-attack/bzar" target="_blank">https://github.com/mitre-attack/bzar</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal">Mark<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b>From:</b> <a href="mailto:zeek-dev-bounces@zeek.org" target="_blank">zeek-dev-bounces@zeek.org</a> &lt;<a href="mailto:zeek-dev-bounces@zeek.org" target="_blank">zeek-dev-bounces@zeek.org</a>&gt;
<b>On Behalf Of </b>Gabriele Pippi<br>
<b>Sent:</b> Thursday, September 19, 2019 12:10 PM<br>
<b>To:</b> <a href="mailto:zeek-dev@zeek.org" target="_blank">zeek-dev@zeek.org</a><br>
<b>Subject:</b> [EXT] [Zeek-Dev] Zeek DCE-RPC Analyzer Update<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Zeek-Dev Group,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt">hi i&#39;m Gabriele from purple team of Certego. We are trying to rely on zeek to increase the detection of our platform in the
<i>moving through the internal network sc</i>enario ( <i>credential access</i>, <i>
discovery</i> and specially <i>lateral movement</i> ATT&amp;CK Matrix phases).<br>
<br>
In the case of dcerpc for the moment we are correlating the information generated by
<i>bro_dce_rpc </i>parser with data coming from endpoint agents.<br>
<br>
In order to reduce the number of false positives and to gather more detailed information for a possible analysis, we thought it would be really interesting &quot;to get extensive parsing in place for DCE-RPC messages by parsing the IDL files [...]&quot; or to implement
 a &quot;byte string containing the stub data itself&quot; in case it is not encrypted. In our case we would like to give priority to all those operations that allow to directly carry out an entire attack or a code execution, restricting the scope to those with stub
 data in cleartext (for example in the case of dcerpc over smb named_pipe or in the case of dcom, at least for the operations observed until now ). I found the following BINPAC
<i>zeek/src/analyzer/protocol/dce-rpc/endpoint-atsvc.pac</i>, and I ended up to this discussion
<a href="https://bro-dev.bro-ids.narkive.com/jq0Ofe6L/bro-dce-rpc-analyzer-questions" target="_blank">
https://bro-dev.bro-ids.narkive.com/jq0Ofe6L/bro-dce-rpc-analyzer-questions</a> .
<br>
<br>
<b>Have there been any updates regarding this topic? Do you have any advice on how to proceed?</b><br>
<br>
Once we have assessed the feasibility, we could be willing to contribute to achieve this goal. In this work we would also like to insert a series of endpoints and operations that currently are not mapped by zeek, among those observed for example there are several
 in DCOM. Once the tests are completed, if you are interested, we could also provide you with an exhaustive list or integrate it directly with a possible merge.<br>
<br>
At the moment we do not know of the existence of technologies that allow to do alerting on some types of
<i>Windows APIs</i>, we therefore believe that being able to do it at the network level through DCERPC is an important added value to zeek.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Gabriele.<u></u><u></u></p>
</div>
</div>
</div>
</div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><a href="http://www.certego.net/" style="text-decoration:none" target="_blank"><img style="border-radius: 0px;" src="http://www.certego.net/email/certego.png" alt="" width="96" height="96"></a>
                                        
                                            <div style="padding-top:2px;color:rgb(0,172,237);font:bold 18px sans-serif;letter-spacing:1px">Gabriele Pippi</div>
                                            <div style="padding-top:2px;color:rgb(32,32,32);font:bold 14px sans-serif">Incident Response Team, Certego</div><a href="tel:+39-059-7353333" style="color:rgb(84,84,84);font:12px sans-serif;text-decoration:none" target="_blank"><br></a></div><div dir="ltr"><a href="tel:+39-059-7353333" style="color:rgb(84,84,84);font:12px sans-serif;text-decoration:none" target="_blank">+39 0543 1908084</a><span style="color:rgb(0,172,237);font:12px sans-serif"> | </span><a href="tel:+39-3333333333" style="color:rgb(84,84,84);font:12px sans-serif;text-decoration:none" target="_blank">+39-3386735301</a>
                                            <div style="padding-top:6px"><a href="http://www.linkedin.com/company/certego" target="_blank"><img style="border-radius: 0px; border: 0px; width: 24px; min-height: 24px;" src="http://www.certego.net/email/linkedin.png" width="24" height="24"></a> <a href="http://twitter.com/Certego_IRT" target="_blank"><img style="border-radius: 0px; border: 0px; width: 24px; min-height: 24px;" src="http://www.certego.net/email/twitter.png" width="24" height="24"></a> <a href="http://github.com/certego" target="_blank"><img style="border-radius: 0px; border: 0px; width: 24px; min-height: 24px;" src="http://www.certego.net/email/github.png" width="24" height="24"></a> <a href="http://www.youtube.com/CERTEGOsrl" target="_blank"><img style="border-radius: 0px; border: 0px; width: 24px; min-height: 24px;" src="http://www.certego.net/email/youtube.png" width="24" height="24"></a> <a href="http://plus.google.com/117641917176532015312" target="_blank"><img style="border-radius: 0px; border: 0px; width: 24px; min-height: 24px;" src="http://www.certego.net/email/googleplus.png" width="24" height="24"></a></div>
                                            
                                        
                                    
                                
                            
                        
                    
                
            
            <div style="width:420px;text-align:justify;vertical-align:top;padding:8px 0px;color:rgb(224,224,224);font:8px sans-serif">
                Use of the information within this document constitutes 
acceptance for use in an &quot;as is&quot; condition. There are no warranties with
 regard to this information; Certego has verified the data as thoroughly
 as possible. Any use of this information lies within the user&#39;s 
responsibility. In no event shall Certego be liable for any consequences
 or damages, including direct, indirect, incidental, consequential, loss
 of business profits or special damages, arising out of or in connection
 with the use or spread of this information.
            </div></div></div></div></div></div></div>