<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk DB Connect: How can I recover MSSQL encrypted database passwords? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-can-I-recover-MSSQL-encrypted-database/m-p/620404#M77947</link>
    <description>&lt;P&gt;I am trying the suggested command to retrieve passwords located in identities.conf&amp;nbsp; but I do not get any output in the console. My DB Connect version is&amp;nbsp;&lt;SPAN&gt;3.7.0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any suggestion, highly appreciated.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Nov 2022 12:00:26 GMT</pubDate>
    <dc:creator>adidibra</dc:creator>
    <dc:date>2022-11-10T12:00:26Z</dc:date>
    <item>
      <title>Splunk DB Connect: How can I recover MSSQL encrypted database passwords?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-can-I-recover-MSSQL-encrypted-database/m-p/272323#M31629</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I forgot my MSSQL encrypted db passwords that's written in Splunk DB Connect database.conf file and can't reset from MSSQL db since a lot of other business critical apps depends on it.&lt;/P&gt;

&lt;P&gt;Since it's encrypted in database.conf of Splunk DB Connect, I can't get it in cleartext. Is there any method to decrypt it? (using splunk.secret and Python console etc.)&lt;/P&gt;

&lt;P&gt;I'm using latest version of Splunk.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 12:59:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-can-I-recover-MSSQL-encrypted-database/m-p/272323#M31629</guid>
      <dc:creator>ozirus</dc:creator>
      <dc:date>2017-02-01T12:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: How can I recover MSSQL encrypted database passwords?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-can-I-recover-MSSQL-encrypted-database/m-p/272324#M31630</link>
      <description>&lt;P&gt;I don't think so. Generally, password encryption is one-way only, and I believe that is true for Splunk passwords as well.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 21:34:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-can-I-recover-MSSQL-encrypted-database/m-p/272324#M31630</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2017-02-01T21:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: How can I recover MSSQL encrypted database passwords?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-can-I-recover-MSSQL-encrypted-database/m-p/272325#M31631</link>
      <description>&lt;P&gt;I don't think it's one-way that's like in hashing since it's encryption and its said that splunk.secret is being used for decrypting&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 06:41:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-can-I-recover-MSSQL-encrypted-database/m-p/272325#M31631</guid>
      <dc:creator>ozirus</dc:creator>
      <dc:date>2017-02-02T06:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: How can I recover MSSQL encrypted database passwords?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-can-I-recover-MSSQL-encrypted-database/m-p/272326#M31632</link>
      <description>&lt;P&gt;Given you mention database.conf, this likely refers to Splunk DB Connect v1, for these use:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ splunk cmd python $SPLUNK_HOME/etc/apps/dbx/bin/jbridge_client.py com.splunk.config.crypt.Crypt decrypt &amp;lt;password&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For dbx v2 and v3 use this to retrieve from the password in identities.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ echo 'password' | base64 --decode | openssl aes-256-cbc -d -pass file:$SPLUNK_HOME/etc/apps/splunk_app_db_connect/certs/identity.dat
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 May 2018 00:12:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-can-I-recover-MSSQL-encrypted-database/m-p/272326#M31632</guid>
      <dc:creator>datasearchninja</dc:creator>
      <dc:date>2018-05-11T00:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: How can I recover MSSQL encrypted database passwords?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-can-I-recover-MSSQL-encrypted-database/m-p/511921#M62745</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6157"&gt;@datasearchninja&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;Thanks a lot. It works.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 12:58:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-can-I-recover-MSSQL-encrypted-database/m-p/511921#M62745</guid>
      <dc:creator>jawaharas</dc:creator>
      <dc:date>2020-07-31T12:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: How can I recover MSSQL encrypted database passwords?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-can-I-recover-MSSQL-encrypted-database/m-p/609442#M77396</link>
      <description>&lt;P&gt;what you are assuming is correct for hashing not for encyrpting and decrypting.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 06:20:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-can-I-recover-MSSQL-encrypted-database/m-p/609442#M77396</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2022-08-15T06:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: How can I recover MSSQL encrypted database passwords?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-can-I-recover-MSSQL-encrypted-database/m-p/620404#M77947</link>
      <description>&lt;P&gt;I am trying the suggested command to retrieve passwords located in identities.conf&amp;nbsp; but I do not get any output in the console. My DB Connect version is&amp;nbsp;&lt;SPAN&gt;3.7.0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any suggestion, highly appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 12:00:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-can-I-recover-MSSQL-encrypted-database/m-p/620404#M77947</guid>
      <dc:creator>adidibra</dc:creator>
      <dc:date>2022-11-10T12:00:26Z</dc:date>
    </item>
  </channel>
</rss>

