SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Downloaden Sie, um offline zu lesen
AJIN ABRAHAM 1 
Kerala Cyber Force 
Learn | Contribute | Share 
Abusing, Exploiting and Pwning with Firefox Add-ons 
Ajin Abraham 
www.ajinabraham.com 
www.keralacyberforce.in 
ajin25@gmail.com 
Abstract 
This paper discuss about a number of ways through which hackers can use Mozilla Firefox as a platform to run there malicious piece of code with all the privileges and features as that supported by any native programming languages. Also there is an advantage that these malicious codes remain stealthy and undetected against anti-virus solutions. Malicious Firefox add-ons can be coded to serve this purpose. Mozilla Firefox Browser Engine acts just like a compiler or interpreter to execute your codes without much security concerns. The coding technologies for add-on development can be abused and exploited to create malicious add-ons. This paper explains how Firefox’s insecure policies and add-on development technologies like JavaScript, CORS, Web Socket, XPCOM and XPConnect can be abused by a hacker for malicious purposes. The widely popular browser add-ons can be utilized by hackers to implement new malware attack vectors. This paper is supported by proof of concept add-ons which are developed by exploiting the weakness in Firefox add-on coding. The proof of concept includes the implementation of a local keylogger, a remote keylogger, spawning a reverse shell, stealing the Firefox user session data, stealing Linux password files and Distributed Denial of Service (DDoS) Attack. All of these attack vectors are fully undetectable against anti-virus solutions and can bypass filters or protection mechanisms. 
Introduction 
Firefox is an awesome web browser by Mozilla foundation. It is used by millions of people all around the world. According to w3shools.com Firefox stands second in world in terms of usage.
AJIN ABRAHAM 2 
Kerala Cyber Force 
Learn | Contribute | Share 
Fig 1: Browser Usage Statistics 
The add-ons are developed with the help of HTML, CSS, XHTML, XML, js-ctypes, Web Workers, XBL, XUL, XPCOM, and JavaScript with XPConnect. The paper will discuss about the exploitable coding features in XPCOM interface, WebSocket, CORS, JavaScript and XPConnect offered by Firefox along with successful abusing and exploitation of these with the proof of concept add- ons. 
Firefox add-on Structure 
An add-on is just a zipped file with its extension (.zip) changed to (.xpi). 
Fig 2: Add-on directory structure 
The Fig 2 shows the structure of a Firefox add-on. This structuring of the components of the add-on is conventional. It’s not mandatory that one should follow this structuring. But the essential and bare minimal files for developing an add-on are “chrome.manifest”, “install.rdf”, “overlay.xul”, and “overlay.js”. 
It got millions of feature rich add-ons to meet ones needs and taste. Add-ons are small pieces of software that adds new features or functionality to the Firefox browser. It extends, modify and control browser behavior. Firefox got a lot of developers devoted in add-on development around the world. To help the developers to carry out add-on development in an easier way, Firefox supports variety of powerful languages for add-on development.
AJIN ABRAHAM 3 
Kerala Cyber Force 
Learn | Contribute | Share 
Purpose of these files is as follows: 
chrome.manifest : Registers the location of the contents with the Chrome engine. 
overlay.xul : This files defines the GUI elements to be added to the browser window. 
install.rdf : Gives general information about the extension like name, description version etc. 
overlay.js : This file consist of the scripts/codes that runs in the browser engine. 
Firefox Add-on Security Model 
The Firefox platform has no mechanisms to restrict the privileges of add-ons. The add-on code is fully trusted by Firefox. The installation of malicious add-ons can result in full system compromise. There is no security measure to restrict the intercommunication between add- ons. As a result an add-on can alter or modify another add-on in the background. There is no security policy or sandboxing ability of XPConnect and XPCOM components which is a serious flaw in the security model. Firefox does not have any type of restrictions on malformed Cross Origin Resource Sharing and socket creation. Some exploitable vulnerabilities are platform independent. 
However addons.mozilla.org where add-ons are officially hosted, perform reviews of all add- ons submitted. Add-ons with malicious functionality will be rejected in the review, same goes for add-ons executing remote code. An extension on addons.mozilla.org can have three states: 
 Fully reviewed: the add-on passed the review without any serious issues. 
 Preliminarily reviewed: the add-on was found to be safe to use but has serious issues or simply isn't mature enough yet. 
 Not reviewed: the add-on has only been submitted recently and not reviewed yet, use at your own risk. 
Even though it’s possible to host a malicious add-on in Firefox add-ons website, but it is not under the scope of this paper. We will only discuss about some methods through which we can abuse add-on coding technologies to build malicious add-ons and methods used by hackers to spread them.
AJIN ABRAHAM 4 
Kerala Cyber Force 
Learn | Contribute | Share 
Exploitable Features of Firefox add-on Coding 
Fig 3: The Mozilla Platform 
Add-ons are the best part of Firefox. Firefox got feature rich and extensible add-on support. Firefox supports variety of powerful languages for add-on development including HTML, CSS, XHTML, XML, js-ctypes, Web Workers, WebSocket, CORS, XBL, XUL, XPCOM and JavaScript with XPConnect. In this paper we are concentrating on XUL, XPCOM, XPConnect and JavaScript. XUL (XML User Interface) is used to provide user interface to the add-ons. XPCOM (Cross platform Component Object Model) much alike ActiveX is a cross-platform component model which features multiple language bindings and IDL (Interface Description Language) descriptions enabling developers to incorporate their custom functionality into the framework and connect it with other components. It can be used to interact with low layer libraries like network, I/O, file system, etc. XPCOM components support multiple programming languages such as C++, Java, Python and JavaScript. XPConnect (Cross Platform Connect) is a technology which enables simple interoperation between XPCOM and JavaScript. 
There are not mechanism to restrict the privileges and execution scope of add-ons. JavaScript functions can hook into the browser interface every time Firefox loads. They can collect keystrokes from Firefox browser interface. The JavaScript XMLHttpRequest object can be used to exchange data with a server in background. The JavaScript with XPConnect used for file management, process & thread management which can be used to execute windows
AJIN ABRAHAM 5 
Kerala Cyber Force 
Learn | Contribute | Share 
executable (.exe) and for performing file operations without any restrictions. CORS and WebSocket can be used to create numerous bogus requests to a server. 
Exploiting the Weakness 
So now consider some of the exploiting scenario. 
• By abusing the JavaScript function “document.addEventListener();”, we can implement a Keylogger. 
• We can pack and execute malicious Windows executable (.exe) files by abusing the File I/O operations supported by XPConnect. 
• We can hook malicious codes into the Firefox browser interface and execute them every time the browser loads. 
• We can steal Firefox session data with malicious add-on. 
• Add-ons can access the contents of confidential files in the system without any restrictions. 
• With XHR object we can exchange data between the victim and the server. 
• By abusing CORS and WebSocket we can shot numerous bogus request to DDoS a Web Site. 
Proof of Concept (PoC) 
To demonstrate the potential security risk caused by malicious Firefox add-ons, I had implemented some proof of concept add-ons. 
 Xenotix KeylogX 
 Xenotix Remote Keylogger 
 Xenotix Session Stealer 
 Xenotix Linux Password Stealer 
 Xenotix Reverse Connect 
 Xenotix DDoSer 
All of these add-ons are fresh and fully undetectable against Anti-virus solutions.
AJIN ABRAHAM 6 
Kerala Cyber Force 
Learn | Contribute | Share 
Xenotix KeylogX 
It is a Keylogger add-on for Mozilla Firefox which can capture keystrokes and log it into a file. It can hook into the browser interface and capture keystrokes from all the opened tabs in Firefox. 
Fig 4: Abusing JavaScript Functions 
The Keylogger add-on is implemented by abusing JavaScript functions like “document.addEventListener();” for hooking into the browser interface to capture the keystrokes and file management features of XPConnect for creating a log file. The weakness of Firefox is that it does not implement any security privilege policy or restrictions on content extraction from webpages and file creation by add-ons. The add-on is platform independent and is tested under Windows and Linux. 
Fully Undetectable 
Fig 5: Virus Total Scan results of Xenotix KeylogX
AJIN ABRAHAM 7 
Kerala Cyber Force 
Learn | Contribute | Share 
Most antivirus solutions won’t scan the inside of a packed add-on with .xpi extension. Also the add-on use common JavaScript functions and the anti-virus heuristic scans are not applicable since no executable files are present here. 
Bypass Anti-Keylogger and On-Screen Keyboard The keylogger add-on can bypass Windows On-Screen Keyboard and KeyScrambler. KeyScrambler is an Anti-Keylogging mechanism which simultaneously encrypts the keystrokes at the keyboard driver level and decrypts them at the destination application for which the keystrokes are made. The Keylogger add-on described here can by bypass KeyScrambler protection mechanism. 
Fig 6: How Xenotix KeylogX bypass KeyScrambler, the ant-keylogger mechanism. 
The Fig 6 depicts the working of a normal keylogger, protection mechanism of KeyScrambler against Keyloggers and bypassing KeyScrambler protection mechanism with Xenotix KeylogX add-on.
AJIN ABRAHAM 8 
Kerala Cyber Force 
Learn | Contribute | Share 
A normal software based keylogger will hook into the environment between keyboard inputs and the applications running on the system. So they can collect the keystrokes passing through the environment. KeyScrambler is an anti-keylogger which encrypts all the keystrokes at keyboard driver level, deep inside the kernel. So when the encrypted data passes through the environment which is hooked by the Keylogger, they render useless since the captured data is completely encrypted. Finally KeyScrambler will decrypt the keystrokes at the destination application for which the keystrokes are produced. Now consider the scenario where Xenotix KeylogX add-on is installed in Firefox. As usual KeyScrambler will encrypt the keystrokes and decrypts them before providing to Firefox executable. But since the keylogger add-on is executing inside Firefox, it will obtain all the keystrokes in plain text. So the protection mechanism is bypassed and render useless against this malicious add-on. 
Xenotix Remote Keylogger 
This is the remote implementation of the previous keylogger add-on. This add-on is implemented to demonstrate the weakness of Firefox that it does not implement any security privilege policy, restrictions or sandboxing on file execution by add-ons. This malicious add-on collects keystrokes from the opened tabs in Firefox and logs it into a file and uploads the log file to a FTP account. The add-on is implemented by abusing JavaScript functions like “document.addEventListener();” for capturing keystrokes and the process and thread management features of XPConnect for executing any windows executable file. The add-on is packed with an executable “Firefox.exe” that gets executed every time the victim loads Firefox browser and it will upload the log file to any FTP account specified by the attacker every 60 seconds. 
Fig 7: The add-on will invoke an executable which uploads the log file to a FTP account every 60 sec. Here also we exploit the weakness of Firefox that it does not implement any security privilege policy or restrictions on content extraction from webpages and file execution by add-ons. This add-on works only in Windows environment as windows executable is not supported in Linux. Also the method of invoking a Linux executable file is not supported by XPConnect.
AJIN ABRAHAM 9 
Kerala Cyber Force 
Learn | Contribute | Share 
Fully Undetectable 
Fig 8: Virus Total Scan Results of Xenotix Remote Keylogger. 
Most antivirus solutions won’t scan the inside of a packed add-on with .xpi extension. The add- on use common JavaScript functions and even if they check inside the add-on, the heuristic scans of anti-virus solutions are not detecting the executable as a threat since it is just an executable with the basic function of uploading file to a FTP account. 
Bypass Anti-Keylogger and On-Screen Keyboard 
Xenotix Remote Keylogger can bypass Windows On-Screen Keyboard and KeyScrambler protection in the way mentioned before. 
Xenotix Session Stealer Fig 9: The add-on will send the contents of sessionstore.js to the remote attacker. Firefox is having a built-in Session Store feature that saves your session data, including open window and tabs, window size and position, text typed in forms and the session cookies which
AJIN ABRAHAM 10 
Kerala Cyber Force 
Learn | Contribute | Share 
can maintain your login state in different websites. All these session data information are stored in a file named “sessionstore.js” in the profile folder of Firefox. This file is intended for recovery of tabs after a Firefox crash. The “sessionstore.js” file is maintained in such way that Firefox will preserve the session data upon abnormal exit or crash and deletes the session data on a normal exit. A malicious add-on can be implemented by abusing the file management feature of XPConnect and data exchange feature of XmlHttpRequest (XHR) object to read the contents of “sessionstore.js” and send it to the attacker via GET request at specified time intervals. And later the attacker can use the stolen session data file to reproduce the victim’s authenticated session. Fig 10: The add-on will send the contents of session data file to the remote attacker. 
This add-on exploits the weakness of Firefox that it does not impart any access restriction on its session data file and the file is compactable with any system and any version of Firefox which provides the attacker the ability to reproduce the session on a remote computer. Also Firefox doesn’t impart any security measure to isolate and lock out the session file for a unique Firefox installation. Fully Undetectable Fig 11: Virus Total Scan Results of Xenotix Session Stealer.
AJIN ABRAHAM 11 
Kerala Cyber Force 
Learn | Contribute | Share 
Here also most antivirus solutions won’t scan the inside of a packed add-on with .xpi extension). Also the add-on use common JavaScript functions and the anti-virus heuristic scans are not applicable here as an executable file is not present. 
Xenotix Linux Password Stealer 
This add-on can steal Linux password (passwd and shadow) files by exploiting the File I/O operations supported by JavaScript XPCOM interface. It reads the password files from a root user with the help of nSIFile XPCOM Interface and sends the contents to a remote attacker with XMLHttpRequest. 
Fig 12: Xenotix Linux Password Stealer add-on is implemented by abusing nSIFile Object and XMLHttpRequest. 
The XMLHttpRequest is a JavaScript object which provides us an easy way to retrieve data at a URL (POST/GET) within JavaScript. Here we craft an add-on that can read the contents of Linux password files provided Firefox is running in a root account and send it to a remote attacker via GET request. 
Fully Undetectable 
Fig 13: Virus Total Scan Results of Xenotix Linux Password Stealer.
AJIN ABRAHAM 12 
Kerala Cyber Force 
Learn | Contribute | Share 
Linux Anti-virus solutions are not that efficient to detect this malicious add-on as it’s in packed form (.xpi). Also the add-on use common JavaScript functions and the anti-virus heuristic scans are not applicable here as an executable file is not present. 
Xenotix Reverse Connect 
Fig 14: Reverse Connection form Windows 8 PC. This malicious add-on is packed with a reverse shell that will connect back to the attacker. This add-on abuses the file execution feature of XPConnect to start a reverse shell to an IP and port specified by the attacker. This malicious add-on targets the weakness of Firefox that it lacks privilege restriction and control policy to create and execute processes. 
Fully Undetectable 
Fig 15: Virus Total Scan Results of Xenotix Reverse Connect. 
Most Anti-virus solutions won’t scan the packed form (.xpi) of the add-on. Currently the heuristic scans of anti-viruses are not detecting it as a threat. But some anti-virus solutions just warn the user whether to allow the execution or not since it communicate through a reverse TCP communication channel.
AJIN ABRAHAM 13 
Kerala Cyber Force 
Learn | Contribute | Share 
Xenotix DDoSer 
With HTML 5 comes great power. We harvest the power of HTML 5 to abuse the Cross Origin Resource Sharing (CORS) and WebSocket supported by Firefox to implement a DDoS attack. 
WebSocket is a technology that allow web applications to have a bidirectional channel to a URI endpoint. Sockets can send and receive data to and from a web server and respond to opening or closing a WebSocket. The XMLHttpRequest is a JavaScript object which is used to exchange data between a server and a bowser behind the scene. This can be used for Cross Origin Resource Sharing (CORS). Firefox does not impart any restrictions on CORS on Cross Domain requests. The restriction is only on reading the response. So we can perform a combined and powerful DDoS attack by abusing these two technologies. Xenotix DDoSer is a malicious POC add-on that abuses WebSocket and creates numerous socket connections with a target server to slow it down. Along with it by abusing CORS, the add-on create numerous fake GET requests to slow down the target server. When we send the first request to the target server and the response does not contain the 'Access-Control-Allow-Origin' header with a suitable value then at times the browser refuses to send more requests to the same URL. However this can be easily bypassed by making every request unique by adding a non-existing query-string parameter with changing values. 
Fig 16: DDoS with CORS and WebSocket. 
This add-on can be used to perform Distributed DoS attack or even just a single instance of the add-on running is enough to take down a low profile web site. The interesting part is that the victim who is running the add-on won’t be able to know that he is part of zombie network hosting a DDoS Attack.
AJIN ABRAHAM 14 
Kerala Cyber Force 
Learn | Contribute | Share 
Fully Undetectable Fig 13: Virus Total Scan Results of Xenotix DDoSer. 
Again here too, most of the antivirus solutions won’t scan the inside of a packed add-on with .xpi extension. Also the add-on use common JavaScript functions and the anti-virus heuristic scans are not applicable since no executable files are present here. 
Spreading the Add-ons 
Lot of methodologies can be used to spread these malicious add-ons. A webpage that request the user to install an add-on as a basic requirement for accessibility, viewing a video or accessing some contents etc. Social Engineering tricks can be effectively used to spread the malicious add-ons as human stupidity is the greatest vulnerability. By exploiting the Cross Site Scripting vulnerabilities in web applications, malicious add-on can be spread (refer Fig 17). 
Fig 17: Spreading malicious add-on by exploiting Cross Site Scripting vulnerabilities. 
Tabnabbing can be used for spreading the add-on by employing JavaScript to replace a webpage with an add-on download popup at a timed interval. 
The given below code can be used by an attacker to spread malicious add-ons via Tabnabbing.
AJIN ABRAHAM 15 
Kerala Cyber Force 
Learn | Contribute | Share 
Mitigation Strategies 
So far I had discussed about the depth and scope of the threats arised by abusing and exploiting Firefox add-ons. Now we will see about some defense strategies. 
The first and foremost thing is never trust 3rd party add-ons. Be cautious before installing an add-on. Always use a good and updated Anti-Virus and Firewall solutions. Keylogger Beater is a nice add-on for Firefox to beat Keylogger. Reverse and analyze the source code if you can. Disable session data storing in Firefox to prevent session stealing from Firefox. For configuring it, visit about:config in the URL field of Firefox and set “browser.sessionstore.resume_from_crash” to false. Do not run Firefox from a root privileged account while running on Linux environment. If the user account is a less privileged one then the password files can’t be accessed without privilege and permission. Use a safe and configured proxy server so that it can filter out and block unauthorized reverse TCP and FTP connections. The DDoS attempts can be effectively blocked by a WAF since all Cross Origin 
<h1>After opening this page in the browser, open a new tab and wait for 5 sec and come back to this tab again. An add-on pop up will come up.</h1> 
<script type="text/javascript"> 
var xScroll, yScroll, timerPoll, timerRedirect, timerClock; 
function initRedirect(){ 
if (typeof document.body.scrollTop != "undefined"){ 
xScroll = document.body.scrollLeft; 
yScroll = document.body.scrollTop; 
clearInterval(timerPoll); clearInterval(timerRedirect); timerPoll = setInterval("pollActivity()",1); //poll scrolling 
timerRedirect = setInterval("location.href='http://192.168.183.1/addon.xpi'",5000); 
redirect 
} 
} 
document.onmousemove=initRedirect; 
document.onclick=initRedirect; 
document.onkeydown=initRedirect; 
window.onload=initRedirect; 
window.onresize=initRedirect; 
</script>
AJIN ABRAHAM 16 
Kerala Cyber Force 
Learn | Contribute | Share 
Requests contain the 'Origin' header. Analyzing that, a WAF can process a legitimate request and reject the bogus request. 
Conclusion 
I had explained the Mozilla Firefox add-on security model and the weakness in the current architecture which a hacker can abuse. I had implemented and demonstrated the proof of the concept add-ons which successfully exploits security weakness in the Firefox platform. The Anti- virus detection rates of all these malicious add-ons are almost zero and protection mechanisms and filters are bypassed. It’s a real threat to the normal people out there. So Anti-virus vendors should identify and eliminate these threats efficiently. And I hope that Mozilla Firefox team will work on these issues to fix them and provides there users a secure browsing environment. Till then from next time onwards, keep an eye on the add-ons before installing them. 
References 
Papers 
• Abusing Firefox Extensions –By Roberto Suggi Liverani & Nick Freeman 
• Firefox Security – By Prasanna Kanagasabai 
Websites 
 Mozilla Firefox Internals and Attack Strategies http://www.chmag.in/article/apr2011/mozilla-firefox-internals-attack-strategies 
 Building an Extension 
https://developer.mozilla.org/en-US/docs/Building_an_Extension 
 Getting Started with Extension Development 
http://kb.mozillazine.org/Getting_started_with_extension_development
AJIN ABRAHAM 17 
Kerala Cyber Force 
Learn | Contribute | Share 
 Firefox Extension Template http://davidwalsh.name/firefox-extension-template 
 Add-on Developer FAQ https://addons.mozilla.org/en-US/developer_faq 
 Running Applications 
https://developer.mozilla.org/en-US/docs/Code_snippets/Running_applications 
 XPCOM Interface - nsILocalFile 
https://developer.mozilla.org/en- US/docs/XPCOM_Interface_Reference/nsILocalFile#launch() 
 File Input/output operation with add-on https://developer.mozilla.org/en- US/docs/Code_snippets/File_I_O#Getting_your_extension.27s_folder 
 Add-on Development https://blog.mozilla.org/addons/2009/01/28/how-to-develop-a-firefox-extension/ 
 XPConnect Interface 
https://developer.mozilla.org/en-US/docs/XPConnect 
 XPCOM Interface – nsIProcess 
https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIProcess
AJIN ABRAHAM 18 
Kerala Cyber Force 
Learn | Contribute | Share 
 Event Listener https://developer.mozilla.org/en-US/docs/DOM/element.addEventListener 
 Firefox Session Restore http://kb.mozillazine.org/Session_Restore 
 XMLHTTP Request 
https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest 
 XMLHTTP Request http://www.w3schools.com/xml/xml_http.asp 
 INTRODUCING WEBSOCKETS: BRINGING SOCKETS TO THE WEB 
http://www.html5rocks.com/en/tutorials/websockets/basics/ 
 WebSockets 
https://developer.mozilla.org/en-US/docs/WebSockets 
 Using CORS 
http://www.html5rocks.com/en/tutorials/cors/ 
 CORS + WebSocket DDoS Implementation 
https://github.com/chickenwin/DDoS-chickenwin/blob/master/test.html 
 Performing DDoS Attacks with HTML5 
http://blog.andlabs.org/2010/12/performing-ddos-attacks-with-html5.html 
 HTTP access control (CORS) 
https://developer.mozilla.org/en/docs/HTTP_access_control

Weitere ähnliche Inhalte

Was ist angesagt?

WEB APPLICATION VULNERABILITIES: DAWN, DETECTION, EXPLOITATION AND DEFENSE
WEB APPLICATION VULNERABILITIES: DAWN, DETECTION, EXPLOITATION AND DEFENSEWEB APPLICATION VULNERABILITIES: DAWN, DETECTION, EXPLOITATION AND DEFENSE
WEB APPLICATION VULNERABILITIES: DAWN, DETECTION, EXPLOITATION AND DEFENSEAjith Kp
 
Pentesting web applications
Pentesting web applicationsPentesting web applications
Pentesting web applicationsSatish b
 
Ivanti Patch Tuesday November 2017
Ivanti Patch Tuesday November 2017Ivanti Patch Tuesday November 2017
Ivanti Patch Tuesday November 2017Ivanti
 
Hacking A Web Site And Secure Web Server Techniques Used
Hacking A Web Site And Secure Web Server Techniques UsedHacking A Web Site And Secure Web Server Techniques Used
Hacking A Web Site And Secure Web Server Techniques UsedSiddharth Bhattacharya
 
Krzysztof kotowicz. something wicked this way comes
Krzysztof kotowicz. something wicked this way comesKrzysztof kotowicz. something wicked this way comes
Krzysztof kotowicz. something wicked this way comesYury Chemerkin
 
Careto: Unmasking a New Level in APT-ware
Careto: Unmasking a New Level in APT-ware Careto: Unmasking a New Level in APT-ware
Careto: Unmasking a New Level in APT-ware Lumension
 
Psdot 6 web based security analysis of opass authentication schemes using mob...
Psdot 6 web based security analysis of opass authentication schemes using mob...Psdot 6 web based security analysis of opass authentication schemes using mob...
Psdot 6 web based security analysis of opass authentication schemes using mob...ZTech Proje
 
Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...
Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...
Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...Jeremiah Grossman
 
تست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانی
تست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانیتست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانی
تست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانیirpycon
 
21 app packaging, monetization and publication
21   app packaging, monetization and publication21   app packaging, monetization and publication
21 app packaging, monetization and publicationWindowsPhoneRocks
 
main report on restaurant
main report on restaurantmain report on restaurant
main report on restaurantNeeraj Kumar
 
Spring Roo Rev005
Spring Roo Rev005Spring Roo Rev005
Spring Roo Rev005Rich Helton
 
Top security threats to Flash/Flex applications and how to avoid them
Top security threats to Flash/Flex applications and how to avoid themTop security threats to Flash/Flex applications and how to avoid them
Top security threats to Flash/Flex applications and how to avoid themElad Elrom
 
18 windows phone 8.1 for the enterprise developer
18   windows phone 8.1 for the enterprise developer18   windows phone 8.1 for the enterprise developer
18 windows phone 8.1 for the enterprise developerWindowsPhoneRocks
 
Web browser privacy and security
Web browser privacy and security Web browser privacy and security
Web browser privacy and security amiable_indian
 
22 universal apps for windows
22   universal apps for windows22   universal apps for windows
22 universal apps for windowsWindowsPhoneRocks
 

Was ist angesagt? (20)

WEB APPLICATION VULNERABILITIES: DAWN, DETECTION, EXPLOITATION AND DEFENSE
WEB APPLICATION VULNERABILITIES: DAWN, DETECTION, EXPLOITATION AND DEFENSEWEB APPLICATION VULNERABILITIES: DAWN, DETECTION, EXPLOITATION AND DEFENSE
WEB APPLICATION VULNERABILITIES: DAWN, DETECTION, EXPLOITATION AND DEFENSE
 
Pentesting web applications
Pentesting web applicationsPentesting web applications
Pentesting web applications
 
Ivanti Patch Tuesday November 2017
Ivanti Patch Tuesday November 2017Ivanti Patch Tuesday November 2017
Ivanti Patch Tuesday November 2017
 
Firefox 3 Thai inbreif
Firefox 3 Thai inbreifFirefox 3 Thai inbreif
Firefox 3 Thai inbreif
 
Hacking A Web Site And Secure Web Server Techniques Used
Hacking A Web Site And Secure Web Server Techniques UsedHacking A Web Site And Secure Web Server Techniques Used
Hacking A Web Site And Secure Web Server Techniques Used
 
Krzysztof kotowicz. something wicked this way comes
Krzysztof kotowicz. something wicked this way comesKrzysztof kotowicz. something wicked this way comes
Krzysztof kotowicz. something wicked this way comes
 
Careto: Unmasking a New Level in APT-ware
Careto: Unmasking a New Level in APT-ware Careto: Unmasking a New Level in APT-ware
Careto: Unmasking a New Level in APT-ware
 
Silent invasion
Silent invasionSilent invasion
Silent invasion
 
Psdot 6 web based security analysis of opass authentication schemes using mob...
Psdot 6 web based security analysis of opass authentication schemes using mob...Psdot 6 web based security analysis of opass authentication schemes using mob...
Psdot 6 web based security analysis of opass authentication schemes using mob...
 
Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...
Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...
Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...
 
تست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانی
تست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانیتست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانی
تست وب اپ ها با سلنیوم - علیرضا عظیم زاده میلانی
 
Is Drupal secure?
Is Drupal secure?Is Drupal secure?
Is Drupal secure?
 
21 app packaging, monetization and publication
21   app packaging, monetization and publication21   app packaging, monetization and publication
21 app packaging, monetization and publication
 
main report on restaurant
main report on restaurantmain report on restaurant
main report on restaurant
 
Spring Roo Rev005
Spring Roo Rev005Spring Roo Rev005
Spring Roo Rev005
 
Top security threats to Flash/Flex applications and how to avoid them
Top security threats to Flash/Flex applications and how to avoid themTop security threats to Flash/Flex applications and how to avoid them
Top security threats to Flash/Flex applications and how to avoid them
 
18 windows phone 8.1 for the enterprise developer
18   windows phone 8.1 for the enterprise developer18   windows phone 8.1 for the enterprise developer
18 windows phone 8.1 for the enterprise developer
 
Web browser privacy and security
Web browser privacy and security Web browser privacy and security
Web browser privacy and security
 
Web Hacking
Web HackingWeb Hacking
Web Hacking
 
22 universal apps for windows
22   universal apps for windows22   universal apps for windows
22 universal apps for windows
 

Andere mochten auch

Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programmingGwyneth Calica
 
Mod 2 collaboration
Mod 2 collaborationMod 2 collaboration
Mod 2 collaborationtlspecial
 
Laporan outbound lailatus sifa
Laporan outbound lailatus sifaLaporan outbound lailatus sifa
Laporan outbound lailatus sifalailatussifa
 
HealthRIght Strategy Update June 2014
HealthRIght Strategy Update June 2014HealthRIght Strategy Update June 2014
HealthRIght Strategy Update June 2014rihealthright
 
Sustainable Habits of Lomita, CA, USA Residents
Sustainable Habits of Lomita, CA, USA ResidentsSustainable Habits of Lomita, CA, USA Residents
Sustainable Habits of Lomita, CA, USA Residentstambient7890
 
tugas pio outbond ellenoor tasya
tugas pio outbond ellenoor tasyatugas pio outbond ellenoor tasya
tugas pio outbond ellenoor tasyaellenoortasya
 
Mod 1 beyond textbooks 4 ubc
Mod 1 beyond textbooks 4 ubcMod 1 beyond textbooks 4 ubc
Mod 1 beyond textbooks 4 ubctlspecial
 
10 Álbuns Essenciais de Death Metal
10 Álbuns Essenciais de Death Metal10 Álbuns Essenciais de Death Metal
10 Álbuns Essenciais de Death MetalNatives in Business
 
Peopel Counting | People Counter
Peopel Counting | People CounterPeopel Counting | People Counter
Peopel Counting | People CounterBruce Clay
 
Approaches to language teaching
Approaches to language teachingApproaches to language teaching
Approaches to language teachingB_blade1991
 
Supreme Court considers public school use.
Supreme Court considers public school use.Supreme Court considers public school use.
Supreme Court considers public school use.uttermostimplem93
 
Softwares libres de estrategias de manejo de información
Softwares libres de estrategias de manejo de informaciónSoftwares libres de estrategias de manejo de información
Softwares libres de estrategias de manejo de informaciónWilfredoMoreZ
 
Advanced Com final
Advanced Com finalAdvanced Com final
Advanced Com finalPenny Linton
 

Andere mochten auch (20)

Presentación de mi Empresa
Presentación de mi EmpresaPresentación de mi Empresa
Presentación de mi Empresa
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Smart Rural
Smart Rural Smart Rural
Smart Rural
 
Mod 2 collaboration
Mod 2 collaborationMod 2 collaboration
Mod 2 collaboration
 
Laporan outbound lailatus sifa
Laporan outbound lailatus sifaLaporan outbound lailatus sifa
Laporan outbound lailatus sifa
 
HealthRIght Strategy Update June 2014
HealthRIght Strategy Update June 2014HealthRIght Strategy Update June 2014
HealthRIght Strategy Update June 2014
 
Sustainable Habits of Lomita, CA, USA Residents
Sustainable Habits of Lomita, CA, USA ResidentsSustainable Habits of Lomita, CA, USA Residents
Sustainable Habits of Lomita, CA, USA Residents
 
tugas pio outbond ellenoor tasya
tugas pio outbond ellenoor tasyatugas pio outbond ellenoor tasya
tugas pio outbond ellenoor tasya
 
Grindcore
GrindcoreGrindcore
Grindcore
 
Mod 1 beyond textbooks 4 ubc
Mod 1 beyond textbooks 4 ubcMod 1 beyond textbooks 4 ubc
Mod 1 beyond textbooks 4 ubc
 
Galería de Fotos
Galería de FotosGalería de Fotos
Galería de Fotos
 
10 Álbuns Essenciais de Death Metal
10 Álbuns Essenciais de Death Metal10 Álbuns Essenciais de Death Metal
10 Álbuns Essenciais de Death Metal
 
Peopel Counting | People Counter
Peopel Counting | People CounterPeopel Counting | People Counter
Peopel Counting | People Counter
 
Galeria Zona Informática
Galeria  Zona InformáticaGaleria  Zona Informática
Galeria Zona Informática
 
Communicable Diseases
Communicable DiseasesCommunicable Diseases
Communicable Diseases
 
models of quality
models of qualitymodels of quality
models of quality
 
Approaches to language teaching
Approaches to language teachingApproaches to language teaching
Approaches to language teaching
 
Supreme Court considers public school use.
Supreme Court considers public school use.Supreme Court considers public school use.
Supreme Court considers public school use.
 
Softwares libres de estrategias de manejo de información
Softwares libres de estrategias de manejo de informaciónSoftwares libres de estrategias de manejo de información
Softwares libres de estrategias de manejo de información
 
Advanced Com final
Advanced Com finalAdvanced Com final
Advanced Com final
 

Ähnlich wie AbusingExploitingAndPWN-ingWithFirefoxAdd-Ons

Abusing Exploiting and Pwning with Firefox Addons
Abusing Exploiting and Pwning with Firefox AddonsAbusing Exploiting and Pwning with Firefox Addons
Abusing Exploiting and Pwning with Firefox AddonsAjin Abraham
 
Firefox security (prasanna)
Firefox security (prasanna) Firefox security (prasanna)
Firefox security (prasanna) ClubHack
 
Trabajo de jose
Trabajo de jose Trabajo de jose
Trabajo de jose josemgg
 
Internet browsers by Andres Haydar
Internet browsers by Andres HaydarInternet browsers by Andres Haydar
Internet browsers by Andres HaydarAndresHaydar
 
Elsevier NESE - Spying on the Browser
Elsevier NESE - Spying on the BrowserElsevier NESE - Spying on the Browser
Elsevier NESE - Spying on the BrowserAditya K Sood
 
Browsers .
Browsers .Browsers .
Browsers .seripa3
 
Web browsertico
Web browserticoWeb browsertico
Web browserticotico3195
 
Operations security (OPSEC) in IT
Operations security (OPSEC) in ITOperations security (OPSEC) in IT
Operations security (OPSEC) in ITMichal Špaček
 
Mozilla Jetpack SDK - LinuxTag 2010
Mozilla Jetpack SDK - LinuxTag 2010Mozilla Jetpack SDK - LinuxTag 2010
Mozilla Jetpack SDK - LinuxTag 2010Brian King
 
Browser Malware Taxonomy
Browser Malware TaxonomyBrowser Malware Taxonomy
Browser Malware TaxonomyAditya K Sood
 
Browsers in the actuality.
Browsers in the actuality.Browsers in the actuality.
Browsers in the actuality.carlosmau-95
 
browser of the actuality
browser of the actualitybrowser of the actuality
browser of the actualitycarlosmau-95
 

Ähnlich wie AbusingExploitingAndPWN-ingWithFirefoxAdd-Ons (20)

Abusing Exploiting and Pwning with Firefox Addons
Abusing Exploiting and Pwning with Firefox AddonsAbusing Exploiting and Pwning with Firefox Addons
Abusing Exploiting and Pwning with Firefox Addons
 
Firefox security (prasanna)
Firefox security (prasanna) Firefox security (prasanna)
Firefox security (prasanna)
 
Firefox (in)Security
Firefox (in)SecurityFirefox (in)Security
Firefox (in)Security
 
Trabajo de jose
Trabajo de jose Trabajo de jose
Trabajo de jose
 
Browsers
BrowsersBrowsers
Browsers
 
Browsers
BrowsersBrowsers
Browsers
 
BeEF
BeEFBeEF
BeEF
 
Internet browsers by Andres Haydar
Internet browsers by Andres HaydarInternet browsers by Andres Haydar
Internet browsers by Andres Haydar
 
Elsevier NESE - Spying on the Browser
Elsevier NESE - Spying on the BrowserElsevier NESE - Spying on the Browser
Elsevier NESE - Spying on the Browser
 
Browsers .
Browsers .Browsers .
Browsers .
 
Browsers
BrowsersBrowsers
Browsers
 
Browsers
BrowsersBrowsers
Browsers
 
Browsers
BrowsersBrowsers
Browsers
 
Web browsertico
Web browserticoWeb browsertico
Web browsertico
 
Operations security (OPSEC) in IT
Operations security (OPSEC) in ITOperations security (OPSEC) in IT
Operations security (OPSEC) in IT
 
Mozilla Jetpack SDK - LinuxTag 2010
Mozilla Jetpack SDK - LinuxTag 2010Mozilla Jetpack SDK - LinuxTag 2010
Mozilla Jetpack SDK - LinuxTag 2010
 
Browser Malware Taxonomy
Browser Malware TaxonomyBrowser Malware Taxonomy
Browser Malware Taxonomy
 
Browser (1)
Browser (1)Browser (1)
Browser (1)
 
Browsers in the actuality.
Browsers in the actuality.Browsers in the actuality.
Browsers in the actuality.
 
browser of the actuality
browser of the actualitybrowser of the actuality
browser of the actuality
 

Kürzlich hochgeladen

Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmDeepika Walanjkar
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptxmohitesoham12
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating SystemRashmi Bhat
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONjhunlian
 
Levelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument methodLevelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument methodManicka Mamallan Andavar
 
11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdfHafizMudaserAhmad
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionSneha Padhiar
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
 
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSHigh Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSsandhya757531
 
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfModule-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfManish Kumar
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdfsahilsajad201
 
List of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfList of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfisabel213075
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Erbil Polytechnic University
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Communityprachaibot
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESkarthi keyan
 
KCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosKCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosVictor Morales
 

Kürzlich hochgeladen (20)

Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptx
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating System
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
 
Levelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument methodLevelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument method
 
11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based question
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
 
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSHigh Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
 
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfModule-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdf
 
List of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfList of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdf
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Community
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
 
KCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitosKCD Costa Rica 2024 - Nephio para parvulitos
KCD Costa Rica 2024 - Nephio para parvulitos
 

AbusingExploitingAndPWN-ingWithFirefoxAdd-Ons

  • 1. AJIN ABRAHAM 1 Kerala Cyber Force Learn | Contribute | Share Abusing, Exploiting and Pwning with Firefox Add-ons Ajin Abraham www.ajinabraham.com www.keralacyberforce.in ajin25@gmail.com Abstract This paper discuss about a number of ways through which hackers can use Mozilla Firefox as a platform to run there malicious piece of code with all the privileges and features as that supported by any native programming languages. Also there is an advantage that these malicious codes remain stealthy and undetected against anti-virus solutions. Malicious Firefox add-ons can be coded to serve this purpose. Mozilla Firefox Browser Engine acts just like a compiler or interpreter to execute your codes without much security concerns. The coding technologies for add-on development can be abused and exploited to create malicious add-ons. This paper explains how Firefox’s insecure policies and add-on development technologies like JavaScript, CORS, Web Socket, XPCOM and XPConnect can be abused by a hacker for malicious purposes. The widely popular browser add-ons can be utilized by hackers to implement new malware attack vectors. This paper is supported by proof of concept add-ons which are developed by exploiting the weakness in Firefox add-on coding. The proof of concept includes the implementation of a local keylogger, a remote keylogger, spawning a reverse shell, stealing the Firefox user session data, stealing Linux password files and Distributed Denial of Service (DDoS) Attack. All of these attack vectors are fully undetectable against anti-virus solutions and can bypass filters or protection mechanisms. Introduction Firefox is an awesome web browser by Mozilla foundation. It is used by millions of people all around the world. According to w3shools.com Firefox stands second in world in terms of usage.
  • 2. AJIN ABRAHAM 2 Kerala Cyber Force Learn | Contribute | Share Fig 1: Browser Usage Statistics The add-ons are developed with the help of HTML, CSS, XHTML, XML, js-ctypes, Web Workers, XBL, XUL, XPCOM, and JavaScript with XPConnect. The paper will discuss about the exploitable coding features in XPCOM interface, WebSocket, CORS, JavaScript and XPConnect offered by Firefox along with successful abusing and exploitation of these with the proof of concept add- ons. Firefox add-on Structure An add-on is just a zipped file with its extension (.zip) changed to (.xpi). Fig 2: Add-on directory structure The Fig 2 shows the structure of a Firefox add-on. This structuring of the components of the add-on is conventional. It’s not mandatory that one should follow this structuring. But the essential and bare minimal files for developing an add-on are “chrome.manifest”, “install.rdf”, “overlay.xul”, and “overlay.js”. It got millions of feature rich add-ons to meet ones needs and taste. Add-ons are small pieces of software that adds new features or functionality to the Firefox browser. It extends, modify and control browser behavior. Firefox got a lot of developers devoted in add-on development around the world. To help the developers to carry out add-on development in an easier way, Firefox supports variety of powerful languages for add-on development.
  • 3. AJIN ABRAHAM 3 Kerala Cyber Force Learn | Contribute | Share Purpose of these files is as follows: chrome.manifest : Registers the location of the contents with the Chrome engine. overlay.xul : This files defines the GUI elements to be added to the browser window. install.rdf : Gives general information about the extension like name, description version etc. overlay.js : This file consist of the scripts/codes that runs in the browser engine. Firefox Add-on Security Model The Firefox platform has no mechanisms to restrict the privileges of add-ons. The add-on code is fully trusted by Firefox. The installation of malicious add-ons can result in full system compromise. There is no security measure to restrict the intercommunication between add- ons. As a result an add-on can alter or modify another add-on in the background. There is no security policy or sandboxing ability of XPConnect and XPCOM components which is a serious flaw in the security model. Firefox does not have any type of restrictions on malformed Cross Origin Resource Sharing and socket creation. Some exploitable vulnerabilities are platform independent. However addons.mozilla.org where add-ons are officially hosted, perform reviews of all add- ons submitted. Add-ons with malicious functionality will be rejected in the review, same goes for add-ons executing remote code. An extension on addons.mozilla.org can have three states:  Fully reviewed: the add-on passed the review without any serious issues.  Preliminarily reviewed: the add-on was found to be safe to use but has serious issues or simply isn't mature enough yet.  Not reviewed: the add-on has only been submitted recently and not reviewed yet, use at your own risk. Even though it’s possible to host a malicious add-on in Firefox add-ons website, but it is not under the scope of this paper. We will only discuss about some methods through which we can abuse add-on coding technologies to build malicious add-ons and methods used by hackers to spread them.
  • 4. AJIN ABRAHAM 4 Kerala Cyber Force Learn | Contribute | Share Exploitable Features of Firefox add-on Coding Fig 3: The Mozilla Platform Add-ons are the best part of Firefox. Firefox got feature rich and extensible add-on support. Firefox supports variety of powerful languages for add-on development including HTML, CSS, XHTML, XML, js-ctypes, Web Workers, WebSocket, CORS, XBL, XUL, XPCOM and JavaScript with XPConnect. In this paper we are concentrating on XUL, XPCOM, XPConnect and JavaScript. XUL (XML User Interface) is used to provide user interface to the add-ons. XPCOM (Cross platform Component Object Model) much alike ActiveX is a cross-platform component model which features multiple language bindings and IDL (Interface Description Language) descriptions enabling developers to incorporate their custom functionality into the framework and connect it with other components. It can be used to interact with low layer libraries like network, I/O, file system, etc. XPCOM components support multiple programming languages such as C++, Java, Python and JavaScript. XPConnect (Cross Platform Connect) is a technology which enables simple interoperation between XPCOM and JavaScript. There are not mechanism to restrict the privileges and execution scope of add-ons. JavaScript functions can hook into the browser interface every time Firefox loads. They can collect keystrokes from Firefox browser interface. The JavaScript XMLHttpRequest object can be used to exchange data with a server in background. The JavaScript with XPConnect used for file management, process & thread management which can be used to execute windows
  • 5. AJIN ABRAHAM 5 Kerala Cyber Force Learn | Contribute | Share executable (.exe) and for performing file operations without any restrictions. CORS and WebSocket can be used to create numerous bogus requests to a server. Exploiting the Weakness So now consider some of the exploiting scenario. • By abusing the JavaScript function “document.addEventListener();”, we can implement a Keylogger. • We can pack and execute malicious Windows executable (.exe) files by abusing the File I/O operations supported by XPConnect. • We can hook malicious codes into the Firefox browser interface and execute them every time the browser loads. • We can steal Firefox session data with malicious add-on. • Add-ons can access the contents of confidential files in the system without any restrictions. • With XHR object we can exchange data between the victim and the server. • By abusing CORS and WebSocket we can shot numerous bogus request to DDoS a Web Site. Proof of Concept (PoC) To demonstrate the potential security risk caused by malicious Firefox add-ons, I had implemented some proof of concept add-ons.  Xenotix KeylogX  Xenotix Remote Keylogger  Xenotix Session Stealer  Xenotix Linux Password Stealer  Xenotix Reverse Connect  Xenotix DDoSer All of these add-ons are fresh and fully undetectable against Anti-virus solutions.
  • 6. AJIN ABRAHAM 6 Kerala Cyber Force Learn | Contribute | Share Xenotix KeylogX It is a Keylogger add-on for Mozilla Firefox which can capture keystrokes and log it into a file. It can hook into the browser interface and capture keystrokes from all the opened tabs in Firefox. Fig 4: Abusing JavaScript Functions The Keylogger add-on is implemented by abusing JavaScript functions like “document.addEventListener();” for hooking into the browser interface to capture the keystrokes and file management features of XPConnect for creating a log file. The weakness of Firefox is that it does not implement any security privilege policy or restrictions on content extraction from webpages and file creation by add-ons. The add-on is platform independent and is tested under Windows and Linux. Fully Undetectable Fig 5: Virus Total Scan results of Xenotix KeylogX
  • 7. AJIN ABRAHAM 7 Kerala Cyber Force Learn | Contribute | Share Most antivirus solutions won’t scan the inside of a packed add-on with .xpi extension. Also the add-on use common JavaScript functions and the anti-virus heuristic scans are not applicable since no executable files are present here. Bypass Anti-Keylogger and On-Screen Keyboard The keylogger add-on can bypass Windows On-Screen Keyboard and KeyScrambler. KeyScrambler is an Anti-Keylogging mechanism which simultaneously encrypts the keystrokes at the keyboard driver level and decrypts them at the destination application for which the keystrokes are made. The Keylogger add-on described here can by bypass KeyScrambler protection mechanism. Fig 6: How Xenotix KeylogX bypass KeyScrambler, the ant-keylogger mechanism. The Fig 6 depicts the working of a normal keylogger, protection mechanism of KeyScrambler against Keyloggers and bypassing KeyScrambler protection mechanism with Xenotix KeylogX add-on.
  • 8. AJIN ABRAHAM 8 Kerala Cyber Force Learn | Contribute | Share A normal software based keylogger will hook into the environment between keyboard inputs and the applications running on the system. So they can collect the keystrokes passing through the environment. KeyScrambler is an anti-keylogger which encrypts all the keystrokes at keyboard driver level, deep inside the kernel. So when the encrypted data passes through the environment which is hooked by the Keylogger, they render useless since the captured data is completely encrypted. Finally KeyScrambler will decrypt the keystrokes at the destination application for which the keystrokes are produced. Now consider the scenario where Xenotix KeylogX add-on is installed in Firefox. As usual KeyScrambler will encrypt the keystrokes and decrypts them before providing to Firefox executable. But since the keylogger add-on is executing inside Firefox, it will obtain all the keystrokes in plain text. So the protection mechanism is bypassed and render useless against this malicious add-on. Xenotix Remote Keylogger This is the remote implementation of the previous keylogger add-on. This add-on is implemented to demonstrate the weakness of Firefox that it does not implement any security privilege policy, restrictions or sandboxing on file execution by add-ons. This malicious add-on collects keystrokes from the opened tabs in Firefox and logs it into a file and uploads the log file to a FTP account. The add-on is implemented by abusing JavaScript functions like “document.addEventListener();” for capturing keystrokes and the process and thread management features of XPConnect for executing any windows executable file. The add-on is packed with an executable “Firefox.exe” that gets executed every time the victim loads Firefox browser and it will upload the log file to any FTP account specified by the attacker every 60 seconds. Fig 7: The add-on will invoke an executable which uploads the log file to a FTP account every 60 sec. Here also we exploit the weakness of Firefox that it does not implement any security privilege policy or restrictions on content extraction from webpages and file execution by add-ons. This add-on works only in Windows environment as windows executable is not supported in Linux. Also the method of invoking a Linux executable file is not supported by XPConnect.
  • 9. AJIN ABRAHAM 9 Kerala Cyber Force Learn | Contribute | Share Fully Undetectable Fig 8: Virus Total Scan Results of Xenotix Remote Keylogger. Most antivirus solutions won’t scan the inside of a packed add-on with .xpi extension. The add- on use common JavaScript functions and even if they check inside the add-on, the heuristic scans of anti-virus solutions are not detecting the executable as a threat since it is just an executable with the basic function of uploading file to a FTP account. Bypass Anti-Keylogger and On-Screen Keyboard Xenotix Remote Keylogger can bypass Windows On-Screen Keyboard and KeyScrambler protection in the way mentioned before. Xenotix Session Stealer Fig 9: The add-on will send the contents of sessionstore.js to the remote attacker. Firefox is having a built-in Session Store feature that saves your session data, including open window and tabs, window size and position, text typed in forms and the session cookies which
  • 10. AJIN ABRAHAM 10 Kerala Cyber Force Learn | Contribute | Share can maintain your login state in different websites. All these session data information are stored in a file named “sessionstore.js” in the profile folder of Firefox. This file is intended for recovery of tabs after a Firefox crash. The “sessionstore.js” file is maintained in such way that Firefox will preserve the session data upon abnormal exit or crash and deletes the session data on a normal exit. A malicious add-on can be implemented by abusing the file management feature of XPConnect and data exchange feature of XmlHttpRequest (XHR) object to read the contents of “sessionstore.js” and send it to the attacker via GET request at specified time intervals. And later the attacker can use the stolen session data file to reproduce the victim’s authenticated session. Fig 10: The add-on will send the contents of session data file to the remote attacker. This add-on exploits the weakness of Firefox that it does not impart any access restriction on its session data file and the file is compactable with any system and any version of Firefox which provides the attacker the ability to reproduce the session on a remote computer. Also Firefox doesn’t impart any security measure to isolate and lock out the session file for a unique Firefox installation. Fully Undetectable Fig 11: Virus Total Scan Results of Xenotix Session Stealer.
  • 11. AJIN ABRAHAM 11 Kerala Cyber Force Learn | Contribute | Share Here also most antivirus solutions won’t scan the inside of a packed add-on with .xpi extension). Also the add-on use common JavaScript functions and the anti-virus heuristic scans are not applicable here as an executable file is not present. Xenotix Linux Password Stealer This add-on can steal Linux password (passwd and shadow) files by exploiting the File I/O operations supported by JavaScript XPCOM interface. It reads the password files from a root user with the help of nSIFile XPCOM Interface and sends the contents to a remote attacker with XMLHttpRequest. Fig 12: Xenotix Linux Password Stealer add-on is implemented by abusing nSIFile Object and XMLHttpRequest. The XMLHttpRequest is a JavaScript object which provides us an easy way to retrieve data at a URL (POST/GET) within JavaScript. Here we craft an add-on that can read the contents of Linux password files provided Firefox is running in a root account and send it to a remote attacker via GET request. Fully Undetectable Fig 13: Virus Total Scan Results of Xenotix Linux Password Stealer.
  • 12. AJIN ABRAHAM 12 Kerala Cyber Force Learn | Contribute | Share Linux Anti-virus solutions are not that efficient to detect this malicious add-on as it’s in packed form (.xpi). Also the add-on use common JavaScript functions and the anti-virus heuristic scans are not applicable here as an executable file is not present. Xenotix Reverse Connect Fig 14: Reverse Connection form Windows 8 PC. This malicious add-on is packed with a reverse shell that will connect back to the attacker. This add-on abuses the file execution feature of XPConnect to start a reverse shell to an IP and port specified by the attacker. This malicious add-on targets the weakness of Firefox that it lacks privilege restriction and control policy to create and execute processes. Fully Undetectable Fig 15: Virus Total Scan Results of Xenotix Reverse Connect. Most Anti-virus solutions won’t scan the packed form (.xpi) of the add-on. Currently the heuristic scans of anti-viruses are not detecting it as a threat. But some anti-virus solutions just warn the user whether to allow the execution or not since it communicate through a reverse TCP communication channel.
  • 13. AJIN ABRAHAM 13 Kerala Cyber Force Learn | Contribute | Share Xenotix DDoSer With HTML 5 comes great power. We harvest the power of HTML 5 to abuse the Cross Origin Resource Sharing (CORS) and WebSocket supported by Firefox to implement a DDoS attack. WebSocket is a technology that allow web applications to have a bidirectional channel to a URI endpoint. Sockets can send and receive data to and from a web server and respond to opening or closing a WebSocket. The XMLHttpRequest is a JavaScript object which is used to exchange data between a server and a bowser behind the scene. This can be used for Cross Origin Resource Sharing (CORS). Firefox does not impart any restrictions on CORS on Cross Domain requests. The restriction is only on reading the response. So we can perform a combined and powerful DDoS attack by abusing these two technologies. Xenotix DDoSer is a malicious POC add-on that abuses WebSocket and creates numerous socket connections with a target server to slow it down. Along with it by abusing CORS, the add-on create numerous fake GET requests to slow down the target server. When we send the first request to the target server and the response does not contain the 'Access-Control-Allow-Origin' header with a suitable value then at times the browser refuses to send more requests to the same URL. However this can be easily bypassed by making every request unique by adding a non-existing query-string parameter with changing values. Fig 16: DDoS with CORS and WebSocket. This add-on can be used to perform Distributed DoS attack or even just a single instance of the add-on running is enough to take down a low profile web site. The interesting part is that the victim who is running the add-on won’t be able to know that he is part of zombie network hosting a DDoS Attack.
  • 14. AJIN ABRAHAM 14 Kerala Cyber Force Learn | Contribute | Share Fully Undetectable Fig 13: Virus Total Scan Results of Xenotix DDoSer. Again here too, most of the antivirus solutions won’t scan the inside of a packed add-on with .xpi extension. Also the add-on use common JavaScript functions and the anti-virus heuristic scans are not applicable since no executable files are present here. Spreading the Add-ons Lot of methodologies can be used to spread these malicious add-ons. A webpage that request the user to install an add-on as a basic requirement for accessibility, viewing a video or accessing some contents etc. Social Engineering tricks can be effectively used to spread the malicious add-ons as human stupidity is the greatest vulnerability. By exploiting the Cross Site Scripting vulnerabilities in web applications, malicious add-on can be spread (refer Fig 17). Fig 17: Spreading malicious add-on by exploiting Cross Site Scripting vulnerabilities. Tabnabbing can be used for spreading the add-on by employing JavaScript to replace a webpage with an add-on download popup at a timed interval. The given below code can be used by an attacker to spread malicious add-ons via Tabnabbing.
  • 15. AJIN ABRAHAM 15 Kerala Cyber Force Learn | Contribute | Share Mitigation Strategies So far I had discussed about the depth and scope of the threats arised by abusing and exploiting Firefox add-ons. Now we will see about some defense strategies. The first and foremost thing is never trust 3rd party add-ons. Be cautious before installing an add-on. Always use a good and updated Anti-Virus and Firewall solutions. Keylogger Beater is a nice add-on for Firefox to beat Keylogger. Reverse and analyze the source code if you can. Disable session data storing in Firefox to prevent session stealing from Firefox. For configuring it, visit about:config in the URL field of Firefox and set “browser.sessionstore.resume_from_crash” to false. Do not run Firefox from a root privileged account while running on Linux environment. If the user account is a less privileged one then the password files can’t be accessed without privilege and permission. Use a safe and configured proxy server so that it can filter out and block unauthorized reverse TCP and FTP connections. The DDoS attempts can be effectively blocked by a WAF since all Cross Origin <h1>After opening this page in the browser, open a new tab and wait for 5 sec and come back to this tab again. An add-on pop up will come up.</h1> <script type="text/javascript"> var xScroll, yScroll, timerPoll, timerRedirect, timerClock; function initRedirect(){ if (typeof document.body.scrollTop != "undefined"){ xScroll = document.body.scrollLeft; yScroll = document.body.scrollTop; clearInterval(timerPoll); clearInterval(timerRedirect); timerPoll = setInterval("pollActivity()",1); //poll scrolling timerRedirect = setInterval("location.href='http://192.168.183.1/addon.xpi'",5000); redirect } } document.onmousemove=initRedirect; document.onclick=initRedirect; document.onkeydown=initRedirect; window.onload=initRedirect; window.onresize=initRedirect; </script>
  • 16. AJIN ABRAHAM 16 Kerala Cyber Force Learn | Contribute | Share Requests contain the 'Origin' header. Analyzing that, a WAF can process a legitimate request and reject the bogus request. Conclusion I had explained the Mozilla Firefox add-on security model and the weakness in the current architecture which a hacker can abuse. I had implemented and demonstrated the proof of the concept add-ons which successfully exploits security weakness in the Firefox platform. The Anti- virus detection rates of all these malicious add-ons are almost zero and protection mechanisms and filters are bypassed. It’s a real threat to the normal people out there. So Anti-virus vendors should identify and eliminate these threats efficiently. And I hope that Mozilla Firefox team will work on these issues to fix them and provides there users a secure browsing environment. Till then from next time onwards, keep an eye on the add-ons before installing them. References Papers • Abusing Firefox Extensions –By Roberto Suggi Liverani & Nick Freeman • Firefox Security – By Prasanna Kanagasabai Websites  Mozilla Firefox Internals and Attack Strategies http://www.chmag.in/article/apr2011/mozilla-firefox-internals-attack-strategies  Building an Extension https://developer.mozilla.org/en-US/docs/Building_an_Extension  Getting Started with Extension Development http://kb.mozillazine.org/Getting_started_with_extension_development
  • 17. AJIN ABRAHAM 17 Kerala Cyber Force Learn | Contribute | Share  Firefox Extension Template http://davidwalsh.name/firefox-extension-template  Add-on Developer FAQ https://addons.mozilla.org/en-US/developer_faq  Running Applications https://developer.mozilla.org/en-US/docs/Code_snippets/Running_applications  XPCOM Interface - nsILocalFile https://developer.mozilla.org/en- US/docs/XPCOM_Interface_Reference/nsILocalFile#launch()  File Input/output operation with add-on https://developer.mozilla.org/en- US/docs/Code_snippets/File_I_O#Getting_your_extension.27s_folder  Add-on Development https://blog.mozilla.org/addons/2009/01/28/how-to-develop-a-firefox-extension/  XPConnect Interface https://developer.mozilla.org/en-US/docs/XPConnect  XPCOM Interface – nsIProcess https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIProcess
  • 18. AJIN ABRAHAM 18 Kerala Cyber Force Learn | Contribute | Share  Event Listener https://developer.mozilla.org/en-US/docs/DOM/element.addEventListener  Firefox Session Restore http://kb.mozillazine.org/Session_Restore  XMLHTTP Request https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest  XMLHTTP Request http://www.w3schools.com/xml/xml_http.asp  INTRODUCING WEBSOCKETS: BRINGING SOCKETS TO THE WEB http://www.html5rocks.com/en/tutorials/websockets/basics/  WebSockets https://developer.mozilla.org/en-US/docs/WebSockets  Using CORS http://www.html5rocks.com/en/tutorials/cors/  CORS + WebSocket DDoS Implementation https://github.com/chickenwin/DDoS-chickenwin/blob/master/test.html  Performing DDoS Attacks with HTML5 http://blog.andlabs.org/2010/12/performing-ddos-attacks-with-html5.html  HTTP access control (CORS) https://developer.mozilla.org/en/docs/HTTP_access_control