Terms of the deal have not been disclosed, but the acquisition brings the open source penetration testing framework into Rapid7's portfolio and gives the firm access to a large database of reliable exploits.
Rapid7 said it plans to build out the capabilities of its NeXpose technology and its allied penetration testing services.
In a blog posting, Mike Tuchen, Rapid7's president, said he believes the acquisition deepens the firm's leadership in the vulnerability management, compliance and penetration testing solutions marketplace.
"As a result of the acquisition, we will leverage Metasploit technology to enhance our vulnerability management solution, NeXpose. At the same time we will not only maintain, but accelerate the open source framework Metasploit with dedicated resources and contributions," he said.
As part of the arrangements, HD Moore, the founder of Metasploit, will be joining Rapid7 as the firm's chief Metasploit architect, as well as the chief security officer of Rapid7.
Mr Tuchen said he is excited about the acquisition "as it raises the bar to what our industry can expect from all those involved, be they vendors, end-users, partners or community members."
"Since joining Rapid7, I've learned about some of the key principles of network security: defense in depth, continuously identifying and fixing your vulnerabilities, and improving security through continuous investments in people, process, and technology," he said.
"With this announcement we are embracing the role of industry innovator by providing better protection to you as our client, feeding the community and creating an environment open for dialog about the implementation of security best practices," he added.
"The combination of NeXpose and Metasploit will enable Rapid7 to continue to grow its relationship with partners and consultants, delivering improved technology and more comprehensive solutions for vulnerability management and penetration testing."
"Having a broader portfolio will further accelerate our dialog with our partner ecosystem to ensure that our solutions meet their needs."