rapid7/metasploit-framework — pull request #2681 by mcantoni (2013-11-23 16:23:08+00:00)
Title: Module to identifies open Chargen service

Description: Chargen is a debugging and measurement tool and a character generator service. A character generator service simply sends data without regard to the input. Chargen is susceptible to spoofing the source of transmissions as well as use in a reflection attack vector. The misuse of the testing features of the Chargen service may allow attackers to craft malicious network payloads and reflect them by spoofing the transmission source to effectively direct it to a target. This can result in traffic loops and service degradation with large amounts of network traffic.

Msftidy check: 0 errors, 0 warnings

Demo:

msf > use auxiliary/scanner/chargen/chargen_probe
msf auxiliary(chargen_probe) > set RHOSTS 1.2.3.4
RHOSTS => 1.2.3.4
msf auxiliary(chargen_probe) > run

[+] 1.2.3.4:19 answers with 1093 bytes (headers + UDP payload)
[] Scanned 1 of 1 hosts (100% complete)
[] Auxiliary module execution completed
msf auxiliary(chargen_probe) > set DEBUG true
DEBUG => true
msf auxiliary(chargen_probe) > run

[] DEBUG: ["=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^`abcdefghijklmnopqrstuvwxyz{|}!\"#$%&'
\r\n>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^abcdefghijklmnopqrstuvwxyz{|}!\"\#$%&'(\r
\n?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_abcdefghijklmnopqrstuvwxyz{|}!\"#$%&'()
\r\n@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!\"#$%&'()
\r\nABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^`abcdefghijklmnopqrstuvwxyz{|}!\"#$%&'()*+
\r\nBCDEFGHIJKLMNOPQRSTUVWXYZ[\]^abcdefghijklmnopqrstuvwxyz{|}!\"\#$%&'()*+,
\r\nCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_abcdefghijklmnopqrstuvwxyz{|}!\"#$%&'()+,-
\r\nDEFGHIJKLMNOPQRSTUVWXYZ[\]^`abcdefghijklmnopqrstuvwxyz{|}!\"#$%&'()*+,-.
\r\nEFGHIJKLMNOPQRSTUVWXYZ[\]^`abcdefghijklmnopqrstuvwxyz{|}!\"#$%&'()+,-./
\r\nFGHIJKLMNOPQRSTUVWXYZ[\]^`abcdefghijklmnopqrstuvwxyz{|}!\"#$%&'()*+,-.
/0\r\nGHIJKLMNOPQRSTUVWXYZ[\]^abcdefghijklmnopqrstuvwxyz{|}!\"\#$%&'()*+,-.
/01\r\nHIJKLMNOPQRSTUVWXYZ[\\]^_abcdefghijklmnopqrstuvwxyz{|}!\"#$%&'()+,-./012\r
\nIJKLMNOPQRSTUVWXYZ[\]^`abcdefghijklmnopqrstuvwxyz{|}!\"#$%&'()*+,-./0123\r
\nJKLMNOPQRSTUVWXYZ[\]^`abcdefghijklmnopqrstuvwxyz{|}!\"#$%&'(\r\n", "127.0.0.1", 19]
[+] 1.2.3.4:19 answers with 1115 bytes (headers + UDP payload)
[] Scanned 1 of 1 hosts (100% complete)