Fellas, my new metasploit auxiliary module for Cisco Ironport appliances - WSA, SMA or ESA - is checked in this week's update. This module automates fingerprinting and brute forcing of login accounts.
http://www.metasploit.com/modules/auxiliary/scanner/http/cisco_ironport_enum
Showing posts with label Metasploit modules. Show all posts
Showing posts with label Metasploit modules. Show all posts
Saturday, August 24, 2013
Saturday, June 29, 2013
New Metasploit Modules
I wrote new Metasploit auxiliary modules & they landed at master branch recently.
In case you are using this application in your network, or happen to find it during a penetration test, I would appreciate if you can run the module & share the pcap with me / the metasploit team.
Cheers!
http://www.metasploit.com/modules/auxiliary/scanner/http/sevone_enumThis next module for CA eHealth application - http://www.ca.com/us/products/detail/ca-ehealth-performance-manager.aspx - is in testing branch at the moment.
http://www.metasploit.com/modules/auxiliary/scanner/http/rfcode_reader_enum
http://www.metasploit.com/modules/auxiliary/scanner/http/infovista_enum
In case you are using this application in your network, or happen to find it during a penetration test, I would appreciate if you can run the module & share the pcap with me / the metasploit team.
https://github.com/rapid7/metasploit-framework/blob/5e082f8e69b225a7f69356442c2566e0bb8fd762/modules/auxiliary/scanner/http/ca_ehealth_enum.rb
Cheers!
Sunday, December 25, 2011
[Quick notes] Metasploit payload types
To start with, a vulnerability is a weakness in the target system which creates a security risk - that it can be exploited.
An exploit is a way, a piece of code that can trigger & take advantage of a vulnerability.
A payload is the actual component in the attack which 'do' things for an attacker.
Therefore, a payload must have at least 2 components in it:
1. Communications capability - set up communication channel for the attacker
2. Functionality - defines what all actions an attacker can perform
Metasploit provides 2 types of payloads:
1. Single / Stand-alone / Self-contained
2. Staged [Stager + Stage]
Here,
Stager = communication module
And
Stage = functionality
A full payload = Stager + Stage
Self-contained payloads have both Stager & Stage already bundled together. These payloads include all functionality to load itself into the memory, set up communication channel for the attacker, and lastly provide attacker with the environment & command capability to interact with the compromised system.
A few examples of single / self-contained payloads are:
exec -> runs a command
adduser -> creates a new local user and add it to local administrator group
shell_bind_tcp / shell_reverse_tcp -> sets up a standard TCP bind / reverse listener
In contrast to self-contained payloads, Staged payloads function in a slightly different manner.
A Staged payload constitutes of a Stager and a Stage. These 2 components are NOT bundled together. An attacker can specify a stager and a stage independently.
When a vulnerability is exploited successfully, the Stager component goes first as payload. The stager is responsible for uploading the Stage next, and to set up communications channel for the stage so that attacker can interact with it.
Let's look for Stagers and Stages in the Metasploit directories..
Java Stagersls /opt/msfo/msf3/modules/payloads/stagers/java/bind_tcp.rb reverse_http.rb reverse_tcp.rb
ls -R /opt/msfo/msf3/modules/payloads/stagers/linux//opt/msfo/msf3/modules/payloads/stagers/linux/:x64 x86
/opt/msfo/msf3/modules/payloads/stagers/linux/x64:bind_tcp.rb reverse_tcp.rb
/opt/msfo/msf3/modules/payloads/stagers/linux/x86:bind_ipv6_tcp.rb bind_tcp.rb find_tag.rb reverse_ipv6_tcp.rb reverse_tcp.rb
ls -R /opt/msfo/msf3/modules/payloads/stagers/windows//opt/msfo/msf3/modules/payloads/stagers/windows/:bind_ipv6_tcp.rb reverse_http.rb reverse_ord_tcp.rb x64bind_nonx_tcp.rb reverse_https.rb reverse_tcp_allports.rbbind_tcp.rb reverse_ipv6_tcp.rb reverse_tcp_dns.rbfindtag_ord.rb reverse_nonx_tcp.rb reverse_tcp.rb
/opt/msfo/msf3/modules/payloads/stagers/windows/x64:bind_tcp.rb reverse_tcp.rb
-> Notice that all these are setting up a communications channel.
Now looking for Stages:
ls /opt/msfo/msf3/modules/payloads/stages/bsd bsdi java linux netware osx php windows
Java Stagesls /opt/msfo/msf3/modules/payloads/stages/java/meterpreter.rb shell.rb
OSX Stagesls -R /opt/msfo/msf3/modules/payloads/stages/osx//opt/msfo/msf3/modules/payloads/stages/osx/:armle ppc x86
/opt/msfo/msf3/modules/payloads/stages/osx/armle:execute.rb shell.rb
/opt/msfo/msf3/modules/payloads/stages/osx/ppc:shell.rb
/opt/msfo/msf3/modules/payloads/stages/osx/x86:bundleinject.rb isight.rb vforkshell.rb
Windows Stagesls -R /opt/msfo/msf3/modules/payloads/stages/windows/
/opt/msfo/msf3/modules/payloads/stages/windows/:dllinject.rb patchupdllinject.rb shell.rb vncinject.rbmeterpreter.rb patchupmeterpreter.rb upexec.rb x64
/opt/msfo/msf3/modules/payloads/stages/windows/x64:meterpreter.rb shell.rb vncinject.rb
-> All these modules provide functionality & interactive environments.
Subscribe to:
Posts (Atom)