> For the complete documentation index, see [llms.txt](https://0xdecaf2bad.gitbook.io/red-team-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://0xdecaf2bad.gitbook.io/red-team-notes/93-mainframe/nmap_stuff_-_recon.md).

# nmap\_stuff\_-\_recon

NMAP STUFF - RECON Recon: Looking for

On the system:

LPAR names / IP addresses User name convention - for brute forcing CICS regions application names passwords config files user guides

Mailing lists (these are public)

IBMMAIN IBMTCP-L CICS-L RACF-L

Googlehacking

site:share.confex.com

sharpoint: LPAR - CICS - IMS attachmate: 'CICS Explorer' 'TSO ID'

\============================================

NMAP/Scanning

Nmap is good at identification I.E. - knowing it's a mainframe

## Safe scan for mainframe

nmap -n -p- -dd -oA ip.date.initial&#x20;

nmap -sV -p 23,22,21 -vv -d -oA ip.date.service&#x20;

Enumerate the LU - Enumerate any VTAM applications

Available Nmap scripts

tn3270-screen vtam-enum cics-enum tso-enum tso-brute cics-user-enum cics-user-brute cics-info

nmap --script tn3270-screen --script-args tn3270-screen.commands="tso;user;password"

nmap -n -p 23  -sV -vv --script vtam-enum --script-args vtam-enum.path=/home/test,idlist=vtam.list
