Book Image

Learning zANTI2 for Android Pentesting

By : Miroslav Vitula
Book Image

Learning zANTI2 for Android Pentesting

By: Miroslav Vitula

Overview of this book

Table of Contents (12 chapters)

IP/ICMP scan


Since ICMP doesn't have a port abstraction, this cannot really be considered port scanning. This scan, however, might be useful to determine what hosts are in a network by pinging them all. ICMP scan is usually quite fast as well.

Here's an output found in the log:

Talking about ICMP, I should probably explain this protocol a bit more. ICMP is one of the main and most important protocols used by network devices. It is typically used to relay query messages or to send error messages indicating a service is not available or when a datagram cannot reach its destination, for example. Basically, the ICMP is an error reporting utility. Each ICMP message is comprised of three fields that define its purpose. These are TYPE, CODE, and CHECKSUM. The TYPE field consists of eighteen different parts, each with its own description for the error that the message is referring to. For instance, TYPE 1 means that the destination is unreachable; TYPE 5 is a redirect message; and TYPE 12 means parameter...