<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Kali on Zach Grace</title><link>https://zachgrace.com/tags/kali/</link><description>Recent content in Kali on Zach Grace</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 14 Dec 2014 00:00:00 +0000</lastBuildDate><atom:link href="https://zachgrace.com/tags/kali/index.xml" rel="self" type="application/rss+xml"/><item><title>Exploiting MS14-068 with PyKEK and Kali</title><link>https://zachgrace.com/posts/exploiting-ms14-068/</link><pubDate>Sun, 14 Dec 2014 00:00:00 +0000</pubDate><guid>https://zachgrace.com/posts/exploiting-ms14-068/</guid><description>&lt;p>Here’s a quick writeup of exploiting MS14-068 using &lt;a href="https://github.com/bidord/pykek">PyKEK&lt;/a> and &lt;a href="https://www.kali.org/">Kali&lt;/a>.&lt;/p>
&lt;h2 id="kali-prepwork">Kali Prepwork&lt;/h2>
&lt;h3 id="install-and-configure-kerberos">Install and Configure Kerberos&lt;/h3>
&lt;p>Install kerberos:&lt;/p>
&lt;p>&lt;code>apt-get install krb5-user krb5-config&lt;/code>&lt;/p>
&lt;p>Create relevant kerberos config changes in &lt;code>/etc/krb5.conf&lt;/code>:&lt;/p>
&lt;pre>[libdefaults]
 default_realm = pwn3d.local
[realms]
 pwn3d.local = {
 kdc = dc1.pwn3d.local
 admin_server = dc1.pwn3d.local
 default_domain = pwn3d.local
}&lt;/pre>
&lt;p>Point DNS to the DNS Server/domain controller so SRV records (e.g. _kerberos._tcp.*) will resolve correctly in &lt;code>/etc/resolv.conf&lt;/code>.&lt;/p>
&lt;p>According to the TrustedSec &lt;a href="https://www.trustedsec.com/december-2014/ms14-068-full-compromise-step-step/">blog&lt;/a>, you&amp;rsquo;ll need to sync time with the domain controller. During my testing I didn&amp;rsquo;t perform any syncing and had no issues.&lt;/p></description></item></channel></rss>