Exhibit 32.2 CERTIFICATION PURSUANT TO 18 U.S.C. SECTION 1350, AS ADOPTED PURSUANT TO SECTION -OXLEY ACT OF 2002 In connection with the Annual Report of Atlas America Series 25-2004 (B) L.P. (the “Partnership”) on Form 10-K/A for the year ended December31, 2014 as filed with the Securities and Exchange Commission on the date hereof (the “Report”), I, Sean P. McGrath, Chief Financial Officer of the General Partner, certify, pursuant to 18 U.S.C. Section1350, as adopted pursuant to Section906 of the Sarbanes-Oxley Act of 2002, that: The Report fully complies with the requirements of section 13(a) or 15(d) of the Securities Exchange Act of 1934; and The information contained in the Report fairly presents, in all material respects, the financial condition and results of operations of the Partnership. /s/ SEAN P. MCGRATH Sean P. McGrath Chief Financial Officer of the General Partner September 11, 2015

{'dataset': 'edgar'}