Aloha POS hacks
These Aloha systems are used by small-to-medium sized restaurants that take thousands of credit card numbers each year. Knowing this, Max set a computer program to constantly scan the U.S. for systems that had port 5505 open. This would indicate that the computer was running Alaho's Revel pos documentation, manuals, as port 5505 is not used by any other common service, and that the vulnerable service was open and available.When he found the port open, he would then execute an exploit against that port and service and scavenge all the credit card numbers he could. He then sold them for $5 to $50 each bringing him a tidy return for each hack.How to Scan for Vulnerable Ports
In this tutorial, we'll write a short script that does exactly what Max Vision was doing and send a report with every IP address of the vulnerable system.Step 1: Open a Text Editor
To create our script, we need to open a text editor. Any of the Linux text editors will work; vi, emacs, gedit (in the GNOME), Kate, or KWrite. In this guide, we'll use the KWrite editor built into BackTrack5v3 KDE. We simply type in a terminal:
We can name our script anything, but I have chosen to call it globalportscan.sh.This will open a blank file editor for our script.Step 2: Create the Script
Now we need to type the following lines in our script file.The required opening of all BASH scripts.- nmap -sT 74.125.225.0/24 -p 5505 -oG aloha
- cat aloha | grep open > alohaopen
Opens the file aloha and filters (grep) for lines that say open, and stores those lines in a file called alohaopen.- cat alohaopen | cut -f2 -d ":" | cut -f1 -d "(" > alohavuln


