<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Certificates | The End of the Tunnel</title><link>https://development--vigilant-hodgkin-644b1e.netlify.com/tags/certificates/</link><atom:link href="https://development--vigilant-hodgkin-644b1e.netlify.com/tags/certificates/index.xml" rel="self" type="application/rss+xml"/><description>Certificates</description><generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>© 2019 Derek Murawsky</copyright><lastBuildDate>Wed, 01 Mar 2017 11:59:53 -0400</lastBuildDate><image><url>https://development--vigilant-hodgkin-644b1e.netlify.com/img/icon-32.png</url><title>Certificates</title><link>https://development--vigilant-hodgkin-644b1e.netlify.com/tags/certificates/</link></image><item><title>To Export the Unexportable Key</title><link>https://development--vigilant-hodgkin-644b1e.netlify.com/post/export-unexportable-key/</link><pubDate>Wed, 01 Mar 2017 11:59:53 -0400</pubDate><guid>https://development--vigilant-hodgkin-644b1e.netlify.com/post/export-unexportable-key/</guid><description>
&lt;p&gt;Every now and then, you have to export a certificate in Windows, and someone forgot to check that little box to let you be able to do it… What is an enterprising SysAdmin to do? Enter &lt;a href=&#34;http://blog.gentilkiwi.com/mimikatz&#34; target=&#34;_blank&#34;&gt;Mimikatz&lt;/a&gt; (&lt;a href=&#34;https://github.com/gentilkiwi/mimikatz&#34; target=&#34;_blank&#34;&gt;source&lt;/a&gt;), a tool that lets you patch the Windows crypto api and do several cool (and frightening) things. The process is very simple.&lt;/p&gt;
&lt;h2 id=&#34;to-export-an-unexportable-private-key&#34;&gt;To Export an Unexportable Private Key:&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Create a temp directory&lt;/li&gt;
&lt;li&gt;Download the latest version of &lt;a href=&#34;https://github.com/gentilkiwi/mimikatz/releases/tag/2.1.0-20170227&#34; target=&#34;_blank&#34;&gt;Mimikatz&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Extract the appropriate version (32 or 64 bit) to the temp directory&lt;/li&gt;
&lt;li&gt;Open an admin command prompt&lt;/li&gt;
&lt;li&gt;Change to the temp directory&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;mimikatz&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Type &lt;code&gt;crypto::capi&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;And finally type &lt;code&gt;crypto::certificates /export&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You’ll see all of the certificates in the MY store exported into the temp directory in pfx format. The default password is mimikatz. Want another cert store? Perhaps, the computer store? Simply &lt;code&gt;run crypto::certificates /export /systemstore:LOCAL_MACHINE&lt;/code&gt;. Check out the &lt;a href=&#34;https://github.com/gentilkiwi/mimikatz/wiki&#34; target=&#34;_blank&#34;&gt;github wiki&lt;/a&gt; for documentation on this and other cool features of this powerful tool.&lt;/p&gt;</description></item></channel></rss>